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 @@ ...@@ -170,7 +170,7 @@
170 label="业务号:" 170 label="业务号:"
171 prop="qlxx.ywh" 171 prop="qlxx.ywh"
172 :rules="rules.ywhrules"> 172 :rules="rules.ywhrules">
173 <el-input v-model="ruleForm.qlxx.ywh"></el-input> 173 <el-input maxlength="10" v-model="ruleForm.qlxx.ywh"></el-input>
174 </el-form-item> 174 </el-form-item>
175 </el-col> 175 </el-col>
176 <el-col :span="8"> 176 <el-col :span="8">
...@@ -317,7 +317,7 @@ ...@@ -317,7 +317,7 @@
317 </el-col> 317 </el-col>
318 <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'"> 318 <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'">
319 <el-form-item label="解封业务号:"> 319 <el-form-item label="解封业务号:">
320 <el-input v-model="ruleForm.qlxx.zxywh"></el-input> 320 <el-input maxlength="11" v-model="ruleForm.qlxx.zxywh"></el-input>
321 </el-form-item> 321 </el-form-item>
322 </el-col> 322 </el-col>
323 </el-row> 323 </el-row>
......
...@@ -196,7 +196,7 @@ ...@@ -196,7 +196,7 @@
196 label="业务号:" 196 label="业务号:"
197 prop="qlxx.ywh" 197 prop="qlxx.ywh"
198 :rules="rules.ywhrules"> 198 :rules="rules.ywhrules">
199 <el-input v-model="ruleForm.qlxx.ywh"></el-input> 199 <el-input maxlength="10" v-model="ruleForm.qlxx.ywh"></el-input>
200 </el-form-item> 200 </el-form-item>
201 </el-col> 201 </el-col>
202 <el-col :span="8"> 202 <el-col :span="8">
...@@ -243,6 +243,7 @@ ...@@ -243,6 +243,7 @@
243 <el-form-item label="被担保主债权数额:"> 243 <el-form-item label="被担保主债权数额:">
244 <div style="display: flex"> 244 <div style="display: flex">
245 <el-input 245 <el-input
246 maxlength="11"
246 v-model="ruleForm.diyaq.bdbzzqse" 247 v-model="ruleForm.diyaq.bdbzzqse"
247 style="width: 500%" 248 style="width: 500%"
248 oninput="value=value.replace(/[^\d.]/g,'')"></el-input> 249 oninput="value=value.replace(/[^\d.]/g,'')"></el-input>
...@@ -262,6 +263,7 @@ ...@@ -262,6 +263,7 @@
262 <el-form-item label="抵押面积:"> 263 <el-form-item label="抵押面积:">
263 <div class="flex"> 264 <div class="flex">
264 <el-input 265 <el-input
266 maxlength="13"
265 v-model="ruleForm.diyaq.dymj" 267 v-model="ruleForm.diyaq.dymj"
266 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> 268 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
267 <el-select v-model="ruleForm.diyaq.mjdw" style="width: 20%"> 269 <el-select v-model="ruleForm.diyaq.mjdw" style="width: 20%">
...@@ -338,7 +340,7 @@ ...@@ -338,7 +340,7 @@
338 </el-col> 340 </el-col>
339 <el-col :span="8"> 341 <el-col :span="8">
340 <el-form-item label="债务履行期限(确定期间):"> 342 <el-form-item label="债务履行期限(确定期间):">
341 <el-input v-model="ruleForm.diyaq.dyqx"></el-input> 343 <el-input maxlength="10" v-model="ruleForm.diyaq.dyqx"></el-input>
342 </el-form-item> 344 </el-form-item>
343 </el-col> 345 </el-col>
344 346
...@@ -419,7 +421,7 @@ ...@@ -419,7 +421,7 @@
419 421
420 <el-col :span="24"> 422 <el-col :span="24">
421 <el-form-item label="登记原因:"> 423 <el-form-item label="登记原因:">
422 <el-input v-model="ruleForm.qlxx.djyy"></el-input> 424 <el-input v-model="ruleForm.diyaq.djyy"></el-input>
423 </el-form-item> 425 </el-form-item>
424 </el-col> 426 </el-col>
425 <el-col :span="24"> 427 <el-col :span="24">
...@@ -429,7 +431,7 @@ ...@@ -429,7 +431,7 @@
429 </el-col> 431 </el-col>
430 <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'"> 432 <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'">
431 <el-form-item label="注销抵押业务号:"> 433 <el-form-item label="注销抵押业务号:">
432 <el-input v-model="ruleForm.diyaq.zxdyywh"></el-input> 434 <el-input maxlength="10" v-model="ruleForm.qlxx.zxywh"></el-input>
433 </el-form-item> 435 </el-form-item>
434 </el-col> 436 </el-col>
435 437
......
...@@ -164,7 +164,7 @@ ...@@ -164,7 +164,7 @@
164 prop="qlxx.ywh" 164 prop="qlxx.ywh"
165 :rules="rules.ywhrules" 165 :rules="rules.ywhrules"
166 > 166 >
167 <el-input v-model="ruleForm.qlxx.ywh"></el-input> 167 <el-input maxlength="20" v-model="ruleForm.qlxx.ywh" onkeyup="this.value=this.value.replace(/[^\w_]/g,'');"></el-input>
168 </el-form-item> 168 </el-form-item>
169 </el-col> 169 </el-col>
170 <el-col :span="8"> 170 <el-col :span="8">
......
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
80 label="业务号:" 80 label="业务号:"
81 prop="qlxx.ywh" 81 prop="qlxx.ywh"
82 :rules="rules.ywhrules"> 82 :rules="rules.ywhrules">
83 <el-input v-model="ruleForm.qlxx.ywh"></el-input> 83 <el-input maxlength="10" v-model="ruleForm.qlxx.ywh"></el-input>
84 </el-form-item> 84 </el-form-item>
85 </el-col> 85 </el-col>
86 <el-col :span="8"> 86 <el-col :span="8">
...@@ -137,6 +137,7 @@ ...@@ -137,6 +137,7 @@
137 <el-form-item label="使用权面积:"> 137 <el-form-item label="使用权面积:">
138 <div class="flex"> 138 <div class="flex">
139 <el-input 139 <el-input
140 maxlength="12"
140 v-model="ruleForm.jsydsyq.syqmj" 141 v-model="ruleForm.jsydsyq.syqmj"
141 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> 142 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
142 <el-select disabled v-model="mjdw" style="width: 20%"> 143 <el-select disabled v-model="mjdw" style="width: 20%">
...@@ -151,29 +152,20 @@ ...@@ -151,29 +152,20 @@
151 </el-form-item> 152 </el-form-item>
152 </el-col> 153 </el-col>
153 <el-col :span="8"> 154 <el-col :span="8">
154 <el-form-item label="使用权起始时间"> 155 <el-form-item label="使用权起止时间:">
155 <el-input v-model="ruleForm.jsydsyq.syqqssj"></el-input> 156 <el-input maxlength="20" v-model="ruleForm.jsydsyq.syqqzsj"></el-input>
156 </el-form-item> 157 </el-form-item>
157 </el-col> 158 </el-col>
158 <el-col :span="8"> 159 <el-col :span="8">
159 <el-form-item label="使用权结束时间"> 160 <el-form-item label="土地使用期限:">
160 <el-input v-model="ruleForm.jsydsyq.syqjssj"></el-input> 161 <el-input maxlength="10" v-model="ruleForm.jsydsyq.tdsyqx"></el-input>
161 </el-form-item>
162 </el-col>
163 <el-col :span="8">
164 <el-form-item label="土地使用期限">
165 <el-input v-model="ruleForm.jsydsyq.tdsyqx"></el-input>
166 </el-form-item>
167 </el-col>
168 <el-col :span="8">
169 <el-form-item label="土地用途">
170 <el-input v-model="ruleForm.jsydsyq.yt"></el-input>
171 </el-form-item> 162 </el-form-item>
172 </el-col> 163 </el-col>
173 <el-col :span="8"> 164 <el-col :span="8">
174 <el-form-item label="取得价格:"> 165 <el-form-item label="取得价格:">
175 <div style="display: flex"> 166 <div style="display: flex">
176 <el-input 167 <el-input
168 maxlength="11"
177 v-model="ruleForm.jsydsyq.qdjg" 169 v-model="ruleForm.jsydsyq.qdjg"
178 style="width: 500%"></el-input> 170 style="width: 500%"></el-input>
179 <el-select v-model="ruleForm.jsydsyq.jedw"> 171 <el-select v-model="ruleForm.jsydsyq.jedw">
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
20 </div> 20 </div>
21 <el-row :gutter="10" v-if="ruleForm.slsq"> 21 <el-row :gutter="10" v-if="ruleForm.slsq">
22 <el-col :span="8"> 22 <el-col :span="8">
23 <el-form-item label="业务号111:"> 23 <el-form-item label="业务号:">
24 <el-input disabled v-model="ruleForm.flow.ywh"></el-input> 24 <el-input disabled v-model="ruleForm.flow.ywh"></el-input>
25 </el-form-item> 25 </el-form-item>
26 </el-col> 26 </el-col>
...@@ -253,7 +253,6 @@ ...@@ -253,7 +253,6 @@
253 if (res.code == 200) { 253 if (res.code == 200) {
254 this.ruleForm = res.result; 254 this.ruleForm = res.result;
255 this.czrOptions = this.ruleForm.qlrList; 255 this.czrOptions = this.ruleForm.qlrList;
256 console.log("ruleForm.sldyList[0].gyfsssssssssssssssssssss",this.ruleForm.sldyList[0].gyfs);
257 this.gyfs=this.ruleForm.sldyList[0].gyfs 256 this.gyfs=this.ruleForm.sldyList[0].gyfs
258 this.splicingFdcq2Info(); 257 this.splicingFdcq2Info();
259 } 258 }
...@@ -316,6 +315,25 @@ ...@@ -316,6 +315,25 @@
316 * @author: renchao 315 * @author: renchao
317 */ 316 */
318 onSubmit () { 317 onSubmit () {
318 if (this.ruleForm.sldyList[0].gyfs== "0") {
319 if (this.ruleForm.qlrList.length > 1) {
320 this.$message({
321 showClose: true,
322 message: "共有方式:单独所有,权利人只能是一个人",
323 type: "error",
324 });
325 return false;
326 }
327 } else {
328 if (this.ruleForm.qlrList.length <= 1) {
329 this.$message({
330 showClose: true,
331 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
332 type: "error",
333 });
334 return false;
335 }
336 }
319 saveBatchData(this.ruleForm).then((res) => { 337 saveBatchData(this.ruleForm).then((res) => {
320 if (res.code === 200) { 338 if (res.code === 200) {
321 this.$message({ 339 this.$message({
......