c77e2de0 by yangwei

Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev

2 parents 476282d3 56ab0c7f
......@@ -170,7 +170,7 @@
label="业务号:"
prop="qlxx.ywh"
:rules="rules.ywhrules">
<el-input v-model="ruleForm.qlxx.ywh"></el-input>
<el-input maxlength="10" v-model="ruleForm.qlxx.ywh"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -317,7 +317,7 @@
</el-col>
<el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'">
<el-form-item label="解封业务号:">
<el-input v-model="ruleForm.qlxx.zxywh"></el-input>
<el-input maxlength="11" v-model="ruleForm.qlxx.zxywh"></el-input>
</el-form-item>
</el-col>
</el-row>
......
......@@ -196,7 +196,7 @@
label="业务号:"
prop="qlxx.ywh"
:rules="rules.ywhrules">
<el-input v-model="ruleForm.qlxx.ywh"></el-input>
<el-input maxlength="10" v-model="ruleForm.qlxx.ywh"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -243,6 +243,7 @@
<el-form-item label="被担保主债权数额:">
<div style="display: flex">
<el-input
maxlength="11"
v-model="ruleForm.diyaq.bdbzzqse"
style="width: 500%"
oninput="value=value.replace(/[^\d.]/g,'')"></el-input>
......@@ -262,6 +263,7 @@
<el-form-item label="抵押面积:">
<div class="flex">
<el-input
maxlength="13"
v-model="ruleForm.diyaq.dymj"
oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
<el-select v-model="ruleForm.diyaq.mjdw" style="width: 20%">
......@@ -338,7 +340,7 @@
</el-col>
<el-col :span="8">
<el-form-item label="债务履行期限(确定期间):">
<el-input v-model="ruleForm.diyaq.dyqx"></el-input>
<el-input maxlength="10" v-model="ruleForm.diyaq.dyqx"></el-input>
</el-form-item>
</el-col>
......@@ -419,7 +421,7 @@
<el-col :span="24">
<el-form-item label="登记原因:">
<el-input v-model="ruleForm.qlxx.djyy"></el-input>
<el-input v-model="ruleForm.diyaq.djyy"></el-input>
</el-form-item>
</el-col>
<el-col :span="24">
......@@ -429,7 +431,7 @@
</el-col>
<el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'">
<el-form-item label="注销抵押业务号:">
<el-input v-model="ruleForm.diyaq.zxdyywh"></el-input>
<el-input maxlength="10" v-model="ruleForm.qlxx.zxywh"></el-input>
</el-form-item>
</el-col>
......
......@@ -164,7 +164,7 @@
prop="qlxx.ywh"
:rules="rules.ywhrules"
>
<el-input v-model="ruleForm.qlxx.ywh"></el-input>
<el-input maxlength="20" v-model="ruleForm.qlxx.ywh" onkeyup="this.value=this.value.replace(/[^\w_]/g,'');"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......
......@@ -80,7 +80,7 @@
label="业务号:"
prop="qlxx.ywh"
:rules="rules.ywhrules">
<el-input v-model="ruleForm.qlxx.ywh"></el-input>
<el-input maxlength="10" v-model="ruleForm.qlxx.ywh"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
......@@ -137,6 +137,7 @@
<el-form-item label="使用权面积:">
<div class="flex">
<el-input
maxlength="12"
v-model="ruleForm.jsydsyq.syqmj"
oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
<el-select disabled v-model="mjdw" style="width: 20%">
......@@ -151,29 +152,20 @@
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="使用权起始时间">
<el-input v-model="ruleForm.jsydsyq.syqqssj"></el-input>
<el-form-item label="使用权起止时间:">
<el-input maxlength="20" v-model="ruleForm.jsydsyq.syqqzsj"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="使用权结束时间">
<el-input v-model="ruleForm.jsydsyq.syqjssj"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="土地使用期限">
<el-input v-model="ruleForm.jsydsyq.tdsyqx"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="土地用途">
<el-input v-model="ruleForm.jsydsyq.yt"></el-input>
<el-form-item label="土地使用期限:">
<el-input maxlength="10" v-model="ruleForm.jsydsyq.tdsyqx"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="取得价格:">
<div style="display: flex">
<el-input
maxlength="11"
v-model="ruleForm.jsydsyq.qdjg"
style="width: 500%"></el-input>
<el-select v-model="ruleForm.jsydsyq.jedw">
......
......@@ -20,7 +20,7 @@
</div>
<el-row :gutter="10" v-if="ruleForm.slsq">
<el-col :span="8">
<el-form-item label="业务号111:">
<el-form-item label="业务号:">
<el-input disabled v-model="ruleForm.flow.ywh"></el-input>
</el-form-item>
</el-col>
......@@ -253,7 +253,6 @@
if (res.code == 200) {
this.ruleForm = res.result;
this.czrOptions = this.ruleForm.qlrList;
console.log("ruleForm.sldyList[0].gyfsssssssssssssssssssss",this.ruleForm.sldyList[0].gyfs);
this.gyfs=this.ruleForm.sldyList[0].gyfs
this.splicingFdcq2Info();
}
......@@ -316,6 +315,25 @@
* @author: renchao
*/
onSubmit () {
if (this.ruleForm.sldyList[0].gyfs== "0") {
if (this.ruleForm.qlrList.length > 1) {
this.$message({
showClose: true,
message: "共有方式:单独所有,权利人只能是一个人",
type: "error",
});
return false;
}
} else {
if (this.ruleForm.qlrList.length <= 1) {
this.$message({
showClose: true,
message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
type: "error",
});
return false;
}
}
saveBatchData(this.ruleForm).then((res) => {
if (res.code === 200) {
this.$message({
......