ac22fbbe by 田浩浩

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

1 parent f2288e99
......@@ -11,7 +11,6 @@
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YSDM" placeholder="要素代码"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="YWH">
<span slot="label">
......@@ -21,7 +20,6 @@
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWH" placeholder="业务号"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="BDCDYH">
<span slot="label">
......@@ -32,7 +30,6 @@
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item prop="scYWH">
......@@ -43,7 +40,6 @@
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.scYWH" placeholder="上次业务号"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="BDCZL">
<span slot="label">
......@@ -53,7 +49,6 @@
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCZL" placeholder="不动产坐落"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="YWR">
<span slot="label">
......@@ -88,7 +83,20 @@
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YWRZJH" placeholder="义务人证件号"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="YGDJZL">
<span slot="label">
预告登记种类: <br />
<p class="label-detail">(YGDJZL)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.YGDJZL" placeholder="预告登记种类">
<el-option v-for="item in dicData['A29']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item prop="DJLX">
<span slot="label">
......@@ -101,9 +109,6 @@
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item prop="DJYY">
<span slot="label">
......@@ -113,20 +118,6 @@
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJYY" placeholder="登记原因"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="YGDJZL">
<span slot="label">
预告登记种类: <br />
<p class="label-detail">(YGDJZL)</p>
</span>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.YGDJZL" placeholder="预告登记种类">
<el-option v-for="item in dicData['A29']" :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="TDSYQR">
<span slot="label">
......@@ -137,7 +128,6 @@
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item prop="GHYT">
......@@ -151,7 +141,15 @@
</el-select>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="YTMC">
<span slot="label">
用途名称: <br />
<p class="label-detail">(YTMC)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.YTMC" placeholder="用途名称"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="FWXZ">
<span slot="label">
......@@ -164,7 +162,17 @@
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item prop="FWXZMC">
<span slot="label">
房屋性质名称: <br />
<p class="label-detail">(FWXZMC)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FWXZMC" placeholder="房屋性质名称"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="FWJG">
<span slot="label">
......@@ -177,9 +185,6 @@
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item prop="SZC">
<span slot="label">
......@@ -190,7 +195,8 @@
v-only-number="{ max: 99, min: 0, precision: 0 }" placeholder="所在层"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item prop="ZCS" :rules="{ type: 'number' }">
<span slot="label">
......@@ -212,10 +218,39 @@
v-only-number="{ max: 999999999999999, min: 0, precision: 2 }" placeholder="建筑面积"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="ZXYGYWH">
<span slot="label">
注销预告业务号: <br />
<p class="label-detail">(ZXYGYWH)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZXYGYWH" placeholder="注销预告业务号">
</el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item prop="ZXYGYY">
<span slot="label">
注销预告原因: <br />
<p class="label-detail">(ZXYGYY)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.ZXYGYY" placeholder="注销预告原因">
</el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="ZXSJ">
<span slot="label">
注销时间: <br />
<p class="label-detail">(ZXSJ)</p>
</span>
<el-date-picker :disabled="$store.state.business.Edit" type="datetime" placeholder="选择日期" clearable
v-model="ruleForm.ZXSJ" value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="QDJG" :rules="{ type: 'number' }">
<span slot="label">
取得价格/被担保主债权数额: <br />
......@@ -225,63 +260,65 @@
v-only-number="{ max: 999999999999999, min: 0, precision: 4 }" placeholder="取得价格/被担保主债权数额"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item prop="BDCDJZMH">
<el-form-item prop="JEDW">
<span slot="label">
不动产登记证明号<br />
<p class="label-detail">BDCDJZMH</p>
金额单位<br />
<p class="label-detail">JEDW</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.BDCDJZMH"
placeholder="不动产登记证明号"></el-input>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.JEDW" placeholder="金额单位">
<el-option v-for="item in dicData['A57']" :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">
<el-form-item prop="DBFW">
<span slot="label">
区县代码<br />
<p class="label-detail">QXDM</p>
担保范围<br />
<p class="label-detail">DBFW</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.DBFW" placeholder="担保范围">
</el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item prop="DJJG">
<el-form-item prop="SFCZJZHXZ">
<span slot="label">
登记机构<br />
<p class="label-detail">DJJG</p>
是否存在禁止或限制转让抵押不动产的约定<br />
<p class="label-detail">SFCZJZHXZ</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJJG" placeholder="登记机构"></el-input>
<el-select :disabled="$store.state.business.Edit" v-model="ruleForm.SFCZJZHXZ"
placeholder="是否存在禁止或限制转让抵押不动产的约定">
<el-option v-for="item in dicData['A6']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item prop="DBR">
<el-form-item prop="BDCDJZMH">
<span slot="label">
登簿人<br />
<p class="label-detail">DBR</p>
不动产登记证明号<br />
<p class="label-detail">BDCDJZMH</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.BDCDJZMH" placeholder="不动产登记证明号">
</el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="DJSJ">
<el-form-item prop="QXDM">
<span slot="label">
登记时间<br />
<p class="label-detail">DJSJ</p>
区县代码<br />
<p class="label-detail">QXDM</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-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">
......@@ -291,7 +328,8 @@
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJJG" placeholder="登记机构"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item prop="DBR">
<span slot="label">
......@@ -301,7 +339,6 @@
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DBR" placeholder="登簿人"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="DJSJ">
<span slot="label">
......@@ -312,19 +349,6 @@
v-model="ruleForm.DJSJ" value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item prop="FJ">
<span slot="label">
附记: <br />
<p class="label-detail">(FJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FJ" placeholder="附记"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item prop="QSZT">
<span slot="label">
......@@ -338,81 +362,92 @@
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="24">
<el-form-item prop="FJ">
<span slot="label">
附记: <br />
<p class="label-detail">(FJ)</p>
</span>
<el-input :disabled="$store.state.business.Edit" v-model="ruleForm.FJ" placeholder="附记"></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
<message-tips ref="msg" />
</div>
</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: '',
scYWH: '',
BDCZL: '',
YWR: '',
YWRZJZL: '',
YWRZJH: '',
DJLX: '',
DJYY: '',
YGDJZL: '',
TDSYQR: '',
GHYT: '',
FWXZ: '',
FWJG: '',
SZC: '',
ZCS: '',
JZMJ: '',
QDJG: '',
BDCDJZMH: '',
QXDM: '',
DJJG: '',
DBR: '',
DJSJ: '',
FJ: '',
QSZT: ''
}
}
YSDM: "",
YWH: "",
BDCDYH: "",
scYWH: "",
BDCZL: "",
YWR: "",
YWRZJZL: "",
YWRZJH: "",
DJLX: "",
DJYY: "",
YGDJZL: "",
TDSYQR: "",
GHYT: "",
FWXZ: "",
FWJG: "",
SZC: "",
ZCS: "",
JZMJ: "",
QDJG: "",
BDCDJZMH: "",
QXDM: "",
DJJG: "",
DBR: "",
DJSJ: "",
FJ: "",
QSZT: "",
},
};
},
methods: {
async featchData () {
async featchData() {
try {
let { result: res } = await business.getQlfQlYgdjById(this.bsmSjsb)
this.ruleForm = res
let { result: res } = await business.getQlfQlYgdjById(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.updateQlfQlYgdj(this.ruleForm)
let res = await business.updateQlfQlYgdj(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";
......
......@@ -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";
......