ac22fbbe by 田浩浩

修改注销登记和预告登记内容优化

1 parent f2288e99
......@@ -65,9 +65,30 @@
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item prop="BDCQZMH">
<span slot="label">
不动产权证明号: <br />
<p class="label-detail">(BDCQZMH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCQZMH" placeholder="不动产权证明号">
</el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="QLLX">
<span slot="label">
权利类型: <br />
<p class="label-detail">(QLLX)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QLLX" placeholder="权利类型">
<el-option v-for="item in dicData['A8']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="QXDM">
<span slot="label">
区县代码: <br />
......@@ -76,7 +97,8 @@
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.QXDM" placeholder="区县代码"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item prop="DJJG">
<span slot="label">
......@@ -86,7 +108,6 @@
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJJG" placeholder="登记机构"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="DBR">
<span slot="label">
......@@ -96,9 +117,6 @@
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DBR" placeholder="登簿人"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item prop="DJSJ">
<span slot="label">
......@@ -109,8 +127,9 @@
v-model="ruleForm.DJSJ" value-format="yyyy-MM-dd"></el-date-picker>
</el-form-item>
</el-col>
<el-col :span="8">
</el-row>
<el-row>
<el-col :span="24">
<el-form-item prop="BZ">
<span slot="label">
备注: <br />
......@@ -126,60 +145,60 @@
</template>
<script>
// 注销登记信息
import business from '@/api/business'
import ruleMixin from '@/mixins/ruleMixin.js'
import business from "@/api/business";
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: '',
BDCQZH: '',
ZXYWH: '',
ZXSJ: '',
QXDM: '',
DJJG: '',
DBR: '',
DJSJ: '',
BZ: ''
}
}
YSDM: "",
YWH: "",
BDCDYH: "",
BDCQZH: "",
ZXYWH: "",
ZXSJ: "",
QXDM: "",
DJJG: "",
DBR: "",
DJSJ: "",
BZ: "",
},
};
},
methods: {
async featchData () {
async featchData() {
try {
let { result: res } = await business.getQlfQlZxdjById(this.bsmSjsb)
this.ruleForm = res
let { result: res } = await business.getQlfQlZxdjById(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 business.updateQlfQlZxdj(this.ruleForm)
let res = await business.updateQlfQlZxdj(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";
......