27ca87cc by xiaomiao
2 parents 919a4047 459f83c1
Showing 51 changed files with 2348 additions and 2484 deletions
......@@ -8,7 +8,7 @@
要素代码:<br />
<p class="label-detail">(YSDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ysdm" placeholder="要素代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ysdm"></el-input>
</el-form-item>
</el-col>
......@@ -18,7 +18,7 @@
业务号: <br />
<p class="label-detail">(YWH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ywh" placeholder="业务号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ywh" ></el-input>
</el-form-item>
</el-col>
......@@ -28,7 +28,7 @@
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.qxdm" placeholder="区县代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.qxdm" ></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -39,7 +39,7 @@
登簿意见: <br />
<p class="label-detail">(DBYJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.dbyj" maxlength="11" placeholder="登簿意见">
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.dbyj" maxlength="11">
</el-input>
</el-form-item>
</el-col>
......@@ -52,7 +52,7 @@
<p class="label-detail">(DBRYXM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.dbryxm" maxlength="11"
placeholder="登簿意见"></el-input>
></el-input>
</el-form-item>
</el-col>
......@@ -62,7 +62,7 @@
登簿时间: <br />
<p class="label-detail">(DBSJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.dbsj" placeholder="登簿时间"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.dbsj"></el-input>
</el-form-item>
</el-col>
......@@ -74,7 +74,7 @@
</span>
<!-- <el-input :disabled="$store.state.business.Edit" v-model="ruleForm.czjg" placeholder="权利人通讯地址">
</el-input> -->
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.czjg" placeholder="操作结果">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.czjg">
<el-option v-for="item in dicData['A37']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......
......@@ -8,7 +8,7 @@
要素代码: <br />
<p class="label-detail">(YSDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM" placeholder="要素代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM"></el-input>
</el-form-item>
</el-col>
......@@ -18,7 +18,7 @@
业务号: <br />
<p class="label-detail">(YWH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWH" placeholder="业务号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWH"></el-input>
</el-form-item>
</el-col>
......@@ -28,7 +28,7 @@
发证人员: <br />
<p class="label-detail">(FZRY)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FZRY" placeholder="发证人员"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FZRY"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -40,8 +40,8 @@
发证时间: <br />
<p class="label-detail">(FZSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" placeholder="发证时间" type="datetime" clearable
v-model="ruleForm.FZSJ" value-format="yyyy-MM-dd HH:mm:ss">
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" clearable v-model="ruleForm.FZSJ"
value-format="yyyy-MM-dd HH:mm:ss">
</el-date-picker>
</el-form-item>
</el-col>
......@@ -52,7 +52,7 @@
发证名称: <br />
<p class="label-detail">(FZMC)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FZMC" placeholder="发证名称"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FZMC"></el-input>
</el-form-item>
</el-col>
......@@ -62,8 +62,9 @@
发证数量: <br />
<p class="label-detail">(FZSL)</p>
</span>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-only-number="{ max: 9999, min: 0, precision: 0 }" type="number"
v-model.number="ruleForm.FZSL" placeholder="发证数量"></el-input-number>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit"
v-only-number="{ max: 9999, min: 0, precision: 0 }" type="number" v-model.number="ruleForm.FZSL">
</el-input-number>
</el-form-item>
</el-col>
</el-row>
......@@ -75,7 +76,7 @@
核发证书号: <br />
<p class="label-detail">(HFZSH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.HFZSH" placeholder="核发证书号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.HFZSH"></el-input>
</el-form-item>
</el-col>
......@@ -85,7 +86,7 @@
领证人姓名: <br />
<p class="label-detail">(LZRXM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.LZRXM" placeholder="领证人姓名"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.LZRXM"></el-input>
</el-form-item>
</el-col>
......@@ -95,7 +96,7 @@
领证人证件类别: <br />
<p class="label-detail">(LZRZJLB)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.LZRZJLB" placeholder="领证人证件类别">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.LZRZJLB">
<el-option v-for="item in dicData['A30']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -110,8 +111,7 @@
领证人证件号码: <br />
<p class="label-detail">(LZRZJHM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.LZRZJHM"
placeholder="领证人证件号码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.LZRZJHM"></el-input>
</el-form-item>
</el-col>
......@@ -122,7 +122,7 @@
<p class="label-detail">(LZRDH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.LZRDH"
onkeyup="this.value=this.value.replace(/[^\d.]/g,'');" maxlength="11" placeholder="领证人电话"></el-input>
onkeyup="this.value=this.value.replace(/[^\d.]/g,'');" maxlength="11"></el-input>
</el-form-item>
</el-col>
......@@ -132,7 +132,7 @@
领证人地址: <br />
<p class="label-detail">(LZRDZ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.LZRDZ" placeholder="领证人地址"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.LZRDZ"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -144,7 +144,7 @@
领证人邮编: <br />
<p class="label-detail">(LZRYB)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.LZRYB" placeholder="领证人邮编"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.LZRYB"></el-input>
</el-form-item>
</el-col>
......@@ -154,7 +154,7 @@
备注: <br />
<p class="label-detail">(BZ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BZ" placeholder="备注"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BZ"></el-input>
</el-form-item>
</el-col>
......@@ -164,7 +164,7 @@
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM" placeholder="区县代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM"></el-input>
</el-form-item>
</el-col>
......@@ -174,7 +174,7 @@
印刷序列号: <br />
<p class="label-detail">(YSXLH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSXLH" placeholder="印刷序列号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSXLH"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -184,68 +184,68 @@
</template>
<script>
// 发证信息
import djfDjFz from '@/api/djfDjFz'
import ruleMixin from '@/mixins/ruleMixin.js'
import treeSelect from '@/components/TreeSelect.vue'
import djfDjFz from "@/api/djfDjFz";
import ruleMixin from "@/mixins/ruleMixin.js";
import treeSelect from "@/components/TreeSelect.vue";
export default {
mixins: [ruleMixin],
props: {
bsmSjsb: {
type: String,
default: ''
default: "",
},
bsmYwsjb: {
type: String,
default: ''
}
default: "",
},
},
components: {
treeSelect
treeSelect,
},
data () {
data() {
return {
ruleForm: {
YSDM: '',
YWH: '',
FZRY: '',
FZSJ: '',
FZMC: '',
FZSL: '',
HFZSH: '',
LZRXM: '',
LZRZJHM: '',
LZRDH: '',
LZRDZ: '',
LZRYB: '',
BZ: '',
QXDM: '',
YSXLH: ''
}
}
YSDM: "",
YWH: "",
FZRY: "",
FZSJ: "",
FZMC: "",
FZSL: "",
HFZSH: "",
LZRXM: "",
LZRZJHM: "",
LZRDH: "",
LZRDZ: "",
LZRYB: "",
BZ: "",
QXDM: "",
YSXLH: "",
},
};
},
methods: {
async featchData () {
async featchData() {
try {
let { result: res } = await djfDjFz.getDjfDjFzDetailById(this.bsmSjsb)
this.ruleForm = res
let { result: res } = await djfDjFz.getDjfDjFzDetailById(this.bsmSjsb);
this.ruleForm = res;
//this.featchRule()
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
},
handleUpdateForm () {
handleUpdateForm() {
return new Promise(async (resolve, reject) => {
try {
let res = await djfDjFz.updateDjfDjFz(this.ruleForm)
let res = await djfDjFz.updateDjfDjFz(this.ruleForm);
// this.$refs['formList'].resetFields();
resolve(res.code)
resolve(res.code);
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
})
}
}
}
});
},
},
};
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
......
......@@ -8,7 +8,7 @@
业务号: <br />
<p class="label-detail">(YWH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWH" placeholder="宗海代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWH"></el-input>
</el-form-item>
</el-col>
......@@ -18,7 +18,7 @@
要素代码:<br />
<p class="label-detail">(YSDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM" placeholder="要素代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM"></el-input>
</el-form-item>
</el-col>
......@@ -28,7 +28,7 @@
登记大类: <br />
<p class="label-detail">(DJDL)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.DJDL" placeholder="登记大类">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.DJDL">
<el-option v-for="item in dicData['A21']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -44,7 +44,7 @@
<p class="label-detail">(DJXL)</p>
</span>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-model.number="ruleForm.DJXL" type="number"
v-only-number="{ max: 999999, min: 0, precision: 0 }" placeholder="登记小类"></el-input-number>
v-only-number="{ max: 999999, min: 0, precision: 0 }"></el-input-number>
</el-form-item>
</el-col>
......@@ -54,7 +54,7 @@
坐落: <br />
<p class="label-detail">(ZL)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZL" placeholder="坐落"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZL"></el-input>
</el-form-item>
</el-col>
......@@ -64,7 +64,7 @@
权证号码: <br />
<p class="label-detail">(QZHM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QZHM" placeholder="权证号码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QZHM"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -77,7 +77,7 @@
<p class="label-detail">(WJJS)</p>
</span>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-model.number="ruleForm.WJJS" type="number"
v-only-number="{ max: 9999, min: 0, precision: 0 }" placeholder="文件件数"></el-input-number>
v-only-number="{ max: 9999, min: 0, precision: 0 }"></el-input-number>
</el-form-item>
</el-col>
......@@ -88,7 +88,7 @@
<p class="label-detail">(ZYS)</p>
</span>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-model.number="ruleForm.ZYS" type="number"
v-only-number="{ max: 9999, min: 0, precision: 0 }" placeholder="总页数"></el-input-number>
v-only-number="{ max: 9999, min: 0, precision: 0 }"></el-input-number>
<!-- <el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.ZYS" type="number"
v-only-number="{ max: 9999, min: 0, precision: 0 }" placeholder="总页数"></el-input> -->
</el-form-item>
......@@ -100,7 +100,7 @@
归档人员: <br />
<p class="label-detail">(GDRY)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.GDRY" placeholder="归档人员"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.GDRY"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -113,7 +113,7 @@
<p class="label-detail">(GDSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" v-model="ruleForm.GDSJ" type="datetime"
format="yyyy-MM-dd HH:mm:ss" placeholder="归档时间">
format="yyyy-MM-dd HH:mm:ss">
</el-date-picker>
</el-form-item>
</el-col>
......@@ -124,7 +124,7 @@
备注: <br />
<p class="label-detail">(BZ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BZ" placeholder="备注"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BZ"></el-input>
</el-form-item>
</el-col>
......@@ -134,7 +134,7 @@
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM" placeholder="区县代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM"></el-input>
</el-form-item>
</el-col>
</el-row>
......
......@@ -8,7 +8,7 @@
要素代码: <br />
<p class="label-detail">(YSDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM" placeholder="要素代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM"></el-input>
</el-form-item>
</el-col>
......@@ -18,7 +18,7 @@
业务号: <br />
<p class="label-detail">(YWH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWH" placeholder="业务号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWH"></el-input>
</el-form-item>
</el-col>
......@@ -28,7 +28,7 @@
计费人员: <br />
<p class="label-detail">(JFRY)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.JFRY" placeholder="计费人员"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.JFRY"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -40,8 +40,8 @@
计费日期: <br />
<p class="label-detail">(JFRQ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" placeholder="计费日期" clearable
v-model="ruleForm.JFRQ" value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" clearable v-model="ruleForm.JFRQ"
value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
</el-form-item>
</el-col>
......@@ -51,7 +51,7 @@
收费科目名称: <br />
<p class="label-detail">(SFKMMC)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.SFKMMC" placeholder="收费科目名称"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.SFKMMC"></el-input>
</el-form-item>
</el-col>
......@@ -61,7 +61,7 @@
是否额外收费: <br />
<p class="label-detail">(SFEWSF)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.SFEWSF" placeholder="是否额外收费">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.SFEWSF">
<el-option v-for="item in dicData['A6']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -78,7 +78,7 @@
</span>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit"
v-model.number="ruleForm.SFJS" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }" placeholder="收费基数"></el-input-number>
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }"></el-input-number>
</el-form-item>
</el-col>
......@@ -88,7 +88,7 @@
收费类型: <br />
<p class="label-detail">(SFLX)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.SFLX" placeholder="收费类型">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.SFLX">
<el-option v-for="item in dicData['A39']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -103,7 +103,7 @@
</span>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit"
v-model.number="ruleForm.YSJE" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }" placeholder="应收金额"></el-input-number>
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }"></el-input-number>
</el-form-item>
</el-col>
</el-row>
......@@ -117,7 +117,7 @@
</span>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit"
v-model.number="ruleForm.ZKHYSJE" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }" placeholder="折扣后应收金额"></el-input-number>
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }"></el-input-number>
</el-form-item>
</el-col>
......@@ -127,7 +127,7 @@
收费人员: <br />
<p class="label-detail">(SFRY)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.SFRY" placeholder="收费人员"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.SFRY"></el-input>
</el-form-item>
</el-col>
......@@ -137,8 +137,8 @@
收费日期: <br />
<p class="label-detail">(SFRQ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" placeholder="选择日期" clearable
v-model="ruleForm.SFRQ" value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" clearable v-model="ruleForm.SFRQ"
value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
</el-form-item>
</el-col>
</el-row>
......@@ -150,7 +150,7 @@
付费方: <br />
<p class="label-detail">(FFF)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.FFF" placeholder="付费方">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.FFF">
<el-option v-for="item in dicData['A33']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -163,7 +163,7 @@
实际付费人: <br />
<p class="label-detail">(SJFFR)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.SJFFR" placeholder="实际付费人"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.SJFFR"></el-input>
</el-form-item>
</el-col>
......@@ -175,7 +175,7 @@
</span>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit"
v-model.number="ruleForm.SSJE" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }" placeholder="实收金额"></el-input-number>
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }"></el-input-number>
</el-form-item>
</el-col>
</el-row>
......@@ -187,7 +187,7 @@
收费单位: <br />
<p class="label-detail">(SFDW)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.SFDW" placeholder="收费单位"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.SFDW"></el-input>
</el-form-item>
</el-col>
......@@ -197,7 +197,7 @@
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM" placeholder="区县代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM"></el-input>
</el-form-item>
</el-col>
......@@ -208,66 +208,66 @@
</template>
<script>
// 登记收费信息
import djfDjSf from '@/api/djfDjSf'
import ruleMixin from '@/mixins/ruleMixin.js'
import djfDjSf from "@/api/djfDjSf";
import ruleMixin from "@/mixins/ruleMixin.js";
export default {
mixins: [ruleMixin],
props: {
bsmSjsb: {
type: String,
default: ''
default: "",
},
bsmYwsjb: {
type: String,
default: ''
}
default: "",
},
},
data () {
data() {
return {
ruleForm: {
YSDM: '',
YWH: '',
JFRY: '',
JFRQ: '',
SFKMMC: '',
SFEWSF: '',
SFJS: '',
SFLX: '',
YSJE: '',
ZKHYSJE: '',
SFRY: '',
SFRQ: '',
FFF: '',
SJFFR: '',
SSJE: '',
SFDW: '',
QXDM: '',
}
}
YSDM: "",
YWH: "",
JFRY: "",
JFRQ: "",
SFKMMC: "",
SFEWSF: "",
SFJS: "",
SFLX: "",
YSJE: "",
ZKHYSJE: "",
SFRY: "",
SFRQ: "",
FFF: "",
SJFFR: "",
SSJE: "",
SFDW: "",
QXDM: "",
},
};
},
methods: {
async featchData () {
async featchData() {
try {
let { result: res } = await djfDjSf.getDjfDjSfById(this.bsmSjsb)
this.ruleForm = res
let { result: res } = await djfDjSf.getDjfDjSfById(this.bsmSjsb);
this.ruleForm = res;
//this.featchRule()
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
},
handleUpdateForm () {
handleUpdateForm() {
return new Promise(async (resolve) => {
try {
let res = await djfDjSf.updateDjfDjSf(this.ruleForm)
let res = await djfDjSf.updateDjfDjSf(this.ruleForm);
// this.$refs['formList'].resetFields();
resolve(res.code)
resolve(res.code);
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
})
}
}
}
});
},
},
};
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
......
......@@ -12,8 +12,7 @@
要素代码: <br />
<p class="label-detail">(YSDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="form.auditInfo[index].YSDM"
placeholder="要素代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="form.auditInfo[index].YSDM"></el-input>
</el-form-item>
</el-col>
......@@ -23,8 +22,7 @@
业务号: <br />
<p class="label-detail">(YWH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="form.auditInfo[index].YWH"
placeholder="业务号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="form.auditInfo[index].YWH"></el-input>
</el-form-item>
</el-col>
......@@ -34,8 +32,7 @@
节点名称: <br />
<p class="label-detail">(JDMC)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="form.auditInfo[index].JDMC"
placeholder="节点名称"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="form.auditInfo[index].JDMC"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -48,7 +45,7 @@
<p class="label-detail">(SHYJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="form.auditInfo[index].SHYJ" type="textarea"
:rows="2" placeholder="审核意见"></el-input>
:rows="2"></el-input>
</el-form-item>
</el-col>
......@@ -61,8 +58,7 @@
审核人员姓名: <br />
<p class="label-detail">(SHRYXM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="form.auditInfo[index].SHRYXM"
placeholder="审核人员姓名"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="form.auditInfo[index].SHRYXM"></el-input>
</el-form-item>
</el-col>
......@@ -72,7 +68,7 @@
审核开始时间: <br />
<p class="label-detail">(SHKSSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" placeholder="审核开始时间" clearable
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" clearable
v-model="form.auditInfo[index].SHKSSJ" value-format="yyyy-MM-dd HH:mm:ss"
:picker-options="item.traceStart" @change="changeTraceStart(item)"></el-date-picker>
</el-form-item>
......@@ -84,7 +80,7 @@
审核结束时间: <br />
<p class="label-detail">(SHJSSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" placeholder="审核结束时间" clearable
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" clearable
v-model="form.auditInfo[index].SHJSSJ" :picker-options="item.traceEnd" @change="changeTraceEnd(item)"
value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
</el-form-item>
......@@ -98,8 +94,9 @@
顺序号: <br />
<p class="label-detail">(SXH)</p>
</span>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-model.number="form.auditInfo[index].SXH"
type="number" v-only-number="{ max: 9999, min: 0, precision: 0 }" placeholder="顺序号"></el-input-number>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit"
v-model.number="form.auditInfo[index].SXH" type="number"
v-only-number="{ max: 9999, min: 0, precision: 0 }"></el-input-number>
</el-form-item>
</el-col>
......@@ -109,8 +106,7 @@
操作结果: <br />
<p class="label-detail">(CZJG)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="form.auditInfo[index].CZJG"
placeholder="操作结果">
<el-select :disabled="$store.state.business.Edit" v-model="form.auditInfo[index].CZJG">
<el-option v-for="item in dicData['A37']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -123,8 +119,7 @@
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="form.auditInfo[index].QXDM"
placeholder="区县代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="form.auditInfo[index].QXDM"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -133,8 +128,7 @@
区县代码: <br />
<p class="label-detail">(BZ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="form.auditInfo[index].BZ"
placeholder="备注"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="form.auditInfo[index].BZ"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -145,90 +139,92 @@
</div>
</template>
<script>
import djfDjSh from '@/api/djfDjSh'
import ruleMixin from '@/mixins/ruleMixin.js'
import djfDjSh from "@/api/djfDjSh";
import ruleMixin from "@/mixins/ruleMixin.js";
// 审核信息
export default {
mixins: [ruleMixin],
props: {
bsmSjsb: {
type: String,
default: ''
default: "",
},
bsmYwsjb: {
type: String,
default: ''
}
default: "",
},
},
data () {
data() {
return {
form: {
auditInfo: [
{
YSDM: '',
YWH: '',
JDMC: '',
SHYJ: '',
SHRYXM: '',
SHKSSJ: '',
YSDM: "",
YWH: "",
JDMC: "",
SHYJ: "",
SHRYXM: "",
SHKSSJ: "",
traceStart: {},
SHJSSJ: '',
SHJSSJ: "",
traceEnd: {},
SXH: '',
CZJG: '',
QXDM: '',
BZ: ''
}
]
}
}
SXH: "",
CZJG: "",
QXDM: "",
BZ: "",
},
],
},
};
},
methods: {
changeTraceEnd (item) {
if (item.SHJSSJ !== null) { //当前值为空 也会进行判断 所以条件最好不要非空验证
changeTraceEnd(item) {
if (item.SHJSSJ !== null) {
//当前值为空 也会进行判断 所以条件最好不要非空验证
item.traceStart = {
disabledDate: (time) => {
return time.getTime() > new Date(item.SHJSSJ).getTime() //大于结束时间的不选
}
}
return time.getTime() > new Date(item.SHJSSJ).getTime(); //大于结束时间的不选
},
};
} else {
item.traceStart = {}
item.traceStart = {};
}
},
//跟踪API结束时间限制开始时间
changeTraceStart (item) {
if (item.SHKSSJ !== null) { //当前值为空 也会进行判断 所以条件最好不要非空验证
changeTraceStart(item) {
if (item.SHKSSJ !== null) {
//当前值为空 也会进行判断 所以条件最好不要非空验证
item.traceEnd = {
disabledDate: (time) => {
return time.getTime() < new Date(item.SHKSSJ).getTime() //小于开始时间的不选
}
}
return time.getTime() < new Date(item.SHKSSJ).getTime(); //小于开始时间的不选
},
};
} else {
item.traceEnd = {}
item.traceEnd = {};
}
},
async featchData () {
async featchData() {
try {
let { result: res } = await djfDjSh.getDjfDjShById(this.bsmSjsb)
this.form.auditInfo = res
let { result: res } = await djfDjSh.getDjfDjShById(this.bsmSjsb);
this.form.auditInfo = res;
//this.featchRule()
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
},
handleUpdateForm () {
handleUpdateForm() {
return new Promise(async (resolve) => {
try {
let res = await djfDjSh.updateDjfDjSh(this.form.auditInfo)
let res = await djfDjSh.updateDjfDjSh(this.form.auditInfo);
// this.$refs['formList'].resetFields();
resolve(res.code)
resolve(res.code);
} catch (error) {
this.$refs.msg.messageShow()
}
})
this.$refs.msg.messageShow();
}
}
}
});
},
},
};
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
......
......@@ -12,8 +12,7 @@
要素代码: <br />
<p class="label-detail">(YSDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="form.receivingInfo[index].YSDM"
placeholder="要素代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="form.receivingInfo[index].YSDM"></el-input>
</el-form-item>
</el-col>
......@@ -23,8 +22,7 @@
业务号: <br />
<p class="label-detail">(YWH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="form.receivingInfo[index].YWH"
placeholder="业务号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="form.receivingInfo[index].YWH"></el-input>
</el-form-item>
</el-col>
......@@ -34,7 +32,7 @@
收件时间: <br />
<p class="label-detail">(SJSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" placeholder="收件时间" type="datetime" clearable
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" clearable
v-model="form.receivingInfo[index].SJSJ" value-format="yyyy-MM-dd HH:mm:ss">
</el-date-picker>
</el-form-item>
......@@ -48,8 +46,7 @@
收件类型: <br />
<p class="label-detail">(SJLX)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="form.receivingInfo[index].SJLX"
placeholder="收件类型">
<el-select :disabled="$store.state.business.Edit" v-model="form.receivingInfo[index].SJLX">
<el-option v-for="item in dicData['A40']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -62,8 +59,7 @@
收件名称: <br />
<p class="label-detail">(SJMC)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="form.receivingInfo[index].SJMC"
placeholder="收件名称"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="form.receivingInfo[index].SJMC"></el-input>
</el-form-item>
</el-col>
......@@ -74,8 +70,9 @@
收件数量: <br />
<p class="label-detail">(SJSL)</p>
</span>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-only-number="{ max: 9999, min: 0, precision: 0 }"
type="number" v-model.number="form.receivingInfo[index].SJSL" placeholder="收件数量"></el-input-number>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit"
v-only-number="{ max: 9999, min: 0, precision: 0 }" type="number"
v-model.number="form.receivingInfo[index].SJSL"></el-input-number>
</el-form-item>
</el-col>
</el-row>
......@@ -87,8 +84,7 @@
是否收缴收验: <br />
<p class="label-detail">(SFSJSY)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="form.receivingInfo[index].SFSJSY"
placeholder="是否收缴收验">
<el-select :disabled="$store.state.business.Edit" v-model="form.receivingInfo[index].SFSJSY">
<el-option v-for="item in dicData['A6']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -101,8 +97,7 @@
是否额外收件: <br />
<p class="label-detail">(SFEWSJ)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="form.receivingInfo[index].SFEWSJ"
placeholder="是否额外收件">
<el-select :disabled="$store.state.business.Edit" v-model="form.receivingInfo[index].SFEWSJ">
<el-option v-for="item in dicData['A6']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -115,8 +110,7 @@
是否补充收件: <br />
<p class="label-detail">(SFBCSJ)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="form.receivingInfo[index].SFBCSJ"
placeholder="是否补充收件">
<el-select :disabled="$store.state.business.Edit" v-model="form.receivingInfo[index].SFBCSJ">
<el-option v-for="item in dicData['A6']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -131,8 +125,9 @@
页数: <br />
<p class="label-detail">(YS)</p>
</span>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-only-number="{ max: 99999, min: 1, precision: 0 }"
type="number" v-model.number="form.receivingInfo[index].YS" placeholder="页数"></el-input-number>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit"
v-only-number="{ max: 99999, min: 1, precision: 0 }" type="number"
v-model.number="form.receivingInfo[index].YS"></el-input-number>
</el-form-item>
</el-col>
......@@ -153,8 +148,7 @@
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="form.receivingInfo[index].QXDM"
placeholder="区县代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="form.receivingInfo[index].QXDM"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -165,66 +159,66 @@
</div>
</template>
<script>
import djfDjSj from '@/api/djfDjSj'
import ruleMixin from '@/mixins/ruleMixin.js'
import djfDjSj from "@/api/djfDjSj";
import ruleMixin from "@/mixins/ruleMixin.js";
// 登记收件信息
export default {
mixins: [ruleMixin],
props: {
bsmSjsb: {
type: String,
default: ''
default: "",
},
bsmYwsjb: {
type: String,
default: ''
}
default: "",
},
},
data () {
data() {
return {
form: {
receivingInfo: [
{
YSDM: '',
YWH: '',
SJSJ: '',
SJLX: '',
SJMC: '',
SJSL: '',
SFSJSY: '',
SFEWSJ: '',
SFBCSJ: '',
YS: '',
BZ: '',
QXDM: ''
}
]
}
}
YSDM: "",
YWH: "",
SJSJ: "",
SJLX: "",
SJMC: "",
SJSL: "",
SFSJSY: "",
SFEWSJ: "",
SFBCSJ: "",
YS: "",
BZ: "",
QXDM: "",
},
],
},
};
},
methods: {
async featchData () {
async featchData() {
try {
let { result: res } = await djfDjSj.getDjfDjSjById(this.bsmSjsb)
this.form.receivingInfo = res
let { result: res } = await djfDjSj.getDjfDjSjById(this.bsmSjsb);
this.form.receivingInfo = res;
//this.featchRule()
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
},
handleUpdateForm () {
handleUpdateForm() {
return new Promise(async (resolve) => {
try {
let res = await djfDjSj.updateDjfDjSj(this.form.receivingInfo)
let res = await djfDjSj.updateDjfDjSj(this.form.receivingInfo);
// this.$refs['formList'].resetFields();
resolve(res.code)
resolve(res.code);
} catch (error) {
this.$refs.msg.messageShow()
}
})
}
this.$refs.msg.messageShow();
}
}
});
},
},
};
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
......
......@@ -8,7 +8,7 @@
要素代码:<br />
<p class="label-detail">(YSDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM" placeholder="要素代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM"></el-input>
</el-form-item>
</el-col>
......@@ -18,7 +18,7 @@
业务号: <br />
<p class="label-detail">(YWH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWH" placeholder="业务号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWH"></el-input>
</el-form-item>
</el-col>
......@@ -28,7 +28,7 @@
权利人名称: <br />
<p class="label-detail">(QLRMC)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QLRMC" placeholder="权利人名称"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QLRMC"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -40,7 +40,7 @@
权利人证件种类: <br />
<p class="label-detail">(QLRZJZL)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QLRZJZL" placeholder="权利人证件种类">
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QLRZJZL">
</el-input>
</el-form-item>
</el-col>
......@@ -51,7 +51,7 @@
权利人证件号: <br />
<p class="label-detail">(QLRZJH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QLRZJH" placeholder="权利人证件号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QLRZJH"></el-input>
</el-form-item>
</el-col>
......@@ -61,7 +61,7 @@
权利人通讯地址: <br />
<p class="label-detail">(QLRTXDZ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QLRTXDZ" placeholder="权利人通讯地址">
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QLRTXDZ">
</el-input>
</el-form-item>
</el-col>
......@@ -74,7 +74,7 @@
权利人邮编: <br />
<p class="label-detail">(QLRYB)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QLRYB" placeholder="权利人邮编"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QLRYB"></el-input>
</el-form-item>
</el-col>
......@@ -84,7 +84,7 @@
权利人法人名称: <br />
<p class="label-detail">(QLRFRMC)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QLRFRMC" placeholder="权利人法人名称">
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QLRFRMC">
</el-input>
</el-form-item>
</el-col>
......@@ -96,7 +96,7 @@
<p class="label-detail">(QLRFRDH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QLRFRDH"
onkeyup="this.value=this.value.replace(/[^\d.]/g,'');" maxlength="11" placeholder="权利人法人电话"></el-input>
onkeyup="this.value=this.value.replace(/[^\d.]/g,'');" maxlength="11"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -108,7 +108,7 @@
权利人代理人名称: <br />
<p class="label-detail">(QLRDLRMC)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QLRDLRMC" placeholder="权利人代理人名称">
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QLRDLRMC">
</el-input>
</el-form-item>
</el-col>
......@@ -120,7 +120,7 @@
<p class="label-detail">(QLRDLRDH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QLRDLRDH"
onkeyup="this.value=this.value.replace(/[^\d.]/g,'');" maxlength="11" placeholder="权利人代理人电话"></el-input>
onkeyup="this.value=this.value.replace(/[^\d.]/g,'');" maxlength="11"></el-input>
</el-form-item>
</el-col>
......@@ -130,7 +130,7 @@
权利人代理机构: <br />
<p class="label-detail">(QLRDLJG)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QLRDLJG" placeholder="权利人代理机构">
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QLRDLJG">
</el-input>
</el-form-item>
</el-col>
......@@ -143,7 +143,7 @@
户籍所在省市: <br />
<p class="label-detail">(HJSZSS)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.HJSZSS" placeholder="户籍所在省市"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.HJSZSS"></el-input>
</el-form-item>
</el-col>
......@@ -153,7 +153,7 @@
性别: <br />
<p class="label-detail">(XB)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.XB" placeholder="性别"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.XB"></el-input>
</el-form-item>
</el-col>
......@@ -164,7 +164,7 @@
<p class="label-detail">(DH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DH"
onkeyup="this.value=this.value.replace(/[^\d.]/g,'');" maxlength="11" placeholder="电话"></el-input>
onkeyup="this.value=this.value.replace(/[^\d.]/g,'');" maxlength="11"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -176,7 +176,7 @@
义务人名称: <br />
<p class="label-detail">(YWRMC)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWRMC" placeholder="义务人名称"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWRMC"></el-input>
</el-form-item>
</el-col>
......@@ -186,7 +186,7 @@
义务人证件种类: <br />
<p class="label-detail">(YWRZJZL)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWRZJZL" placeholder="义务人证件种类"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWRZJZL"></el-input>
</el-form-item>
</el-col>
......@@ -196,7 +196,7 @@
义务人证件号: <br />
<p class="label-detail">(YWRZJH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWRZJH" placeholder="义务人证件号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWRZJH"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -208,7 +208,7 @@
义务人通讯地址: <br />
<p class="label-detail">(YWRTXDZ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWRTXDZ" placeholder="义务人通讯地址">
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWRTXDZ">
</el-input>
</el-form-item>
</el-col>
......@@ -219,7 +219,7 @@
义务人邮编: <br />
<p class="label-detail">(YWRYB)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWRYB" placeholder="义务人邮编"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWRYB"></el-input>
</el-form-item>
</el-col>
......@@ -229,7 +229,7 @@
义务人法人名称: <br />
<p class="label-detail">(YWRFRMC)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWRFRMC" placeholder="义务人法人名称">
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWRFRMC">
</el-input>
</el-form-item>
</el-col>
......@@ -242,7 +242,7 @@
义务人法人电话: <br />
<p class="label-detail">(YWRFRDH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWRFRDH" placeholder="义务人法人电话">
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWRFRDH">
</el-input>
</el-form-item>
</el-col>
......@@ -253,7 +253,7 @@
义务人代理人名称: <br />
<p class="label-detail">(YWRDLRMC)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWRDLRMC" placeholder="义务人代理人名称">
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWRDLRMC">
</el-input>
</el-form-item>
</el-col>
......@@ -264,7 +264,7 @@
义务人代理人电话: <br />
<p class="label-detail">(YWRDLRDH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWRDLRDH" placeholder="义务人代理人电话">
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWRDLRDH">
</el-input>
</el-form-item>
</el-col>
......@@ -277,7 +277,7 @@
义务人代理机构: <br />
<p class="label-detail">(YWRDLJG)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWRDLJG" placeholder="义务人代理机构">
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWRDLJG">
</el-input>
</el-form-item>
</el-col>
......@@ -288,7 +288,7 @@
备注: <br />
<p class="label-detail">(BZ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BZ" placeholder="备注"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BZ"></el-input>
</el-form-item>
</el-col>
......@@ -298,7 +298,7 @@
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM" placeholder="区县代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM"></el-input>
</el-form-item>
</el-col>
......@@ -311,7 +311,7 @@
// 申请人属性信息
import djfDjSqr from "@/api/djfDjSqr";
import ruleMixin from "@/mixins/ruleMixin.js";
import treeSelect from '@/components/TreeSelect.vue'
import treeSelect from "@/components/TreeSelect.vue";
export default {
mixins: [ruleMixin],
props: {
......
......@@ -11,8 +11,8 @@
要素代码: <br />
<p class="label-detail">(YSDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="certificateInfo.ruleForm[index].YSDM"
placeholder="要素代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="certificateInfo.ruleForm[index].YSDM">
</el-input>
</el-form-item>
</el-col>
......@@ -22,8 +22,8 @@
业务号: <br />
<p class="label-detail">(YWH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="certificateInfo.ruleForm[index].YWH"
placeholder="业务号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="certificateInfo.ruleForm[index].YWH">
</el-input>
</el-form-item>
</el-col>
......@@ -33,8 +33,8 @@
缮证名称: <br />
<p class="label-detail">(SZMC)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="certificateInfo.ruleForm[index].SZMC"
placeholder="缮证名称"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="certificateInfo.ruleForm[index].SZMC">
</el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -46,8 +46,8 @@
缮证证号: <br />
<p class="label-detail">(SZZH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="certificateInfo.ruleForm[index].SZZH"
placeholder="缮证证号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="certificateInfo.ruleForm[index].SZZH">
</el-input>
</el-form-item>
</el-col>
......@@ -57,8 +57,8 @@
印刷序列号: <br />
<p class="label-detail">(YSXLH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="certificateInfo.ruleForm[index].YSXLH"
placeholder="印刷序列号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="certificateInfo.ruleForm[index].YSXLH">
</el-input>
</el-form-item>
</el-col>
......@@ -68,8 +68,8 @@
缮证人员: <br />
<p class="label-detail">(SZRY)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="certificateInfo.ruleForm[index].SZRY"
placeholder="缮证人员"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="certificateInfo.ruleForm[index].SZRY">
</el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -81,7 +81,7 @@
缮证时间: <br />
<p class="label-detail">(SZSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" placeholder="缮证时间" type="datetime" clearable
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" clearable
v-model="certificateInfo.ruleForm[index].SZSJ" value-format="yyyy-MM-dd HH:mm:ss">
</el-date-picker>
</el-form-item>
......@@ -93,8 +93,8 @@
备注: <br />
<p class="label-detail">(BZ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="certificateInfo.ruleForm[index].BZ"
placeholder="备注"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="certificateInfo.ruleForm[index].BZ">
</el-input>
</el-form-item>
</el-col>
......@@ -104,8 +104,8 @@
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="certificateInfo.ruleForm[index].QXDM"
placeholder="区县代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="certificateInfo.ruleForm[index].QXDM">
</el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -116,61 +116,63 @@
</div>
</template>
<script>
import djfDjSz from '@/api/djfDjSz'
import ruleMixin from '@/mixins/ruleMixin.js'
import djfDjSz from "@/api/djfDjSz";
import ruleMixin from "@/mixins/ruleMixin.js";
// 缮证信息
export default {
mixins: [ruleMixin],
props: {
bsmSjsb: {
type: String,
default: ''
default: "",
},
bsmYwsjb: {
type: String,
default: ''
}
default: "",
},
},
data () {
data() {
return {
certificateInfo: {
ruleForm: [{
YSDM: '',
YWH: '',
SZMC: '',
SZZH: '',
YSXLH: '',
SZRY: '',
SZSJ: '',
BZ: '',
QXDM: ''
}]
}
}
ruleForm: [
{
YSDM: "",
YWH: "",
SZMC: "",
SZZH: "",
YSXLH: "",
SZRY: "",
SZSJ: "",
BZ: "",
QXDM: "",
},
],
},
};
},
methods: {
async featchData () {
async featchData() {
try {
let { result: res } = await djfDjSz.getDjfDjSzById(this.bsmSjsb)
let { result: res } = await djfDjSz.getDjfDjSzById(this.bsmSjsb);
this.certificateInfo.ruleForm = res;
//this.featchRule()
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
},
handleUpdateForm () {
handleUpdateForm() {
return new Promise(async (resolve) => {
try {
let res = await djfDjSz.updateDjfDjSz(this.certificateInfo.ruleForm)
let res = await djfDjSz.updateDjfDjSz(this.certificateInfo.ruleForm);
// this.$refs['formList'].resetFields();
resolve(res.code)
resolve(res.code);
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
})
}
}
}
});
},
},
};
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
......
......@@ -8,8 +8,7 @@
要素代码: <br />
<p class="label-detail">(YSDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM"
:placeholder="$store.state.business.Edit ? '' : '要素代码'"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM"></el-input>
</el-form-item>
</el-col>
......@@ -19,8 +18,7 @@
业务号: <br />
<p class="label-detail">(YWH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWH"
:placeholder="$store.state.business.Edit ? '' : '业务号'"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWH"></el-input>
</el-form-item>
</el-col>
......@@ -30,8 +28,7 @@
登记类型: <br />
<p class="label-detail">(DJLX)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.DJLX"
:placeholder="$store.state.business.Edit ? '' : '登记类型'">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.DJLX">
<el-option v-for="item in dicData['A21']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -57,8 +54,7 @@
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM"
:placeholder="$store.state.business.Edit ? '' : '区县代码'"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM"></el-input>
</el-form-item>
</el-col>
......@@ -68,7 +64,7 @@
申请证书版式: <br />
<p class="label-detail">(SQZSBS)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.SQZSBS" placeholder="申请证书版式">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.SQZSBS">
<el-option v-for="item in dicData['A41']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE-0">
</el-option>
</el-select>
......@@ -80,7 +76,7 @@
申请分别持证: <br />
<p class="label-detail">(SQFBCZ)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.SQFBCZ" placeholder="申请分别持证">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.SQFBCZ">
<el-option v-for="item in dicData['A6']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE-0">
</el-option>
</el-select>
......@@ -94,8 +90,7 @@
受理人员: <br />
<p class="label-detail">(SLRY)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.SLRY"
:placeholder="$store.state.business.Edit ? '' : '受理人员'"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.SLRY"></el-input>
</el-form-item>
</el-col>
......@@ -105,8 +100,7 @@
受理时间: <br />
<p class="label-detail">(SLSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit"
:placeholder="$store.state.business.Edit ? '' : '受理时间'" clearable type="datetime" v-model="ruleForm.SLSJ"
<el-date-picker :disabled="$store.state.business.Edit" clearable type="datetime" v-model="ruleForm.SLSJ"
value-format="yyyy-MM-dd HH:mm:ss">
</el-date-picker>
</el-form-item>
......@@ -117,8 +111,7 @@
坐落: <br />
<p class="label-detail">(ZL)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZL"
:placeholder="$store.state.business.Edit ? '' : '坐落'"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZL"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -129,8 +122,7 @@
通知人姓名: <br />
<p class="label-detail">(TZRXM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.TZRXM"
:placeholder="$store.state.business.Edit ? '' : '通知人姓名'"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.TZRXM"></el-input>
</el-form-item>
</el-col>
......@@ -140,7 +132,7 @@
通知方式: <br />
<p class="label-detail">(TZFS)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.TZFS" placeholder="通知方式">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.TZFS">
<el-option v-for="item in dicData['A42']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -153,7 +145,7 @@
<p class="label-detail">(TZRDH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" onkeyup="this.value=this.value.replace(/[^\d.]/g,'');"
maxlength="11" placeholder="通知人电话" v-model="ruleForm.TZRDH"></el-input>
maxlength="11" v-model="ruleForm.TZRDH"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -164,7 +156,7 @@
通知人移动电话: <br />
<p class="label-detail">(TZRYDDH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.TZRYDDH" placeholder="通知人移动电话"
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.TZRYDDH"
onkeyup="this.value=this.value.replace(/[^\d.]/g,'');" maxlength="11"></el-input>
</el-form-item>
</el-col>
......@@ -174,7 +166,7 @@
通知人电子邮件: <br />
<p class="label-detail">(TZRDZYJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.TZRDZYJ" placeholder="通知人电子邮件">
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.TZRDZYJ">
</el-input>
</el-form-item>
</el-col>
......@@ -184,7 +176,7 @@
是否问题案件: <br />
<p class="label-detail">(SFWTAJ)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.SFWTAJ" placeholder="是否问题案件">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.SFWTAJ">
<el-option v-for="item in dicData['A6']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -198,8 +190,8 @@
结束时间: <br />
<p class="label-detail">(JSSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" placeholder="结束时间" clearable type="datetime"
v-model="ruleForm.JSSJ" value-format="yyyy-MM-dd HH:mm:ss">
<el-date-picker :disabled="$store.state.business.Edit" clearable type="datetime" v-model="ruleForm.JSSJ"
value-format="yyyy-MM-dd HH:mm:ss">
</el-date-picker>
</el-form-item>
</el-col>
......@@ -209,7 +201,7 @@
案件状态: <br />
<p class="label-detail">(AJZT)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.AJZT" placeholder="案件状态">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.AJZT">
<el-option v-for="item in dicData['A31']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -221,7 +213,7 @@
备注: <br />
<p class="label-detail">(BZ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BZ" placeholder="备注"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BZ"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -245,7 +237,7 @@ export default {
default: "",
},
},
data () {
data() {
return {
ruleForm: {
YSDM: "",
......@@ -271,7 +263,7 @@ export default {
};
},
methods: {
async featchData () {
async featchData() {
try {
let { result: res } = await djtDjSlsq.getDjtDjSlsqById(this.bsmSjsb);
this.ruleForm = res;
......@@ -280,7 +272,7 @@ export default {
this.$refs.msg.messageShow();
}
},
handleUpdateForm () {
handleUpdateForm() {
return new Promise(async (resolve) => {
try {
let res = await djtDjSlsq.updateDjtDjSlsq(this.ruleForm);
......
......@@ -8,7 +8,7 @@
附件名称: <br />
<p class="label-detail">(FJMC)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FJMC" placeholder="附件名称"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FJMC"></el-input>
</el-form-item>
</el-col>
......@@ -18,7 +18,7 @@
附件类型: <br />
<p class="label-detail">(FJLX)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FJLX" placeholder="附件类型"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FJLX"></el-input>
</el-form-item>
</el-col>
......@@ -28,7 +28,7 @@
附件内容: <br />
<p class="label-detail">(FJNR)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FJNR" placeholder="附件内容"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FJNR"></el-input>
</el-form-item>
</el-col>
</el-row>
......
......@@ -9,7 +9,7 @@
<p class="label-detail">(BSM)</p>
</span>
<p :class="{ 'disabled': $store.state.business.Edit }">
{{ ruleForm.bsm || '暂无' }}
{{ ruleForm.bsm }}
</p>
</el-form-item>
</el-col>
......@@ -20,7 +20,7 @@
要素代码: <br />
<p class="label-detail">(YSDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM" placeholder="要素代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM"></el-input>
</el-form-item>
</el-col>
......@@ -30,7 +30,7 @@
不动产单元号: <br />
<p class="label-detail">(BDCDYH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCDYH" placeholder="不动产单元号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCDYH"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -42,7 +42,7 @@
宗地/宗海代码: <br />
<p class="label-detail">(ZDZHDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZDZHDM" placeholder="宗地/宗海代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZDZHDM"></el-input>
</el-form-item>
</el-col>
......@@ -52,8 +52,8 @@
点状定着物类型: <br />
<p class="label-detail">(DZDZWLX)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DZDZWLX"
placeholder="点状定着物类型"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DZDZWLX" placeholder="点状定着物类型">
</el-input>
</el-form-item>
</el-col>
......@@ -63,7 +63,7 @@
定着物名称: <br />
<p class="label-detail">(DZWMC)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DZWMC" placeholder="定着物名称"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DZWMC"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -75,7 +75,7 @@
面积单位: <br />
<p class="label-detail">(MJDW)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.MJDW" placeholder="面积单位">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.MJDW">
<el-option v-for="item in dicData['A7']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -89,7 +89,7 @@
<p class="label-detail">(MJ)</p>
</span>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-model="ruleForm.MJ"
v-only-number="{ max: 99999, min: 0, precision: 2 }" placeholder="面积"></el-input-number>
v-only-number="{ max: 99999, min: 0, precision: 2 }"></el-input-number>
</el-form-item>
</el-col>
......@@ -99,7 +99,7 @@
档案号: <br />
<p class="label-detail">(DAH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DAH" placeholder="档案号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DAH"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -111,7 +111,7 @@
状态: <br />
<p class="label-detail">(ZT)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.ZT" placeholder="状态">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.ZT">
<el-option v-for="item in dicData['A11']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -124,7 +124,7 @@
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM" placeholder="区县代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -134,56 +134,56 @@
</template>
<script>
// 点状定着物信息
import ktfQtDzdzw from '@/api/ktfQtDzdzw'
import ruleMixin from '@/mixins/ruleMixin.js'
import ktfQtDzdzw from "@/api/ktfQtDzdzw";
import ruleMixin from "@/mixins/ruleMixin.js";
export default {
mixins: [ruleMixin],
props: {
bsmSjsb: {
type: String,
default: ''
default: "",
},
bsmYwsjb: {
type: String,
default: ''
}
default: "",
},
},
data () {
data() {
return {
ruleForm: {
YSDM: '',
BDCDYH: '',
ZDZHDM: '',
DZDZWLX: '',
DZWMC: '',
MJ: '',
DAH: '',
ZT: '',
QXDM: ''
}
}
YSDM: "",
BDCDYH: "",
ZDZHDM: "",
DZDZWLX: "",
DZWMC: "",
MJ: "",
DAH: "",
ZT: "",
QXDM: "",
},
};
},
methods: {
async featchData () {
async featchData() {
try {
let { result: res } = await ktfQtDzdzw.getKtfQtDzdzwById(this.bsmSjsb)
this.ruleForm = res
let { result: res } = await ktfQtDzdzw.getKtfQtDzdzwById(this.bsmSjsb);
this.ruleForm = res;
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
},
handleUpdateForm () {
handleUpdateForm() {
return new Promise(async (resolve) => {
try {
let res = await ktfQtDzdzw.updateKtfQtDzdzw(this.ruleForm)
resolve(res.code)
let res = await ktfQtDzdzw.updateKtfQtDzdzw(this.ruleForm);
resolve(res.code);
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
})
}
}
}
});
},
},
};
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
......
......@@ -9,7 +9,7 @@
<p class="label-detail">(BSM)</p>
</span>
<p :class="{ 'disabled': $store.state.business.Edit }">
{{ ruleForm.bsm || '暂无' }}
{{ ruleForm.bsm }}
</p>
</el-form-item>
</el-col>
......@@ -20,7 +20,7 @@
要素代码: <br />
<p class="label-detail">(YSDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM" placeholder="要素代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM"></el-input>
</el-form-item>
</el-col>
......@@ -30,7 +30,7 @@
不动产单元号: <br />
<p class="label-detail">(BDCDYH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCDYH" placeholder="不动产单元号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCDYH"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -42,7 +42,7 @@
宗地/宗海代码: <br />
<p class="label-detail">(ZDZHDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZDZHDM" placeholder="宗地/宗海代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZDZHDM"></el-input>
</el-form-item>
</el-col>
......@@ -52,8 +52,7 @@
面状定着物类型: <br />
<p class="label-detail">(MZDZWLX)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.MZDZWLX"
placeholder="面状定着物类型"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.MZDZWLX"></el-input>
</el-form-item>
</el-col>
......@@ -63,7 +62,7 @@
定着物名称: <br />
<p class="label-detail">(DZWMC)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DZWMC" placeholder="定着物名称"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DZWMC"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -75,7 +74,7 @@
面积单位: <br />
<p class="label-detail">(MJDW)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.MJDW" placeholder="面积单位">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.MJDW">
<el-option v-for="item in dicData['A7']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -89,7 +88,7 @@
<p class="label-detail">(MJ)</p>
</span>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-model="ruleForm.MJ"
v-only-number="{ max: 99999, min: 0, precision: 2 }" placeholder="面积"></el-input-number>
v-only-number="{ max: 99999, min: 0, precision: 2 }"></el-input-number>
</el-form-item>
</el-col>
......@@ -99,7 +98,7 @@
档案号: <br />
<p class="label-detail">(DAH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DAH" placeholder="档案号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DAH"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -111,7 +110,7 @@
状态: <br />
<p class="label-detail">(ZT)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.ZT" placeholder="状态">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.ZT">
<el-option v-for="item in dicData['A11']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -124,7 +123,7 @@
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM" placeholder="区县代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -134,58 +133,58 @@
</template>
<script>
// 面状定着物
import ktfQtMzdzw from '@/api/ktfQtMzdzw'
import ruleMixin from '@/mixins/ruleMixin.js'
import ktfQtMzdzw from "@/api/ktfQtMzdzw";
import ruleMixin from "@/mixins/ruleMixin.js";
export default {
mixins: [ruleMixin],
props: {
bsmSjsb: {
type: String,
default: ''
default: "",
},
bsmYwsjb: {
type: String,
default: ''
}
default: "",
},
},
data () {
data() {
return {
ruleForm: {
YSDM: '',
BDCDYH: '',
ZDZHDM: '',
MZDZWLX: '',
DZWMC: '',
MJ: '',
DAH: '',
ZT: '',
QXDM: ''
}
}
YSDM: "",
BDCDYH: "",
ZDZHDM: "",
MZDZWLX: "",
DZWMC: "",
MJ: "",
DAH: "",
ZT: "",
QXDM: "",
},
};
},
methods: {
async featchData () {
async featchData() {
try {
let { result: res } = await ktfQtMzdzw.getKtfQtMzdzwById(this.bsmSjsb)
this.ruleForm = res
let { result: res } = await ktfQtMzdzw.getKtfQtMzdzwById(this.bsmSjsb);
this.ruleForm = res;
//this.featchRule()
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
},
handleUpdateForm () {
handleUpdateForm() {
return new Promise(async (resolve) => {
try {
let res = await ktfQtMzdzw.updateKtfQtMzdzw(this.ruleForm)
let res = await ktfQtMzdzw.updateKtfQtMzdzw(this.ruleForm);
// this.$refs['formList'].resetFields();
resolve(res.code)
resolve(res.code);
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
})
}
}
}
});
},
},
};
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
......
......@@ -20,7 +20,7 @@
要素代码: <br />
<p class="label-detail">(YSDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM" placeholder="要素代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM"></el-input>
</el-form-item>
</el-col>
......@@ -30,7 +30,7 @@
不动产单元号: <br />
<p class="label-detail">(BDCDYH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCDYH" placeholder="不动产单元号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCDYH"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -42,7 +42,7 @@
宗地/宗海代码: <br />
<p class="label-detail">(ZDZHDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZDZHDM" placeholder="宗地/宗海代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZDZHDM"></el-input>
</el-form-item>
</el-col>
......@@ -52,8 +52,7 @@
线状定着物类型: <br />
<p class="label-detail">(XZDZWLX)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.XZDZWLX"
placeholder="线状定着物类型"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.XZDZWLX"></el-input>
</el-form-item>
</el-col>
......@@ -63,7 +62,7 @@
定着物名称: <br />
<p class="label-detail">(DZWMC)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DZWMC" placeholder="定着物名称"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DZWMC"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -75,7 +74,7 @@
面积单位:<br />
<p class="label-detail">(MJDW)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.MJDW" placeholder="面积单位">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.MJDW">
<el-option v-for="item in dicData['A7']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -89,7 +88,7 @@
<p class="label-detail">(MJ)</p>
</span>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-model="ruleForm.MJ"
v-only-number="{ max: 99999, min: 1, precision: 2 }" placeholder="面积"></el-input-number>
v-only-number="{ max: 99999, min: 1, precision: 2 }"></el-input-number>
</el-form-item>
</el-col>
......@@ -99,7 +98,7 @@
档案号: <br />
<p class="label-detail">(DAH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DAH" placeholder="档案号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DAH"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -111,7 +110,7 @@
状态: <br />
<p class="label-detail">(ZT)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.ZT" placeholder="状态">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.ZT">
<el-option v-for="item in dicData['A11']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -124,7 +123,7 @@
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM" placeholder="区县代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -134,59 +133,59 @@
</template>
<script>
// 线状定着物
import ktfQtXzdzw from '@/api/ktfQtXzdzw'
import ruleMixin from '@/mixins/ruleMixin.js'
import ktfQtXzdzw from "@/api/ktfQtXzdzw";
import ruleMixin from "@/mixins/ruleMixin.js";
export default {
mixins: [ruleMixin],
props: {
bsmSjsb: {
type: String,
default: ''
default: "",
},
bsmYwsjb: {
type: String,
default: ''
}
default: "",
},
},
data () {
data() {
return {
ruleForm: {
BSM: '',
YSDM: '',
BDCDYH: '',
ZDZHDM: '',
mzdzwlx: '',
DZWMC: '',
MJ: '',
DAH: '',
ZT: '',
QXDM: ''
}
}
BSM: "",
YSDM: "",
BDCDYH: "",
ZDZHDM: "",
mzdzwlx: "",
DZWMC: "",
MJ: "",
DAH: "",
ZT: "",
QXDM: "",
},
};
},
methods: {
async featchData () {
async featchData() {
try {
let { result: res } = await ktfQtXzdzw.getKtfQtXzdzwById(this.bsmSjsb)
this.ruleForm = res
let { result: res } = await ktfQtXzdzw.getKtfQtXzdzwById(this.bsmSjsb);
this.ruleForm = res;
//this.featchRule()
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
},
handleUpdateForm () {
handleUpdateForm() {
return new Promise(async (resolve, reject) => {
try {
let res = await ktfQtXzdzw.updateKtfQtXzdzw(this.ruleForm)
let res = await ktfQtXzdzw.updateKtfQtXzdzw(this.ruleForm);
// this.$refs['formList'].resetFields();
resolve(res.code)
resolve(res.code);
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
})
}
}
}
});
},
},
};
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
......
......@@ -8,7 +8,7 @@
宗地代码: <br />
<p class="label-detail">(ZDDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.zddm" placeholder="宗地代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.zddm"></el-input>
</el-form-item>
</el-col>
......@@ -18,7 +18,7 @@
变化原因: <br />
<p class="label-detail">(BHYY)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.bhyy" placeholder="变化原因"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.bhyy"></el-input>
</el-form-item>
</el-col>
......@@ -28,7 +28,7 @@
变化内容: <br />
<p class="label-detail">(BHNR)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.bhnr" placeholder="变化内容"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.bhnr"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -40,8 +40,8 @@
登记时间: <br />
<p class="label-detail">(DJSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" placeholder="选择日期" clearable
v-model="ruleForm.djsj" value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" clearable v-model="ruleForm.djsj"
value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
</el-form-item>
</el-col>
......@@ -51,7 +51,7 @@
登簿人: <br />
<p class="label-detail">(DBR)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.dbr" placeholder="登簿人"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.dbr"></el-input>
</el-form-item>
</el-col>
......@@ -61,7 +61,7 @@
附记: <br />
<p class="label-detail">(FJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.fj" placeholder="附记"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.fj"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -72,7 +72,7 @@
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.qxdm" placeholder="区县代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.qxdm"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -82,56 +82,56 @@
</template>
<script>
// 宗地变化情况
import ktfZdbhqk from '@/api/ktfZdbhqk'
import ruleMixin from '@/mixins/ruleMixin.js'
import ktfZdbhqk from "@/api/ktfZdbhqk";
import ruleMixin from "@/mixins/ruleMixin.js";
export default {
mixins: [ruleMixin],
props: {
bsmSjsb: {
type: String,
default: ''
default: "",
},
bsmYwsjb: {
type: String,
default: ''
}
default: "",
},
},
data () {
data() {
return {
ruleForm: {
ZDDM: '',
BHYY: '',
BHNR: '',
DJSJ: '',
DBR: '',
FJ: '',
QXDM: ''
}
}
ZDDM: "",
BHYY: "",
BHNR: "",
DJSJ: "",
DBR: "",
FJ: "",
QXDM: "",
},
};
},
methods: {
async featchData () {
async featchData() {
try {
let { result: res } = await ktfZdbhqk.getKtfZdbhqkById(this.bsmSjsb)
this.ruleForm = res
let { result: res } = await ktfZdbhqk.getKtfZdbhqkById(this.bsmSjsb);
this.ruleForm = res;
//this.featchRule()
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
},
handleUpdateForm () {
handleUpdateForm() {
return new Promise(async (resolve) => {
try {
let res = await ktfZdbhqk.updateKtfZdbhqk(this.ruleForm)
let res = await ktfZdbhqk.updateKtfZdbhqk(this.ruleForm);
// this.$refs['formList'].resetFields();
resolve(res.code)
resolve(res.code);
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
})
}
}
}
});
},
},
};
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
......
......@@ -8,8 +8,7 @@
宗海/海岛代码: <br />
<p class="label-detail">(ZHHDDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZHHDDM" maxlength="19"
placeholder="宗海/海岛代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZHHDDM" maxlength="19"></el-input>
</el-form-item>
</el-col>
......@@ -20,8 +19,8 @@
<p class="label-detail">(XH)</p>
</span>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit"
v-model.number="ruleForm.XH" type="number" v-only-number="{ max: 999999, min: 0, precision: 0 }"
placeholder="序号"></el-input-number>
v-model.number="ruleForm.XH" type="number" v-only-number="{ max: 999999, min: 0, precision: 0 }">
</el-input-number>
</el-form-item>
</el-col>
......@@ -32,8 +31,8 @@
<p class="label-detail">(BW)</p>
</span>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit"
v-model.number="ruleForm.BW" type="number" v-only-number="{ max: 999999999999999, min: 0, precision: 8 }"
placeholder="北纬"></el-input-number>
v-model.number="ruleForm.BW" type="number" v-only-number="{ max: 999999999999999, min: 0, precision: 8 }">
</el-input-number>
</el-form-item>
</el-col>
</el-row>
......@@ -46,8 +45,8 @@
<p class="label-detail">(DJ)</p>
</span>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit"
v-model.number="ruleForm.DJ" type="number" v-only-number="{ max: 999999999999999, min: 0, precision: 8 }"
placeholder="东经"></el-input-number>
v-model.number="ruleForm.DJ" type="number" v-only-number="{ max: 999999999999999, min: 0, precision: 8 }">
</el-input-number>
</el-form-item>
</el-col>
......@@ -57,7 +56,7 @@
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM" placeholder="区县代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -67,54 +66,56 @@
</template>
<script>
// 用海、用岛坐标
import ktfZhYhydzb from '@/api/ktfZhYhydzb'
import ruleMixin from '@/mixins/ruleMixin.js'
import ktfZhYhydzb from "@/api/ktfZhYhydzb";
import ruleMixin from "@/mixins/ruleMixin.js";
export default {
mixins: [ruleMixin],
props: {
bsmSjsb: {
type: String,
default: ''
default: "",
},
bsmYwsjb: {
type: String,
default: ''
}
default: "",
},
},
data () {
data() {
return {
ruleForm: {
ZHHDDM: '',
XH: '',
BW: '',
DJ: '',
QXDM: ''
}
}
ZHHDDM: "",
XH: "",
BW: "",
DJ: "",
QXDM: "",
},
};
},
methods: {
async featchData () {
async featchData() {
try {
let { result: res } = await ktfZhYhydzb.getKtfZhYhydzbById(this.bsmSjsb)
this.ruleForm = res
let { result: res } = await ktfZhYhydzb.getKtfZhYhydzbById(
this.bsmSjsb
);
this.ruleForm = res;
//this.featchRule()
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
},
handleUpdateForm () {
handleUpdateForm() {
return new Promise(async (resolve, reject) => {
try {
let res = await ktfZhYhydzb.updateKtfZhYhydzb(this.ruleForm)
let res = await ktfZhYhydzb.updateKtfZhYhydzb(this.ruleForm);
// this.$refs['formList'].resetFields();
resolve(res.code)
resolve(res.code);
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
})
}
}
}
});
},
},
};
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
......
......@@ -8,7 +8,7 @@
宗海代码: <br />
<p class="label-detail">(ZHDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZHDM" placeholder="宗海代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZHDM"></el-input>
</el-form-item>
</el-col>
......@@ -18,7 +18,7 @@
用海方式: <br />
<p class="label-detail">(YHFS)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.YHFS" placeholder="用海方式">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.YHFS">
<el-option v-for="item in dicData['A51']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -32,8 +32,8 @@
<p class="label-detail">(YHMJ)</p>
</span>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit"
v-model.number="ruleForm.YHMJ" type="number" v-only-number="{ max: 999999, min: 1, precision: 2 }"
placeholder="用海面积"></el-input-number>
v-model.number="ruleForm.YHMJ" type="number" v-only-number="{ max: 999999, min: 1, precision: 2 }">
</el-input-number>
</el-form-item>
</el-col>
</el-row>
......@@ -45,7 +45,7 @@
具体用途: <br />
<p class="label-detail">(JTYT)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.JTYT" placeholder="具体用途"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.JTYT"></el-input>
</el-form-item>
</el-col>
......@@ -56,8 +56,8 @@
<p class="label-detail">(SYJES)</p>
</span>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit"
v-model.number="ruleForm.SYJES" type="number" v-only-number="{ max: 999999, min: 0, precision: 2 }"
placeholder="使用金额数"></el-input-number>
v-model.number="ruleForm.SYJES" type="number" v-only-number="{ max: 999999, min: 0, precision: 2 }">
</el-input-number>
</el-form-item>
</el-col>
......@@ -67,7 +67,7 @@
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM" placeholder="区县代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -77,55 +77,55 @@
</template>
<script>
// 用海状况
import ktfZhYhzk from '@/api/ktfZhYhzk'
import ruleMixin from '@/mixins/ruleMixin.js'
import ktfZhYhzk from "@/api/ktfZhYhzk";
import ruleMixin from "@/mixins/ruleMixin.js";
export default {
mixins: [ruleMixin],
props: {
bsmSjsb: {
type: String,
default: ''
default: "",
},
bsmYwsjb: {
type: String,
default: ''
}
default: "",
},
},
data () {
data() {
return {
ruleForm: {
ZHDM: '',
YHFS: '',
YHMJ: '',
JTYT: '',
SYJES: '',
QXDM: ''
}
}
ZHDM: "",
YHFS: "",
YHMJ: "",
JTYT: "",
SYJES: "",
QXDM: "",
},
};
},
methods: {
async featchData () {
async featchData() {
try {
let { result: res } = await ktfZhYhzk.getKtfZhYhzkById(this.bsmSjsb)
this.ruleForm = res
let { result: res } = await ktfZhYhzk.getKtfZhYhzkById(this.bsmSjsb);
this.ruleForm = res;
//this.featchRule()
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
},
handleUpdateForm () {
handleUpdateForm() {
return new Promise(async (resolve) => {
try {
let res = await ktfZhYhzk.updateKtfZhYhzk(this.ruleForm)
let res = await ktfZhYhzk.updateKtfZhYhzk(this.ruleForm);
// this.$refs['formList'].resetFields();
resolve(res.code)
resolve(res.code);
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
})
}
}
}
});
},
},
};
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
......
......@@ -8,8 +8,7 @@
宗海代码: <br />
<p class="label-detail">(ZHDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZHDM" maxlength="19"
placeholder="宗海代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZHDM" maxlength="19"></el-input>
</el-form-item>
</el-col>
......@@ -19,7 +18,7 @@
变化原因: <br />
<p class="label-detail">(BHYY)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BHYY" placeholder="变化原因"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BHYY"></el-input>
</el-form-item>
</el-col>
......@@ -29,7 +28,7 @@
变化内容: <br />
<p class="label-detail">(BHNR)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BHNR" placeholder="变化内容"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BHNR"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -41,8 +40,8 @@
登记时间: <br />
<p class="label-detail">(DJSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" placeholder="选择日期" clearable
v-model="ruleForm.DJSJ" value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" clearable v-model="ruleForm.DJSJ"
value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
</el-form-item>
</el-col>
......@@ -52,7 +51,7 @@
登簿人: <br />
<p class="label-detail">(DBR)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DBR" placeholder="登簿人"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DBR"></el-input>
</el-form-item>
</el-col>
......@@ -62,7 +61,7 @@
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM" placeholder="区县代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -71,56 +70,56 @@
</div>
</template>
<script>
import zhK105 from '@/api/zhK105'
import ruleMixin from '@/mixins/ruleMixin.js'
import zhK105 from "@/api/zhK105";
import ruleMixin from "@/mixins/ruleMixin.js";
// 宗海变化情况
export default {
mixins: [ruleMixin],
props: {
bsmSjsb: {
type: String,
default: ''
default: "",
},
bsmYwsjb: {
type: String,
default: ''
}
default: "",
},
},
data () {
data() {
return {
ruleForm: {
ZHDM: '',
BHYY: '',
BHNR: '',
DJSJ: '',
DBR: '',
QXDM: ''
}
}
ZHDM: "",
BHYY: "",
BHNR: "",
DJSJ: "",
DBR: "",
QXDM: "",
},
};
},
methods: {
async featchData () {
async featchData() {
try {
let { result: res } = await zhK105.getZhK105ById(this.bsmSjsb)
this.ruleForm = res
let { result: res } = await zhK105.getZhK105ById(this.bsmSjsb);
this.ruleForm = res;
//this.featchRule()
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
},
handleUpdateForm () {
handleUpdateForm() {
return new Promise(async (resolve) => {
try {
let res = await zhK105.updateZhK105(this.ruleForm)
let res = await zhK105.updateZhK105(this.ruleForm);
// this.$refs['formList'].resetFields();
resolve(res.code)
resolve(res.code);
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
})
}
}
}
});
},
},
};
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
......
......@@ -8,7 +8,7 @@
要素代码: <br />
<p class="label-detail">(YSDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ysdm" placeholder="要素代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ysdm"></el-input>
</el-form-item>
</el-col>
......@@ -18,7 +18,7 @@
层号: <br />
<p class="label-detail">(CH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ch" placeholder="层号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ch"></el-input>
</el-form-item>
</el-col>
......@@ -28,7 +28,7 @@
自然幢号: <br />
<p class="label-detail">(ZRZH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.zrzh" placeholder="自然幢号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.zrzh"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -40,7 +40,7 @@
实际层: <br />
<p class="label-detail">(SJC)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.sjc" placeholder="实际层"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.sjc"></el-input>
</el-form-item>
</el-col>
......@@ -50,7 +50,7 @@
名义层: <br />
<p class="label-detail">(MYC)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.myc" placeholder="名义层"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.myc"></el-input>
</el-form-item>
</el-col>
......@@ -60,8 +60,9 @@
层建筑面积: <br />
<p class="label-detail">(CJZMJ)</p>
</span>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-only-number="{ max: 999999999999999, min: 0, precision: 3 }"
placeholder="层建筑面积" type="number" v-model.number="ruleForm.cjzmj"></el-input-number>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit"
v-only-number="{ max: 999999999999999, min: 0, precision: 3 }" type="number"
v-model.number="ruleForm.cjzmj"></el-input-number>
</el-form-item>
</el-col>
</el-row>
......@@ -73,8 +74,9 @@
层套内建筑面积: <br />
<p class="label-detail">(CTNJZMJ)</p>
</span>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-only-number="{ max: 999999999999999, min: 0, precision: 3 }"
placeholder="层套内建筑面积" type="number" v-model.number="ruleForm.ctnjzmj"></el-input-number>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit"
v-only-number="{ max: 999999999999999, min: 0, precision: 3 }" type="number"
v-model.number="ruleForm.ctnjzmj"></el-input-number>
</el-form-item>
</el-col>
......@@ -84,8 +86,9 @@
层阳台面积: <br />
<p class="label-detail">(CYTMJ)</p>
</span>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-only-number="{ max: 999999999999999, min: 0, precision: 3 }"
placeholder="层阳台面积" type="number" v-model.number="ruleForm.cytmj"></el-input-number>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit"
v-only-number="{ max: 999999999999999, min: 0, precision: 3 }" type="number"
v-model.number="ruleForm.cytmj"></el-input-number>
</el-form-item>
</el-col>
......@@ -95,8 +98,9 @@
层共有建筑面积: <br />
<p class="label-detail">(CGYJZMJ)</p>
</span>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-only-number="{ max: 999999999999999, min: 0, precision: 3 }"
placeholder="层共有建筑面积" type="number" v-model.number="ruleForm.cgyjzmj"></el-input-number>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit"
v-only-number="{ max: 999999999999999, min: 0, precision: 3 }" type="number"
v-model.number="ruleForm.cgyjzmj"></el-input-number>
</el-form-item>
</el-col>
</el-row>
......@@ -108,8 +112,9 @@
层分摊建筑面积: <br />
<p class="label-detail">(CFTJZMJ)</p>
</span>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-only-number="{ max: 999999999999999, min: 0, precision: 3 }"
placeholder="层分摊建筑面积" type="number" v-model.number="ruleForm.cftjzmj"></el-input-number>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit"
v-only-number="{ max: 999999999999999, min: 0, precision: 3 }" type="number"
v-model.number="ruleForm.cftjzmj"></el-input-number>
</el-form-item>
</el-col>
......@@ -119,8 +124,9 @@
层半墙面积: <br />
<p class="label-detail">(CBQMJ)</p>
</span>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-only-number="{ max: 999999999999999, min: 0, precision: 3 }"
type="number" placeholder="层半墙面积" v-model.number="ruleForm.cbqmj"></el-input-number>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit"
v-only-number="{ max: 999999999999999, min: 0, precision: 3 }" type="number"
v-model.number="ruleForm.cbqmj"></el-input-number>
</el-form-item>
</el-col>
......@@ -130,8 +136,9 @@
层高: <br />
<p class="label-detail">(CG)</p>
</span>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-only-number="{ max: 999999999999999, min: 0, precision: 3 }"
placeholder="层高" type="number" v-model.number="ruleForm.cg"></el-input-number>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit"
v-only-number="{ max: 999999999999999, min: 0, precision: 3 }" type="number" v-model.number="ruleForm.cg">
</el-input-number>
</el-form-item>
</el-col>
</el-row>
......@@ -143,8 +150,9 @@
水平投影面积: <br />
<p class="label-detail">(SPTYMJ)</p>
</span>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-only-number="{ max: 999999999999999, min: 0, precision: 3 }"
placeholder="水平投影面积" type="number" v-model.number="ruleForm.sptymj"></el-input-number>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit"
v-only-number="{ max: 999999999999999, min: 0, precision: 3 }" type="number"
v-model.number="ruleForm.sptymj"></el-input-number>
</el-form-item>
</el-col>
......@@ -154,7 +162,7 @@
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.qxdm" placeholder="区县代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.qxdm"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -164,63 +172,63 @@
</template>
<script>
// 层信息
import kttFwC from '@/api/kttFwC'
import ruleMixin from '@/mixins/ruleMixin.js'
import kttFwC from "@/api/kttFwC";
import ruleMixin from "@/mixins/ruleMixin.js";
export default {
mixins: [ruleMixin],
props: {
bsmSjsb: {
type: String,
default: ''
default: "",
},
bsmYwsjb: {
type: String,
default: ''
}
default: "",
},
},
data () {
data() {
return {
ruleForm: {
YSDM: '',
CH: '',
ZRZH: '',
SJC: '',
MYC: '',
CJZMJ: '',
CTNJZMJ: '',
CYTMJ: '',
CGYJZMJ: '',
CFTJZMJ: '',
CBQMJ: '',
CG: '',
SPTYMJ: '',
QXDM: ''
}
}
YSDM: "",
CH: "",
ZRZH: "",
SJC: "",
MYC: "",
CJZMJ: "",
CTNJZMJ: "",
CYTMJ: "",
CGYJZMJ: "",
CFTJZMJ: "",
CBQMJ: "",
CG: "",
SPTYMJ: "",
QXDM: "",
},
};
},
methods: {
async featchData () {
async featchData() {
try {
let { result: res } = await kttFwC.getKttFwCById(this.bsmSjsb)
this.ruleForm = res
let { result: res } = await kttFwC.getKttFwCById(this.bsmSjsb);
this.ruleForm = res;
//this.featchRule()
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
},
handleUpdateForm () {
handleUpdateForm() {
return new Promise(async (resolve, reject) => {
try {
let res = await kttFwC.updateKttFwC(this.ruleForm)
let res = await kttFwC.updateKttFwC(this.ruleForm);
// this.$refs['formList'].resetFields();
resolve(res.code)
resolve(res.code);
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
})
});
},
}
}
},
};
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
......
......@@ -8,7 +8,7 @@
要素代码: <br />
<p class="label-detail">(YSDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ysdm" placeholder="要素代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ysdm"></el-input>
</el-form-item>
</el-col>
......@@ -18,7 +18,7 @@
不动产单元号: <br />
<p class="label-detail">(BDCDYH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.bdcdyh" placeholder="不动产单元号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.bdcdyh"></el-input>
</el-form-item>
</el-col>
......@@ -28,7 +28,7 @@
逻辑幢号: <br />
<p class="label-detail">(LJZH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ljzh" placeholder="逻辑幢号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ljzh"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -40,7 +40,7 @@
自然幢号: <br />
<p class="label-detail">(ZRZH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.zrzh" placeholder="自然幢号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.zrzh"></el-input>
</el-form-item>
</el-col>
......@@ -50,7 +50,7 @@
房屋编码: <br />
<p class="label-detail">(FWBM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.fwbm" placeholder="房屋编码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.fwbm"></el-input>
</el-form-item>
</el-col>
......@@ -60,7 +60,7 @@
层号: <br />
<p class="label-detail">(CH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ch" placeholder="层号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ch"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -72,7 +72,7 @@
坐落: <br />
<p class="label-detail">(ZL)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.zl" placeholder="坐落"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.zl"></el-input>
</el-form-item>
</el-col>
......@@ -82,7 +82,7 @@
面积单位: <br />
<p class="label-detail">(MJDW)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.mjdw" placeholder="面积单位">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.mjdw">
<el-option v-for="item in dicData['A7']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -96,8 +96,7 @@
<p class="label-detail">(SJCS)</p>
</span>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit"
v-only-number="{ max: 99999, min: 1, precision: 0 }" placeholder="实际层数"
v-model="ruleForm.sjcs"></el-input-number>
v-only-number="{ max: 99999, min: 1, precision: 0 }" v-model="ruleForm.sjcs"></el-input-number>
</el-form-item>
</el-col>
</el-row>
......@@ -110,7 +109,7 @@
<p class="label-detail">(HH)</p>
</span>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-model="ruleForm.hh"
placeholder="户号" v-only-number="{ max: 99999, min: 1, precision: 0 }"></el-input-number>
v-only-number="{ max: 99999, min: 1, precision: 0 }"></el-input-number>
</el-form-item>
</el-col>
......@@ -120,7 +119,7 @@
室号部位: <br />
<p class="label-detail">(SHBW)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.shbw" placeholder="室号部位"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.shbw"></el-input>
</el-form-item>
</el-col>
......@@ -130,7 +129,7 @@
户型: <br />
<p class="label-detail">(HX)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.hx" placeholder="户型">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.hx">
<el-option v-for="item in dicData['A15']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -145,7 +144,7 @@
户型结构: <br />
<p class="label-detail">(HXJG)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.hxjg" placeholder="户型结构">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.hxjg">
<el-option v-for="item in dicData['A16']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -158,7 +157,7 @@
房屋用途1: <br />
<p class="label-detail">(FWYT1)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.fwyt1" placeholder="房屋用途1">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.fwyt1">
<el-option v-for="item in dicData['A17']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -171,7 +170,7 @@
房屋用途2: <br />
<p class="label-detail">(FWYT2)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.fwyt2" placeholder="房屋用途2">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.fwyt2">
<el-option v-for="item in dicData['A17']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -186,7 +185,7 @@
房屋用途3: <br />
<p class="label-detail">(FWYT3)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.fwyt3" placeholder="房屋用途3">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.fwyt3">
<el-option v-for="item in dicData['A17']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -200,7 +199,7 @@
<p class="label-detail">(YCJZMJ)</p>
</span>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit"
v-only-number="{ max: 999999999999999, min: 0, precision: 2 }" placeholder="预测建筑面积" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 2 }" type="number"
v-model.number="ruleForm.ycjzmj"></el-input-number>
</el-form-item>
</el-col>
......@@ -212,7 +211,7 @@
<p class="label-detail">(YCTNJZMJ)</p>
</span>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit"
v-only-number="{ max: 999999999999999, min: 0, precision: 2 }" placeholder="预测套内建筑面积" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 2 }" type="number"
v-model.number="ruleForm.yctnjzmj"></el-input-number>
</el-form-item>
</el-col>
......@@ -226,7 +225,7 @@
<p class="label-detail">(YCFTJZMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit"
v-only-number="{ max: 999999999999999, min: 0, precision: 2 }" placeholder="预测分摊建筑面积" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 2 }" type="number"
v-model.number="ruleForm.ycftjzmj"></el-input>
</el-form-item>
</el-col>
......@@ -238,7 +237,7 @@
<p class="label-detail">(YCDXBFJZMJ)</p>
</span>
<el-input controls-position="right" :disabled="$store.state.business.Edit"
v-only-number="{ max: 999999999999999, min: 0, precision: 2 }" placeholder="预测地下部分建筑面积" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 2 }" type="number"
v-model.number="ruleForm.ycdxbfjzmj"></el-input>
</el-form-item>
</el-col>
......@@ -250,7 +249,7 @@
<p class="label-detail">(YCQTJZMJ)</p>
</span>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit"
v-only-number="{ max: 999999999999999, min: 0, precision: 2 }" placeholder="预测其它建筑面积" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 2 }" type="number"
v-model.number="ruleForm.ycqtjzmj"></el-input-number>
</el-form-item>
</el-col>
......@@ -264,8 +263,8 @@
预测分摊系数: <br />
<p class="label-detail">(YCFTXS)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.ycftxs" placeholder="预测分摊系数"
type="number" v-only-number="{ max: 999999999999999, min: 0, precision: 6 }"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.ycftxs" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 6 }"></el-input>
</el-form-item>
</el-col>
......@@ -276,7 +275,7 @@
<p class="label-detail">(SCJZMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit"
v-only-number="{ max: 999999999999999, min: 0, precision: 3 }" placeholder="实测建筑面积" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 3 }" type="number"
v-model.number="ruleForm.scjzmj"></el-input>
</el-form-item>
</el-col>
......@@ -288,7 +287,7 @@
<p class="label-detail">(SCTNJZMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit"
v-only-number="{ max: 999999999999999, min: 0, precision: 3 }" placeholder="实测套内建筑面积" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 3 }" type="number"
v-model.number="ruleForm.sctnjzmj"></el-input>
</el-form-item>
</el-col>
......@@ -303,7 +302,7 @@
<p class="label-detail">(SCFTJZMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit"
v-only-number="{ max: 999999999999999, min: 0, precision: 3 }" placeholder="实测分摊建筑面积" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 3 }" type="number"
v-model.number="ruleForm.scftjzmj"></el-input>
</el-form-item>
</el-col>
......@@ -315,7 +314,7 @@
<p class="label-detail">(SCDXBFJZMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit"
v-only-number="{ max: 999999999999999, min: 0, precision: 3 }" placeholder="实测地下部分建筑面积" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 3 }" type="number"
v-model.number="ruleForm.scdxbfjzmj"></el-input>
</el-form-item>
</el-col>
......@@ -327,7 +326,7 @@
<p class="label-detail">(SCQTJZMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit"
v-only-number="{ max: 999999999999999, min: 0, precision: 3 }" placeholder="实测其它建筑面积" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 3 }" type="number"
v-model.number="ruleForm.scqtjzmj"></el-input>
</el-form-item>
</el-col>
......@@ -342,7 +341,7 @@
<p class="label-detail">(SCFTXS)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.scftxs" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 6 }" placeholder="实测分摊系数"></el-input>
v-only-number="{ max: 999999999999999, min: 0, precision: 6 }"></el-input>
</el-form-item>
</el-col>
......@@ -353,7 +352,7 @@
<p class="label-detail">(GYTDMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit"
v-only-number="{ max: 999999999999999, min: 0, precision: 3 }" placeholder="共有土地面积" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 3 }" type="number"
v-model.number="ruleForm.gytdmj"></el-input>
</el-form-item>
</el-col>
......@@ -365,7 +364,7 @@
<p class="label-detail">(FTTDMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit"
v-only-number="{ max: 999999999999999, min: 0, precision: 3 }" placeholder="分摊土地面积" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 3 }" type="number"
v-model.number="ruleForm.fttdmj"></el-input>
</el-form-item>
</el-col>
......@@ -379,8 +378,8 @@
独用土地面积: <br />
<p class="label-detail">(DYTDMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.dytdmj" placeholder="独用土地面积"
type="number" v-only-number="{ max: 999999999999999, min: 0, precision: 3 }"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.dytdmj" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 3 }"></el-input>
</el-form-item>
</el-col>
......@@ -390,7 +389,7 @@
房屋类型: <br />
<p class="label-detail">(FWLX)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.fwlx" placeholder="房屋类型">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.fwlx">
<el-option v-for="item in dicData['A18']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -403,7 +402,7 @@
房屋性质: <br />
<p class="label-detail">(FWXZ)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.fwxz" placeholder="房屋性质">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.fwxz">
<el-option v-for="item in dicData['A19']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -419,7 +418,7 @@
房产分户图: <br />
<p class="label-detail">(FCFHT)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.fcfht" placeholder="房产分户图"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.fcfht"></el-input>
</el-form-item>
</el-col>
......@@ -429,7 +428,7 @@
状态: <br />
<p class="label-detail">(ZT)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.zt" placeholder="状态">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.zt">
<el-option v-for="item in dicData['A11']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -442,7 +441,7 @@
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.qxdm" placeholder="区县代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.qxdm"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -466,7 +465,7 @@ export default {
default: "",
},
},
data () {
data() {
return {
ruleForm: {
YSDM: "",
......@@ -509,7 +508,7 @@ export default {
};
},
methods: {
async featchData () {
async featchData() {
try {
let { result: res } = await kttFwH.getKttFwHById(this.bsmSjsb);
this.ruleForm = res;
......@@ -518,7 +517,7 @@ export default {
this.$refs.msg.messageShow();
}
},
handleUpdateForm () {
handleUpdateForm() {
return new Promise(async (resolve, reject) => {
try {
let res = await kttFwH.updateKttFwH(this.ruleForm);
......
......@@ -8,7 +8,7 @@
要素代码: <br />
<p class="label-detail">(YSDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ysdm" placeholder="要素代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ysdm"></el-input>
</el-form-item>
</el-col>
......@@ -18,7 +18,7 @@
逻辑幢号: <br />
<p class="label-detail">(LJZH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ljzh" placeholder="逻辑幢号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ljzh"></el-input>
</el-form-item>
</el-col>
......@@ -28,7 +28,7 @@
自然幢号: <br />
<p class="label-detail">(ZRZH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.zrzh" placeholder="自然幢号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.zrzh"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -40,7 +40,7 @@
门牌号: <br />
<p class="label-detail">(MPH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.mph" placeholder="门牌号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.mph"></el-input>
</el-form-item>
</el-col>
......@@ -50,8 +50,9 @@
预测建筑面积: <br />
<p class="label-detail">(YCJZMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-only-number="{ max: 999999999999999, min: 0, precision: 3 }"
placeholder="预测建筑面积" type="number" v-model.number="ruleForm.ycjzmj"></el-input>
<el-input :disabled="$store.state.business.Edit"
v-only-number="{ max: 999999999999999, min: 0, precision: 3 }" type="number"
v-model.number="ruleForm.ycjzmj"></el-input>
</el-form-item>
</el-col>
......@@ -61,8 +62,9 @@
预测地下面积: <br />
<p class="label-detail">(YCDXMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-only-number="{ max: 999999999999999, min: 0, precision: 3 }"
placeholder="预测地下面积" type="number" v-model.number="ruleForm.ycdxmj"></el-input>
<el-input :disabled="$store.state.business.Edit"
v-only-number="{ max: 999999999999999, min: 0, precision: 3 }" type="number"
v-model.number="ruleForm.ycdxmj"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -74,8 +76,9 @@
预测其它面积: <br />
<p class="label-detail">(YCQTMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-only-number="{ max: 999999999999999, min: 0, precision: 3 }"
placeholder="预测其它面积" type="number" v-model.number="ruleForm.ycqtmj"></el-input>
<el-input :disabled="$store.state.business.Edit"
v-only-number="{ max: 999999999999999, min: 0, precision: 3 }" type="number"
v-model.number="ruleForm.ycqtmj"></el-input>
</el-form-item>
</el-col>
......@@ -85,8 +88,9 @@
实测建筑面积: <br />
<p class="label-detail">(SCJZMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-only-number="{ max: 999999999999999, min: 0, precision: 3 }"
placeholder="实测建筑面积" type="number" v-model.number="ruleForm.scjzmj"></el-input>
<el-input :disabled="$store.state.business.Edit"
v-only-number="{ max: 999999999999999, min: 0, precision: 3 }" type="number"
v-model.number="ruleForm.scjzmj"></el-input>
</el-form-item>
</el-col>
......@@ -96,8 +100,9 @@
实测地下面积: <br />
<p class="label-detail">(SCDXMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-only-number="{ max: 999999999999999, min: 0, precision: 3 }"
placeholder="实测地下面积" type="number" v-model.number="ruleForm.scdxmj"></el-input>
<el-input :disabled="$store.state.business.Edit"
v-only-number="{ max: 999999999999999, min: 0, precision: 3 }" type="number"
v-model.number="ruleForm.scdxmj"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -109,8 +114,9 @@
实测其它面积: <br />
<p class="label-detail">(SCQTMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-only-number="{ max: 999999999999999, min: 0, precision: 3 }"
placeholder="实测其它面积" type="number" v-model.number="ruleForm.scqtmj"></el-input>
<el-input :disabled="$store.state.business.Edit"
v-only-number="{ max: 999999999999999, min: 0, precision: 3 }" type="number"
v-model.number="ruleForm.scqtmj"></el-input>
</el-form-item>
</el-col>
......@@ -120,8 +126,8 @@
竣工日期: <br />
<p class="label-detail">(JGRQ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" placeholder="竣工日期" clearable
v-model="ruleForm.jgrq" value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" clearable v-model="ruleForm.jgrq"
value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
</el-form-item>
</el-col>
......@@ -131,7 +137,7 @@
房屋结构1: <br />
<p class="label-detail">(FWJG1)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.fwjg1" placeholder="房屋结构1"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.fwjg1"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -143,7 +149,7 @@
房屋结构2: <br />
<p class="label-detail">(FWJG2)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.fwjg2" placeholder="房屋结构2"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.fwjg2"></el-input>
</el-form-item>
</el-col>
......@@ -153,7 +159,7 @@
房屋结构3: <br />
<p class="label-detail">(FWJG3)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.fwjg3" placeholder="房屋结构3"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.fwjg3"></el-input>
</el-form-item>
</el-col>
......@@ -163,7 +169,7 @@
建筑物状态: <br />
<p class="label-detail">(JZWZT)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.jzwzt" placeholder="建筑物状态"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.jzwzt"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -175,7 +181,7 @@
房屋用途1: <br />
<p class="label-detail">(FWYT)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.fwyt" placeholder="房屋用途1"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.fwyt"></el-input>
</el-form-item>
</el-col>
......@@ -185,7 +191,7 @@
房屋用途2: <br />
<p class="label-detail">(FWYT2)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.fwyt2" placeholder="房屋用途2"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.fwyt2"></el-input>
</el-form-item>
</el-col>
......@@ -195,7 +201,7 @@
房屋用途3: <br />
<p class="label-detail">(FWYT3)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.fwyt3" placeholder="房屋用途3"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.fwyt3"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -208,7 +214,7 @@
<p class="label-detail">(ZCS)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-only-number="{ max: 9999, min: 0, precision: 0 }"
placeholder="总层数" type="number" v-model.number="ruleForm.zcs"></el-input>
type="number" v-model.number="ruleForm.zcs"></el-input>
</el-form-item>
</el-col>
......@@ -218,8 +224,7 @@
地上层数: <br />
<p class="label-detail">(DSCS)</p>
</span>
<el-input :disabled="$store.state.business.Edit" placeholder="地上层数" maxlength="5"
v-model="ruleForm.dscs"></el-input>
<el-input :disabled="$store.state.business.Edit" maxlength="5" v-model="ruleForm.dscs"></el-input>
</el-form-item>
</el-col>
......@@ -229,8 +234,7 @@
地下层数: <br />
<p class="label-detail">(DXCS)</p>
</span>
<el-input :disabled="$store.state.business.Edit" maxlength="5" placeholder="地下层数"
v-model="ruleForm.dxcs"></el-input>
<el-input :disabled="$store.state.business.Edit" maxlength="5" v-model="ruleForm.dxcs"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -242,7 +246,7 @@
备注: <br />
<p class="label-detail">(BZ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.bz" placeholder="备注"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.bz"></el-input>
</el-form-item>
</el-col>
......@@ -252,7 +256,7 @@
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.qxdm" placeholder="区县代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.qxdm"></el-input>
</el-form-item>
</el-col>
......@@ -263,72 +267,72 @@
</template>
<script>
// 逻辑幢信息
import kttFwLjz from '@/api/kttFwLjz'
import ruleMixin from '@/mixins/ruleMixin.js'
import kttFwLjz from "@/api/kttFwLjz";
import ruleMixin from "@/mixins/ruleMixin.js";
export default {
mixins: [ruleMixin],
props: {
bsmSjsb: {
type: String,
default: ''
default: "",
},
bsmYwsjb: {
type: String,
default: ''
}
default: "",
},
},
data () {
data() {
return {
ruleForm: {
YSDM: '',
LJZH: '',
ZRZH: '',
MPH: '',
YCJZMJ: '',
YCDXMJ: '',
YCQTMJ: '',
SCJZMJ: '',
SCDXMJ: '',
SCQTMJ: '',
JGRQ: '',
FWJG1: '',
FWJG2: '',
FWJG3: '',
JZWZT: '',
FWYT: '',
FWYT2: '',
FWYT3: '',
ZCS: '',
DSCS: '',
DXCS: '',
BZ: '',
QXDM: ''
}
}
YSDM: "",
LJZH: "",
ZRZH: "",
MPH: "",
YCJZMJ: "",
YCDXMJ: "",
YCQTMJ: "",
SCJZMJ: "",
SCDXMJ: "",
SCQTMJ: "",
JGRQ: "",
FWJG1: "",
FWJG2: "",
FWJG3: "",
JZWZT: "",
FWYT: "",
FWYT2: "",
FWYT3: "",
ZCS: "",
DSCS: "",
DXCS: "",
BZ: "",
QXDM: "",
},
};
},
methods: {
async featchData () {
async featchData() {
try {
let { result: res } = await kttFwLjz.getKttFwLjzById(this.bsmSjsb)
this.ruleForm = res
let { result: res } = await kttFwLjz.getKttFwLjzById(this.bsmSjsb);
this.ruleForm = res;
//this.featchRule()
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
},
handleUpdateForm () {
handleUpdateForm() {
return new Promise(async (resolve, reject) => {
try {
let res = await kttFwLjz.updateKttFwLjz(this.ruleForm)
let res = await kttFwLjz.updateKttFwLjz(this.ruleForm);
// this.$refs['formList'].resetFields();
resolve(res.code)
resolve(res.code);
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
})
}
}
}
});
},
},
};
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
......
......@@ -11,8 +11,8 @@
标识码: <br />
<p class="label-detail">(BSM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="naturalForm.naturalList[index].bsm"
placeholder="标识码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="naturalForm.naturalList[index].bsm">
</el-input>
</el-form-item>
</el-col>
......@@ -22,8 +22,8 @@
要素代码: <br />
<p class="label-detail">(YSDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="naturalForm.naturalList[index].ysdm"
placeholder="要素代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="naturalForm.naturalList[index].ysdm">
</el-input>
</el-form-item>
</el-col>
......@@ -33,8 +33,8 @@
不动产单元号: <br />
<p class="label-detail">(BDCDYH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="naturalForm.naturalList[index].bdcdyh"
placeholder="不动产单元号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="naturalForm.naturalList[index].bdcdyh">
</el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -46,8 +46,8 @@
宗地代码: <br />
<p class="label-detail">(ZDDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="naturalForm.naturalList[index].zddm"
placeholder="宗地代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="naturalForm.naturalList[index].zddm">
</el-input>
</el-form-item>
</el-col>
......@@ -57,8 +57,8 @@
自然幢号: <br />
<p class="label-detail">(ZRZH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="naturalForm.naturalList[index].zrzh"
placeholder="自然幢号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="naturalForm.naturalList[index].zrzh">
</el-input>
</el-form-item>
</el-col>
......@@ -68,8 +68,8 @@
项目名称: <br />
<p class="label-detail">(XMMC)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="naturalForm.naturalList[index].xmmc"
placeholder="项目名称"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="naturalForm.naturalList[index].xmmc">
</el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -81,8 +81,8 @@
建筑物名称: <br />
<p class="label-detail">(JZWMC)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="naturalForm.naturalList[index].jzwmc"
placeholder="建筑物名称"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="naturalForm.naturalList[index].jzwmc">
</el-input>
</el-form-item>
</el-col>
......@@ -92,7 +92,7 @@
竣工日期: <br />
<p class="label-detail">(JGRQ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="date" placeholder="竣工日期" clearable
<el-date-picker :disabled="$store.state.business.Edit" type="date" clearable
v-model="naturalForm.naturalList[index].jgrq" value-format="yyyy-MM-dd"></el-date-picker>
</el-form-item>
</el-col>
......@@ -104,7 +104,7 @@
<p class="label-detail">(JZWGD)</p>
</span>
<el-input :disabled="$store.state.business.Edit"
v-only-number="{ max: 999999999999999, min: 0, precision: 2 }" placeholder="建筑物高度" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 2 }" type="number"
v-model.number="naturalForm.naturalList[index].jzwgd"></el-input>
</el-form-item>
</el-col>
......@@ -118,7 +118,7 @@
<p class="label-detail">(ZZDMJ)</p>
</span>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit"
v-only-number="{ max: 999999999999999, min: 0, precision: 3 }" placeholder="幢占地面积" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 3 }" type="number"
v-model.number="naturalForm.naturalList[index].zzdmj"></el-input-number>
</el-form-item>
</el-col>
......@@ -130,7 +130,7 @@
<p class="label-detail">(ZYDMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit"
v-only-number="{ max: 999999999999999, min: 0, precision: 3 }" placeholder="幢用地面积" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 3 }" type="number"
v-model.number="naturalForm.naturalList[index].zydmj"></el-input>
</el-form-item>
</el-col>
......@@ -142,7 +142,7 @@
<p class="label-detail">(YCJZMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit"
v-only-number="{ max: 999999999999999, min: 0, precision: 3 }" placeholder="预测建筑面积" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 3 }" type="number"
v-model.number="naturalForm.naturalList[index].ycjzmj"></el-input>
</el-form-item>
</el-col>
......@@ -156,7 +156,7 @@
<p class="label-detail">(SCJZMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit"
v-only-number="{ max: 999999999999999, min: 0, precision: 3 }" placeholder="实测建筑面积" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 3 }" type="number"
v-model.number="naturalForm.naturalList[index].scjzmj"></el-input>
</el-form-item>
</el-col>
......@@ -167,7 +167,7 @@
总层数: <br />
<p class="label-detail">(ZCS)</p>
</span>
<el-input :disabled="$store.state.business.Edit" placeholder="总层数" type="number"
<el-input :disabled="$store.state.business.Edit" type="number"
v-only-number="{ max: 9999, min: 0, precision: 3 }"
v-model.number="naturalForm.naturalList[index].zcs"></el-input>
</el-form-item>
......@@ -180,7 +180,7 @@
<p class="label-detail">(DSCS)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-only-number="{ max: 999, min: 0, precision: 0 }"
placeholder="地上层数" v-model="naturalForm.naturalList[index].dscs"></el-input>
v-model="naturalForm.naturalList[index].dscs"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -193,7 +193,7 @@
<p class="label-detail">(DXCS)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-only-number="{ max: 9, min: 0, precision: 0 }"
placeholder="地下层数" v-model="naturalForm.naturalList[index].dxcs"></el-input>
v-model="naturalForm.naturalList[index].dxcs"></el-input>
</el-form-item>
</el-col>
......@@ -204,7 +204,7 @@
<p class="label-detail">(DXSD)</p>
</span>
<el-input :disabled="$store.state.business.Edit"
v-only-number="{ max: 999999999999999, min: 0, precision: 2 }" placeholder="地下深度" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 2 }" type="number"
v-model.number="naturalForm.naturalList[index].dxsd"></el-input>
</el-form-item>
</el-col>
......@@ -215,8 +215,7 @@
规划用途: <br />
<p class="label-detail">(GHYT)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="naturalForm.naturalList[index].ghyt"
placeholder="规划用途">
<el-select :disabled="$store.state.business.Edit" v-model="naturalForm.naturalList[index].ghyt">
<el-option v-for="item in dicData['A17']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -231,8 +230,7 @@
房屋结构: <br />
<p class="label-detail">(FWJG)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="naturalForm.naturalList[index].fwjg"
placeholder="房屋结构">
<el-select :disabled="$store.state.business.Edit" v-model="naturalForm.naturalList[index].fwjg">
<el-option v-for="item in dicData['A46']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -246,7 +244,7 @@
<p class="label-detail">(ZTS)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-only-number="{ max: 999999, min: 0, precision: 0 }"
placeholder="总套数" type="number" v-model.number="naturalForm.naturalList[index].zts"></el-input>
type="number" v-model.number="naturalForm.naturalList[index].zts"></el-input>
</el-form-item>
</el-col>
......@@ -256,8 +254,8 @@
建筑物基本用途: <br />
<p class="label-detail">(JZWJBYT)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="naturalForm.naturalList[index].jzwjbyt"
placeholder="建筑物基本用途"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="naturalForm.naturalList[index].jzwjbyt">
</el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -269,8 +267,8 @@
档案号: <br />
<p class="label-detail">(DAH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="naturalForm.naturalList[index].dah"
placeholder="档案号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="naturalForm.naturalList[index].dah">
</el-input>
</el-form-item>
</el-col>
......@@ -280,8 +278,7 @@
备注: <br />
<p class="label-detail">(BZ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="naturalForm.naturalList[index].bz"
placeholder="备注"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="naturalForm.naturalList[index].bz"></el-input>
</el-form-item>
</el-col>
......@@ -291,8 +288,7 @@
状态: <br />
<p class="label-detail">(ZT)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="naturalForm.naturalList[index].zt"
placeholder="状态">
<el-select :disabled="$store.state.business.Edit" v-model="naturalForm.naturalList[index].zt">
<el-option v-for="item in dicData['A11']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -307,8 +303,8 @@
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="naturalForm.naturalList[index].qxdm"
placeholder="区县代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="naturalForm.naturalList[index].qxdm">
</el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -320,78 +316,78 @@
</template>
<script>
// 自然幢
import kttFwZrz from '@/api/kttFwZrz'
import ruleMixin from '@/mixins/ruleMixin.js'
import kttFwZrz from "@/api/kttFwZrz";
import ruleMixin from "@/mixins/ruleMixin.js";
export default {
mixins: [ruleMixin],
props: {
bsmSjsb: {
type: String,
default: ''
default: "",
},
bsmYwsjb: {
type: String,
default: ''
}
default: "",
},
},
data () {
data() {
return {
naturalForm: {
naturalList: [
{
BSM: '',
YSDM: '',
BDCDYH: '',
ZDDM: '',
ZRZH: '',
XMMC: '',
JZWMC: '',
JGRQ: '',
JZWGD: '',
ZZDMJ: '',
ZYDMJ: '',
YCJZMJ: '',
SCJZMJ: '',
ZCS: '',
DSCS: '',
DXCS: '',
DXSD: '',
GHYT: '',
FWJG: '',
ZTS: '',
JZWJBYT: '',
DAH: '',
BZ: '',
ZT: '',
QXDM: ''
}
]
}
}
BSM: "",
YSDM: "",
BDCDYH: "",
ZDDM: "",
ZRZH: "",
XMMC: "",
JZWMC: "",
JGRQ: "",
JZWGD: "",
ZZDMJ: "",
ZYDMJ: "",
YCJZMJ: "",
SCJZMJ: "",
ZCS: "",
DSCS: "",
DXCS: "",
DXSD: "",
GHYT: "",
FWJG: "",
ZTS: "",
JZWJBYT: "",
DAH: "",
BZ: "",
ZT: "",
QXDM: "",
},
],
},
};
},
methods: {
async featchData () {
async featchData() {
try {
let { result: res } = await kttFwZrz.getKttFwZrzById(this.bsmSjsb)
this.naturalForm.naturalList = res
let { result: res } = await kttFwZrz.getKttFwZrzById(this.bsmSjsb);
this.naturalForm.naturalList = res;
//this.featchRule()
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
},
handleUpdateForm () {
handleUpdateForm() {
return new Promise(async (resolve) => {
try {
let res = await kttFwZrz.updateKttFwZrz(this.naturalForm.naturalList)
let res = await kttFwZrz.updateKttFwZrz(this.naturalForm.naturalList);
// this.$refs['formList'].resetFields();
resolve(res.code)
resolve(res.code);
} catch (error) {
this.$refs.msg.messageShow()
}
})
}
this.$refs.msg.messageShow();
}
}
});
},
},
};
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
......
......@@ -24,7 +24,7 @@
<p class="label-detail">(YSDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="boundaryPoint.ruleForm[index].YSDM"
maxlength="10" placeholder="要素代码"></el-input>
maxlength="10"></el-input>
</el-form-item>
</el-col>
......@@ -35,7 +35,7 @@
<p class="label-detail">(ZDZHDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="boundaryPoint.ruleForm[index].ZDZHDM"
maxlength="19" placeholder="宗地/宗海代码"></el-input>
maxlength="19"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -48,7 +48,7 @@
<p class="label-detail">(JZDH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="boundaryPoint.ruleForm[index].JZDH"
maxlength="10" placeholder="界址点号"></el-input>
maxlength="10"></el-input>
</el-form-item>
</el-col>
......@@ -59,10 +59,9 @@
<p class="label-detail">(SXH)</p>
</span>
<el-input-number :disabled="$store.state.business.Edit" v-model.number="form.auditInfo[index].SXH"
type="number" v-only-number="{ max: 999999999, min: 0, precision: 0 }"
placeholder="顺序号"></el-input-number>
type="number" v-only-number="{ max: 999999999, min: 0, precision: 0 }"></el-input-number>
<el-input :disabled="$store.state.business.Edit" v-model.number="boundaryPoint.ruleForm[index].SXH"
type="number" v-only-number="{ max: 99999999999, min: 0, precision: 0 }" placeholder="顺序号"></el-input>
type="number" v-only-number="{ max: 99999999999, min: 0, precision: 0 }"></el-input>
</el-form-item>
</el-col>
......@@ -72,8 +71,7 @@
界标类型: <br />
<p class="label-detail">(JBLX)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="boundaryPoint.ruleForm[index].JBLX"
placeholder="界标类型">
<el-select :disabled="$store.state.business.Edit" v-model="boundaryPoint.ruleForm[index].JBLX">
<el-option v-for="item in dicData['A4']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -88,8 +86,7 @@
界址点类型: <br />
<p class="label-detail">(JZDLX)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="boundaryPoint.ruleForm[index].JZDLX"
placeholder="界址点类型">
<el-select :disabled="$store.state.business.Edit" v-model="boundaryPoint.ruleForm[index].JZDLX">
<el-option v-for="item in dicData['A5']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -103,8 +100,7 @@
<p class="label-detail">(XZBZ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="boundaryPoint.ruleForm[index].XZBZ"
type="number" v-only-number="{ max: 999999999999999, min: 0, precision: 3 }"
placeholder="X坐标值"></el-input>
type="number" v-only-number="{ max: 999999999999999, min: 0, precision: 3 }"></el-input>
</el-form-item>
</el-col>
......@@ -115,8 +111,7 @@
<p class="label-detail">(YZBZ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="boundaryPoint.ruleForm[index].YZBZ"
type="number" v-only-number="{ max: 999999999999999, min: 0, precision: 3 }"
placeholder="Y坐标值"></el-input>
type="number" v-only-number="{ max: 999999999999999, min: 0, precision: 3 }"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -128,60 +123,62 @@
</template>
<script>
// 界址点信息
import kttGyJzd from '@/api/kttGyJzd'
import ruleMixin from '@/mixins/ruleMixin.js'
import kttGyJzd from "@/api/kttGyJzd";
import ruleMixin from "@/mixins/ruleMixin.js";
export default {
mixins: [ruleMixin],
props: {
bsmSjsb: {
type: String,
default: ''
default: "",
},
bsmYwsjb: {
type: String,
default: ''
}
default: "",
},
},
data () {
data() {
return {
boundaryPoint: {
ruleForm: [{
BSM: '',
YSDM: '',
ZDZHDM: '',
JZDH: '',
SXH: '',
JBLX: '',
JZDLX: '',
XZBZ: '',
YZBZ: '',
}]
}
}
ruleForm: [
{
BSM: "",
YSDM: "",
ZDZHDM: "",
JZDH: "",
SXH: "",
JBLX: "",
JZDLX: "",
XZBZ: "",
YZBZ: "",
},
],
},
};
},
methods: {
async featchData () {
async featchData() {
try {
let { result: res } = await kttGyJzd.getKttGyJzdById(this.bsmSjsb)
this.boundaryPoint.ruleForm = res
let { result: res } = await kttGyJzd.getKttGyJzdById(this.bsmSjsb);
this.boundaryPoint.ruleForm = res;
//this.featchRule()
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
},
handleUpdateForm () {
handleUpdateForm() {
return new Promise(async (resolve) => {
try {
let res = await kttGyJzd.updateKttGyJzd(this.boundaryPoint.ruleForm)
let res = await kttGyJzd.updateKttGyJzd(this.boundaryPoint.ruleForm);
// this.$refs['formList'].resetFields();
resolve(res.code)
resolve(res.code);
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
})
}
}
}
});
},
},
};
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
......
......@@ -24,7 +24,7 @@
<p class="label-detail">(YSDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="boundaryLine.ruleForm[index].YSDM"
maxlength="10" placeholder="要素代码"></el-input>
maxlength="10"></el-input>
</el-form-item>
</el-col>
......@@ -35,7 +35,7 @@
<p class="label-detail">(ZDZHDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="boundaryLine.ruleForm[index].ZDZHDM"
maxlength="19" placeholder="宗地/宗海代码"></el-input>
maxlength="19"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -48,8 +48,7 @@
<p class="label-detail">(JZXCD)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="boundaryLine.ruleForm[index].JZXCD"
type="number" v-only-number="{ max: 999999999999999, min: 0, precision: 2 }"
placeholder="界址线长度"></el-input>
type="number" v-only-number="{ max: 999999999999999, min: 0, precision: 2 }"></el-input>
</el-form-item>
</el-col>
......@@ -59,8 +58,7 @@
界址线类别: <br />
<p class="label-detail">(JZXLB)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="boundaryLine.ruleForm[index].JZXLB"
placeholder="界址线类别">
<el-select :disabled="$store.state.business.Edit" v-model="boundaryLine.ruleForm[index].JZXLB">
<el-option v-for="item in dicData['A48']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -73,8 +71,7 @@
界址线位置: <br />
<p class="label-detail">(JZXWZ)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="boundaryLine.ruleForm[index].JZXWZ"
placeholder="界址线位置">
<el-select :disabled="$store.state.business.Edit" v-model="boundaryLine.ruleForm[index].JZXWZ">
<el-option v-for="item in dicData['A3']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -89,8 +86,7 @@
界线性质: <br />
<p class="label-detail">(JXXZ)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="boundaryLine.ruleForm[index].JXXZ"
placeholder="界线性质">
<el-select :disabled="$store.state.business.Edit" v-model="boundaryLine.ruleForm[index].JXXZ">
<el-option v-for="item in dicData['A2']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -103,8 +99,8 @@
权属界线协议书编号: <br />
<p class="label-detail">(QSJXXYSBH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="boundaryLine.ruleForm[index].QSJXXYSBH"
placeholder="权属界线协议书编号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="boundaryLine.ruleForm[index].QSJXXYSBH">
</el-input>
</el-form-item>
</el-col>
......@@ -114,8 +110,8 @@
权属界线协议书: <br />
<p class="label-detail">(QSJXXYS)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="boundaryLine.ruleForm[index].QSJXXYS"
placeholder="权属界线协议书"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="boundaryLine.ruleForm[index].QSJXXYS">
</el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -127,8 +123,8 @@
权属争议原由书编号: <br />
<p class="label-detail">(QSZYYYSBH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="boundaryLine.ruleForm[index].QSZYYYSBH"
placeholder="权属争议原由书编号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="boundaryLine.ruleForm[index].QSZYYYSBH">
</el-input>
</el-form-item>
</el-col>
......@@ -138,8 +134,8 @@
权属争议原由书: <br />
<p class="label-detail">(QSZYYYS)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="boundaryLine.ruleForm[index].QSZYYYS"
placeholder="权属争议原由书"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="boundaryLine.ruleForm[index].QSZYYYS">
</el-input>
</el-form-item>
</el-col>
......@@ -151,64 +147,64 @@
</div>
</template>
<script>
import kttGyJzx from '@/api/kttGyJzx'
import ruleMixin from '@/mixins/ruleMixin.js'
import kttGyJzx from "@/api/kttGyJzx";
import ruleMixin from "@/mixins/ruleMixin.js";
// 界址线信息
export default {
mixins: [ruleMixin],
props: {
bsmSjsb: {
type: String,
default: ''
default: "",
},
bsmYwsjb: {
type: String,
default: ''
}
default: "",
},
},
data () {
data() {
return {
boundaryLine: {
ruleForm: [
{
BSM: '',
YSDM: '',
ZDZHDM: '',
BSM: "",
YSDM: "",
ZDZHDM: "",
JZXCD: undefined,
JZXLB: '',
JZXWZ: '',
JXXZ: '',
QSJXXYSBH: '',
QSJXXYS: '',
QSZYYYSBH: '',
QSZYYYS: ''
}
]
}
}
JZXLB: "",
JZXWZ: "",
JXXZ: "",
QSJXXYSBH: "",
QSJXXYS: "",
QSZYYYSBH: "",
QSZYYYS: "",
},
],
},
};
},
methods: {
async featchData () {
async featchData() {
try {
let { result: res } = await kttGyJzx.getKttGyJzxById(this.bsmSjsb)
this.boundaryLine.ruleForm = res
let { result: res } = await kttGyJzx.getKttGyJzxById(this.bsmSjsb);
this.boundaryLine.ruleForm = res;
//this.featchRule()
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
},
handleUpdateForm () {
handleUpdateForm() {
return new Promise(async (resolve) => {
try {
let res = await kttGyJzx.updateKttGyJzx(this.boundaryLine.ruleForm)
resolve(res.code)
let res = await kttGyJzx.updateKttGyJzx(this.boundaryLine.ruleForm);
resolve(res.code);
} catch (error) {
this.$refs.msg.messageShow()
}
})
}
this.$refs.msg.messageShow();
}
}
});
},
},
};
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
......
......@@ -20,7 +20,7 @@
要素代码: <br />
<p class="label-detail">(YSDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM" placeholder="要素代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM"></el-input>
</el-form-item>
</el-col>
......@@ -30,7 +30,7 @@
不动产单元号: <br />
<p class="label-detail">(BDCDYH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCDYH" placeholder="不动产单元号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCDYH"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -42,7 +42,7 @@
宗地/宗海代码: <br />
<p class="label-detail">(ZDZHDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZDZHDM" placeholder="宗地/宗海代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZDZHDM"></el-input>
</el-form-item>
</el-col>
......@@ -52,7 +52,7 @@
构筑物名称: <br />
<p class="label-detail">(GZWMC)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.GZWMC" placeholder="构筑物名称"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.GZWMC"></el-input>
</el-form-item>
</el-col>
......@@ -62,7 +62,7 @@
坐落: <br />
<p class="label-detail">(ZL)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZL" placeholder="坐落"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZL"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -74,7 +74,7 @@
面积单位: <br />
<p class="label-detail">(MJDW)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.MJDW" placeholder="面积单位">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.MJDW">
<el-option v-for="item in dicData['A7']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -88,7 +88,7 @@
<p class="label-detail">(MJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.MJ" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }" placeholder="面积"></el-input>
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }"></el-input>
</el-form-item>
</el-col>
......@@ -98,7 +98,7 @@
档案号: <br />
<p class="label-detail">(DAH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DAH" placeholder="档案号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DAH"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -110,7 +110,7 @@
状态: <br />
<p class="label-detail">(ZT)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.ZT" placeholder="状态">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.ZT">
<el-option v-for="item in ZTOptions" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</el-select>
......@@ -123,60 +123,60 @@
</template>
<script>
// 构筑物
import kttGzw from '@/api/kttGzw'
import ruleMixin from '@/mixins/ruleMixin.js'
import kttGzw from "@/api/kttGzw";
import ruleMixin from "@/mixins/ruleMixin.js";
export default {
mixins: [ruleMixin],
props: {
bsmSjsb: {
type: String,
default: ''
default: "",
},
bsmYwsjb: {
type: String,
default: ''
}
default: "",
},
},
data () {
data() {
return {
ZTOptions: [],
ruleForm: {
BSM: '',
YSDM: '',
BDCDYH: '',
ZDZHDM: '',
GZWMC: '',
ZL: '',
MJDW: '',
MJ: '',
DAH: '',
ZT: ''
}
}
BSM: "",
YSDM: "",
BDCDYH: "",
ZDZHDM: "",
GZWMC: "",
ZL: "",
MJDW: "",
MJ: "",
DAH: "",
ZT: "",
},
};
},
methods: {
async featchData () {
async featchData() {
try {
let { result: res } = await kttGzw.getKttGzwById(this.bsmSjsb)
this.ruleForm = res
let { result: res } = await kttGzw.getKttGzwById(this.bsmSjsb);
this.ruleForm = res;
//this.featchRule()
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
},
handleUpdateForm () {
handleUpdateForm() {
return new Promise(async (resolve) => {
try {
let res = await kttGzw.updateKttGzw(this.ruleForm)
let res = await kttGzw.updateKttGzw(this.ruleForm);
// this.$refs['formList'].resetFields();
resolve(res.code)
resolve(res.code);
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
})
}
}
}
});
},
},
};
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
......
......@@ -8,7 +8,7 @@
标识码: <br />
<p class="label-detail">(BSM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BSM" placeholder="标识码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BSM"></el-input>
</el-form-item>
</el-col>
......@@ -18,7 +18,7 @@
要素代码: <br />
<p class="label-detail">(YSDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM" placeholder="要素代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM"></el-input>
</el-form-item>
</el-col>
......@@ -28,7 +28,7 @@
宗地代码: <br />
<p class="label-detail">(ZDDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZDDM" placeholder="宗地代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZDDM"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -40,7 +40,7 @@
不动产单元号: <br />
<p class="label-detail">(BDCDYH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCDYH" placeholder="不动产单元号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCDYH"></el-input>
</el-form-item>
</el-col>
......@@ -50,7 +50,7 @@
宗地特征码: <br />
<p class="label-detail">(ZDTZM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZDTZM" placeholder="宗地特征码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZDTZM"></el-input>
</el-form-item>
</el-col>
......@@ -60,7 +60,7 @@
坐落: <br />
<p class="label-detail">(ZL)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZL" placeholder="坐落"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZL"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -73,7 +73,7 @@
<p class="label-detail">(ZDMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.ZDMJ" type="number"
v-only-number="{ max: 99999, min: 0, precision: 2 }" placeholder="宗地面积">
v-only-number="{ max: 99999, min: 0, precision: 2 }">
</el-input>
</el-form-item>
</el-col>
......@@ -84,7 +84,7 @@
面积单位: <br />
<p class="label-detail">(MJDW)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.MJDW" placeholder="面积单位">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.MJDW">
<el-option v-for="item in dicData['A7']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -97,7 +97,7 @@
用途: <br />
<p class="label-detail">(YT)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YT" placeholder="用途"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YT"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -109,7 +109,7 @@
等级: <br />
<p class="label-detail">(DJ)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.DJ" placeholder="等级">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.DJ">
<el-option v-for="item in dicData['A50']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -123,7 +123,7 @@
<p class="label-detail">(JG)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.JG" type="number"
v-only-number="{ max: 99999, min: 0, precision: 2 }" placeholder="价格"></el-input>
v-only-number="{ max: 99999, min: 0, precision: 2 }"></el-input>
</el-form-item>
</el-col>
......@@ -133,7 +133,7 @@
权利类型: <br />
<p class="label-detail">(QLLX)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QLLX" placeholder="权利性质">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QLLX">
<el-option v-for="item in dicData['A8']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -148,8 +148,7 @@
权利性质: <br />
<p class="label-detail">(QLXZ)</p>
</span>
<tree-select :disabled="$store.state.business.Edit" :options="dicData['A9']" v-model="ruleForm.QLXZ"
placeholder="权利性质" />
<tree-select :disabled="$store.state.business.Edit" :options="dicData['A9']" v-model="ruleForm.QLXZ" />
</el-form-item>
</el-col>
......@@ -159,7 +158,7 @@
权利设定方式: <br />
<p class="label-detail">(QLSDFS)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QLSDFS" placeholder="权利设定方式">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QLSDFS">
<el-option v-for="item in dicData['A10']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -173,7 +172,7 @@
<p class="label-detail">(RJL)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.RJL"
v-only-number="{ max: 99999, min: 0, precision: 0 }" placeholder="容积率"></el-input>
v-only-number="{ max: 99999, min: 0, precision: 0 }"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -185,8 +184,7 @@
建筑密度: <br />
<p class="label-detail">(JZMD)</p>
</span>
<el-input :disabled="$store.state.business.Edit" type="number" v-model.number="ruleForm.JZMD"
placeholder="建筑密度">
<el-input :disabled="$store.state.business.Edit" type="number" v-model.number="ruleForm.JZMD">
</el-input>
</el-form-item>
</el-col>
......@@ -198,7 +196,7 @@
<p class="label-detail">(JZXG)</p>
</span>
<el-input :disabled="$store.state.business.Edit" type="number" v-model.number="ruleForm.JZXG"
v-only-number="{ max: 99999, min: 1, precision: 2 }" placeholder="建筑限高">
v-only-number="{ max: 99999, min: 1, precision: 2 }">
</el-input>
</el-form-item>
</el-col>
......@@ -209,7 +207,7 @@
宗地四至-东: <br />
<p class="label-detail">(ZDSZD)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZDSZD" placeholder="宗地四至-东">
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZDSZD">
</el-input>
</el-form-item>
</el-col>
......@@ -222,7 +220,7 @@
宗地四至-南: <br />
<p class="label-detail">(ZDSZN)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZDSZN" placeholder="宗地四至-南">
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZDSZN">
</el-input>
</el-form-item>
</el-col>
......@@ -233,7 +231,7 @@
宗地四至-西: <br />
<p class="label-detail">(ZDSZX)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZDSZX" placeholder="宗地四至-西">
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZDSZX">
</el-input>
</el-form-item>
</el-col>
......@@ -244,7 +242,7 @@
宗地四至-北: <br />
<p class="label-detail">(ZDSZB)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZDSZB" placeholder="宗地四至-北">
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZDSZB">
</el-input>
</el-form-item>
</el-col>
......@@ -257,7 +255,7 @@
宗地图: <br />
<p class="label-detail">(ZDT)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZDT" placeholder="宗地图">
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZDT">
</el-input>
</el-form-item>
</el-col>
......@@ -268,7 +266,7 @@
图幅号: <br />
<p class="label-detail">(TFH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.TFH" placeholder="图幅号">
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.TFH">
</el-input>
</el-form-item>
</el-col>
......@@ -279,7 +277,7 @@
地籍号:<br />
<p class="label-detail">(DJH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJh" placeholder="地籍号">
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJh">
</el-input>
</el-form-item>
</el-col>
......@@ -292,7 +290,7 @@
档案号: <br />
<p class="label-detail">(DAH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DAH" placeholder="档案号">
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DAH">
</el-input>
</el-form-item>
</el-col>
......@@ -303,7 +301,7 @@
备注: <br />
<p class="label-detail">(BZ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BZ" placeholder="备注">
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BZ">
</el-input>
</el-form-item>
</el-col>
......@@ -314,115 +312,63 @@
状态: <br />
<p class="label-detail">(ZT)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.ZT" placeholder="状态">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.ZT">
<el-option v-for="item in dicData['A11']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item prop="QXDM">
<span slot="label">
区县代码:<br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM" placeholder="区县代码">
</el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="DJSJ">
<span slot="label">
登记时间: <br />
<p class="label-detail">(DJSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" placeholder="选择日期" type="datetime" clearable
v-model="ruleForm.DJSJ" value-format="yyyy-MM-dd HH:mm:ss">
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="DBR">
<span slot="label">
登簿人: <br />
<p class="label-detail">(DBR)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DBR" placeholder="登簿人">
</el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item prop="FJ">
<el-form-item prop="JDH">
<span slot="label">
附记<br />
<p class="label-detail">FJ</p>
街道(乡、镇)<br />
<p class="label-detail">JDH</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FJ" placeholder="附记">
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.JDH">
</el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="DJJGBM">
<el-form-item prop="JFH">
<span slot="label">
登记机构编码: <br />
<p class="label-detail">DJJGBM</p>
街坊(村): <br />
<p class="label-detail">JFH</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJJGBM" placeholder="登记机构编码">
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.JFH">
</el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="DJJGMC">
<el-form-item prop="ZH">
<span slot="label">
登记机构名称<br />
<p class="label-detail">DJJGMC</p>
<br />
<p class="label-detail">ZH</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJJGMC" placeholder="登记机构名称">
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZH">
</el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item prop="JDH">
<span slot="label">
街道(乡、镇): <br />
<p class="label-detail">(JDH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.JDH" placeholder="街道(乡、镇)">
</el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="JFH">
<el-form-item prop="QXDM">
<span slot="label">
街坊(村): <br />
<p class="label-detail">JFH</p>
区县代码:<br />
<p class="label-detail">QXDM</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.JFH" placeholder="街坊(村)">
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM">
</el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="ZH">
<el-form-item prop="FJ">
<span slot="label">
<br />
<p class="label-detail">ZH</p>
附记<br />
<p class="label-detail">FJ</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZH" placeholder="组">
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FJ">
</el-input>
</el-form-item>
</el-col>
......@@ -433,89 +379,89 @@
</template>
<script>
// 宗地基本信息
import kttZdjbxx from '@/api/kttZdjbxx'
import ruleMixin from '@/mixins/ruleMixin.js'
import treeSelect from '@/components/TreeSelect.vue'
import kttZdjbxx from "@/api/kttZdjbxx";
import ruleMixin from "@/mixins/ruleMixin.js";
import treeSelect from "@/components/TreeSelect.vue";
export default {
mixins: [ruleMixin],
components: {
treeSelect
treeSelect,
},
props: {
bsmSjsb: {
type: String,
default: ''
default: "",
},
bsmYwsjb: {
type: String,
default: ''
}
default: "",
},
},
data () {
data() {
return {
ruleForm: {
BSM: '',
YSDM: '',
ZDDM: '',
BDCDYH: '',
ZDTZM: '',
ZL: '',
ZDMJ: '',
MJDW: '',
YT: '',
DJ: '',
JG: '',
QLLX: '',
QLXZ: '',
QLSDFS: '',
RJL: '',
JZMD: '',
JZXG: '',
ZDSZD: '',
ZDSZN: '',
ZDSZX: '',
ZDSZB: '',
ZDT: '',
TFH: '',
DJh: '',
DAH: '',
BZ: '',
ZT: '',
QXDM: '',
DJSJ: '',
DBR: '',
FJ: '',
DJJGBM: '',
DJJGMC: '',
JDH: '',
JFH: '',
ZH: ''
}
}
BSM: "",
YSDM: "",
ZDDM: "",
BDCDYH: "",
ZDTZM: "",
ZL: "",
ZDMJ: "",
MJDW: "",
YT: "",
DJ: "",
JG: "",
QLLX: "",
QLXZ: "",
QLSDFS: "",
RJL: "",
JZMD: "",
JZXG: "",
ZDSZD: "",
ZDSZN: "",
ZDSZX: "",
ZDSZB: "",
ZDT: "",
TFH: "",
DJh: "",
DAH: "",
BZ: "",
ZT: "",
QXDM: "",
DJSJ: "",
DBR: "",
FJ: "",
DJJGBM: "",
DJJGMC: "",
JDH: "",
JFH: "",
ZH: "",
},
};
},
methods: {
async featchData () {
async featchData() {
try {
let { result: res } = await kttZdjbxx.kttZdjbxxDetail(this.bsmSjsb)
this.ruleForm = res
let { result: res } = await kttZdjbxx.kttZdjbxxDetail(this.bsmSjsb);
this.ruleForm = res;
//this.featchRule()
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
},
handleUpdateForm () {
handleUpdateForm() {
return new Promise(async (resolve) => {
try {
let res = await kttZdjbxx.updateKttZdjbxx(this.ruleForm)
let res = await kttZdjbxx.updateKttZdjbxx(this.ruleForm);
// this.$refs['formList'].resetFields();
resolve(res.code)
resolve(res.code);
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
})
}
}
}
});
},
},
};
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
......
......@@ -20,7 +20,7 @@
要素代码: <br />
<p class="label-detail">(YSDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM" placeholder="要素代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM"></el-input>
</el-form-item>
</el-col>
......@@ -30,7 +30,7 @@
宗海代码: <br />
<p class="label-detail">(ZHDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZHDM" placeholder="宗海代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZHDM"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -42,7 +42,7 @@
不动产单元号 <br />
<p class="label-detail">(BDCDYH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCDYH" placeholder="不动产单元号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCDYH"></el-input>
</el-form-item>
</el-col>
......@@ -52,7 +52,7 @@
宗海特征码: <br />
<p class="label-detail">(ZHTZM)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.ZHTZM" placeholder="宗海特征码">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.ZHTZM">
<el-option v-for="item in dicData['A44']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -65,7 +65,7 @@
项目名称: <br />
<p class="label-detail">(XMMC)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.XMMC" placeholder="项目名称"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.XMMC"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -77,7 +77,7 @@
项目性质: <br />
<p class="label-detail">(XMXZ)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.XMXZ" placeholder="项目性质">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.XMXZ">
<el-option v-for="item in dicData['A49']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -91,7 +91,7 @@
<p class="label-detail">(YHZMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.YHZMJ" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }" placeholder="用海总面积"></el-input>
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }"></el-input>
</el-form-item>
</el-col>
......@@ -102,7 +102,7 @@
<p class="label-detail">(ZHMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.ZHMJ" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }" placeholder="宗海面积"></el-input>
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -114,7 +114,7 @@
等别: <br />
<p class="label-detail">(DB)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.DB" placeholder="等别">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.DB">
<el-option v-for="item in dicData['A14']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -128,7 +128,7 @@
<p class="label-detail">(ZHAX)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.ZHAX" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 2 }" placeholder="占海岸线"></el-input>
v-only-number="{ max: 999999999999999, min: 0, precision: 2 }"></el-input>
</el-form-item>
</el-col>
......@@ -138,7 +138,7 @@
用海类型A: <br />
<p class="label-detail">(YHLXA)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.YHLXA" placeholder="用海类型A">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.YHLXA">
<el-option v-for="item in dicData['A12']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -153,7 +153,7 @@
用海类型B: <br />
<p class="label-detail">(YHLXB)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.YHLXB" placeholder="用海类型B">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.YHLXB">
<el-option v-for="item in dicData['A13']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -166,7 +166,7 @@
用海位置说明: <br />
<p class="label-detail">(YHWZSM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YHWZSM" placeholder="用海位置说明"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YHWZSM"></el-input>
</el-form-item>
</el-col>
......@@ -176,7 +176,7 @@
海岛名称: <br />
<p class="label-detail">(HDMC)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.HDMC" placeholder="海岛名称"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.HDMC"></el-input>
</el-form-item>
</el-col>
......@@ -189,7 +189,7 @@
海岛代码: <br />
<p class="label-detail">(HDDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.HDDM" placeholder="海岛代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.HDDM"></el-input>
</el-form-item>
</el-col>
......@@ -199,7 +199,7 @@
用岛范围: <br />
<p class="label-detail">(YDFW)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YDFW" placeholder="用岛范围"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YDFW"></el-input>
</el-form-item>
</el-col>
......@@ -210,7 +210,7 @@
<p class="label-detail">(YDMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.YDMJ" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 2 }" placeholder="用岛面积"></el-input>
v-only-number="{ max: 999999999999999, min: 0, precision: 2 }"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -222,7 +222,7 @@
海岛位置: <br />
<p class="label-detail">(HDWZ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.HDWZ" placeholder="海岛位置"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.HDWZ"></el-input>
</el-form-item>
</el-col>
......@@ -232,7 +232,7 @@
海岛用途: <br />
<p class="label-detail">(HDYT)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.HDYT" placeholder="海岛用途">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.HDYT">
<el-option v-for="item in dicData['A53']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -245,7 +245,7 @@
宗海图: <br />
<p class="label-detail">(ZHT)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZHT" placeholder="宗海图"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZHT"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -257,7 +257,7 @@
档案号: <br />
<p class="label-detail">(DAH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DAH" placeholder="档案号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DAH"></el-input>
</el-form-item>
</el-col>
......@@ -267,7 +267,7 @@
状态: <br />
<p class="label-detail">(ZT)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.ZT" placeholder="状态">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.ZT">
<el-option v-for="item in dicData['A11']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -280,7 +280,7 @@
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM" placeholder="区县代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -293,7 +293,7 @@
<p class="label-detail">(DJSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" v-model="ruleForm.DJSJ" type="datetime"
format="yyyy-MM-dd HH:mm:ss" placeholder="选择日期时间">
format="yyyy-MM-dd HH:mm:ss">
</el-date-picker>
</el-form-item>
</el-col>
......@@ -304,7 +304,7 @@
登簿人: <br />
<p class="label-detail">(DBR)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DBR" placeholder="登簿人"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DBR"></el-input>
</el-form-item>
</el-col>
......@@ -314,7 +314,7 @@
附记: <br />
<p class="label-detail">(FJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FJ" placeholder="附记"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FJ"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -326,7 +326,7 @@
登记机构编码: <br />
<p class="label-detail">(DJJGBM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJJGBM" placeholder="登记机构编码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJJGBM"></el-input>
</el-form-item>
</el-col>
......@@ -336,7 +336,7 @@
登记机构名称: <br />
<p class="label-detail">(DJJGMC)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJJGMC" placeholder="登记机构名称"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJJGMC"></el-input>
</el-form-item>
</el-col>
......@@ -346,7 +346,7 @@
街道(乡、镇): <br />
<p class="label-detail">(JDH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.JDH" placeholder="街道(乡、镇)"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.JDH"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -358,7 +358,7 @@
街坊(村): <br />
<p class="label-detail">(JFH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.JFH" placeholder="街坊(村)"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.JFH"></el-input>
</el-form-item>
</el-col>
......@@ -368,7 +368,7 @@
组: <br />
<p class="label-detail">(ZH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZH" placeholder="组"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZH"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -378,82 +378,82 @@
</template>
<script>
// 宗海基本信息
import kttZhjbxx from '@/api/kttZhjbxx'
import ruleMixin from '@/mixins/ruleMixin.js'
import kttZhjbxx from "@/api/kttZhjbxx";
import ruleMixin from "@/mixins/ruleMixin.js";
export default {
mixins: [ruleMixin],
props: {
bsmSjsb: {
type: String,
default: ''
default: "",
},
bsmYwsjb: {
type: String,
default: ''
}
default: "",
},
},
data () {
data() {
return {
ruleForm: {
BSM: '',
YSDM: '',
BSM: "",
YSDM: "",
// 宗海代码
ZHDM: '',
BDCDYH: '',
ZHTZM: '',
XMMC: '',
XMXZ: '',
YHZMJ: '',
ZHMJ: '',
DB: '',
ZHAX: '',
YHLXA: '',
YHLXB: '',
YHWZSM: '',
HDMC: '',
HDDM: '',
YDFW: '',
YDMJ: '',
HDWZ: '',
HDYT: '',
ZHT: '',
DAH: '',
ZT: '',
QXDM: '',
DJSJ: '',
DBR: '',
FJ: '',
DJJGBM: '',
DJJGMC: '',
JDH: '',
JFH: '',
ZH: ''
}
}
ZHDM: "",
BDCDYH: "",
ZHTZM: "",
XMMC: "",
XMXZ: "",
YHZMJ: "",
ZHMJ: "",
DB: "",
ZHAX: "",
YHLXA: "",
YHLXB: "",
YHWZSM: "",
HDMC: "",
HDDM: "",
YDFW: "",
YDMJ: "",
HDWZ: "",
HDYT: "",
ZHT: "",
DAH: "",
ZT: "",
QXDM: "",
DJSJ: "",
DBR: "",
FJ: "",
DJJGBM: "",
DJJGMC: "",
JDH: "",
JFH: "",
ZH: "",
},
};
},
methods: {
async featchData () {
async featchData() {
try {
let { result: res } = await kttZhjbxx.getKttZhjbxxById(this.bsmSjsb)
this.ruleForm = res
let { result: res } = await kttZhjbxx.getKttZhjbxxById(this.bsmSjsb);
this.ruleForm = res;
//this.featchRule()
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
},
handleUpdateForm () {
handleUpdateForm() {
return new Promise(async (resolve) => {
try {
let res = await kttZhjbxx.updateKttZhjbxx(this.ruleForm)
let res = await kttZhjbxx.updateKttZhjbxx(this.ruleForm);
// this.$refs['formList'].resetFields();
resolve(res.code)
resolve(res.code);
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
})
}
}
}
});
},
},
};
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
......
......@@ -11,8 +11,7 @@
项目名称: <br />
<p class="label-detail">(XMMC)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.itemList[index].XMMC"
placeholder="项目名称"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.itemList[index].XMMC"></el-input>
</el-form-item>
</el-col>
......@@ -22,8 +21,7 @@
不动产单元号: <br />
<p class="label-detail">(BDCDYH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.itemList[index].BDCDYH"
placeholder="不动产单元号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.itemList[index].BDCDYH"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -35,8 +33,7 @@
幢号: <br />
<p class="label-detail">(ZH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.itemList[index].ZH"
placeholder="幢号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.itemList[index].ZH"></el-input>
</el-form-item>
</el-col>
......@@ -47,7 +44,7 @@
<p class="label-detail">(ZCS)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.itemList[index].ZCS"
type="number" v-only-number="{ max: 9999, min: 0, precision: 0 }" placeholder="总层数"></el-input>
type="number" v-only-number="{ max: 9999, min: 0, precision: 0 }"></el-input>
</el-form-item>
</el-col>
......@@ -57,8 +54,7 @@
规划用途: <br />
<p class="label-detail">(GHYT)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.itemList[index].GHYT"
placeholder="规划用途"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.itemList[index].GHYT"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -70,8 +66,7 @@
房屋结构: <br />
<p class="label-detail">(FWJG)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.itemList[index].FWJG"
placeholder="房屋结构"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.itemList[index].FWJG"></el-input>
</el-form-item>
</el-col>
......@@ -82,8 +77,7 @@
<p class="label-detail">(JZMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.itemList[index].JZMJ"
type="number" v-only-number="{ max: 999999999999999, min: 0, precision: 2 }"
placeholder="建筑面积"></el-input>
type="number" v-only-number="{ max: 999999999999999, min: 0, precision: 2 }"></el-input>
</el-form-item>
</el-col>
......@@ -93,7 +87,7 @@
竣工时间: <br />
<p class="label-detail">(JGSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="date" placeholder="选择日期" clearable
<el-date-picker :disabled="$store.state.business.Edit" type="date" clearable
v-model="ruleForm.itemList[index].JGSJ" value-format="yyyy-MM-dd"></el-date-picker>
</el-form-item>
</el-col>
......@@ -107,7 +101,7 @@
<p class="label-detail">(ZTS)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.itemList[index].ZTS"
v-only-number="{ max: 9999, min: 0, precision: 0 }" placeholder="总套数"></el-input>
v-only-number="{ max: 9999, min: 0, precision: 0 }"></el-input>
</el-form-item>
</el-col>
......@@ -117,8 +111,7 @@
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.itemList[index].QXDM"
placeholder="区县代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.itemList[index].QXDM"></el-input>
</el-form-item>
</el-col>
......@@ -131,63 +124,67 @@
</template>
<script>
// 房地产权(项目内多幢房屋)项目属性
import qlfFwFdcqDzXm from '@/api/qlfFwFdcqDzXm'
import ruleMixin from '@/mixins/ruleMixin.js'
import qlfFwFdcqDzXm from "@/api/qlfFwFdcqDzXm";
import ruleMixin from "@/mixins/ruleMixin.js";
export default {
mixins: [ruleMixin],
props: {
bsmSjsb: {
type: String,
default: ''
default: "",
},
bsmYwsjb: {
type: String,
default: ''
}
default: "",
},
},
data () {
data() {
return {
ruleForm: {
itemList: [
{
XMMC: '',
BDCDYH: '',
ZH: '',
ZCS: '',
GHYT: '',
FWJG: '',
JZMJ: '',
JGSJ: '',
ZTS: '',
QXDM: ''
}
]
}
}
XMMC: "",
BDCDYH: "",
ZH: "",
ZCS: "",
GHYT: "",
FWJG: "",
JZMJ: "",
JGSJ: "",
ZTS: "",
QXDM: "",
},
],
},
};
},
methods: {
async featchData () {
async featchData() {
try {
let { result: res } = await qlfFwFdcqDzXm.getQlfFwFdcqDzXmById(this.bsmSjsb)
this.ruleForm.itemList = res
let { result: res } = await qlfFwFdcqDzXm.getQlfFwFdcqDzXmById(
this.bsmSjsb
);
this.ruleForm.itemList = res;
//this.featchRule()
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
},
handleUpdateForm () {
handleUpdateForm() {
return new Promise(async (resolve, reject) => {
try {
let res = await qlfFwFdcqDzXm.updateQlfFwFdcqDzXm(this.ruleForm.itemList)
let res = await qlfFwFdcqDzXm.updateQlfFwFdcqDzXm(
this.ruleForm.itemList
);
// this.$refs['formList'].resetFields();
resolve(res.code)
resolve(res.code);
} catch (error) {
this.$refs.msg.messageShow()
}
})
}
this.$refs.msg.messageShow();
}
}
});
},
},
};
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
......
......@@ -8,8 +8,7 @@
要素代码:<br />
<p class="label-detail">(YSDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM" maxlength="10"
placeholder="要素代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM" maxlength="10"></el-input>
</el-form-item>
</el-col>
......@@ -19,8 +18,7 @@
不动产单元号: <br />
<p class="label-detail">(BDCDYH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCDYH" maxlength="28"
placeholder="不动产单元号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCDYH" maxlength="28"></el-input>
</el-form-item>
</el-col>
......@@ -30,8 +28,7 @@
业务号: <br />
<p class="label-detail">(YWH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWH" maxlength="20"
placeholder="业务号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWH" maxlength="20"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -43,7 +40,7 @@
权利类型 <br />
<p class="label-detail">(QLLX)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QLLX" placeholder="权利类型">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QLLX">
<el-option v-for="item in dicData['A8']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -56,8 +53,7 @@
建(构)筑物编号: <br />
<p class="label-detail">(JGZWBH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.JGZWBH"
placeholder="建(构)筑物编号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.JGZWBH"></el-input>
</el-form-item>
</el-col>
......@@ -67,8 +63,7 @@
建(构)筑物名称: <br />
<p class="label-detail">(JGZWMC)</p>
</span>
<el-input :disabled="$store.state.business.Edit" placeholder="建(构)筑物名称"
v-model="ruleForm.JGZWMC"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.JGZWMC"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -80,7 +75,7 @@
建(构)筑物数量: <br />
<p class="label-detail">(JGZWSL)</p>
</span>
<el-input :disabled="$store.state.business.Edit" placeholder="建(构)筑物数量" type="number"
<el-input :disabled="$store.state.business.Edit" type="number"
v-only-number="{ max: 999999, min: 0, precision: 0 }" v-model.number="ruleForm.JGZWSL"></el-input>
</el-form-item>
</el-col>
......@@ -91,8 +86,9 @@
建(构)筑物面积 <br />
<p class="label-detail">(JGZWMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" placeholder="建(构)筑物面积" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 2 }" v-model.number="ruleForm.JGZWMJ"></el-input>
<el-input :disabled="$store.state.business.Edit" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 2 }" v-model.number="ruleForm.JGZWMJ">
</el-input>
</el-form-item>
</el-col>
......@@ -102,8 +98,9 @@
分摊土地面积: <br />
<p class="label-detail">(FTTDMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" placeholder="分摊土地面积" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 2 }" v-model.number="ruleForm.FTTDMJ"></el-input>
<el-input :disabled="$store.state.business.Edit" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 2 }" v-model.number="ruleForm.FTTDMJ">
</el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -115,7 +112,7 @@
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" placeholder="区县代码" v-model="ruleForm.QXDM"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM"></el-input>
</el-form-item>
</el-col>
......@@ -125,7 +122,7 @@
登记机构: <br />
<p class="label-detail">(DJJG)</p>
</span>
<el-input :disabled="$store.state.business.Edit" placeholder="登记机构" v-model="ruleForm.DJJG"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJJG"></el-input>
</el-form-item>
</el-col>
......@@ -135,7 +132,7 @@
登簿人: <br />
<p class="label-detail">(DBR)</p>
</span>
<el-input :disabled="$store.state.business.Edit" placeholder="登簿人" v-model="ruleForm.DBR"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DBR"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -147,7 +144,7 @@
登记时间: <br />
<p class="label-detail">(DJSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" placeholder="选择日期" clearable v-model="ruleForm.DJSJ"
<el-date-picker :disabled="$store.state.business.Edit" clearable v-model="ruleForm.DJSJ"
value-format="yyyy-MM-dd">
</el-date-picker>
</el-form-item>
......@@ -159,7 +156,7 @@
附记: <br />
<p class="label-detail">(FJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" placeholder="附记" v-model="ruleForm.FJ"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FJ"></el-input>
</el-form-item>
</el-col>
......@@ -169,7 +166,7 @@
权属状态: <br />
<p class="label-detail">(QSZT)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QSZT" placeholder="权属状态">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QSZT">
<el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -182,64 +179,66 @@
</template>
<script>
// 建筑物区分所有权业主共有部分信息
import qlfFwFdcqQfsyq from '@/api/qlfFwFdcqQfsyq'
import ruleMixin from '@/mixins/ruleMixin.js'
import qlfFwFdcqQfsyq from "@/api/qlfFwFdcqQfsyq";
import ruleMixin from "@/mixins/ruleMixin.js";
export default {
mixins: [ruleMixin],
props: {
bsmSjsb: {
type: String,
default: ''
default: "",
},
bsmYwsjb: {
type: String,
default: ''
}
default: "",
},
},
data () {
data() {
return {
ruleForm: {
YSDM: '',
BDCDYH: '',
YWH: '',
QLLX: '',
JGZWBH: '',
JGZWMC: '',
JGZWSL: '',
JGZWMJ: '',
FTTDMJ: '',
QXDM: '',
DJJG: '',
DBR: '',
DJSJ: '',
FJ: '',
QSZT: ''
}
}
YSDM: "",
BDCDYH: "",
YWH: "",
QLLX: "",
JGZWBH: "",
JGZWMC: "",
JGZWSL: "",
JGZWMJ: "",
FTTDMJ: "",
QXDM: "",
DJJG: "",
DBR: "",
DJSJ: "",
FJ: "",
QSZT: "",
},
};
},
methods: {
async featchData () {
async featchData() {
try {
let { result: res } = await qlfFwFdcqQfsyq.getQlfFwFdcqQfsyqById(this.bsmSjsb)
this.ruleForm = res
let { result: res } = await qlfFwFdcqQfsyq.getQlfFwFdcqQfsyqById(
this.bsmSjsb
);
this.ruleForm = res;
//this.featchRule()
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
},
handleUpdateForm () {
handleUpdateForm() {
return new Promise(async (resolve, reject) => {
try {
let res = await qlfFwFdcqQfsyq.updateQlfFwFdcqQfsyq(this.ruleForm)
let res = await qlfFwFdcqQfsyq.updateQlfFwFdcqQfsyq(this.ruleForm);
// this.$refs['formList'].resetFields();
resolve(res.code)
resolve(res.code);
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
})
}
}
}
});
},
},
};
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
......
......@@ -8,7 +8,7 @@
要素代码: <br />
<p class="label-detail">(YSDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ysdm" placeholder="要素代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ysdm"></el-input>
</el-form-item>
</el-col>
......@@ -18,7 +18,7 @@
业务号: <br />
<p class="label-detail">(YWH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ywh" placeholder="业务号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ywh"></el-input>
</el-form-item>
</el-col>
......@@ -28,7 +28,7 @@
不动产单元号: <br />
<p class="label-detail">(BDCDYH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.bdcdyh" placeholder="不动产单元号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.bdcdyh"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -40,7 +40,7 @@
查封机关: <br />
<p class="label-detail">(CFJG)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.cfjg" placeholder="查封机关"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.cfjg"></el-input>
</el-form-item>
</el-col>
......@@ -50,7 +50,7 @@
查封类型: <br />
<p class="label-detail">(CFLX)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.cflx" placeholder="查封类型">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.cflx">
<el-option v-for="item in dicData['A32']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -63,7 +63,7 @@
查封文件: <br />
<p class="label-detail">(CFWJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.cfwj" placeholder="查封文件"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.cfwj"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -75,7 +75,7 @@
查封文号: <br />
<p class="label-detail">(CFWH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.cfwh" placeholder="查封文号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.cfwh"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -84,9 +84,8 @@
查封起始时间: <br />
<p class="label-detail">(CFQSSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="date" placeholder="选择开始日期"
:picker-options="pickerOptionsStart" clearable v-model="ruleForm.cfqssj"
value-format="yyyy-MM-dd"></el-date-picker>
<el-date-picker :disabled="$store.state.business.Edit" type="date" :picker-options="pickerOptionsStart"
clearable v-model="ruleForm.cfqssj" value-format="yyyy-MM-dd"></el-date-picker>
</el-form-item>
</el-col>
......@@ -96,8 +95,8 @@
查封结束时间: <br />
<p class="label-detail">(CFJSSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" placeholder="选择结束日期" clearable
:picker-options="pickerOptionsEnd" v-model="ruleForm.cfjssj" value-format="yyyy-MM-dd">
<el-date-picker :disabled="$store.state.business.Edit" clearable :picker-options="pickerOptionsEnd"
v-model="ruleForm.cfjssj" value-format="yyyy-MM-dd">
</el-date-picker>
</el-form-item>
</el-col>
......@@ -110,7 +109,7 @@
查封范围: <br />
<p class="label-detail">(CFFW)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.cffw" placeholder="查封范围"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.cffw"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -119,7 +118,7 @@
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.qxdm" placeholder="区县代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.qxdm"></el-input>
</el-form-item>
</el-col>
......@@ -129,7 +128,7 @@
登记机构: <br />
<p class="label-detail">(DJJG)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.djjg" placeholder="登记机构"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.djjg"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -141,7 +140,7 @@
登簿人: <br />
<p class="label-detail">(DBR)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.dbr" placeholder="登簿人"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.dbr"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -150,8 +149,8 @@
登记时间: <br />
<p class="label-detail">(DJSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="date" placeholder="选择日期" clearable
v-model="ruleForm.djsj" value-format="yyyy-MM-dd"></el-date-picker>
<el-date-picker :disabled="$store.state.business.Edit" type="date" clearable v-model="ruleForm.djsj"
value-format="yyyy-MM-dd"></el-date-picker>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -160,7 +159,7 @@
解封业务号: <br />
<p class="label-detail">(JFYWH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.jfywh" placeholder="解封业务号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.jfywh"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -172,7 +171,7 @@
解封机关: <br />
<p class="label-detail">(JFJG)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.jfjg" placeholder="解封机关"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.jfjg"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -181,7 +180,7 @@
解封文件: <br />
<p class="label-detail">(JFWJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.jfwj" placeholder="解封文件"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.jfwj"></el-input>
</el-form-item>
</el-col>
......@@ -191,7 +190,7 @@
解封文号: <br />
<p class="label-detail">(JFWH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.jfwh" placeholder="解封文号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.jfwh"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -203,7 +202,7 @@
解封登簿人: <br />
<p class="label-detail">(JFDBR)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.jfdbr" placeholder="解封登簿人"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.jfdbr"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -212,8 +211,8 @@
解封登记时间: <br />
<p class="label-detail">(JFDJSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="date" placeholder="选择日期" clearable
v-model="ruleForm.jfdjsj" value-format="yyyy-MM-dd"></el-date-picker>
<el-date-picker :disabled="$store.state.business.Edit" type="date" clearable v-model="ruleForm.jfdjsj"
value-format="yyyy-MM-dd"></el-date-picker>
</el-form-item>
</el-col>
......@@ -223,7 +222,7 @@
附记: <br />
<p class="label-detail">(FJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.fj" placeholder="附记"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.fj"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -235,7 +234,7 @@
权属状态: <br />
<p class="label-detail">(QSZT)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.qszt" placeholder="权属状态">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.qszt">
<el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -248,90 +247,87 @@
</template>
<script>
// 查封登记信息
import qlfQlCfdj from '@/api/qlfQlCfdj'
import ruleMixin from '@/mixins/ruleMixin.js'
import qlfQlCfdj from "@/api/qlfQlCfdj";
import ruleMixin from "@/mixins/ruleMixin.js";
export default {
mixins: [ruleMixin],
props: {
bsmSjsb: {
type: String,
default: ''
default: "",
},
bsmYwsjb: {
type: String,
default: ''
}
default: "",
},
data () {
},
data() {
return {
pickerOptionsStart: {
// 禁止选择
disabledDate: time => {
disabledDate: (time) => {
let endDateVal = this.ruleForm.CFJSSJ;
if (endDateVal) {
return time.getTime() > new Date(endDateVal).getTime();
}
}
},
},
pickerOptionsEnd: {
disabledDate: time => {
disabledDate: (time) => {
let beginDateVal = this.ruleForm.CFQSSJ;
if (beginDateVal) {
return (
time.getTime() <
new Date(beginDateVal).getTime()
);
}
return time.getTime() < new Date(beginDateVal).getTime();
}
},
},
ruleForm: {
YSDM: '',
YWH: '',
BDCDYH: '',
CFJG: '',
CFWJ: '',
CFWH: '',
CFQSSJ: '',
CFJSSJ: '',
CFFW: '',
QXDM: '',
DJJG: '',
DBR: '',
DJSJ: '',
JFYWH: '',
JFJG: '',
JFWJ: '',
JFWH: '',
JFDBR: '',
JFDJSJ: '',
FJ: '',
QSZT: ''
}
}
YSDM: "",
YWH: "",
BDCDYH: "",
CFJG: "",
CFWJ: "",
CFWH: "",
CFQSSJ: "",
CFJSSJ: "",
CFFW: "",
QXDM: "",
DJJG: "",
DBR: "",
DJSJ: "",
JFYWH: "",
JFJG: "",
JFWJ: "",
JFWH: "",
JFDBR: "",
JFDJSJ: "",
FJ: "",
QSZT: "",
},
};
},
methods: {
async featchData () {
async featchData() {
try {
let { result: res } = await qlfQlCfdj.getQlfQlCfdjById(this.bsmSjsb)
this.ruleForm = res
let { result: res } = await qlfQlCfdj.getQlfQlCfdjById(this.bsmSjsb);
this.ruleForm = res;
//this.featchRule()
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
},
handleUpdateForm () {
handleUpdateForm() {
return new Promise(async (resolve) => {
try {
let res = await qlfQlCfdj.updateQlfQlCfdj(this.ruleForm)
let res = await qlfQlCfdj.updateQlfQlCfdj(this.ruleForm);
// this.$refs['formList'].resetFields();
resolve(res.code)
resolve(res.code);
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
})
}
}
}
});
},
},
};
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
......
......@@ -8,8 +8,7 @@
要素代码: <br />
<p class="label-detail">(YSDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ysdm" maxlength="10"
placeholder="要素代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ysdm" maxlength="10"></el-input>
</el-form-item>
</el-col>
......@@ -19,8 +18,7 @@
业务号: <br />
<p class="label-detail">(YWH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ywh" maxlength="20"
placeholder="业务号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ywh" maxlength="20"></el-input>
</el-form-item>
</el-col>
......@@ -30,8 +28,7 @@
不动产单元号: <br />
<p class="label-detail">(BDCDYH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.bdcdyh" maxlength="28"
placeholder="不动产单元号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.bdcdyh" maxlength="28"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -43,7 +40,7 @@
上次业务号: <br />
<p class="label-detail">(SCYWH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.scywh" placeholder="上次业务号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.scywh"></el-input>
</el-form-item>
</el-col>
......@@ -53,7 +50,7 @@
抵押金额类型: <br />
<p class="label-detail">(DYJELX)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.dyjelx" placeholder="抵押金额类型"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.dyjelx"></el-input>
</el-form-item>
</el-col>
......@@ -63,7 +60,7 @@
抵押不动产类型: <br />
<p class="label-detail">(DYBDCLX)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.dybdclx" placeholder="抵押不动产类型">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.dybdclx">
<el-option v-for="item in dicData['A27']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -78,7 +75,7 @@
抵押人: <br />
<p class="label-detail">(DYR)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.dyr" placeholder="抵押人"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.dyr"></el-input>
</el-form-item>
</el-col>
......@@ -88,7 +85,7 @@
抵押方式: <br />
<p class="label-detail">(DYFS)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.dyfs" placeholder="抵押方式">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.dyfs">
<el-option v-for="item in dicData['A28']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -101,7 +98,7 @@
登记类型: <br />
<p class="label-detail">(DJLX)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.djlx" placeholder="登记类型">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.djlx">
<el-option v-for="item in dicData['A21']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -117,7 +114,7 @@
<p class="label-detail">(BDBZZQSE)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.bdbzzqse" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }" placeholder="被担保主债权数额"></el-input>
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }"></el-input>
</el-form-item>
</el-col>
......@@ -127,9 +124,8 @@
债务履行起始时间: <br />
<p class="label-detail">(ZWLXQSSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" placeholder="选择开始日期"
:picker-options="pickerOptionsStart" clearable v-model="ruleForm.zwlxqssj"
value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" :picker-options="pickerOptionsStart"
clearable v-model="ruleForm.zwlxqssj" value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
</el-form-item>
</el-col>
......@@ -139,7 +135,7 @@
债务履行结束时间: <br />
<p class="label-detail">(ZWLXJSSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" placeholder="选择结束日期" clearable
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" clearable
:picker-options="pickerOptionsEnd" v-model="ruleForm.zwlxjssj" value-format="yyyy-MM-dd HH:mm:ss">
</el-date-picker>
</el-form-item>
......@@ -153,8 +149,7 @@
最高债权确定事实: <br />
<p class="label-detail">(ZGZQQDSS)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.zgzqqdss"
placeholder="最高债权确定事实"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.zgzqqdss"></el-input>
</el-form-item>
</el-col>
......@@ -165,7 +160,7 @@
<p class="label-detail">(ZGZQSE)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.zgzqse" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }" placeholder="最高债权数额"></el-input>
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }"></el-input>
</el-form-item>
</el-col>
......@@ -175,8 +170,7 @@
注销抵押业务号: <br />
<p class="label-detail">(ZXDYYWH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.zxdyywh"
placeholder="注销抵押业务号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.zxdyywh"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -188,7 +182,7 @@
登记机构: <br />
<p class="label-detail">(DJJG)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.djjg" placeholder="登记机构"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.djjg"></el-input>
</el-form-item>
</el-col>
......@@ -198,8 +192,8 @@
登记时间: <br />
<p class="label-detail">(DJSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" placeholder="登记时间" clearable
v-model="ruleForm.djsj" value-format="yyyy-MM-dd HH:mm:ss">
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" clearable v-model="ruleForm.djsj"
value-format="yyyy-MM-dd HH:mm:ss">
</el-date-picker>
</el-form-item>
</el-col>
......@@ -210,7 +204,7 @@
登簿人: <br />
<p class="label-detail">(DBR)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.dbr" placeholder="登簿人"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.dbr"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -222,7 +216,7 @@
附记: <br />
<p class="label-detail">(FJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.fj" placeholder="附记"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.fj"></el-input>
</el-form-item>
</el-col>
......@@ -232,7 +226,7 @@
权属状态: <br />
<p class="label-detail">(QSZT)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.qszt" placeholder="权属状态">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.qszt">
<el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -245,7 +239,7 @@
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.qxdm" placeholder="区县代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.qxdm"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -255,96 +249,93 @@
</template>
<script>
// 抵押权信息
import qlfQlDyaq from '@/api/qlfQlDyaq'
import ruleMixin from '@/mixins/ruleMixin.js'
import qlfQlDyaq from "@/api/qlfQlDyaq";
import ruleMixin from "@/mixins/ruleMixin.js";
export default {
mixins: [ruleMixin],
props: {
bsmSjsb: {
type: String,
default: ''
default: "",
},
bsmYwsjb: {
type: String,
default: ''
}
default: "",
},
},
data () {
data() {
return {
pickerOptionsStart: {
// 禁止选择
disabledDate: time => {
disabledDate: (time) => {
let endDateVal = this.ruleForm.ZWLXJSSJ;
if (endDateVal) {
return time.getTime() > new Date(endDateVal).getTime();
}
}
},
},
pickerOptionsEnd: {
disabledDate: time => {
disabledDate: (time) => {
let beginDateVal = this.ruleForm.ZWLXQSSJ;
if (beginDateVal) {
return (
time.getTime() <
new Date(beginDateVal).getTime()
);
}
return time.getTime() < new Date(beginDateVal).getTime();
}
},
},
ruleForm: {
YSDM: '',
YWH: '',
BDCDYH: '',
SCYWH: '',
DYJELX: '',
DYBDCLX: '',
DYR: '',
DYFS: '',
DJLX: '',
djyy: '',
zjjzwzl: '',
zjjzwdyfw: '',
BDBZZQSE: '',
ZWLXQSSJ: '',
ZWLXJSSJ: '',
ZGZQQDSS: '',
ZGZQSE: '',
ZXDYYWH: '',
zxdyyy: '',
zxsj: '',
bdcdjzmh: '',
DJJG: '',
DBR: '',
DJSJ: '',
FJ: '',
QSZT: '',
QXDM: ''
}
}
YSDM: "",
YWH: "",
BDCDYH: "",
SCYWH: "",
DYJELX: "",
DYBDCLX: "",
DYR: "",
DYFS: "",
DJLX: "",
djyy: "",
zjjzwzl: "",
zjjzwdyfw: "",
BDBZZQSE: "",
ZWLXQSSJ: "",
ZWLXJSSJ: "",
ZGZQQDSS: "",
ZGZQSE: "",
ZXDYYWH: "",
zxdyyy: "",
zxsj: "",
bdcdjzmh: "",
DJJG: "",
DBR: "",
DJSJ: "",
FJ: "",
QSZT: "",
QXDM: "",
},
};
},
methods: {
async featchData () {
async featchData() {
try {
let { result: res } = await qlfQlDyaq.getQlfQlDyaqById(this.bsmSjsb)
this.ruleForm = res
let { result: res } = await qlfQlDyaq.getQlfQlDyaqById(this.bsmSjsb);
this.ruleForm = res;
//this.featchRule()
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
},
handleUpdateForm () {
handleUpdateForm() {
return new Promise(async (resolve, reject) => {
try {
let res = await qlfQlDyaq.updateQlfQlDyaq(this.ruleForm)
let res = await qlfQlDyaq.updateQlfQlDyaq(this.ruleForm);
// this.$refs['formList'].resetFields();
resolve(res.code)
resolve(res.code);
} catch (error) {
this.$refs.msg.messageShow()
}
})
this.$refs.msg.messageShow();
}
}
}
});
},
},
};
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
......
......@@ -8,7 +8,7 @@
要素代码: <br />
<p class="label-detail">(YSDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM" placeholder="要素代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM"></el-input>
</el-form-item>
</el-col>
......@@ -18,7 +18,7 @@
业务号: <br />
<p class="label-detail">(YWH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWH" placeholder="业务号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWH"></el-input>
</el-form-item>
</el-col>
......@@ -28,8 +28,7 @@
供地役不动产单元号: <br />
<p class="label-detail">(GYDBDCDYH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.GYDBDCDYH"
placeholder="供地役不动产单元号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.GYDBDCDYH"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -41,7 +40,7 @@
供役地权利人: <br />
<p class="label-detail">(GYDQLR)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.GYDQLR" placeholder="供役地权利人"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.GYDQLR"></el-input>
</el-form-item>
</el-col>
......@@ -51,7 +50,7 @@
供役地权利人证件种类: <br />
<p class="label-detail">(GYDQLRZJZL)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.GYDQLRZJZL" placeholder="证件种类">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.GYDQLRZJZL">
<el-option v-for="item in dicData['A30']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -64,8 +63,8 @@
供役地权利人证件号: <br />
<p class="label-detail">(GYDQLRZJH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.GYDQLRZJH"
placeholder="供役地权利人证件号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.GYDQLRZJH">
</el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -77,8 +76,8 @@
需役地不动产单元号: <br />
<p class="label-detail">(XYDBDCDYH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.XYDBDCDYH"
placeholder="需役地不动产单元号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.XYDBDCDYH">
</el-input>
</el-form-item>
</el-col>
......@@ -88,7 +87,7 @@
需役地坐落: <br />
<p class="label-detail">(XYDZL)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.XYDZL" placeholder="需役地坐落"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.XYDZL"></el-input>
</el-form-item>
</el-col>
......@@ -98,7 +97,7 @@
需役地权利人: <br />
<p class="label-detail">(XYDQLR)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.XYDQLR" placeholder="需役地权利人"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.XYDQLR"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -110,7 +109,7 @@
需役地权利人证件种类: <br />
<p class="label-detail">(XYDQLRZJZL)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.XYDQLRZJZL" placeholder="证件种类">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.XYDQLRZJZL">
<el-option v-for="item in dicData['A30']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -123,8 +122,8 @@
需役地权利人证件号: <br />
<p class="label-detail">(XYDQLRZJZH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.XYDQLRZJZH"
placeholder="需役地权利人证件号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.XYDQLRZJZH">
</el-input>
</el-form-item>
</el-col>
......@@ -134,7 +133,7 @@
登记类型: <br />
<p class="label-detail">(DJLX)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.DJLX" placeholder="登记类型">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.DJLX">
<el-option v-for="item in dicData['A21']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -149,7 +148,7 @@
登记原因: <br />
<p class="label-detail">(DJYY)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJYY" placeholder="登记原因"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJYY"></el-input>
</el-form-item>
</el-col>
......@@ -159,7 +158,7 @@
地役权内容: <br />
<p class="label-detail">(DYQNR)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DYQNR" placeholder="地役权内容"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DYQNR"></el-input>
</el-form-item>
</el-col>
......@@ -169,8 +168,8 @@
不动产登记证明号: <br />
<p class="label-detail">(BDCDJZMH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCDJZMH"
placeholder="不动产登记证明号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCDJZMH">
</el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -182,9 +181,9 @@
权利起始时间: <br />
<p class="label-detail">(QLQSSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="date" placeholder="选择开始日期"
:picker-options="pickerOptionsStart" clearable v-model="ruleForm.QLQSSJ"
value-format="yyyy-MM-dd"></el-date-picker>
<el-date-picker :disabled="$store.state.business.Edit" type="date"
:picker-options="pickerOptionsStart" clearable v-model="ruleForm.QLQSSJ" value-format="yyyy-MM-dd">
</el-date-picker>
</el-form-item>
</el-col>
......@@ -194,7 +193,7 @@
权利结束时间: <br />
<p class="label-detail">(QLJSSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" placeholder="选择结束日期" clearable
<el-date-picker :disabled="$store.state.business.Edit" clearable
:picker-options="pickerOptionsEnd" v-model="ruleForm.QLJSSJ" value-format="yyyy-MM-dd">
</el-date-picker>
</el-form-item>
......@@ -206,7 +205,7 @@
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM" placeholder="区县代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM" ></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -218,7 +217,7 @@
登记机构: <br />
<p class="label-detail">(DJJG)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJJG" placeholder="登记机构"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJJG"></el-input>
</el-form-item>
</el-col>
......@@ -228,7 +227,7 @@
登簿人: <br />
<p class="label-detail">(DBR)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DBR" placeholder="登簿人"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DBR"></el-input>
</el-form-item>
</el-col>
......@@ -238,7 +237,7 @@
登记时间: <br />
<p class="label-detail">(DJSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" placeholder="选择日期" clearable type="datetime"
<el-date-picker :disabled="$store.state.business.Edit" clearable type="datetime"
v-model="ruleForm.DJSJ" value-format="yyyy-MM-dd HH:mm:ss">
</el-date-picker>
</el-form-item>
......@@ -252,7 +251,7 @@
附记: <br />
<p class="label-detail">(FJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FJ" placeholder="附记"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FJ"></el-input>
</el-form-item>
</el-col>
......@@ -262,7 +261,7 @@
权属状态: <br />
<p class="label-detail">(QSZT)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QSZT" placeholder="权属状态">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QSZT">
<el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -275,92 +274,89 @@
</template>
<script>
// 地役权信息
import qlfQlDyiq from '@/api/qlfQlDyiq'
import ruleMixin from '@/mixins/ruleMixin.js'
import qlfQlDyiq from "@/api/qlfQlDyiq";
import ruleMixin from "@/mixins/ruleMixin.js";
export default {
mixins: [ruleMixin],
props: {
bsmSjsb: {
type: String,
default: ''
default: "",
},
bsmYwsjb: {
type: String,
default: ''
}
default: "",
},
data () {
},
data() {
return {
pickerOptionsStart: {
// 禁止选择
disabledDate: time => {
disabledDate: (time) => {
let endDateVal = this.ruleForm.QLJSSJ;
if (endDateVal) {
return time.getTime() > new Date(endDateVal).getTime();
}
}
},
},
pickerOptionsEnd: {
disabledDate: time => {
disabledDate: (time) => {
let beginDateVal = this.ruleForm.QLQSSJ;
if (beginDateVal) {
return (
time.getTime() <
new Date(beginDateVal).getTime()
);
}
return time.getTime() < new Date(beginDateVal).getTime();
}
},
},
ruleForm: {
YSDM: '',
YWH: '',
GYDBDCDYH: '',
GYDQLR: '',
GYDQLRZJZL: '',
GYDQLRZJH: '',
XYDBDCDYH: '',
XYDZL: '',
XYDQLR: '',
XYDQLRZJZL: '',
XYDQLRZJZH: '',
DJLX: '',
DJYY: '',
DYQNR: '',
BDCDJZMH: '',
QLQSSJ: '',
QLJSSJ: '',
QXDM: '',
DJJG: '',
DBR: '',
DJSJ: '',
FJ: '',
QSZT: ''
}
}
YSDM: "",
YWH: "",
GYDBDCDYH: "",
GYDQLR: "",
GYDQLRZJZL: "",
GYDQLRZJH: "",
XYDBDCDYH: "",
XYDZL: "",
XYDQLR: "",
XYDQLRZJZL: "",
XYDQLRZJZH: "",
DJLX: "",
DJYY: "",
DYQNR: "",
BDCDJZMH: "",
QLQSSJ: "",
QLJSSJ: "",
QXDM: "",
DJJG: "",
DBR: "",
DJSJ: "",
FJ: "",
QSZT: "",
},
};
},
methods: {
async featchData () {
async featchData() {
try {
let { result: res } = await qlfQlDyiq.getQlfQlDyiqById(this.bsmSjsb)
this.ruleForm = res
let { result: res } = await qlfQlDyiq.getQlfQlDyiqById(this.bsmSjsb);
this.ruleForm = res;
//this.featchRule()
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
},
handleUpdateForm () {
handleUpdateForm() {
return new Promise(async (resolve) => {
try {
let res = await qlfQlDyiq.updateQlfQlDyiq(this.ruleForm)
let res = await qlfQlDyiq.updateQlfQlDyiq(this.ruleForm);
// this.$refs['formList'].resetFields();
resolve(res.code)
resolve(res.code);
} catch (error) {
this.$refs.msg.messageShow()
}
})
this.$refs.msg.messageShow();
}
}
}
});
},
},
};
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
......
......@@ -8,7 +8,7 @@
要素代码: <br />
<p class="label-detail">(YSDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ysdm" placeholder="要素代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ysdm"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -17,7 +17,7 @@
业务号: <br />
<p class="label-detail">(YWH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ywh" placeholder="业务号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ywh"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -26,7 +26,7 @@
不动产单元号: <br />
<p class="label-detail">(DJDL)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.bdcdyh" placeholder="不动产单元号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.bdcdyh"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -37,7 +37,7 @@
上手业务号: <br />
<p class="label-detail">(SSYWH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ssywh" placeholder="上手业务号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ssywh"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -46,7 +46,7 @@
不动产权证号: <br />
<p class="label-detail">(BDCQZH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.bdcqzh" placeholder="不动产权证号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.bdcqzh"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -55,7 +55,7 @@
不动产登记证明号: <br />
<p class="label-detail">(BDCZMH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.bdczmh" placeholder="不动产登记证明号">
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.bdczmh">
</el-input>
</el-form-item>
</el-col>
......@@ -67,7 +67,7 @@
更正登记类型: <br />
<p class="label-detail">(GZDJLX)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.gzdjlx" placeholder="更正登记类型">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.gzdjlx">
<el-option v-for="item in dicData['A54']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -79,7 +79,7 @@
更正依据: <br />
<p class="label-detail">(GZYJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.gzyj" placeholder="更正依据"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.gzyj"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -88,7 +88,7 @@
申请主体: <br />
<p class="label-detail">(GZGT)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.gzgt" placeholder="申请主体"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.gzgt"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -99,7 +99,7 @@
更正内容: <br />
<p class="label-detail">(GZNR)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.gznr" placeholder="更正内容"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.gznr"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -108,7 +108,7 @@
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.qxdm" placeholder="区县代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.qxdm"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -117,7 +117,7 @@
权属状态: <br />
<p class="label-detail">(QSZT)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.qszt" placeholder="权属状态">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.qszt">
<el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -131,7 +131,7 @@
登簿人: <br />
<p class="label-detail">(DBR)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.dbr" placeholder="登簿人"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.dbr"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -140,8 +140,8 @@
登记时间: <br />
<p class="label-detail">(DJSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" placeholder="登记时间" clearable
v-model="ruleForm.djsj" value-format="yyyy-MM-dd HH:mm:ss">
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" clearable v-model="ruleForm.djsj"
value-format="yyyy-MM-dd HH:mm:ss">
</el-date-picker>
</el-form-item>
</el-col>
......@@ -151,7 +151,7 @@
登记机构: <br />
<p class="label-detail">(DJJG)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.djjg" placeholder="登记机构"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.djjg"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -162,7 +162,7 @@
附记: <br />
<p class="label-detail">(FJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.fj" placeholder="附记"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.fj"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -186,7 +186,7 @@ export default {
default: "",
},
},
data () {
data() {
return {
ruleForm: {
YSDM: "",
......@@ -205,7 +205,7 @@ export default {
};
},
methods: {
async featchData () {
async featchData() {
try {
let { result: res } = await qlfQlGzdj.getQlfQlGzdjById(this.bsmSjsb);
this.ruleForm = res;
......@@ -214,7 +214,7 @@ export default {
this.$refs.msg.messageShow();
}
},
handleUpdateForm () {
handleUpdateForm() {
return new Promise(async (resolve) => {
try {
let res = await qlfQlGzdj.updateQlfQlGzdj(this.ruleForm);
......
......@@ -8,8 +8,7 @@
要素代码: <br />
<p class="label-detail">(YSDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM" maxlength="10"
placeholder="要素代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM" maxlength="10"></el-input>
</el-form-item>
</el-col>
......@@ -19,8 +18,7 @@
不动产单元号: <br />
<p class="label-detail">(BDCDYH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCDYH" maxlength="28"
placeholder="不动产单元号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCDYH" maxlength="28"></el-input>
</el-form-item>
</el-col>
......@@ -30,8 +28,7 @@
宗海海岛代码: <br />
<p class="label-detail">(ZHHDDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZHHDDM" maxlength="19"
placeholder="宗海海岛代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZHHDDM" maxlength="19"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -43,7 +40,7 @@
业务号: <br />
<p class="label-detail">(YWH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWH" placeholder="业务号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWH"></el-input>
</el-form-item>
</el-col>
......@@ -53,7 +50,7 @@
权利类型: <br />
<p class="label-detail">(QLLX)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QLLX" placeholder="权利类型">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QLLX">
<el-option v-for="item in dicData['A8']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -66,7 +63,7 @@
登记类型: <br />
<p class="label-detail">(DJLX)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.DJLX" placeholder="登记类型">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.DJLX">
<el-option v-for="item in dicData['A21']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -81,7 +78,7 @@
登记原因: <br />
<p class="label-detail">(DJYY)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJYY" placeholder="登记原因"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJYY"></el-input>
</el-form-item>
</el-col>
......@@ -91,7 +88,7 @@
使用权面积: <br />
<p class="label-detail">(SYQMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" placeholder="使用权面积" type="number"
<el-input :disabled="$store.state.business.Edit" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }" v-model.number="ruleForm.SYQMJ"></el-input>
</el-form-item>
</el-col>
......@@ -102,7 +99,7 @@
使用金总额: <br />
<p class="label-detail">(SYJZE)</p>
</span>
<el-input :disabled="$store.state.business.Edit" placeholder="使用金总额" type="number"
<el-input :disabled="$store.state.business.Edit" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }" v-model.number="ruleForm.SYJZE"></el-input>
</el-form-item>
</el-col>
......@@ -115,9 +112,8 @@
使用权起始时间: <br />
<p class="label-detail">(SYQQSSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" placeholder="使用权起始时间"
:picker-options="pickerOptionsStart" clearable v-model="ruleForm.SYQQSSJ"
value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" :picker-options="pickerOptionsStart"
clearable v-model="ruleForm.SYQQSSJ" value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
</el-form-item>
</el-col>
......@@ -127,9 +123,8 @@
使用权结束时间: <br />
<p class="label-detail">(SYQJSSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" placeholder="使用权结束时间"
:picker-options="pickerOptionsStart" clearable v-model="ruleForm.SYQJSSJ"
value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" :picker-options="pickerOptionsStart"
clearable v-model="ruleForm.SYQJSSJ" value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
</el-form-item>
</el-col>
......@@ -139,8 +134,7 @@
使用金标准依据: <br />
<p class="label-detail">(SYJBZYJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.SYJBZYJ"
placeholder="使用金标准依据"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.SYJBZYJ"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -152,8 +146,7 @@
使用金缴纳情况: <br />
<p class="label-detail">(SYJJNQK)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.SYJJNQK"
placeholder="使用金缴纳情况"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.SYJJNQK"></el-input>
</el-form-item>
</el-col>
......@@ -163,7 +156,7 @@
不动产权证号: <br />
<p class="label-detail">(BDCQZH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCQZH" placeholder="不动产权证号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCQZH"></el-input>
</el-form-item>
</el-col>
......@@ -173,7 +166,7 @@
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM" placeholder=" 区县代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -185,7 +178,7 @@
登记机构: <br />
<p class="label-detail">(DJJG)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJJG" placeholder="登记机构"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJJG"></el-input>
</el-form-item>
</el-col>
......@@ -195,7 +188,7 @@
登簿人: <br />
<p class="label-detail">(DBR)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DBR" placeholder="登簿人"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DBR"></el-input>
</el-form-item>
</el-col>
......@@ -205,8 +198,8 @@
登记时间: <br />
<p class="label-detail">(DJSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" placeholder="选择日期" clearable
v-model="ruleForm.DJSJ" value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" clearable v-model="ruleForm.DJSJ"
value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
</el-form-item>
</el-col>
</el-row>
......@@ -218,7 +211,7 @@
附记: <br />
<p class="label-detail">(FJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FJ" placeholder="附记"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FJ"></el-input>
</el-form-item>
</el-col>
......@@ -228,7 +221,7 @@
权属状态: <br />
<p class="label-detail">(QSZT)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QSZT" placeholder="权属状态">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QSZT">
<el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -241,89 +234,86 @@
</template>
<script>
// 海域(含无居民海岛)使用权
import qlfQlHysyq from '@/api/qlfQlHysyq'
import ruleMixin from '@/mixins/ruleMixin.js'
import qlfQlHysyq from "@/api/qlfQlHysyq";
import ruleMixin from "@/mixins/ruleMixin.js";
export default {
mixins: [ruleMixin],
props: {
bsmSjsb: {
type: String,
default: ''
default: "",
},
bsmYwsjb: {
type: String,
default: ''
}
default: "",
},
data () {
},
data() {
return {
pickerOptionsStart: {
// 禁止选择
disabledDate: time => {
disabledDate: (time) => {
let endDateVal = this.ruleForm.SYQJSSJ;
if (endDateVal) {
return time.getTime() > new Date(endDateVal).getTime();
}
}
},
},
pickerOptionsEnd: {
disabledDate: time => {
disabledDate: (time) => {
let beginDateVal = this.ruleForm.SYQQSSJ;
if (beginDateVal) {
return (
time.getTime() <
new Date(beginDateVal).getTime()
);
}
return time.getTime() < new Date(beginDateVal).getTime();
}
},
},
ruleForm: {
YSDM: '',
BDCDYH: '',
ZHHDDM: '',
YWH: '',
QLLX: '',
DJLX: '',
DJYY: '',
SYQMJ: '',
SYJZE: '',
SYQQSSJ: '',
SYQJSSJ: '',
SYJBZYJ: '',
SYJJNQK: '',
BDCQZH: '',
QXDM: '',
DJJG: '',
DBR: '',
DJSJ: '',
FJ: '',
QSZT: ''
}
}
YSDM: "",
BDCDYH: "",
ZHHDDM: "",
YWH: "",
QLLX: "",
DJLX: "",
DJYY: "",
SYQMJ: "",
SYJZE: "",
SYQQSSJ: "",
SYQJSSJ: "",
SYJBZYJ: "",
SYJJNQK: "",
BDCQZH: "",
QXDM: "",
DJJG: "",
DBR: "",
DJSJ: "",
FJ: "",
QSZT: "",
},
};
},
methods: {
async featchData () {
async featchData() {
try {
let { result: res } = await qlfQlHysyq.getQlfQlHysyqById(this.bsmSjsb)
this.ruleForm = res
let { result: res } = await qlfQlHysyq.getQlfQlHysyqById(this.bsmSjsb);
this.ruleForm = res;
//this.featchRule()
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
},
handleUpdateForm () {
handleUpdateForm() {
return new Promise(async (resolve) => {
try {
let res = await qlfQlHysyq.updateQlfQlHysyq(this.ruleForm)
let res = await qlfQlHysyq.updateQlfQlHysyq(this.ruleForm);
// this.$refs['formList'].resetFields();
resolve(res.code)
resolve(res.code);
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
})
}
}
}
});
},
},
};
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
......
......@@ -8,7 +8,7 @@
要素代码: <br />
<p class="label-detail">(YSDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM" placeholder="要素代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM"></el-input>
</el-form-item>
</el-col>
......@@ -18,7 +18,7 @@
不动产单元号: <br />
<p class="label-detail">(BDCDYH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCDYH" placeholder="不动产单元号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCDYH"></el-input>
</el-form-item>
</el-col>
......@@ -28,7 +28,7 @@
宗地代码: <br />
<p class="label-detail">(ZDDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZDDM" placeholder="宗地代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZDDM"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -40,7 +40,7 @@
业务号: <br />
<p class="label-detail">(YWH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWH" placeholder="业务号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWH"></el-input>
</el-form-item>
</el-col>
......@@ -50,7 +50,7 @@
权利类型: <br />
<p class="label-detail">(QLLX)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QLLX" placeholder="权利类型">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QLLX">
<el-option v-for="item in dicData['A8']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -63,7 +63,7 @@
登记类型: <br />
<p class="label-detail">(DJLX)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.DJLX" placeholder="登记类型">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.DJLX">
<el-option v-for="item in dicData['A21']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -78,7 +78,7 @@
登记原因: <br />
<p class="label-detail">(DJYY)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJYY" placeholder="登记原因"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJYY"></el-input>
</el-form-item>
</el-col>
......@@ -88,7 +88,7 @@
使用权面积: <br />
<p class="label-detail">(SYQMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" placeholder="使用权面积" type="number"
<el-input :disabled="$store.state.business.Edit" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 2 }" v-model.number="ruleForm.SYQMJ"></el-input>
</el-form-item>
</el-col>
......@@ -99,7 +99,7 @@
取得价格: <br />
<p class="label-detail">(QDJG)</p>
</span>
<el-input :disabled="$store.state.business.Edit" placeholder="取得价格" type="number"
<el-input :disabled="$store.state.business.Edit" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }" v-model.number="ruleForm.QDJG"></el-input>
</el-form-item>
</el-col>
......@@ -112,9 +112,8 @@
使用权起始时间: <br />
<p class="label-detail">(SYQQSSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" placeholder="使用权起始时间"
:picker-options="pickerOptionsStart" clearable v-model="ruleForm.SYQQSSJ"
value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" :picker-options="pickerOptionsStart"
clearable v-model="ruleForm.SYQQSSJ" value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
</el-form-item>
</el-col>
......@@ -124,9 +123,8 @@
使用权结束时间: <br />
<p class="label-detail">(SYQJSSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" placeholder="使用权结束时间"
:picker-options="pickerOptionsEnd" clearable v-model="ruleForm.SYQJSSJ"
value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" :picker-options="pickerOptionsEnd"
clearable v-model="ruleForm.SYQJSSJ" value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
</el-form-item>
</el-col>
......@@ -136,7 +134,7 @@
不动产权证号: <br />
<p class="label-detail">(BDCQZH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCQZH" placeholder="不动产权证号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCQZH"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -148,7 +146,7 @@
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM" placeholder="区县代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM"></el-input>
</el-form-item>
</el-col>
......@@ -158,7 +156,7 @@
登记机构: <br />
<p class="label-detail">(DJJG)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJJG" placeholder="登记机构"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJJG"></el-input>
</el-form-item>
</el-col>
......@@ -168,7 +166,7 @@
登簿人: <br />
<p class="label-detail">(DBR)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DBR" placeholder="登簿人"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DBR"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -180,8 +178,8 @@
登记时间: <br />
<p class="label-detail">(DJSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" placeholder="登记时间" clearable
v-model="ruleForm.DJSJ" value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" clearable v-model="ruleForm.DJSJ"
value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
</el-form-item>
</el-col>
......@@ -191,7 +189,7 @@
附记: <br />
<p class="label-detail">(FJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FJ" placeholder="附记"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FJ"></el-input>
</el-form-item>
</el-col>
......@@ -201,7 +199,7 @@
权属状态: <br />
<p class="label-detail">(QSZT)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QSZT" placeholder="权属状态">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QSZT">
<el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -214,87 +212,86 @@
</template>
<script>
// 建设用地、宅基地使用权信息
import qlfQlJsydsyq from '@/api/qlfQlJsydsyq'
import ruleMixin from '@/mixins/ruleMixin.js'
import qlfQlJsydsyq from "@/api/qlfQlJsydsyq";
import ruleMixin from "@/mixins/ruleMixin.js";
export default {
mixins: [ruleMixin],
props: {
bsmSjsb: {
type: String,
default: ''
default: "",
},
bsmYwsjb: {
type: String,
default: ''
}
default: "",
},
},
data () {
data() {
return {
pickerOptionsStart: {
// 禁止选择
disabledDate: time => {
disabledDate: (time) => {
let endDateVal = this.ruleForm.SYQJSSJ;
if (endDateVal) {
return time.getTime() > new Date(endDateVal).getTime();
}
}
},
},
pickerOptionsEnd: {
disabledDate: time => {
disabledDate: (time) => {
let beginDateVal = this.ruleForm.SYQQSSJ;
if (beginDateVal) {
return (
time.getTime() <
new Date(beginDateVal).getTime()
);
}
return time.getTime() < new Date(beginDateVal).getTime();
}
},
},
ruleForm: {
YSDM: '',
BDCDYH: '',
ZDDM: '',
YWH: '',
QLLX: '',
DJLX: '',
DJYY: '',
SYQMJ: '',
QDJG: '',
SYQQSSJ: '',
SYQJSSJ: '',
BDCQZH: '',
QXDM: '',
DJJG: '',
DBR: '',
DJSJ: '',
FJ: '',
QSZT: '',
}
}
YSDM: "",
BDCDYH: "",
ZDDM: "",
YWH: "",
QLLX: "",
DJLX: "",
DJYY: "",
SYQMJ: "",
QDJG: "",
SYQQSSJ: "",
SYQJSSJ: "",
BDCQZH: "",
QXDM: "",
DJJG: "",
DBR: "",
DJSJ: "",
FJ: "",
QSZT: "",
},
};
},
methods: {
async featchData () {
async featchData() {
try {
let { result: res } = await qlfQlJsydsyq.getQlfQlJsydsyqById(this.bsmSjsb)
this.ruleForm = res
let { result: res } = await qlfQlJsydsyq.getQlfQlJsydsyqById(
this.bsmSjsb
);
this.ruleForm = res;
//this.featchRule()
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
},
handleUpdateForm () {
handleUpdateForm() {
return new Promise(async (resolve, reject) => {
try {
let res = await qlfQlJsydsyq.updateQlfQlJsydsyq(this.ruleForm)
let res = await qlfQlJsydsyq.updateQlfQlJsydsyq(this.ruleForm);
// this.$refs['formList'].resetFields();
resolve(res.code)
resolve(res.code);
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
})
}
}
}
});
},
},
};
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
......
......@@ -8,8 +8,7 @@
要素代码: <br />
<p class="label-detail">(YSDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM" maxlength="10"
placeholder="要素代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM" maxlength="10"></el-input>
</el-form-item>
</el-col>
......@@ -19,8 +18,7 @@
业务号: <br />
<p class="label-detail">(YWH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWH" maxlength="20"
placeholder="业务号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWH" maxlength="20"></el-input>
</el-form-item>
</el-col>
......@@ -30,8 +28,7 @@
不动产单元号: <br />
<p class="label-detail">(BDCDYH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCDYH" maxlength="28"
placeholder="不动产单元号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCDYH" maxlength="28"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -43,7 +40,7 @@
权利类型: <br />
<p class="label-detail">(QLLX)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QLLX" placeholder="权利类型">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QLLX">
<el-option v-for="item in dicData['A8']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -56,7 +53,7 @@
登记类型: <br />
<p class="label-detail">(DJLX)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.DJLX" placeholder="登记类型">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.DJLX">
<el-option v-for="item in dicData['A21']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -69,7 +66,7 @@
登记原因: <br />
<p class="label-detail">(DJYY)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJYY" placeholder="登记原因"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJYY"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -81,7 +78,7 @@
坐落: <br />
<p class="label-detail">(ZL)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZL" placeholder="坐落"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZL"></el-input>
</el-form-item>
</el-col>
......@@ -91,7 +88,7 @@
发包方代码: <br />
<p class="label-detail">(FBFDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FBFDM" placeholder="发包方代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FBFDM"></el-input>
</el-form-item>
</el-col>
......@@ -101,7 +98,7 @@
发包方名称: <br />
<p class="label-detail">(FBFMC)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FBFMC" placeholder="发包方名称"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FBFMC"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -114,7 +111,7 @@
<p class="label-detail">(CBMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.CBMJ" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }" placeholder="承包(使用权)面积"></el-input>
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }"></el-input>
</el-form-item>
</el-col>
......@@ -124,9 +121,8 @@
承包(使用)起始时间: <br />
<p class="label-detail">(CBQSSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="date" placeholder="选择开始日期"
:picker-options="pickerOptionsStart" clearable v-model="ruleForm.CBQSSJ"
value-format="yyyy-MM-dd"></el-date-picker>
<el-date-picker :disabled="$store.state.business.Edit" type="date" :picker-options="pickerOptionsStart"
clearable v-model="ruleForm.CBQSSJ" value-format="yyyy-MM-dd"></el-date-picker>
</el-form-item>
</el-col>
......@@ -136,8 +132,8 @@
承包(使用)结束时间: <br />
<p class="label-detail">(CBJSSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" placeholder="选择结束日期" clearable
:picker-options="pickerOptionsEnd" v-model="ruleForm.CBJSSJ" value-format="yyyy-MM-dd">
<el-date-picker :disabled="$store.state.business.Edit" clearable :picker-options="pickerOptionsEnd"
v-model="ruleForm.CBJSSJ" value-format="yyyy-MM-dd">
</el-date-picker>
</el-form-item>
</el-col>
......@@ -150,7 +146,7 @@
土地所有权性质: <br />
<p class="label-detail">(TDSYQXZ)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.TDSYQXZ" placeholder="土地所有权性质">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.TDSYQXZ">
<el-option v-for="item in dicData['A45']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -163,7 +159,7 @@
水域滩涂类型: <br />
<p class="label-detail">(SYTTLX)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.SYTTLX" placeholder="水域滩涂类型">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.SYTTLX">
<el-option v-for="item in dicData['A23']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -176,7 +172,7 @@
养殖业方式: <br />
<p class="label-detail">(YZYFS)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.YZYFS" placeholder="养殖业方式">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.YZYFS">
<el-option v-for="item in dicData['A24']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -191,7 +187,7 @@
草原质量: <br />
<p class="label-detail">(CYZL)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.CYZL" placeholder="草原质量"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.CYZL"></el-input>
</el-form-item>
</el-col>
......@@ -202,7 +198,7 @@
<p class="label-detail">(SYZCL)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.SYZCL" type="number"
v-only-number="{ max: 9999999999, min: 0, precision: 0 }" placeholder="适宜载畜量"></el-input>
v-only-number="{ max: 9999999999, min: 0, precision: 0 }"></el-input>
</el-form-item>
</el-col>
......@@ -212,7 +208,7 @@
不动产权证号: <br />
<p class="label-detail">(BDCQZH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCQZH" placeholder="不动产权证号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCQZH"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -224,7 +220,7 @@
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM" placeholder="区县代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM"></el-input>
</el-form-item>
</el-col>
......@@ -234,7 +230,7 @@
登记机构: <br />
<p class="label-detail">(DJJG)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJJG" placeholder="登记机构"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJJG"></el-input>
</el-form-item>
</el-col>
......@@ -244,7 +240,7 @@
登簿人: <br />
<p class="label-detail">(DBR)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DBR" placeholder="登簿人"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DBR"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -256,8 +252,8 @@
登记时间: <br />
<p class="label-detail">(DJSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="date" placeholder="选择日期" clearable
v-model="ruleForm.DJSJ" value-format="yyyy-MM-dd"></el-date-picker>
<el-date-picker :disabled="$store.state.business.Edit" type="date" clearable v-model="ruleForm.DJSJ"
value-format="yyyy-MM-dd"></el-date-picker>
</el-form-item>
</el-col>
......@@ -267,7 +263,7 @@
附记: <br />
<p class="label-detail">(FJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FJ" placeholder="附记"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FJ"></el-input>
</el-form-item>
</el-col>
......@@ -277,7 +273,7 @@
权属状态: <br />
<p class="label-detail">(QSZT)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QSZT" placeholder="权属状态">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QSZT">
<el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -290,93 +286,92 @@
</template>
<script>
// 农用地使用权(非林地)
import qlfQlNydsyq from '@/api/qlfQlNydsyq'
import ruleMixin from '@/mixins/ruleMixin.js'
import qlfQlNydsyq from "@/api/qlfQlNydsyq";
import ruleMixin from "@/mixins/ruleMixin.js";
export default {
mixins: [ruleMixin],
props: {
bsmSjsb: {
type: String,
default: ''
default: "",
},
bsmYwsjb: {
type: String,
default: ''
}
default: "",
},
data () {
},
data() {
return {
pickerOptionsStart: {
// 禁止选择
disabledDate: time => {
disabledDate: (time) => {
let endDateVal = this.ruleForm.CBJSSJ;
if (endDateVal) {
return time.getTime() > new Date(endDateVal).getTime();
}
}
},
},
pickerOptionsEnd: {
disabledDate: time => {
disabledDate: (time) => {
let beginDateVal = this.ruleForm.CBQSSJ;
if (beginDateVal) {
return (
time.getTime() <
new Date(beginDateVal).getTime()
);
}
return time.getTime() < new Date(beginDateVal).getTime();
}
},
},
ruleForm: {
YSDM: '',
YWH: '',
BDCDYH: '',
QLLX: '',
DJLX: '',
DJYY: '',
ZL: '',
FBFDM: '',
FBFMC: '',
CBMJ: '',
CBQSSJ: '',
CBJSSJ: '',
TDSYQXZ: '',
SYTTLX: '',
YZYFS: '',
CYZL: '',
SYZCL: '',
BDCQZH: '',
QXDM: '',
DJJG: '',
DBR: '',
DJSJ: '',
FJ: '',
QSZT: ''
}
}
YSDM: "",
YWH: "",
BDCDYH: "",
QLLX: "",
DJLX: "",
DJYY: "",
ZL: "",
FBFDM: "",
FBFMC: "",
CBMJ: "",
CBQSSJ: "",
CBJSSJ: "",
TDSYQXZ: "",
SYTTLX: "",
YZYFS: "",
CYZL: "",
SYZCL: "",
BDCQZH: "",
QXDM: "",
DJJG: "",
DBR: "",
DJSJ: "",
FJ: "",
QSZT: "",
},
};
},
methods: {
async featchData () {
async featchData() {
try {
let { result: res } = await qlfQlNydsyq.getQlfQlNydsyqByID(this.bsmSjsb)
this.ruleForm = res
let { result: res } = await qlfQlNydsyq.getQlfQlNydsyqByID(
this.bsmSjsb
);
this.ruleForm = res;
//this.featchRule()
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
},
handleUpdateForm () {
handleUpdateForm() {
return new Promise(async (resolve) => {
try {
let res = await qlfQlNydsyq.updateQlfQlNydsyq(this.ruleForm)
let res = await qlfQlNydsyq.updateQlfQlNydsyq(this.ruleForm);
// this.$refs['formList'].resetFields();
resolve(res.code)
resolve(res.code);
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
})
}
}
}
});
},
},
};
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
......
......@@ -8,7 +8,7 @@
要素代码: <br />
<p class="label-detail">(YSDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM" placeholder="要素代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM"></el-input>
</el-form-item>
</el-col>
......@@ -18,7 +18,7 @@
业务号: <br />
<p class="label-detail">(YWH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWH" placeholder="业务号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWH"></el-input>
</el-form-item>
</el-col>
......@@ -28,7 +28,7 @@
不动产单元号: <br />
<p class="label-detail">(BDCDYH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCDYH" placeholder="不动产单元号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCDYH"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -40,7 +40,7 @@
权利类型: <br />
<p class="label-detail">(QLLX)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QLLX" placeholder="权利类型">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QLLX">
<el-option v-for="item in dicData['A8']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -53,7 +53,7 @@
登记类型: <br />
<p class="label-detail">(DJLX)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.DJLX" placeholder="登记类型">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.DJLX">
<el-option v-for="item in dicData['A21']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -66,7 +66,7 @@
登记原因: <br />
<p class="label-detail">(DJYY)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJYY" placeholder="登记原因"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJYY"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -78,9 +78,8 @@
权利起始时间: <br />
<p class="label-detail">(QLQSSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" placeholder="权利起始时间"
:picker-options="pickerOptionsStart" clearable v-model="ruleForm.QLQSSJ"
value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" :picker-options="pickerOptionsStart"
clearable v-model="ruleForm.QLQSSJ" value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
</el-form-item>
</el-col>
......@@ -90,7 +89,7 @@
权利结束时间: <br />
<p class="label-detail">(QLJSSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" placeholder="权利结束时间" clearable
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" clearable
:picker-options="pickerOptionsEnd" v-model="ruleForm.QLJSSJ" value-format="yyyy-MM-dd HH:mm:ss">
</el-date-picker>
</el-form-item>
......@@ -102,7 +101,7 @@
取水方式: <br />
<p class="label-detail">(QSFS)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QSFS" placeholder="取水方式"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QSFS"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -114,7 +113,7 @@
水源类型: <br />
<p class="label-detail">(SYLX)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.SYLX" placeholder="水源类型"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.SYLX"></el-input>
</el-form-item>
</el-col>
......@@ -124,7 +123,7 @@
取水量: <br />
<p class="label-detail">(QSL)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QSL" placeholder="取水量"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QSL"></el-input>
</el-form-item>
</el-col>
......@@ -134,7 +133,7 @@
取水用途: <br />
<p class="label-detail">(QSYT)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QSYT" placeholder="取水用途"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QSYT"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -147,7 +146,7 @@
<p class="label-detail">(KCMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.KCMJ"
v-only-number="{ max: 999999, min: 0, precision: 2 }" placeholder="勘查面积"></el-input>
v-only-number="{ max: 999999, min: 0, precision: 2 }"></el-input>
</el-form-item>
</el-col>
......@@ -157,7 +156,7 @@
开采方式: <br />
<p class="label-detail">(KCFS)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.KCFS" placeholder="开采方式"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.KCFS"></el-input>
</el-form-item>
</el-col>
......@@ -167,7 +166,7 @@
开采矿种: <br />
<p class="label-detail">(KCKZ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.KCKZ" placeholder="开采矿种"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.KCKZ"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -179,7 +178,7 @@
生产规模: <br />
<p class="label-detail">(SCGM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.SCGM" placeholder="生产规模"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.SCGM"></el-input>
</el-form-item>
</el-col>
......@@ -189,7 +188,7 @@
不动产权证号: <br />
<p class="label-detail">(BDCQZH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCQZH" placeholder="不动产权证号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCQZH"></el-input>
</el-form-item>
</el-col>
......@@ -199,7 +198,7 @@
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM" placeholder="区县代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -211,7 +210,7 @@
登记机构: <br />
<p class="label-detail">(DJJG)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJJG" placeholder="登记机构"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJJG"></el-input>
</el-form-item>
</el-col>
......@@ -221,7 +220,7 @@
登簿人: <br />
<p class="label-detail">(DBR)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DBR" placeholder="登簿人"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DBR"></el-input>
</el-form-item>
</el-col>
......@@ -231,8 +230,8 @@
登记时间: <br />
<p class="label-detail">(DJSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" placeholder="选择日期" clearable
v-model="ruleForm.DJSJ" value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" clearable v-model="ruleForm.DJSJ"
value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
</el-form-item>
</el-col>
</el-row>
......@@ -244,7 +243,7 @@
附记: <br />
<p class="label-detail">(FJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FJ" placeholder="附记"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FJ"></el-input>
</el-form-item>
</el-col>
......@@ -254,7 +253,7 @@
附图: <br />
<p class="label-detail">(FT)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FT" placeholder="附图"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FT"></el-input>
</el-form-item>
</el-col>
......@@ -264,7 +263,7 @@
权属状态: <br />
<p class="label-detail">(QSZT)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QSZT" placeholder="权利类型">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QSZT">
<el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -277,94 +276,93 @@
</template>
<script>
// 其他相关权利
import qlfQlQtxgql from '@/api/qlfQlQtxgql'
import ruleMixin from '@/mixins/ruleMixin.js'
import qlfQlQtxgql from "@/api/qlfQlQtxgql";
import ruleMixin from "@/mixins/ruleMixin.js";
export default {
mixins: [ruleMixin],
props: {
bsmSjsb: {
type: String,
default: ''
default: "",
},
bsmYwsjb: {
type: String,
default: ''
}
default: "",
},
data () {
},
data() {
return {
pickerOptionsStart: {
// 禁止选择
disabledDate: time => {
disabledDate: (time) => {
let endDateVal = this.ruleForm.QLJSSJ;
if (endDateVal) {
return time.getTime() > new Date(endDateVal).getTime();
}
}
},
},
pickerOptionsEnd: {
disabledDate: time => {
disabledDate: (time) => {
let beginDateVal = this.ruleForm.QLQSSJ;
if (beginDateVal) {
return (
time.getTime() <
new Date(beginDateVal).getTime()
);
}
return time.getTime() < new Date(beginDateVal).getTime();
}
},
},
ruleForm: {
BSM: '',
YSDM: '',
YWH: '',
BDCDYH: '',
QLLX: '',
DJLX: '',
DJYY: '',
QLQSSJ: '',
QLJSSJ: '',
QSFS: '',
SYLX: '',
QSL: '',
QSYT: '',
KCMJ: '',
KCFS: '',
KCKZ: '',
SCGM: '',
BDCQZH: '',
QXDM: '',
DJJG: '',
DBR: '',
DJSJ: '',
FJ: '',
FT: '',
QSZT: ''
}
}
BSM: "",
YSDM: "",
YWH: "",
BDCDYH: "",
QLLX: "",
DJLX: "",
DJYY: "",
QLQSSJ: "",
QLJSSJ: "",
QSFS: "",
SYLX: "",
QSL: "",
QSYT: "",
KCMJ: "",
KCFS: "",
KCKZ: "",
SCGM: "",
BDCQZH: "",
QXDM: "",
DJJG: "",
DBR: "",
DJSJ: "",
FJ: "",
FT: "",
QSZT: "",
},
};
},
methods: {
async featchData () {
async featchData() {
try {
let { result: res } = await qlfQlQtxgql.getQlfQlQtxgqlById(this.bsmSjsb)
this.ruleForm = res
let { result: res } = await qlfQlQtxgql.getQlfQlQtxgqlById(
this.bsmSjsb
);
this.ruleForm = res;
//this.featchRule()
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
},
handleUpdateForm () {
handleUpdateForm() {
return new Promise(async (resolve) => {
try {
let res = await qlfQlQtxgql.updateQlfQlQtxgql(this.ruleForm)
let res = await qlfQlQtxgql.updateQlfQlQtxgql(this.ruleForm);
// this.$refs['formList'].resetFields();
resolve(res.code)
resolve(res.code);
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
})
}
}
}
});
},
},
};
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
......
......@@ -8,7 +8,7 @@
要素代码: <br />
<p class="label-detail">(YSDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM" placeholder="要素代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM"></el-input>
</el-form-item>
</el-col>
......@@ -18,7 +18,7 @@
不动产单元号: <br />
<p class="label-detail">(BDCDYH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCDYH" placeholder="不动产单元号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCDYH" ></el-input>
</el-form-item>
</el-col>
......@@ -28,7 +28,7 @@
宗地代码: <br />
<p class="label-detail">(ZDDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZDDM" placeholder="宗地代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZDDM" ></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -40,7 +40,7 @@
业务号: <br />
<p class="label-detail">(YWH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWH" placeholder="业务号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWH"></el-input>
</el-form-item>
</el-col>
......@@ -50,7 +50,7 @@
权利类型: <br />
<p class="label-detail">(QLLX)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QLLX" placeholder="权利类型">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QLLX">
<el-option v-for="item in dicData['A8']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -63,7 +63,7 @@
登记类型: <br />
<p class="label-detail">(DJLX)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.DJLX" placeholder="登记类型">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.DJLX">
<el-option v-for="item in dicData['A21']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -78,7 +78,7 @@
登记原因: <br />
<p class="label-detail">(DJYY)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJYY" placeholder="登记原因"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJYY"></el-input>
</el-form-item>
</el-col>
......@@ -88,7 +88,7 @@
面积单位: <br />
<p class="label-detail">(MJDW)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.MJDW" placeholder="面积单位">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.MJDW">
<el-option v-for="item in dicData['A7']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -102,7 +102,7 @@
<p class="label-detail">(NYDMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.NYDMJ" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }" placeholder="农用地面积"></el-input>
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }" ></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -115,7 +115,7 @@
<p class="label-detail">(GDMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.GDMJ" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }" placeholder="耕地面积"></el-input>
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }"></el-input>
</el-form-item>
</el-col>
......@@ -126,7 +126,7 @@
<p class="label-detail">(LDMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.LDMJ" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }" placeholder="林地面积"></el-input>
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }" ></el-input>
</el-form-item>
</el-col>
......@@ -137,7 +137,7 @@
<p class="label-detail">(CDMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.CDMJ" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }" placeholder="草地面积"></el-input>
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }" ></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -150,7 +150,7 @@
<p class="label-detail">(QTNYDMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.QTNYDMJ" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }" placeholder="其它农用地面积"></el-input>
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }" ></el-input>
</el-form-item>
</el-col>
......@@ -161,7 +161,7 @@
<p class="label-detail">(JSYDMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.JSYDMJ" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }" placeholder="建设用地面积"></el-input>
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }" ></el-input>
</el-form-item>
</el-col>
......@@ -172,7 +172,7 @@
<p class="label-detail">(WLYDMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.WLYDMJ" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }" placeholder="未利用地面积"></el-input>
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }" ></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -184,7 +184,7 @@
不动产权证号: <br />
<p class="label-detail">(BDCQZH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCQZH" placeholder="不动产权证号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCQZH"></el-input>
</el-form-item>
</el-col>
......@@ -194,7 +194,7 @@
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM" placeholder="区县代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM" ></el-input>
</el-form-item>
</el-col>
......@@ -204,7 +204,7 @@
登记机构: <br />
<p class="label-detail">(DJJG)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJJG" placeholder="登记机构"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJJG" ></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -216,7 +216,7 @@
登簿人: <br />
<p class="label-detail">(DBR)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DBR" placeholder="登簿人"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DBR"></el-input>
</el-form-item>
</el-col>
......@@ -226,7 +226,7 @@
登记时间: <br />
<p class="label-detail">(DJSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" placeholder="选择日期" clearable
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" clearable
v-model="ruleForm.DJSJ" value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
</el-form-item>
</el-col>
......@@ -237,7 +237,7 @@
附记: <br />
<p class="label-detail">(FJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FJ" placeholder="附记"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FJ"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -249,7 +249,7 @@
权属状态: <br />
<p class="label-detail">(QSZT)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QSZT" placeholder="权属状态">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QSZT">
<el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......
......@@ -8,7 +8,7 @@
要素代码: <br />
<p class="label-detail">(YSDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM" placeholder="要素代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -17,7 +17,7 @@
业务号: <br />
<p class="label-detail">(YWH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWH" placeholder="业务号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWH"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -26,7 +26,7 @@
不动产单元号: <br />
<p class="label-detail">(BDCDYH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCDYH" placeholder="不动产单元号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCDYH"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -37,7 +37,7 @@
上次业务号: <br />
<p class="label-detail">(SCYWH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.scYWH" placeholder="上次业务号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.scYWH"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -46,7 +46,7 @@
不动产坐落: <br />
<p class="label-detail">(BDCZL)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCZL" placeholder="不动产坐落"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCZL"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -55,7 +55,7 @@
义务人: <br />
<p class="label-detail">(YWR)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWR" placeholder="义务人"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWR"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -67,7 +67,7 @@
义务人证件种类: <br />
<p class="label-detail">(YWRZJZL)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.YWRZJZL" placeholder="义务人证件种类">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.YWRZJZL">
<el-option v-for="item in dicData['A30']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -80,7 +80,7 @@
义务人证件号: <br />
<p class="label-detail">(YWRZJH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWRZJH" placeholder="义务人证件号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWRZJH"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -89,7 +89,7 @@
预告登记种类: <br />
<p class="label-detail">(YGDJZL)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.YGDJZL" placeholder="预告登记种类">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.YGDJZL">
<el-option v-for="item in dicData['A29']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -103,7 +103,7 @@
登记类型: <br />
<p class="label-detail">(DJLX)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.DJLX" placeholder="登记类型">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.DJLX">
<el-option v-for="item in dicData['A21']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -115,7 +115,7 @@
登记原因: <br />
<p class="label-detail">(DJYY)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJYY" placeholder="登记原因"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJYY"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -124,7 +124,7 @@
土地使用权人: <br />
<p class="label-detail">(TDSYQR)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.TDSYQR" placeholder="土地使用权人"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.TDSYQR"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -135,7 +135,7 @@
规划用途: <br />
<p class="label-detail">(GHYT)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.GHYT" placeholder="规划用途">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.GHYT">
<el-option v-for="item in dicData['A17']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -147,7 +147,7 @@
用途名称: <br />
<p class="label-detail">(YTMC)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YTMC" placeholder="用途名称"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YTMC"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -156,7 +156,7 @@
房屋性质: <br />
<p class="label-detail">(FWXZ)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.FWXZ" placeholder="房屋性质">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.FWXZ">
<el-option v-for="item in dicData['A19']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -170,7 +170,7 @@
房屋性质名称: <br />
<p class="label-detail">(FWXZMC)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FWXZMC" placeholder="房屋性质名称"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FWXZMC"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -179,7 +179,7 @@
房屋结构: <br />
<p class="label-detail">(FWJG)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.FWJG" placeholder="房屋结构">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.FWJG">
<el-option v-for="item in dicData['A46']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -192,7 +192,7 @@
<p class="label-detail">(SZC)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.SZC"
v-only-number="{ max: 99, min: 0, precision: 0 }" placeholder="所在层"></el-input>
v-only-number="{ max: 99, min: 0, precision: 0 }"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -204,7 +204,7 @@
<p class="label-detail">(ZCS)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.ZCS" type="number"
v-only-number="{ max: 9999, min: 0, precision: 0 }" placeholder="总层数"></el-input>
v-only-number="{ max: 9999, min: 0, precision: 0 }"></el-input>
</el-form-item>
</el-col>
......@@ -215,7 +215,7 @@
<p class="label-detail">(JZMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.JZMJ" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 2 }" placeholder="建筑面积"></el-input>
v-only-number="{ max: 999999999999999, min: 0, precision: 2 }"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -225,7 +225,7 @@
<p class="label-detail">(QDJG)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.QDJG" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }" placeholder="取得价格/被担保主债权数额"></el-input>
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -236,7 +236,7 @@
金额单位: <br />
<p class="label-detail">(JEDW)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.JEDW" placeholder="金额单位">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.JEDW">
<el-option v-for="item in dicData['A57']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -248,7 +248,7 @@
担保范围: <br />
<p class="label-detail">(DBFW)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DBFW" placeholder="担保范围">
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DBFW">
</el-input>
</el-form-item>
</el-col>
......@@ -258,8 +258,7 @@
是否存在禁止或限制转让抵押不动产的约定: <br />
<p class="label-detail">(SFCZJZHXZ)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.SFCZJZHXZ"
placeholder="是否存在禁止或限制转让抵押不动产的约定">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.SFCZJZHXZ">
<el-option v-for="item in dicData['A6']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -273,7 +272,7 @@
不动产登记证明号: <br />
<p class="label-detail">(BDCDJZMH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCDJZMH" placeholder="不动产登记证明号">
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCDJZMH">
</el-input>
</el-form-item>
</el-col>
......@@ -284,7 +283,7 @@
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM" placeholder="区县代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -293,7 +292,7 @@
登记机构: <br />
<p class="label-detail">(DJJG)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJJG" placeholder="登记机构"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJJG"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -304,7 +303,7 @@
登簿人: <br />
<p class="label-detail">(DBR)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DBR" placeholder="登簿人"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DBR"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -313,8 +312,8 @@
登记时间: <br />
<p class="label-detail">(DJSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" placeholder="选择日期" clearable
v-model="ruleForm.DJSJ" value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" clearable v-model="ruleForm.DJSJ"
value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -323,7 +322,7 @@
权属状态: <br />
<p class="label-detail">(QSZT)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QSZT" placeholder="权属状态">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QSZT">
<el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -337,7 +336,7 @@
附记: <br />
<p class="label-detail">(FJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FJ" placeholder="附记"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FJ"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -348,7 +347,7 @@
注销预告业务号: <br />
<p class="label-detail">(ZXYGYWH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZXYGYWH" placeholder="注销预告业务号">
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZXYGYWH">
</el-input>
</el-form-item>
</el-col>
......@@ -358,8 +357,8 @@
注销时间: <br />
<p class="label-detail">(ZXSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" placeholder="选择日期" clearable
v-model="ruleForm.ZXSJ" value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" clearable v-model="ruleForm.ZXSJ"
value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -368,7 +367,7 @@
注销预告原因: <br />
<p class="label-detail">(ZXYGYY)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZXYGYY" placeholder="注销预告原因">
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZXYGYY">
</el-input>
</el-form-item>
</el-col>
......
......@@ -8,7 +8,7 @@
要素代码: <br />
<p class="label-detail">(YSDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM" placeholder="要素代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM"></el-input>
</el-form-item>
</el-col>
......@@ -18,7 +18,7 @@
业务号: <br />
<p class="label-detail">(YWH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWH" placeholder="业务号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWH"></el-input>
</el-form-item>
</el-col>
......@@ -28,7 +28,7 @@
不动产单元号: <br />
<p class="label-detail">(BDCDYH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCDYH" placeholder="不动产单元号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCDYH"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -40,7 +40,7 @@
异议事项: <br />
<p class="label-detail">(YYSX)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YYSX" placeholder="异议事项"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YYSX"></el-input>
</el-form-item>
</el-col>
......@@ -50,8 +50,7 @@
不动产登记证明号: <br />
<p class="label-detail">(BDCDJZMH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCDJZMH"
placeholder="不动产登记证明号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCDJZMH"></el-input>
</el-form-item>
</el-col>
......@@ -61,7 +60,7 @@
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM" placeholder="区县代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -73,7 +72,7 @@
登记机构: <br />
<p class="label-detail">(DJJG)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJJG" placeholder="登记机构"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJJG"></el-input>
</el-form-item>
</el-col>
......@@ -83,7 +82,7 @@
登簿人: <br />
<p class="label-detail">(DBR)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DBR" placeholder="登簿人"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DBR"></el-input>
</el-form-item>
</el-col>
......@@ -93,8 +92,8 @@
登记时间: <br />
<p class="label-detail">(DJSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" placeholder="选择日期" clearable
v-model="ruleForm.DJSJ" value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" clearable v-model="ruleForm.DJSJ"
value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
</el-form-item>
</el-col>
</el-row>
......@@ -106,8 +105,7 @@
注销异议业务号: <br />
<p class="label-detail">(ZXYYYWH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZXYYYWH"
placeholder="注销异议业务号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZXYYYWH"></el-input>
</el-form-item>
</el-col>
......@@ -117,7 +115,7 @@
注销异议原因: <br />
<p class="label-detail">(ZXYYYY)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZXYYYY" placeholder="注销异议原因"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZXYYYY"></el-input>
</el-form-item>
</el-col>
......@@ -127,8 +125,7 @@
注销异议登簿人: <br />
<p class="label-detail">(ZXYYDBR)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZXYYDBR"
placeholder="注销异议登簿人"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZXYYDBR"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -140,8 +137,8 @@
注销异议登记时间: <br />
<p class="label-detail">(ZXYYDJSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" placeholder="选择日期" clearable
v-model="ruleForm.ZXYYDJSJ" value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" clearable v-model="ruleForm.ZXYYDJSJ"
value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
</el-form-item>
</el-col>
......@@ -151,7 +148,7 @@
附记: <br />
<p class="label-detail">(FJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FJ" placeholder="附记"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FJ"></el-input>
</el-form-item>
</el-col>
......@@ -161,7 +158,7 @@
权属状态: <br />
<p class="label-detail">(QSZT)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QSZT" placeholder="权属状态">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QSZT">
<el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -174,64 +171,64 @@
</template>
<script>
// 异议登记信息
import qlfQlYydj from '@/api/qlfQlYydj'
import ruleMixin from '@/mixins/ruleMixin.js'
import qlfQlYydj from "@/api/qlfQlYydj";
import ruleMixin from "@/mixins/ruleMixin.js";
export default {
mixins: [ruleMixin],
props: {
bsmSjsb: {
type: String,
default: ''
default: "",
},
bsmYwsjb: {
type: String,
default: ''
}
default: "",
},
},
data () {
data() {
return {
ruleForm: {
YSDM: '',
YWH: '',
BDCDYH: '',
YYSX: '',
BDCDJZMH: '',
QXDM: '',
DJJG: '',
DBR: '',
DJSJ: '',
ZXYYYWH: '',
ZXYYYY: '',
ZXYYDBR: '',
ZXYYDJSJ: '',
FJ: '',
QSZT: ''
}
}
YSDM: "",
YWH: "",
BDCDYH: "",
YYSX: "",
BDCDJZMH: "",
QXDM: "",
DJJG: "",
DBR: "",
DJSJ: "",
ZXYYYWH: "",
ZXYYYY: "",
ZXYYDBR: "",
ZXYYDJSJ: "",
FJ: "",
QSZT: "",
},
};
},
methods: {
async featchData () {
async featchData() {
try {
let { result: res } = await qlfQlYydj.getQlfQlYydjById(this.bsmSjsb)
this.ruleForm = res
let { result: res } = await qlfQlYydj.getQlfQlYydjById(this.bsmSjsb);
this.ruleForm = res;
//this.featchRule()
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
},
handleUpdateForm () {
handleUpdateForm() {
return new Promise(async (resolve) => {
try {
let res = await qlfQlYydj.updateQlfQlYydj(this.ruleForm)
let res = await qlfQlYydj.updateQlfQlYydj(this.ruleForm);
// this.$refs['formList'].resetFields();
resolve(res.code)
resolve(res.code);
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
})
}
}
}
});
},
},
};
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
......
......@@ -8,7 +8,7 @@
要素代码: <br />
<p class="label-detail">(YSDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM" placeholder="要素代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM"></el-input>
</el-form-item>
</el-col>
......@@ -18,7 +18,7 @@
业务号: <br />
<p class="label-detail">(YWH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWH" placeholder="业务号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWH"></el-input>
</el-form-item>
</el-col>
......@@ -28,7 +28,7 @@
不动产单元号: <br />
<p class="label-detail">(BDCDYH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCDYH" placeholder="不动产单元号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCDYH"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -40,7 +40,7 @@
不动产权证号: <br />
<p class="label-detail">(BDCQZH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCQZH" placeholder="不动产权证号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCQZH"></el-input>
</el-form-item>
</el-col>
......@@ -50,7 +50,7 @@
注销业务号: <br />
<p class="label-detail">(ZXYWH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZXYWH" placeholder="注销业务号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZXYWH"></el-input>
</el-form-item>
</el-col>
......@@ -60,8 +60,8 @@
注销时间: <br />
<p class="label-detail">(ZXSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="date" placeholder="选择日期" clearable
v-model="ruleForm.ZXSJ" value-format="yyyy-MM-dd"></el-date-picker>
<el-date-picker :disabled="$store.state.business.Edit" type="date" clearable v-model="ruleForm.ZXSJ"
value-format="yyyy-MM-dd"></el-date-picker>
</el-form-item>
</el-col>
</el-row>
......@@ -72,7 +72,7 @@
不动产权证明号: <br />
<p class="label-detail">(BDCQZMH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCQZMH" placeholder="不动产权证明号">
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCQZMH">
</el-input>
</el-form-item>
</el-col>
......@@ -82,7 +82,7 @@
权利类型: <br />
<p class="label-detail">(QLLX)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QLLX" placeholder="权利类型">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QLLX">
<el-option v-for="item in dicData['A8']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -94,7 +94,7 @@
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM" placeholder="区县代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -105,7 +105,7 @@
登记机构: <br />
<p class="label-detail">(DJJG)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJJG" placeholder="登记机构"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJJG"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -114,7 +114,7 @@
登簿人:<br />
<p class="label-detail">(DBR)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DBR" placeholder="登簿人"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DBR"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -123,8 +123,8 @@
登记时间: <br />
<p class="label-detail">(DJSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="date" placeholder="选择日期" clearable
v-model="ruleForm.DJSJ" value-format="yyyy-MM-dd"></el-date-picker>
<el-date-picker :disabled="$store.state.business.Edit" type="date" clearable v-model="ruleForm.DJSJ"
value-format="yyyy-MM-dd"></el-date-picker>
</el-form-item>
</el-col>
</el-row>
......@@ -135,7 +135,7 @@
备注: <br />
<p class="label-detail">(BZ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BZ" placeholder="备注"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BZ"></el-input>
</el-form-item>
</el-col>
</el-row>
......
......@@ -8,7 +8,7 @@
要素代码: <br />
<p class="label-detail">(YSDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM" placeholder="要素代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM" ></el-input>
</el-form-item>
</el-col>
......@@ -18,7 +18,7 @@
不动产单元号: <br />
<p class="label-detail">(BDCDYH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCDYH" placeholder="不动产单元号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCDYH" ></el-input>
</el-form-item>
</el-col>
......@@ -28,7 +28,7 @@
房地坐落: <br />
<p class="label-detail">(FDZL)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FDZL" placeholder="房地坐落"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FDZL" ></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -40,7 +40,7 @@
业务号: <br />
<p class="label-detail">(YWH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWH" placeholder="业务号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWH"></el-input>
</el-form-item>
</el-col>
......@@ -50,7 +50,7 @@
权利类型: <br />
<p class="label-detail">(QLLX)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QLLX" placeholder="权利类型">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QLLX" >
<el-option v-for="item in dicData['A8']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -63,7 +63,7 @@
登记类型: <br />
<p class="label-detail">(DJLX)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.DJLX" placeholder="登记类型">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.DJLX" >
<el-option v-for="item in dicData['A21']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -78,7 +78,7 @@
登记原因: <br />
<p class="label-detail">(DJYY)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJYY" placeholder="登记原因"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJYY" ></el-input>
</el-form-item>
</el-col>
......@@ -88,7 +88,7 @@
土地使用权人: <br />
<p class="label-detail">(TDSYQR)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.TDSYQR" placeholder="土地使用权人"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.TDSYQR" ></el-input>
</el-form-item>
</el-col>
......@@ -98,7 +98,7 @@
独用土地面积: <br />
<p class="label-detail">(DYJZMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.DYJZMJ" placeholder="独用土地面积"
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.DYJZMJ"
type="number" v-only-number="{ max: 999999999999999, min: 0, precision: 2 }"></el-input>
</el-form-item>
</el-col>
......@@ -111,7 +111,7 @@
分摊土地面积: <br />
<p class="label-detail">(FTJZMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.FTJZMJ" placeholder="分摊土地面积"
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.FTJZMJ"
type="number" v-only-number="{ max: 999999999999999, min: 0, precision: 2 }"></el-input>
</el-form-item>
</el-col>
......@@ -122,7 +122,7 @@
土地使用起始时间: <br />
<p class="label-detail">(TDSYQSSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="date" placeholder="土地使用起始时间"
<el-date-picker :disabled="$store.state.business.Edit" type="date"
:picker-options="pickerOptionsStart" clearable v-model="ruleForm.TDSYQSSJ"
value-format="yyyy-MM-dd"></el-date-picker>
</el-form-item>
......@@ -134,7 +134,7 @@
土地使用结束时间: <br />
<p class="label-detail">(TDSYJSSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="date" placeholder="土地使用结束时间"
<el-date-picker :disabled="$store.state.business.Edit" type="date"
:picker-options="pickerOptionsEnd" clearable v-model="ruleForm.TDSYJSSJ"
value-format="yyyy-MM-dd"></el-date-picker>
</el-form-item>
......@@ -149,7 +149,7 @@
<p class="label-detail">(FDCJYJG)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.FDCJYJG" type="number"
placeholder="房地产交易价格" v-only-number="{ max: 999999999999999, min: 0, precision: 4 }"></el-input>
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }"></el-input>
</el-form-item>
</el-col>
......@@ -159,7 +159,7 @@
不动产权证号: <br />
<p class="label-detail">(BDCQZH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCQZH" placeholder="不动产权证号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCQZH"></el-input>
</el-form-item>
</el-col>
......@@ -169,7 +169,7 @@
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM" placeholder="区县代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM" ></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -181,7 +181,7 @@
登记机构:<br />
<p class="label-detail">(DJJG)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJJG" placeholder="登记机构"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJJG" ></el-input>
</el-form-item>
</el-col>
......@@ -191,7 +191,7 @@
登簿人: <br />
<p class="label-detail">(DBR)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DBR" placeholder="登簿人"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DBR" ></el-input>
</el-form-item>
</el-col>
......@@ -201,7 +201,7 @@
登记时间: <br />
<p class="label-detail">(DJSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" placeholder="选择日期" clearable v-model="ruleForm.DJSJ"
<el-date-picker :disabled="$store.state.business.Edit" clearable v-model="ruleForm.DJSJ"
value-format="yyyy-MM-dd">
</el-date-picker>
</el-form-item>
......@@ -215,7 +215,7 @@
附记: <br />
<p class="label-detail">(FJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FJ" placeholder="附记"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FJ"></el-input>
</el-form-item>
</el-col>
......@@ -225,7 +225,7 @@
房产分户图: <br />
<p class="label-detail">(FCFHT)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FCFHT" placeholder="房产分户图"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FCFHT"></el-input>
</el-form-item>
</el-col>
......@@ -235,7 +235,7 @@
权属状态: <br />
<p class="label-detail">(QSZT)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QSZT" placeholder="权属状态">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QSZT" >
<el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......
......@@ -8,8 +8,7 @@
要素代码: <br />
<p class="label-detail">(YSDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ysdm" maxlength="10"
placeholder="要素代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ysdm" maxlength="10"></el-input>
</el-form-item>
</el-col>
......@@ -19,8 +18,7 @@
不动产单元号: <br />
<p class="label-detail">(BDCDYH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.bdcdyh" maxlength="28"
placeholder="不动产单元号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.bdcdyh" maxlength="28"></el-input>
</el-form-item>
</el-col>
......@@ -30,8 +28,7 @@
业务号: <br />
<p class="label-detail">(YWH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ywh" maxlength="20"
placeholder="业务号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ywh" maxlength="20"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -43,7 +40,7 @@
权利类型: <br />
<p class="label-detail">(QLLX)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.qllx" placeholder="权利类型">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.qllx">
<el-option v-for="item in dicData['A8']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -56,7 +53,7 @@
登记类型: <br />
<p class="label-detail">(DJLX)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.djlx" placeholder="登记类型">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.djlx">
<el-option v-for="item in dicData['A21']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -69,7 +66,7 @@
登记原因: <br />
<p class="label-detail">(DJYY)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.djyy" placeholder="登记原因"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.djyy"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -81,7 +78,7 @@
房地坐落: <br />
<p class="label-detail">(FDZL)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.fdzl" placeholder="房地坐落"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.fdzl"></el-input>
</el-form-item>
</el-col>
......@@ -91,7 +88,7 @@
土地使用权人: <br />
<p class="label-detail">(TDSYQR)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.tdsyqr" placeholder="土地使用权人"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.tdsyqr"></el-input>
</el-form-item>
</el-col>
......@@ -101,8 +98,9 @@
独用土地面积: <br />
<p class="label-detail">(DYTDMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-only-number="{ max: 999999999999999, min: 0, precision: 2 }"
placeholder="独用土地面积" type="number" v-model.number="ruleForm.dytdmj"></el-input>
<el-input :disabled="$store.state.business.Edit"
v-only-number="{ max: 999999999999999, min: 0, precision: 2 }" type="number"
v-model.number="ruleForm.dytdmj"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -115,8 +113,9 @@
分摊土地面积: <br />
<p class="label-detail">(FTTDMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-only-number="{ max: 999999999999999, min: 0, precision: 2 }"
placeholder="分摊土地面积" type="number" v-model.number="ruleForm.fttdmj"></el-input>
<el-input :disabled="$store.state.business.Edit"
v-only-number="{ max: 999999999999999, min: 0, precision: 2 }" type="number"
v-model.number="ruleForm.fttdmj"></el-input>
</el-form-item>
</el-col>
......@@ -126,8 +125,8 @@
土地使用起始时间: <br />
<p class="label-detail">(TDSYQSSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="date" placeholder="选择日期" clearable
v-model="ruleForm.tdsyqssj" value-format="yyyy-MM-dd"></el-date-picker>
<el-date-picker :disabled="$store.state.business.Edit" type="date" clearable v-model="ruleForm.tdsyqssj"
value-format="yyyy-MM-dd"></el-date-picker>
</el-form-item>
</el-col>
......@@ -137,8 +136,8 @@
土地使用结束时间: <br />
<p class="label-detail">(TDSYJSSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="date" placeholder="选择日期" clearable
v-model="ruleForm.tdsyjssj" value-format="yyyy-MM-dd"></el-date-picker>
<el-date-picker :disabled="$store.state.business.Edit" type="date" clearable v-model="ruleForm.tdsyjssj"
value-format="yyyy-MM-dd"></el-date-picker>
</el-form-item>
</el-col>
</el-row>
......@@ -150,8 +149,8 @@
房地产交易价格: <br />
<p class="label-detail">(FDCJYJG)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.fdcjyjg" placeholder="房地产交易价格"
type="number" v-only-number="{ max: 999999999999999, min: 0, precision: 4 }"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.fdcjyjg" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }"></el-input>
</el-form-item>
</el-col>
......@@ -161,7 +160,7 @@
规划用途: <br />
<p class="label-detail">(GHYT)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.ghyt" placeholder="规划用途">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.ghyt">
<el-option v-for="item in dicData['A17']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -174,7 +173,7 @@
房屋性质: <br />
<p class="label-detail">(FWXZ)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.fwxz" placeholder="房屋性质">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.fwxz">
<el-option v-for="item in dicData['A19']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -189,7 +188,7 @@
房屋结构: <br />
<p class="label-detail">(FWJG)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.fwjg" placeholder="房屋结构">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.fwjg">
<el-option v-for="item in dicData['A46']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -202,7 +201,7 @@
所在层: <br />
<p class="label-detail">(SZC)</p>
</span>
<el-input :disabled="$store.state.business.Edit" placeholder="所在层" v-model="ruleForm.szc"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.szc"></el-input>
</el-form-item>
</el-col>
......@@ -213,7 +212,7 @@
<p class="label-detail">(ZCS)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.zcs" type="number"
v-only-number="{ max: 9999, min: 0, precision: 0 }" placeholder="总层数"></el-input>
v-only-number="{ max: 9999, min: 0, precision: 0 }"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -226,8 +225,9 @@
建筑面积: <br />
<p class="label-detail">(JZMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-only-number="{ max: 999999999999999, min: 0, precision: 2 }"
placeholder="建筑面积" type="number" v-model.number="ruleForm.jzmj"></el-input>
<el-input :disabled="$store.state.business.Edit"
v-only-number="{ max: 999999999999999, min: 0, precision: 2 }" type="number"
v-model.number="ruleForm.jzmj"></el-input>
</el-form-item>
</el-col>
......@@ -237,8 +237,9 @@
专有建筑面积: <br />
<p class="label-detail">(ZYJZMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-only-number="{ max: 999999999999999, min: 0, precision: 2 }"
placeholder="专有建筑面积" type="number" v-model.number="ruleForm.zyjzmj"></el-input>
<el-input :disabled="$store.state.business.Edit"
v-only-number="{ max: 999999999999999, min: 0, precision: 2 }" type="number"
v-model.number="ruleForm.zyjzmj"></el-input>
</el-form-item>
</el-col>
......@@ -248,8 +249,9 @@
分摊建筑面积: <br />
<p class="label-detail">(FTJZMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-only-number="{ max: 999999999999999, min: 0, precision: 2 }"
placeholder="分摊建筑面积" type="number" v-model.number="ruleForm.ftjzmj"></el-input>
<el-input :disabled="$store.state.business.Edit"
v-only-number="{ max: 999999999999999, min: 0, precision: 2 }" type="number"
v-model.number="ruleForm.ftjzmj"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -261,8 +263,8 @@
竣工时间: <br />
<p class="label-detail">(JGSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="date" placeholder="选择日期" clearable
v-model="ruleForm.jgsj" value-format="yyyy-MM-dd"></el-date-picker>
<el-date-picker :disabled="$store.state.business.Edit" type="date" clearable v-model="ruleForm.jgsj"
value-format="yyyy-MM-dd"></el-date-picker>
</el-form-item>
</el-col>
......@@ -272,7 +274,7 @@
不动产权证号: <br />
<p class="label-detail">(BDCQZH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.bdcqzh" placeholder="不动产权证号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.bdcqzh"></el-input>
</el-form-item>
</el-col>
......@@ -282,7 +284,7 @@
登簿人: <br />
<p class="label-detail">(DBR)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.dbr" placeholder="登簿人"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.dbr"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -294,8 +296,8 @@
登记时间: <br />
<p class="label-detail">(DJSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="date" placeholder="选择日期" clearable
v-model="ruleForm.DJSJ" value-format="yyyy-MM-dd"></el-date-picker>
<el-date-picker :disabled="$store.state.business.Edit" type="date" clearable v-model="ruleForm.djsj"
value-format="yyyy-MM-dd"></el-date-picker>
</el-form-item>
</el-col>
......@@ -305,7 +307,7 @@
附记: <br />
<p class="label-detail">(FJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.fj" placeholder="附记"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.fj"></el-input>
</el-form-item>
</el-col>
......@@ -315,7 +317,7 @@
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.qxdm" placeholder="区县代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.qxdm"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -327,7 +329,7 @@
登记机构: <br />
<p class="label-detail">(DJJG)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.djjg" placeholder="登记机构"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.djjg"></el-input>
</el-form-item>
</el-col>
......@@ -337,7 +339,7 @@
权属状态: <br />
<p class="label-detail">(QSZT)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.qszt" placeholder="权属状态">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.qszt">
<el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -350,79 +352,81 @@
</div>
</template>
<script>
import qltFwFdcqYz from '@/api/qltFwFdcqYz'
import ruleMixin from '@/mixins/ruleMixin.js'
import qltFwFdcqYz from "@/api/qltFwFdcqYz";
import ruleMixin from "@/mixins/ruleMixin.js";
// 房地产权_独幢
export default {
mixins: [ruleMixin],
props: {
bsmSjsb: {
type: String,
default: ''
default: "",
},
bsmYwsjb: {
type: String,
default: ''
}
default: "",
},
},
data () {
data() {
return {
ruleForm: {
YSDM: '',
BDCDYH: '',
YWH: '',
QLLX: '',
DJLX: '',
DJYY: '',
FDZL: '',
TDSYQR: '',
DYTDMJ: '',
FTTDMJ: '',
TDSYQSSJ: '',
TDSYJSSJ: '',
FDCJYJG: '',
GHYT: '',
FWXZ: '',
FWJG: '',
SZC: '',
ZCS: '',
JZMJ: '',
ZYJZMJ: '',
FTJZMJ: '',
JGSJ: '',
BDCQZH: '',
DBR: '',
DJSJ: '',
FJ: '',
QXDM: '',
DJJG: '',
QSZT: ''
}
}
YSDM: "",
BDCDYH: "",
YWH: "",
QLLX: "",
DJLX: "",
DJYY: "",
FDZL: "",
TDSYQR: "",
DYTDMJ: "",
FTTDMJ: "",
TDSYQSSJ: "",
TDSYJSSJ: "",
FDCJYJG: "",
GHYT: "",
FWXZ: "",
FWJG: "",
SZC: "",
ZCS: "",
JZMJ: "",
ZYJZMJ: "",
FTJZMJ: "",
JGSJ: "",
BDCQZH: "",
DBR: "",
DJSJ: "",
FJ: "",
QXDM: "",
DJJG: "",
QSZT: "",
},
};
},
methods: {
async featchData () {
async featchData() {
try {
let { result: res } = await qltFwFdcqYz.getQltFwFdcqYzById(this.bsmSjsb)
this.ruleForm = res
let { result: res } = await qltFwFdcqYz.getQltFwFdcqYzById(
this.bsmSjsb
);
this.ruleForm = res;
//this.featchRule()
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
},
handleUpdateForm () {
handleUpdateForm() {
return new Promise(async (resolve) => {
try {
let res = await qltFwFdcqYz.updateQltFwFdcqYz(this.ruleForm)
let res = await qltFwFdcqYz.updateQltFwFdcqYz(this.ruleForm);
// this.$refs['formList'].resetFields();
resolve(res.code)
resolve(res.code);
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
})
}
}
}
});
},
},
};
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
......
......@@ -8,8 +8,7 @@
要素代码: <br />
<p class="label-detail">(YSDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM" maxlength="10"
placeholder="要素代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM" maxlength="10"></el-input>
</el-form-item>
</el-col>
......@@ -19,8 +18,7 @@
业务号: <br />
<p class="label-detail">(YWH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWH" maxlength="20"
placeholder="业务号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWH" maxlength="20"></el-input>
</el-form-item>
</el-col>
......@@ -30,8 +28,7 @@
不动产单元号: <br />
<p class="label-detail">(BDCDYH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCDYH" maxlength="28"
placeholder="不动产单元号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCDYH" maxlength="28"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -43,7 +40,7 @@
权利类型: <br />
<p class="label-detail">(QLLX)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QLLX" placeholder="权利类型">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QLLX">
<el-option v-for="item in dicData['A8']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -56,7 +53,7 @@
登记类型: <br />
<p class="label-detail">(DJLX)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.DJLX" placeholder="登记类型">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.DJLX">
<el-option v-for="item in dicData['A21']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -69,7 +66,7 @@
登记原因: <br />
<p class="label-detail">(DJYY)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJYY" placeholder="登记原因"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJYY"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -81,7 +78,7 @@
坐落: <br />
<p class="label-detail">(ZL)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZL" placeholder="坐落"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZL"></el-input>
</el-form-item>
</el-col>
......@@ -91,8 +88,8 @@
土地/海域使用权人: <br />
<p class="label-detail">(TDHYSYQR)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.TDHYSYQR"
placeholder="土地/海域使用权人"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.TDHYSYQR" placeholder="土地/海域使用权人">
</el-input>
</el-form-item>
</el-col>
......@@ -103,7 +100,7 @@
<p class="label-detail">(TDHYSYMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.TDHYSYMJ" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 2 }" placeholder="土地/海域使用面积"></el-input>
v-only-number="{ max: 999999999999999, min: 0, precision: 2 }"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -115,9 +112,8 @@
土地/海域使用起始时间: <br />
<p class="label-detail">(TDHYSYQSSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" placeholder="土地/海域使用起始时间"
:picker-options="pickerOptionsStart" clearable v-model="ruleForm.TDHYSYQSSJ"
value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" :picker-options="pickerOptionsStart"
clearable v-model="ruleForm.TDHYSYQSSJ" value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
</el-form-item>
</el-col>
......@@ -127,7 +123,7 @@
土地/海域使用结束时间: <br />
<p class="label-detail">(TDHYSYJSSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" placeholder="土地/海域使用结束时间" clearable
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" clearable
:picker-options="pickerOptionsEnd" v-model="ruleForm.TDHYSYJSSJ" value-format="yyyy-MM-dd HH:mm:ss">
</el-date-picker>
</el-form-item>
......@@ -139,7 +135,7 @@
构(建)筑物类型: <br />
<p class="label-detail">(GJZWLX)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.GJZWLX" placeholder="构(建)筑物类型">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.GJZWLX">
<el-option v-for="item in dicData['A25']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -154,8 +150,7 @@
构(建)筑物规划用途: <br />
<p class="label-detail">(GJZWGHYT)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.GJZWGHYT"
placeholder="构(建)筑物规划用途"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.GJZWGHYT"></el-input>
</el-form-item>
</el-col>
......@@ -166,7 +161,7 @@
<p class="label-detail">(GJZWMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.GJZWMJ" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 2 }" placeholder="构(建)筑物面积"></el-input>
v-only-number="{ max: 999999999999999, min: 0, precision: 2 }"></el-input>
</el-form-item>
</el-col>
......@@ -176,8 +171,8 @@
竣工时间: <br />
<p class="label-detail">(JGSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" placeholder="竣工时间" clearable
v-model="ruleForm.jgsj" value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" clearable v-model="ruleForm.jgsj"
value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
</el-form-item>
</el-col>
</el-row>
......@@ -189,7 +184,7 @@
不动产权证号: <br />
<p class="label-detail">(BDCQZH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCQZH" placeholder="不动产权证号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCQZH"></el-input>
</el-form-item>
</el-col>
......@@ -199,7 +194,7 @@
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM" placeholder="区县代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM"></el-input>
</el-form-item>
</el-col>
......@@ -209,7 +204,7 @@
登记机构: <br />
<p class="label-detail">(DJJG)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJJG" placeholder="登记机构"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJJG"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -221,7 +216,7 @@
登簿人: <br />
<p class="label-detail">(DBR)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DBR" placeholder="登簿人"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DBR"></el-input>
</el-form-item>
</el-col>
......@@ -231,8 +226,8 @@
登记时间: <br />
<p class="label-detail">(DJSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="date" placeholder="选择日期" clearable
v-model="ruleForm.DJSJ" value-format="yyyy-MM-dd"></el-date-picker>
<el-date-picker :disabled="$store.state.business.Edit" type="date" clearable v-model="ruleForm.DJSJ"
value-format="yyyy-MM-dd"></el-date-picker>
</el-form-item>
</el-col>
......@@ -242,7 +237,7 @@
附记: <br />
<p class="label-detail">(FJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FJ" placeholder="附记"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FJ"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -254,8 +249,8 @@
构(建)筑物平面图: <br />
<p class="label-detail">(GJZWPMT)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.GJZWPMT"
placeholder="构(建)筑物平面图"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.GJZWPMT" placeholder="构(建)筑物平面图">
</el-input>
</el-form-item>
</el-col>
......@@ -265,7 +260,7 @@
权属状态: <br />
<p class="label-detail">(QSZT)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QSZT" placeholder="权属状态">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QSZT">
<el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -278,92 +273,91 @@
</template>
<script>
// 构(建)筑物所有权信息
import qltQlGjzwsyq from '@/api/qltQlGjzwsyq'
import ruleMixin from '@/mixins/ruleMixin.js'
import qltQlGjzwsyq from "@/api/qltQlGjzwsyq";
import ruleMixin from "@/mixins/ruleMixin.js";
export default {
mixins: [ruleMixin],
props: {
bsmSjsb: {
type: String,
default: ''
default: "",
},
bsmYwsjb: {
type: String,
default: ''
}
default: "",
},
},
data () {
data() {
return {
pickerOptionsStart: {
// 禁止选择
disabledDate: time => {
disabledDate: (time) => {
let endDateVal = this.ruleForm.TDHYSYJSSJ;
if (endDateVal) {
return time.getTime() > new Date(endDateVal).getTime();
}
}
},
},
pickerOptionsEnd: {
disabledDate: time => {
disabledDate: (time) => {
let beginDateVal = this.ruleForm.TDHYSYQSSJ;
if (beginDateVal) {
return (
time.getTime() <
new Date(beginDateVal).getTime()
);
}
return time.getTime() < new Date(beginDateVal).getTime();
}
},
},
ruleForm: {
YSDM: '',
YWH: '',
BDCDYH: '',
QLLX: '',
DJLX: '',
DJYY: '',
ZL: '',
TDHYSYQR: '',
TDHYSYMJ: '',
TDHYSYQSSJ: '',
TDHYSYJSSJ: '',
GJZWLX: '',
GJZWGHYT: '',
GJZWMJ: '',
jgsj: '',
BDCQZH: '',
QXDM: '',
DJJG: '',
DBR: '',
DJSJ: '',
FJ: '',
GJZWPMT: '',
QSZT: ''
}
}
YSDM: "",
YWH: "",
BDCDYH: "",
QLLX: "",
DJLX: "",
DJYY: "",
ZL: "",
TDHYSYQR: "",
TDHYSYMJ: "",
TDHYSYQSSJ: "",
TDHYSYJSSJ: "",
GJZWLX: "",
GJZWGHYT: "",
GJZWMJ: "",
jgsj: "",
BDCQZH: "",
QXDM: "",
DJJG: "",
DBR: "",
DJSJ: "",
FJ: "",
GJZWPMT: "",
QSZT: "",
},
};
},
methods: {
async featchData () {
async featchData() {
try {
let { result: res } = await qltQlGjzwsyq.getQltQlGjzwsyqById(this.bsmSjsb)
this.ruleForm = res
let { result: res } = await qltQlGjzwsyq.getQltQlGjzwsyqById(
this.bsmSjsb
);
this.ruleForm = res;
//this.featchRule()
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
},
handleUpdateForm () {
handleUpdateForm() {
return new Promise(async (resolve) => {
try {
let res = await qltQlGjzwsyq.updateQltQlGjzwsyq(this.ruleForm)
let res = await qltQlGjzwsyq.updateQltQlGjzwsyq(this.ruleForm);
// this.$refs['formList'].resetFields();
resolve(res.code)
resolve(res.code);
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
})
});
},
}
}
},
};
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
......
......@@ -8,8 +8,7 @@
要素代码: <br />
<p class="label-detail">(YSDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM" maxlength="10"
placeholder="要素代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM" maxlength="10"></el-input>
</el-form-item>
</el-col>
......@@ -19,8 +18,7 @@
不动产单元号: <br />
<p class="label-detail">(BDCDYH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCDYH" maxlength="28"
placeholder="不动产单元号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCDYH" maxlength="28"></el-input>
</el-form-item>
</el-col>
......@@ -30,8 +28,7 @@
业务号: <br />
<p class="label-detail">(YWH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWH" maxlength="20"
placeholder="业务号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWH" maxlength="20"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -43,7 +40,7 @@
权利类型: <br />
<p class="label-detail">(QLLX)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QLLX" placeholder="权利类型">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QLLX">
<el-option v-for="item in dicData['A8']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -56,7 +53,7 @@
登记类型: <br />
<p class="label-detail">(DJLX)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.DJLX" placeholder="登记类型">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.DJLX">
<el-option v-for="item in dicData['A21']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -69,7 +66,7 @@
登记原因: <br />
<p class="label-detail">(DJYY)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJYY" placeholder="登记原因"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJYY"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -81,7 +78,7 @@
发包方: <br />
<p class="label-detail">(FBF)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FBF" placeholder="发包方"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FBF"></el-input>
</el-form-item>
</el-col>
......@@ -92,7 +89,7 @@
<p class="label-detail">(SYQMJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.SYQMJ" type="number"
placeholder="使用权(承包)面积" v-only-number="{ max: 999999999999999, min: 0, precision: 4 }"></el-input>
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }"></el-input>
</el-form-item>
</el-col>
......@@ -102,8 +99,8 @@
林地使用(承包)起始时间: <br />
<p class="label-detail">(LDSYQSSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" placeholder="林地使用(承包)起始时间" type="datetime" clearable
v-model="ruleForm.LDSYQSSJ" value-format="yyyy-MM-dd HH:mm:ss">
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" clearable v-model="ruleForm.LDSYQSSJ"
value-format="yyyy-MM-dd HH:mm:ss">
</el-date-picker>
</el-form-item>
</el-col>
......@@ -116,8 +113,8 @@
林地使用(承包)结束时间: <br />
<p class="label-detail">(LDSYJSSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" placeholder="林地使用(承包)结束时间" type="datetime" clearable
v-model="ruleForm.LDSYJSSJ" value-format="yyyy-MM-dd HH:mm:ss">
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" clearable v-model="ruleForm.LDSYJSSJ"
value-format="yyyy-MM-dd HH:mm:ss">
</el-date-picker>
</el-form-item>
</el-col>
......@@ -128,7 +125,7 @@
林地所有权性质: <br />
<p class="label-detail">(LDSYQXZ)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.LDSYQXZ" placeholder="林地所有权性质">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.LDSYQXZ">
<el-option v-for="item in dicData['A45']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -141,8 +138,8 @@
森林林木所有权人1: <br />
<p class="label-detail">(SLLMSYQR1)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.SLLMSYQR1"
placeholder="森林林木所有权人"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.SLLMSYQR1">
</el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -154,8 +151,8 @@
森林林木使用权人2: <br />
<p class="label-detail">(SLLMSYQR2)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.SLLMSYQR2"
placeholder="森林林木使用权人2"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.SLLMSYQR2">
</el-input>
</el-form-item>
</el-col>
......@@ -165,7 +162,7 @@
主要树种: <br />
<p class="label-detail">(ZYSZ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZYSZ" placeholder="主要树种"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZYSZ"></el-input>
</el-form-item>
</el-col>
......@@ -175,8 +172,9 @@
株数: <br />
<p class="label-detail">(ZS)</p>
</span>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit" v-model.number="ruleForm.ZS" type="number"
v-only-number="{ max: 9999999999, min: 0, precision: 0 }" placeholder="株数"></el-input-number>
<el-input-number controls-position="right" :disabled="$store.state.business.Edit"
v-model.number="ruleForm.ZS" type="number" v-only-number="{ max: 9999999999, min: 0, precision: 0 }"
placeholder="株数"></el-input-number>
</el-form-item>
</el-col>
</el-row>
......@@ -188,7 +186,7 @@
林种: <br />
<p class="label-detail">(LZ)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.LZ" placeholder="林种">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.LZ">
<el-option v-for="item in dicData['A26']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -200,7 +198,7 @@
起源: <br />
<p class="label-detail">(QY)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QY" placeholder="起源">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QY">
<el-option v-for="item in dicData['A52']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -214,7 +212,7 @@
<p class="label-detail">(ZLND)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.ZLND" type="number"
v-only-number="{ max: 9999, min: 0, precision: 0 }" placeholder="造林年度"></el-input>
v-only-number="{ max: 9999, min: 0, precision: 0 }"></el-input>
</el-form-item>
</el-col>
......@@ -227,7 +225,7 @@
林班: <br />
<p class="label-detail">(LB)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.LB" placeholder="林班"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.LB"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -236,7 +234,7 @@
小班: <br />
<p class="label-detail">(XB)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.XB" placeholder="小班"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.XB"></el-input>
</el-form-item>
</el-col>
......@@ -246,7 +244,7 @@
小地名: <br />
<p class="label-detail">(XDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.XDM" placeholder="小地名"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.XDM"></el-input>
</el-form-item>
</el-col>
......@@ -259,7 +257,7 @@
不动产权证号: <br />
<p class="label-detail">(BDCQZH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCQZH" placeholder="不动产权证号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCQZH"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -268,7 +266,7 @@
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM" placeholder="区县代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM"></el-input>
</el-form-item>
</el-col>
......@@ -278,7 +276,7 @@
登记机构: <br />
<p class="label-detail">(DJJG)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJJG" placeholder="登记机构"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJJG"></el-input>
</el-form-item>
</el-col>
......@@ -291,7 +289,7 @@
登簿人: <br />
<p class="label-detail">(DBR)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DBR" placeholder="登簿人"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DBR"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -300,7 +298,7 @@
登记时间: <br />
<p class="label-detail">(DJSJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJSJ" placeholder="登记时间"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJSJ"></el-input>
</el-form-item>
</el-col>
......@@ -310,7 +308,7 @@
附记: <br />
<p class="label-detail">(FJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FJ" placeholder="附记"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FJ"></el-input>
</el-form-item>
</el-col>
......@@ -323,7 +321,7 @@
权属状态: <br />
<p class="label-detail">(QSZT)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QSZT" placeholder="权属状态">
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QSZT">
<el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -336,77 +334,77 @@
</template>
<script>
// 林权
import qltQlLq from '@/api/qltQlLq'
import ruleMixin from '@/mixins/ruleMixin.js'
import qltQlLq from "@/api/qltQlLq";
import ruleMixin from "@/mixins/ruleMixin.js";
export default {
mixins: [ruleMixin],
props: {
bsmSjsb: {
type: String,
default: ''
default: "",
},
bsmYwsjb: {
type: String,
default: ''
}
default: "",
},
},
data () {
data() {
return {
ruleForm: {
YSDM: '',
BDCDYH: '',
YWH: '',
QLLX: '',
DJLX: '',
DJYY: '',
FBF: '',
SYQMJ: '',
LDSYQSSJ: '',
LDSYJSSJ: '',
LDSYQXZ: '',
SLLMSYQR1: '',
SLLMSYQR2: '',
ZYSZ: '',
ZS: '',
LZ: '',
QY: '',
ZLND: '',
LB: '',
XB: '',
XDM: '',
BDCQZH: '',
QXDM: '',
DJJG: '',
DBR: '',
DJSJ: '',
FJ: '',
QSZT: ''
}
}
YSDM: "",
BDCDYH: "",
YWH: "",
QLLX: "",
DJLX: "",
DJYY: "",
FBF: "",
SYQMJ: "",
LDSYQSSJ: "",
LDSYJSSJ: "",
LDSYQXZ: "",
SLLMSYQR1: "",
SLLMSYQR2: "",
ZYSZ: "",
ZS: "",
LZ: "",
QY: "",
ZLND: "",
LB: "",
XB: "",
XDM: "",
BDCQZH: "",
QXDM: "",
DJJG: "",
DBR: "",
DJSJ: "",
FJ: "",
QSZT: "",
},
};
},
methods: {
async featchData () {
async featchData() {
try {
let { result: res } = await qltQlLq.getQltQlLqById(this.bsmSjsb)
this.ruleForm = res
let { result: res } = await qltQlLq.getQltQlLqById(this.bsmSjsb);
this.ruleForm = res;
//this.featchRule()
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
},
handleUpdateForm () {
handleUpdateForm() {
return new Promise(async (resolve, reject) => {
try {
let res = await qltQlLq.updateQltQlLq(this.ruleForm)
let res = await qltQlLq.updateQltQlLq(this.ruleForm);
// this.$refs['formList'].resetFields();
resolve(res.code)
resolve(res.code);
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
})
}
}
}
});
},
},
};
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
......
......@@ -11,7 +11,7 @@
序号: <br />
<p class="label-detail">(XH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm[index].xh" placeholder="序号">
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm[index].xh">
</el-input>
</el-form-item>
</el-col>
......@@ -23,7 +23,7 @@
空间类型: <br />
<p class="label-detail">(KJLX)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm[index].kjlx" placeholder="空间类型">
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm[index].kjlx">
</el-input>
</el-form-item>
</el-col>
......@@ -33,7 +33,7 @@
子对象: <br />
<p class="label-detail">(ZDX)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm[index].zdx" placeholder="子对象">
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm[index].zdx">
</el-input>
</el-form-item>
</el-col>
......@@ -43,7 +43,7 @@
不动产单元号: <br />
<p class="label-detail">(BDCDYH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm[index].bdcdyh" placeholder="不动产单元号">
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm[index].bdcdyh">
</el-input>
</el-form-item>
</el-col>
......@@ -55,7 +55,7 @@
X坐标: <br />
<p class="label-detail">(XZB)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm[index].xzb" placeholder="X坐标">
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm[index].xzb">
</el-input>
</el-form-item>
</el-col>
......@@ -65,7 +65,7 @@
Y坐标: <br />
<p class="label-detail">(YZB)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm[index].yzb" placeholder="Y坐标">
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm[index].yzb">
</el-input>
</el-form-item>
</el-col>
......@@ -75,7 +75,7 @@
Z坐标: <br />
<p class="label-detail">(ZZB)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm[index].zzb" placeholder="Z坐标">
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm[index].zzb">
</el-input>
</el-form-item>
</el-col>
......
......@@ -8,8 +8,7 @@
不动产单元号: <br />
<p class="label-detail">(BDCDYH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCDYH" maxlength="28"
placeholder="不动产单元号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCDYH" maxlength="28"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -19,7 +18,7 @@
<p class="label-detail">(ZDX)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.ZDX" type="number"
v-only-number="{ max: 9999, min: 0, precision: 0 }" placeholder="子对象"></el-input>
v-only-number="{ max: 9999, min: 0, precision: 0 }"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -29,7 +28,7 @@
<p class="label-detail">(XH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.XH" type="number"
v-only-number="{ max: 9999, min: 0, precision: 0 }" placeholder="序号"></el-input>
v-only-number="{ max: 9999, min: 0, precision: 0 }"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -41,7 +40,7 @@
<p class="label-detail">(XZB)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.XZB"
v-only-number="{ max: 999999999999999, min: 0, precision: 8 }" type="number" placeholder="X坐标"></el-input>
v-only-number="{ max: 999999999999999, min: 0, precision: 8 }" type="number"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -51,7 +50,7 @@
<p class="label-detail">(YZB)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="ruleForm.YZB" type="number"
v-only-number="{ max: 999999999999999, min: 0, precision: 8 }" placeholder="Y坐标"></el-input>
v-only-number="{ max: 999999999999999, min: 0, precision: 8 }"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -61,55 +60,55 @@
</template>
<script>
// 宗海空间属性
import zhK105 from '@/api/zhK105'
import ruleMixin from '@/mixins/ruleMixin.js'
import zhK105 from "@/api/zhK105";
import ruleMixin from "@/mixins/ruleMixin.js";
export default {
mixins: [ruleMixin],
props: {
bsmSjsb: {
type: String,
default: ''
default: "",
},
bsmYwsjb: {
type: String,
default: ''
}
default: "",
},
},
data () {
data() {
return {
ruleForm: {
BDCDYH: '',
zhdm: '',
ZDX: '',
XH: '',
XZB: '',
YZB: ''
}
}
BDCDYH: "",
zhdm: "",
ZDX: "",
XH: "",
XZB: "",
YZB: "",
},
};
},
methods: {
async featchData () {
async featchData() {
try {
let { result: res } = await zhK105.getZhK105ById(this.bsmSjsb)
this.ruleForm = res
let { result: res } = await zhK105.getZhK105ById(this.bsmSjsb);
this.ruleForm = res;
//this.featchRule()
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
},
handleUpdateForm () {
handleUpdateForm() {
return new Promise(async (resolve) => {
try {
let res = await zhK105.updateZhK105(this.ruleForm)
let res = await zhK105.updateZhK105(this.ruleForm);
// this.$refs['formList'].resetFields();
resolve(res.code)
resolve(res.code);
} catch (error) {
this.$refs.msg.messageShow()
this.$refs.msg.messageShow();
}
})
}
}
}
});
},
},
};
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
......
......@@ -11,8 +11,8 @@
要素代码: <br />
<p class="label-detail">(YSDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].YSDM"
placeholder="要素代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].YSDM">
</el-input>
</el-form-item>
</el-col>
......@@ -24,7 +24,7 @@
<p class="label-detail">(SXH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model.number="obligeeForm.obligeeList[index].SXH"
type="number" v-only-number="{ max: 9999, min: 0, precision: 0 }" placeholder="顺序号"></el-input>
type="number" v-only-number="{ max: 9999, min: 0, precision: 0 }"></el-input>
</el-form-item>
</el-col>
......@@ -34,8 +34,8 @@
不动产单元号: <br />
<p class="label-detail">(BDCDYH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].BDCDYH"
placeholder="不动产单元号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].BDCDYH">
</el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -47,8 +47,8 @@
权利人名称: <br />
<p class="label-detail">(QLRMC)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].QLRMC"
placeholder="权利人名称"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].QLRMC">
</el-input>
</el-form-item>
</el-col>
......@@ -58,8 +58,8 @@
不动产权证号: <br />
<p class="label-detail">(BDCQZH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].BDCQZH"
placeholder="不动产权证号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].BDCQZH">
</el-input>
</el-form-item>
</el-col>
......@@ -69,8 +69,8 @@
权证印刷序列号: <br />
<p class="label-detail">(QZYSXLH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].QZYSXLH"
placeholder="权证印刷序列号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].QZYSXLH">
</el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -82,8 +82,7 @@
是否持证人: <br />
<p class="label-detail">(SFCZR)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].SFCZR"
placeholder="是否持证人">
<el-select :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].SFCZR">
<el-option v-for="item in dicData['A6']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -96,8 +95,7 @@
证件种类: <br />
<p class="label-detail">(ZJZL)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].ZJZL"
placeholder="证件种类">
<el-select :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].ZJZL">
<el-option v-for="item in dicData['A30']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -110,8 +108,8 @@
证件号: <br />
<p class="label-detail">(ZJH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].ZJH"
placeholder="证件号"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].ZJH">
</el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -123,8 +121,8 @@
发证机关: <br />
<p class="label-detail">(FZJG)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].FZJG"
placeholder="发证机关"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].FZJG">
</el-input>
</el-form-item>
</el-col>
......@@ -134,8 +132,8 @@
所属行业: <br />
<p class="label-detail">(SSHY)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].SSHY"
placeholder="所属行业"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].SSHY">
</el-input>
</el-form-item>
</el-col>
......@@ -145,8 +143,7 @@
国家/地区: <br />
<p class="label-detail">(GJ)</p>
</span>
<tree-select :options="dicData['A35']" v-model="obligeeForm.obligeeList[index].GJ"
placeholder="国家/地区" />
<tree-select :options="dicData['A35']" v-model="obligeeForm.obligeeList[index].GJ" />
</el-form-item>
</el-col>
</el-row>
......@@ -158,8 +155,8 @@
户籍所在省市: <br />
<p class="label-detail">(HJSZSS)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].HJSZSS"
placeholder="户籍所在省市"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].HJSZSS">
</el-input>
</el-form-item>
</el-col>
......@@ -169,8 +166,7 @@
性别: <br />
<p class="label-detail">(XB)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].XB"
placeholder="性别">
<el-select :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].XB">
<el-option v-for="item in dicData['A43']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -184,7 +180,7 @@
<p class="label-detail">(DH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" onkeyup="this.value=this.value.replace(/[^\d.]/g,'');"
maxlength="11" v-model="obligeeForm.obligeeList[index].DH" placeholder="电话"></el-input>
maxlength="11" v-model="obligeeForm.obligeeList[index].DH"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -196,8 +192,7 @@
地址: <br />
<p class="label-detail">(DZ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].DZ"
placeholder="地址"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].DZ"></el-input>
</el-form-item>
</el-col>
......@@ -207,8 +202,7 @@
邮编: <br />
<p class="label-detail">(YB)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].YB"
placeholder="邮编"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].YB"></el-input>
</el-form-item>
</el-col>
......@@ -218,8 +212,8 @@
工作单位: <br />
<p class="label-detail">(GZDW)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].GZDW"
placeholder="工作单位"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].GZDW">
</el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -231,8 +225,8 @@
电子邮件: <br />
<p class="label-detail">(DZYJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].DZYJ"
placeholder="电子邮件"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].DZYJ">
</el-input>
</el-form-item>
</el-col>
......@@ -242,8 +236,7 @@
权利人类型: <br />
<p class="label-detail">(QLRLX)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].QLRLX"
placeholder="权利人类型">
<el-select :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].QLRLX">
<el-option v-for="item in dicData['A36']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -256,8 +249,8 @@
权利比例: <br />
<p class="label-detail">(QLBL)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].QLBL"
placeholder="权利比例"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].QLBL">
</el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -269,8 +262,7 @@
共有方式: <br />
<p class="label-detail">(GYFS)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].GYFS"
placeholder="共有方式">
<el-select :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].GYFS">
<el-option v-for="item in dicData['A34']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
......@@ -283,8 +275,8 @@
共有情况: <br />
<p class="label-detail">(GYQK)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].GYQK"
placeholder="共有情况"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].GYQK">
</el-input>
</el-form-item>
</el-col>
......@@ -294,8 +286,7 @@
备注: <br />
<p class="label-detail">(BZ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].BZ"
placeholder="备注"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].BZ"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -307,8 +298,8 @@
区县代码: <br />
<p class="label-detail">(QXDM)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].QXDM"
placeholder="区县代码"></el-input>
<el-input :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].QXDM">
</el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -318,79 +309,77 @@
</div>
</template>
<script>
import zttGyQlr from '@/api/zttGyQlr'
import ruleMixin from '@/mixins/ruleMixin.js'
import treeSelect from '@/components/TreeSelect.vue'
import zttGyQlr from "@/api/zttGyQlr";
import ruleMixin from "@/mixins/ruleMixin.js";
import treeSelect from "@/components/TreeSelect.vue";
// 权利人
export default {
mixins: [ruleMixin],
props: {
bsmSjsb: {
type: String,
default: ''
default: "",
},
bsmYwsjb: {
type: String,
default: ''
}
default: "",
},
},
components: {
treeSelect
treeSelect,
},
data () {
data() {
return {
obligeeForm: {
obligeeList: [
{
YSDM: '',
SXH: '',
BDCDYH: '',
QLRMC: '',
BDCQZH: '',
QZYSXLH: '',
SFCZR: '',
ZJZL: '',
ZJH: '',
FZJG: '',
SSHY: '',
GJ: '',
HJSZSS: '',
XB: '',
DH: '',
DZ: '',
YB: '',
GZDW: '',
DZYJ: '',
QLRLX: '',
QLBL: '',
GYFS: '',
GYQK: '',
BZ: '',
QXDM: ''
}
]
}
}
YSDM: "",
SXH: "",
BDCDYH: "",
QLRMC: "",
BDCQZH: "",
QZYSXLH: "",
SFCZR: "",
ZJZL: "",
ZJH: "",
FZJG: "",
SSHY: "",
GJ: "",
HJSZSS: "",
XB: "",
DH: "",
DZ: "",
YB: "",
GZDW: "",
DZYJ: "",
QLRLX: "",
QLBL: "",
GYFS: "",
GYQK: "",
BZ: "",
QXDM: "",
},
],
},
};
},
methods: {
async featchData () {
async featchData() {
try {
let { result: res } = await zttGyQlr.getZttGyQlrById(this.bsmSjsb)
this.obligeeForm.obligeeList = res
} catch (error) {
}
let { result: res } = await zttGyQlr.getZttGyQlrById(this.bsmSjsb);
this.obligeeForm.obligeeList = res;
} catch (error) {}
},
handleUpdateForm () {
handleUpdateForm() {
return new Promise(async (resolve) => {
try {
let res = await zttGyQlr.updateZttGyQlr(this.obligeeForm.obligeeList)
resolve(res.code)
} catch (error) {
}
})
}
}
}
let res = await zttGyQlr.updateZttGyQlr(this.obligeeForm.obligeeList);
resolve(res.code);
} catch (error) {}
});
},
},
};
</script>
<style scoped lang="scss">
@import "./css/itemForm.scss";
......
......@@ -14,7 +14,6 @@
type="datetime"
placeholder="开始日期"
:picker-options="pickerOptionsStart"
clearable
v-model="form.startTime"
value-format="yyyy/MM/dd HH:mm:ss"
></el-date-picker>
......@@ -26,7 +25,6 @@
type="datetime"
placeholder="结束日期"
:picker-options="pickerOptionsEnd"
clearable
v-model="form.endTime"
value-format="yyyy/MM/dd HH:mm:ss"
></el-date-picker>
......
......@@ -32,7 +32,6 @@
type="datetime"
placeholder="开始日期"
:picker-options="pickerOptionsStart"
clearable
v-model="form.startTime"
value-format="yyyy/MM/dd HH:mm:ss"
></el-date-picker>
......@@ -44,7 +43,6 @@
type="datetime"
placeholder="结束日期"
:picker-options="pickerOptionsEnd"
clearable
v-model="form.endTime"
value-format="yyyy/MM/dd HH:mm:ss"
></el-date-picker>
......@@ -132,6 +130,7 @@ export default {
this.form = {
startTime: getFirstDayOfSeason(),
endTime: timeFormat(new Date(),true),
qxdm: "",
};
this.getSuucessRate();
},
......
......@@ -32,7 +32,6 @@
type="datetime"
placeholder="开始日期"
:picker-options="pickerOptionsStart"
clearable
v-model="form.startTime"
value-format="yyyy/MM/dd HH:mm:ss"
></el-date-picker>
......@@ -44,7 +43,6 @@
type="datetime"
placeholder="结束日期"
:picker-options="pickerOptionsEnd"
clearable
v-model="form.endTime"
value-format="yyyy/MM/dd HH:mm:ss"
></el-date-picker>
......@@ -126,9 +124,11 @@ export default {
// 重置
resetForm () {
this.form = {
startTime: "",
endTime: "",
startTime: getFirstDayOfSeason(),
endTime: timeFormat(new Date(),true),
qxdm: ""
};
this.getProcessCounts();
},
//图表渲染
echartInit(chartArr) {
......
......@@ -80,7 +80,7 @@
<el-form-item>
<btn nativeType="cz" @click="resetForm">重置</btn>
<btn nativeType="cx" @click="featchData">查询</btn>
<btn nativeType="cx">入库</btn>
<btn nativeType="cx">存量导入</btn>
</el-form-item>
</el-col>
</el-row>
......