8373c460 by 任超

Merge branch 'master' into dev

2 parents 24994b96 ca80897f
Showing 117 changed files with 1041 additions and 1058 deletions
......@@ -40,6 +40,9 @@ export default {
handler (options) {
// 设置true清空echart缓存
this.chart.setOption(options, true)
window.addEventListener('resize',()=>{
this.chart.resize()
})
},
deep: true
}
......@@ -56,8 +59,13 @@ export default {
initChart () {
// 初始化echart
this.chart = this.$echarts.init(this.$el, 'tdTheme')
function nowSize(val,initWidth=1920){
return val * (nowClientWidth/initWidth);
}
this.chart.setOption(this.options, true)
}
}
}
</script>
\ No newline at end of file
</script>
......
......@@ -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";
......
......@@ -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";
......
......@@ -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";
......
......@@ -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>
<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,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>
......@@ -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>
......
......@@ -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";
......

14.1 KB | W: | H:

17.3 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

16.8 KB | W: | H:

20 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin