Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev
Showing
18 changed files
with
155 additions
and
53 deletions
... | @@ -219,7 +219,7 @@ | ... | @@ -219,7 +219,7 @@ |
219 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> | 219 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> |
220 | <el-form-item label="持证人:"> | 220 | <el-form-item label="持证人:"> |
221 | <el-select | 221 | <el-select |
222 | v-model="ruleForm.czr" | 222 | v-model="czr" |
223 | placeholder="持证人" | 223 | placeholder="持证人" |
224 | :disabled="!viewEdit"> | 224 | :disabled="!viewEdit"> |
225 | <el-option | 225 | <el-option |
... | @@ -291,6 +291,11 @@ | ... | @@ -291,6 +291,11 @@ |
291 | this.czrOptions = this.ruleForm.qlrList; | 291 | this.czrOptions = this.ruleForm.qlrList; |
292 | this.ruleForm.diyaq.sfczjzhxz = "0"; | 292 | this.ruleForm.diyaq.sfczjzhxz = "0"; |
293 | } | 293 | } |
294 | this.ruleForm.qlrList.forEach((item) => { | ||
295 | if(item.sfczr==1){ | ||
296 | this.czr=item.sqrmc | ||
297 | } | ||
298 | }) | ||
294 | this.$endLoading(); | 299 | this.$endLoading(); |
295 | }) | 300 | }) |
296 | }, | 301 | }, |
... | @@ -304,6 +309,7 @@ | ... | @@ -304,6 +309,7 @@ |
304 | viewEdit: true, | 309 | viewEdit: true, |
305 | disabled: true, | 310 | disabled: true, |
306 | czrOptions: [], | 311 | czrOptions: [], |
312 | czr:"", | ||
307 | ruleForm: { | 313 | ruleForm: { |
308 | slsq: {}, | 314 | slsq: {}, |
309 | ssQlxx: {}, | 315 | ssQlxx: {}, |
... | @@ -357,7 +363,7 @@ | ... | @@ -357,7 +363,7 @@ |
357 | item.sfczr = "1"; | 363 | item.sfczr = "1"; |
358 | }); | 364 | }); |
359 | } else { | 365 | } else { |
360 | if (!that.ruleForm.czr) { | 366 | if (!that.czr) { |
361 | that.$message({ | 367 | that.$message({ |
362 | showClose: true, | 368 | showClose: true, |
363 | message: "请选择持证人", | 369 | message: "请选择持证人", |
... | @@ -366,7 +372,7 @@ | ... | @@ -366,7 +372,7 @@ |
366 | return false; | 372 | return false; |
367 | } | 373 | } |
368 | this.ruleForm.qlrList.forEach((item, index) => { | 374 | this.ruleForm.qlrList.forEach((item, index) => { |
369 | if (item.zjh == this.ruleForm.czr) { | 375 | if (item.zjh == this.czr) { |
370 | item.sfczr = "1"; | 376 | item.sfczr = "1"; |
371 | } else { | 377 | } else { |
372 | item.sfczr = "0"; | 378 | item.sfczr = "0"; | ... | ... |
... | @@ -177,7 +177,7 @@ | ... | @@ -177,7 +177,7 @@ |
177 | </el-form-item> | 177 | </el-form-item> |
178 | </el-col> | 178 | </el-col> |
179 | <el-col :span="5" v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> | 179 | <el-col :span="5" v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> |
180 | <el-form-item label="持证人:"> | 180 | <el-form-item label="持证人1:"> |
181 | <el-select v-model="czr" placeholder="持证人" :disabled="!viewEdit"> | 181 | <el-select v-model="czr" placeholder="持证人" :disabled="!viewEdit"> |
182 | <el-option | 182 | <el-option |
183 | v-for="item in czrOptions" | 183 | v-for="item in czrOptions" |
... | @@ -277,7 +277,7 @@ | ... | @@ -277,7 +277,7 @@ |
277 | disabled: true, | 277 | disabled: true, |
278 | tdytOption: [], | 278 | tdytOption: [], |
279 | czrOptions: [], | 279 | czrOptions: [], |
280 | czr:"", | 280 | czr:'', |
281 | ruleForm: { | 281 | ruleForm: { |
282 | flow: { | 282 | flow: { |
283 | ywh: "", | 283 | ywh: "", | ... | ... |
... | @@ -331,7 +331,7 @@ | ... | @@ -331,7 +331,7 @@ |
331 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> | 331 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> |
332 | <el-form-item label="持证人:"> | 332 | <el-form-item label="持证人:"> |
333 | <el-select | 333 | <el-select |
334 | v-model="ruleForm.czr" | 334 | v-model="czr" |
335 | placeholder="持证人" | 335 | placeholder="持证人" |
336 | :disabled="!viewEdit"> | 336 | :disabled="!viewEdit"> |
337 | <el-option | 337 | <el-option |
... | @@ -398,6 +398,11 @@ | ... | @@ -398,6 +398,11 @@ |
398 | ...res.result, | 398 | ...res.result, |
399 | ...res.result.qlxxdatas, | 399 | ...res.result.qlxxdatas, |
400 | } | 400 | } |
401 | this.ruleForm.qlrList.forEach((item) => { | ||
402 | if(item.sfczr==1){ | ||
403 | this.czr=item.sqrmc | ||
404 | } | ||
405 | }) | ||
401 | //初始化发证方式,1:小证,2:大正 | 406 | //初始化发证方式,1:小证,2:大正 |
402 | this.ruleForm.slsq.fzfs == null ? this.ruleForm.slsq.fzfs = '1' : this.ruleForm.slsq.fzfs; | 407 | this.ruleForm.slsq.fzfs == null ? this.ruleForm.slsq.fzfs = '1' : this.ruleForm.slsq.fzfs; |
403 | this.czrOptions = this.ruleForm.qlrList; | 408 | this.czrOptions = this.ruleForm.qlrList; |
... | @@ -425,6 +430,7 @@ | ... | @@ -425,6 +430,7 @@ |
425 | disabled: true, | 430 | disabled: true, |
426 | tdytOption: [], | 431 | tdytOption: [], |
427 | czrOptions: [], | 432 | czrOptions: [], |
433 | czr:"", | ||
428 | ruleForm: { | 434 | ruleForm: { |
429 | flow: { | 435 | flow: { |
430 | ywh: '' | 436 | ywh: '' |
... | @@ -529,7 +535,7 @@ | ... | @@ -529,7 +535,7 @@ |
529 | item.sfczr = "1"; | 535 | item.sfczr = "1"; |
530 | }); | 536 | }); |
531 | } else { | 537 | } else { |
532 | if (!that.ruleForm.czr) { | 538 | if (!that.czr) { |
533 | that.$message({ | 539 | that.$message({ |
534 | showClose: true, | 540 | showClose: true, |
535 | message: "请选择持证人", | 541 | message: "请选择持证人", |
... | @@ -538,7 +544,7 @@ | ... | @@ -538,7 +544,7 @@ |
538 | return false; | 544 | return false; |
539 | } | 545 | } |
540 | this.ruleForm.qlrList.forEach((item, index) => { | 546 | this.ruleForm.qlrList.forEach((item, index) => { |
541 | if (item.zjh == this.ruleForm.czr) { | 547 | if (item.zjh == this.czr) { |
542 | item.sfczr = "1"; | 548 | item.sfczr = "1"; |
543 | } else { | 549 | } else { |
544 | item.sfczr = "0"; | 550 | item.sfczr = "0"; | ... | ... |
... | @@ -212,7 +212,7 @@ | ... | @@ -212,7 +212,7 @@ |
212 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> | 212 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> |
213 | <el-form-item label="持证人:"> | 213 | <el-form-item label="持证人:"> |
214 | <el-select | 214 | <el-select |
215 | v-model="ruleForm.czr" | 215 | v-model="czr" |
216 | placeholder="持证人" | 216 | placeholder="持证人" |
217 | :disabled="!viewEdit"> | 217 | :disabled="!viewEdit"> |
218 | <el-option | 218 | <el-option |
... | @@ -272,6 +272,11 @@ | ... | @@ -272,6 +272,11 @@ |
272 | ...res.result.qlxxdatas, | 272 | ...res.result.qlxxdatas, |
273 | ...res.result.jsydsyqdatas, | 273 | ...res.result.jsydsyqdatas, |
274 | }; | 274 | }; |
275 | this.ruleForm.qlrList.forEach((item) => { | ||
276 | if(item.sfczr==1){ | ||
277 | this.czr=item.sqrmc | ||
278 | } | ||
279 | }) | ||
275 | //初始化发证方式,1:小证,2:大正 | 280 | //初始化发证方式,1:小证,2:大正 |
276 | this.ruleForm.slsq.fzfs == null ? this.ruleForm.slsq.fzfs = '1' : this.ruleForm.slsq.fzfs; | 281 | this.ruleForm.slsq.fzfs == null ? this.ruleForm.slsq.fzfs = '1' : this.ruleForm.slsq.fzfs; |
277 | this.czrOptions = this.ruleForm.qlrList; | 282 | this.czrOptions = this.ruleForm.qlrList; |
... | @@ -290,6 +295,7 @@ | ... | @@ -290,6 +295,7 @@ |
290 | disabled: true, | 295 | disabled: true, |
291 | tdytOption: [], | 296 | tdytOption: [], |
292 | czrOptions: [], | 297 | czrOptions: [], |
298 | czr:"", | ||
293 | ruleForm: { | 299 | ruleForm: { |
294 | flow: { | 300 | flow: { |
295 | ywh: '' | 301 | ywh: '' |
... | @@ -433,7 +439,7 @@ | ... | @@ -433,7 +439,7 @@ |
433 | item.sfczr = "1"; | 439 | item.sfczr = "1"; |
434 | }); | 440 | }); |
435 | } else { | 441 | } else { |
436 | if (!that.ruleForm.czr) { | 442 | if (!that.czr) { |
437 | that.$message({ | 443 | that.$message({ |
438 | showClose: true, | 444 | showClose: true, |
439 | message: "请选择持证人", | 445 | message: "请选择持证人", |
... | @@ -442,7 +448,7 @@ | ... | @@ -442,7 +448,7 @@ |
442 | return false; | 448 | return false; |
443 | } | 449 | } |
444 | this.ruleForm.qlrList.forEach((item, index) => { | 450 | this.ruleForm.qlrList.forEach((item, index) => { |
445 | if (item.zjh == this.ruleForm.czr) { | 451 | if (item.zjh == this.czr) { |
446 | item.sfczr = "1"; | 452 | item.sfczr = "1"; |
447 | } else { | 453 | } else { |
448 | item.sfczr = "0"; | 454 | item.sfczr = "0"; | ... | ... |
... | @@ -162,7 +162,7 @@ | ... | @@ -162,7 +162,7 @@ |
162 | <el-col :span="6" v-if="ruleForm.sldyList[0].gyfs!=0&&ruleForm.sldyList[0].sqfbcz=='0'"> | 162 | <el-col :span="6" v-if="ruleForm.sldyList[0].gyfs!=0&&ruleForm.sldyList[0].sqfbcz=='0'"> |
163 | <el-form-item label="持证人:"> | 163 | <el-form-item label="持证人:"> |
164 | <el-select | 164 | <el-select |
165 | v-model="ruleForm.czr" | 165 | v-model="czr" |
166 | placeholder="持证人" | 166 | placeholder="持证人" |
167 | :disabled="!viewEdit"> | 167 | :disabled="!viewEdit"> |
168 | <el-option | 168 | <el-option |
... | @@ -252,6 +252,7 @@ | ... | @@ -252,6 +252,7 @@ |
252 | zdjbxx: {}, //宗地基本信息 | 252 | zdjbxx: {}, //宗地基本信息 |
253 | }, | 253 | }, |
254 | czrOptions: [], | 254 | czrOptions: [], |
255 | czr:"", | ||
255 | //传递参数 | 256 | //传递参数 |
256 | propsParam: this.$attrs, | 257 | propsParam: this.$attrs, |
257 | //表单是否可操作 | 258 | //表单是否可操作 |
... | @@ -284,6 +285,11 @@ | ... | @@ -284,6 +285,11 @@ |
284 | this.gyfs = this.ruleForm.sldyList[0].gyfs; | 285 | this.gyfs = this.ruleForm.sldyList[0].gyfs; |
285 | this.splicingFdcq2Info(); | 286 | this.splicingFdcq2Info(); |
286 | } | 287 | } |
288 | this.ruleForm.qlrList.forEach((item) => { | ||
289 | if(item.sfczr==1){ | ||
290 | this.czr=item.sqrmc | ||
291 | } | ||
292 | }) | ||
287 | }); | 293 | }); |
288 | }, | 294 | }, |
289 | methods: { | 295 | methods: { |
... | @@ -378,7 +384,7 @@ | ... | @@ -378,7 +384,7 @@ |
378 | item.sfczr = "1"; | 384 | item.sfczr = "1"; |
379 | }); | 385 | }); |
380 | } else { | 386 | } else { |
381 | if (!that.ruleForm.czr) { | 387 | if (!that.czr) { |
382 | that.$message({ | 388 | that.$message({ |
383 | showClose: true, | 389 | showClose: true, |
384 | message: "请选择持证人", | 390 | message: "请选择持证人", |
... | @@ -387,7 +393,7 @@ | ... | @@ -387,7 +393,7 @@ |
387 | return false; | 393 | return false; |
388 | } | 394 | } |
389 | this.ruleForm.qlrList.forEach((item, index) => { | 395 | this.ruleForm.qlrList.forEach((item, index) => { |
390 | if (item.zjh == this.ruleForm.czr) { | 396 | if (item.zjh == this.czr) { |
391 | item.sfczr = "1"; | 397 | item.sfczr = "1"; |
392 | } else { | 398 | } else { |
393 | item.sfczr = "0"; | 399 | item.sfczr = "0"; | ... | ... |
... | @@ -157,7 +157,7 @@ | ... | @@ -157,7 +157,7 @@ |
157 | </el-col> | 157 | </el-col> |
158 | <el-col :span="5" v-show="ruleForm.gyfs != '1' && ruleForm.sffbcz=='0'"> | 158 | <el-col :span="5" v-show="ruleForm.gyfs != '1' && ruleForm.sffbcz=='0'"> |
159 | <el-form-item label="持证人:"> | 159 | <el-form-item label="持证人:"> |
160 | <el-select v-model="ruleForm.czr" placeholder="持证人" :disabled="!viewEdit"> | 160 | <el-select v-model="czr" placeholder="持证人" :disabled="!viewEdit"> |
161 | <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value"> | 161 | <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value"> |
162 | </el-option> | 162 | </el-option> |
163 | </el-select> | 163 | </el-select> |
... | @@ -207,6 +207,11 @@ | ... | @@ -207,6 +207,11 @@ |
207 | ...res.result.qlxxdatas, | 207 | ...res.result.qlxxdatas, |
208 | ...res.result.jsydsyqdatas, | 208 | ...res.result.jsydsyqdatas, |
209 | }; | 209 | }; |
210 | this.ruleForm.qlrList.forEach((item) => { | ||
211 | if(item.sfczr==1){ | ||
212 | this.czr=item.sqrmc | ||
213 | } | ||
214 | }) | ||
210 | this.czrOptions = this.ruleForm.qlrList; | 215 | this.czrOptions = this.ruleForm.qlrList; |
211 | } | 216 | } |
212 | }); | 217 | }); |
... | @@ -222,6 +227,7 @@ | ... | @@ -222,6 +227,7 @@ |
222 | disabled: true, | 227 | disabled: true, |
223 | tdytOption: [], | 228 | tdytOption: [], |
224 | czrOptions: [], | 229 | czrOptions: [], |
230 | czr:"", | ||
225 | ruleForm: { | 231 | ruleForm: { |
226 | ywh: "", | 232 | ywh: "", |
227 | slry: "", | 233 | slry: "", |
... | @@ -341,7 +347,7 @@ | ... | @@ -341,7 +347,7 @@ |
341 | item.sfczr = "1"; | 347 | item.sfczr = "1"; |
342 | }); | 348 | }); |
343 | } else { | 349 | } else { |
344 | if (!that.ruleForm.czr) { | 350 | if (!that.czr) { |
345 | that.$message({ | 351 | that.$message({ |
346 | showClose: true, | 352 | showClose: true, |
347 | message: "请选择持证人", | 353 | message: "请选择持证人", |
... | @@ -350,7 +356,7 @@ | ... | @@ -350,7 +356,7 @@ |
350 | return false; | 356 | return false; |
351 | } | 357 | } |
352 | this.ruleForm.qlrList.forEach((item, index) => { | 358 | this.ruleForm.qlrList.forEach((item, index) => { |
353 | if (item.zjh == this.ruleForm.czr) { | 359 | if (item.zjh == this.czr) { |
354 | item.sfczr = "1"; | 360 | item.sfczr = "1"; |
355 | } else { | 361 | } else { |
356 | item.sfczr = "0"; | 362 | item.sfczr = "0"; | ... | ... |
... | @@ -175,7 +175,7 @@ | ... | @@ -175,7 +175,7 @@ |
175 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> | 175 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> |
176 | <el-form-item label="持证人:"> | 176 | <el-form-item label="持证人:"> |
177 | <el-select | 177 | <el-select |
178 | v-model="ruleForm.czr" | 178 | v-model="czr" |
179 | placeholder="持证人" | 179 | placeholder="持证人" |
180 | :disabled="!viewEdit"> | 180 | :disabled="!viewEdit"> |
181 | <el-option | 181 | <el-option |
... | @@ -245,6 +245,11 @@ | ... | @@ -245,6 +245,11 @@ |
245 | that.$endLoading(); | 245 | that.$endLoading(); |
246 | that.isShow = true; | 246 | that.isShow = true; |
247 | this.czrOptions = this.ruleForm.qlrList; | 247 | this.czrOptions = this.ruleForm.qlrList; |
248 | this.ruleForm.qlrList.forEach((item) => { | ||
249 | if(item.sfczr==1){ | ||
250 | this.czr=item.sqrmc | ||
251 | } | ||
252 | }) | ||
248 | }) | 253 | }) |
249 | }) | 254 | }) |
250 | }, | 255 | }, |
... | @@ -265,6 +270,7 @@ | ... | @@ -265,6 +270,7 @@ |
265 | mjdw: "1", | 270 | mjdw: "1", |
266 | //表单是否可操作 | 271 | //表单是否可操作 |
267 | viewEdit: true, | 272 | viewEdit: true, |
273 | czr:"", | ||
268 | key: 0, | 274 | key: 0, |
269 | isShow: false, | 275 | isShow: false, |
270 | disabled: true, | 276 | disabled: true, |
... | @@ -355,7 +361,7 @@ | ... | @@ -355,7 +361,7 @@ |
355 | item.sfczr = "1"; | 361 | item.sfczr = "1"; |
356 | }); | 362 | }); |
357 | } else { | 363 | } else { |
358 | if (!that.ruleForm.czr) { | 364 | if (!that.czr) { |
359 | that.$message({ | 365 | that.$message({ |
360 | showClose: true, | 366 | showClose: true, |
361 | message: "请选择持证人", | 367 | message: "请选择持证人", |
... | @@ -364,7 +370,7 @@ | ... | @@ -364,7 +370,7 @@ |
364 | return false; | 370 | return false; |
365 | } | 371 | } |
366 | this.ruleForm.qlrList.forEach((item, index) => { | 372 | this.ruleForm.qlrList.forEach((item, index) => { |
367 | if (item.zjh == this.ruleForm.czr) { | 373 | if (item.zjh == this.czr) { |
368 | item.sfczr = "1"; | 374 | item.sfczr = "1"; |
369 | } else { | 375 | } else { |
370 | item.sfczr = "0"; | 376 | item.sfczr = "0"; | ... | ... |
... | @@ -170,7 +170,7 @@ | ... | @@ -170,7 +170,7 @@ |
170 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> | 170 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> |
171 | <el-form-item label="持证人:"> | 171 | <el-form-item label="持证人:"> |
172 | <el-select | 172 | <el-select |
173 | v-model="ruleForm.czr" | 173 | v-model="czr" |
174 | placeholder="持证人" | 174 | placeholder="持证人" |
175 | :disabled="!viewEdit"> | 175 | :disabled="!viewEdit"> |
176 | <el-option | 176 | <el-option |
... | @@ -235,6 +235,11 @@ | ... | @@ -235,6 +235,11 @@ |
235 | this.ruleForm = res.result; | 235 | this.ruleForm = res.result; |
236 | this.czrOptions = this.ruleForm.qlrList; | 236 | this.czrOptions = this.ruleForm.qlrList; |
237 | } | 237 | } |
238 | this.ruleForm.qlrList.forEach((item) => { | ||
239 | if(item.sfczr==1){ | ||
240 | this.czr=item.sqrmc | ||
241 | } | ||
242 | }) | ||
238 | this.$endLoading(); | 243 | this.$endLoading(); |
239 | }); | 244 | }); |
240 | }, | 245 | }, |
... | @@ -248,6 +253,7 @@ | ... | @@ -248,6 +253,7 @@ |
248 | viewEdit: false, | 253 | viewEdit: false, |
249 | disabled: true, | 254 | disabled: true, |
250 | czrOptions: [], | 255 | czrOptions: [], |
256 | czr:"", | ||
251 | ruleForm: { | 257 | ruleForm: { |
252 | slywxx: {}, | 258 | slywxx: {}, |
253 | qlxx: {}, | 259 | qlxx: {}, |
... | @@ -329,7 +335,7 @@ | ... | @@ -329,7 +335,7 @@ |
329 | item.sfczr = "1"; | 335 | item.sfczr = "1"; |
330 | }); | 336 | }); |
331 | } else { | 337 | } else { |
332 | if (!that.ruleForm.czr) { | 338 | if (!that.czr) { |
333 | that.$message({ | 339 | that.$message({ |
334 | showClose: true, | 340 | showClose: true, |
335 | message: "请选择持证人", | 341 | message: "请选择持证人", |
... | @@ -338,7 +344,7 @@ | ... | @@ -338,7 +344,7 @@ |
338 | return false; | 344 | return false; |
339 | } | 345 | } |
340 | this.ruleForm.qlrList.forEach((item, index) => { | 346 | this.ruleForm.qlrList.forEach((item, index) => { |
341 | if (item.zjh == this.ruleForm.czr) { | 347 | if (item.zjh == this.czr) { |
342 | item.sfczr = "1"; | 348 | item.sfczr = "1"; |
343 | } else { | 349 | } else { |
344 | item.sfczr = "0"; | 350 | item.sfczr = "0"; | ... | ... |
... | @@ -208,7 +208,7 @@ | ... | @@ -208,7 +208,7 @@ |
208 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> | 208 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> |
209 | <el-form-item label="持证人:"> | 209 | <el-form-item label="持证人:"> |
210 | <el-select | 210 | <el-select |
211 | v-model="ruleForm.czr" | 211 | v-model="czr" |
212 | placeholder="持证人" | 212 | placeholder="持证人" |
213 | :disabled="!viewEdit"> | 213 | :disabled="!viewEdit"> |
214 | <el-option | 214 | <el-option |
... | @@ -285,6 +285,11 @@ | ... | @@ -285,6 +285,11 @@ |
285 | ...res.result, | 285 | ...res.result, |
286 | ...res.result.qlxxdatas, | 286 | ...res.result.qlxxdatas, |
287 | }; | 287 | }; |
288 | this.ruleForm.qlrList.forEach((item) => { | ||
289 | if(item.sfczr==1){ | ||
290 | this.czr=item.sqrmc | ||
291 | } | ||
292 | }) | ||
288 | //初始化发证方式,1:小证,2:大正 | 293 | //初始化发证方式,1:小证,2:大正 |
289 | this.ruleForm.slsq.fzfs == null | 294 | this.ruleForm.slsq.fzfs == null |
290 | ? (this.ruleForm.slsq.fzfs = "1") | 295 | ? (this.ruleForm.slsq.fzfs = "1") |
... | @@ -302,6 +307,7 @@ | ... | @@ -302,6 +307,7 @@ |
302 | disabled: true, | 307 | disabled: true, |
303 | tdytOption: [], | 308 | tdytOption: [], |
304 | czrOptions: [], | 309 | czrOptions: [], |
310 | czr:"", | ||
305 | ruleForm: { | 311 | ruleForm: { |
306 | flow: { | 312 | flow: { |
307 | ywh: "", | 313 | ywh: "", |
... | @@ -396,7 +402,7 @@ | ... | @@ -396,7 +402,7 @@ |
396 | item.sfczr = "1"; | 402 | item.sfczr = "1"; |
397 | }); | 403 | }); |
398 | } else { | 404 | } else { |
399 | if (!that.ruleForm.czr) { | 405 | if (!that.czr) { |
400 | that.$message({ | 406 | that.$message({ |
401 | showClose: true, | 407 | showClose: true, |
402 | message: "请选择持证人", | 408 | message: "请选择持证人", |
... | @@ -405,7 +411,7 @@ | ... | @@ -405,7 +411,7 @@ |
405 | return false; | 411 | return false; |
406 | } | 412 | } |
407 | this.ruleForm.qlrList.forEach((item, index) => { | 413 | this.ruleForm.qlrList.forEach((item, index) => { |
408 | if (item.zjh == this.ruleForm.czr) { | 414 | if (item.zjh == this.czr) { |
409 | item.sfczr = "1"; | 415 | item.sfczr = "1"; |
410 | } else { | 416 | } else { |
411 | item.sfczr = "0"; | 417 | item.sfczr = "0"; | ... | ... |
... | @@ -199,7 +199,7 @@ | ... | @@ -199,7 +199,7 @@ |
199 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> | 199 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> |
200 | <el-form-item label="持证人:"> | 200 | <el-form-item label="持证人:"> |
201 | <el-select | 201 | <el-select |
202 | v-model="ruleForm.czr" | 202 | v-model="czr" |
203 | placeholder="持证人" | 203 | placeholder="持证人" |
204 | :disabled="!viewEdit"> | 204 | :disabled="!viewEdit"> |
205 | <el-option | 205 | <el-option |
... | @@ -260,6 +260,11 @@ | ... | @@ -260,6 +260,11 @@ |
260 | Init(formdata).then((res) => { | 260 | Init(formdata).then((res) => { |
261 | this.ruleForm = res.result; | 261 | this.ruleForm = res.result; |
262 | this.czrOptions = this.ruleForm.qlrList; | 262 | this.czrOptions = this.ruleForm.qlrList; |
263 | this.ruleForm.qlrList.forEach((item) => { | ||
264 | if(item.sfczr==1){ | ||
265 | this.czr=item.sqrmc | ||
266 | } | ||
267 | }) | ||
263 | this.$endLoading(); | 268 | this.$endLoading(); |
264 | }) | 269 | }) |
265 | }, | 270 | }, |
... | @@ -272,6 +277,7 @@ | ... | @@ -272,6 +277,7 @@ |
272 | disabled: true, | 277 | disabled: true, |
273 | //持证人选项 | 278 | //持证人选项 |
274 | czrOptions: [], | 279 | czrOptions: [], |
280 | czr:"", | ||
275 | ruleForm: { | 281 | ruleForm: { |
276 | zdjbxx: { | 282 | zdjbxx: { |
277 | ghytmc: '' | 283 | ghytmc: '' |
... | @@ -326,7 +332,7 @@ | ... | @@ -326,7 +332,7 @@ |
326 | item.sfczr = "1"; | 332 | item.sfczr = "1"; |
327 | }); | 333 | }); |
328 | } else { | 334 | } else { |
329 | if (!that.ruleForm.czr) { | 335 | if (!that.czr) { |
330 | that.$message({ | 336 | that.$message({ |
331 | showClose: true, | 337 | showClose: true, |
332 | message: "请选择持证人", | 338 | message: "请选择持证人", |
... | @@ -335,7 +341,7 @@ | ... | @@ -335,7 +341,7 @@ |
335 | return false; | 341 | return false; |
336 | } | 342 | } |
337 | this.ruleForm.qlrList.forEach((item, index) => { | 343 | this.ruleForm.qlrList.forEach((item, index) => { |
338 | if (item.zjh == this.ruleForm.czr) { | 344 | if (item.zjh == this.czr) { |
339 | item.sfczr = "1"; | 345 | item.sfczr = "1"; |
340 | } else { | 346 | } else { |
341 | item.sfczr = "0"; | 347 | item.sfczr = "0"; | ... | ... |
... | @@ -199,7 +199,7 @@ | ... | @@ -199,7 +199,7 @@ |
199 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> | 199 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> |
200 | <el-form-item label="持证人:"> | 200 | <el-form-item label="持证人:"> |
201 | <el-select | 201 | <el-select |
202 | v-model="ruleForm.czr" | 202 | v-model="czr" |
203 | placeholder="持证人" | 203 | placeholder="持证人" |
204 | :disabled="!viewEdit"> | 204 | :disabled="!viewEdit"> |
205 | <el-option | 205 | <el-option |
... | @@ -265,6 +265,11 @@ | ... | @@ -265,6 +265,11 @@ |
265 | Init(formdata).then((res) => { | 265 | Init(formdata).then((res) => { |
266 | this.ruleForm = res.result; | 266 | this.ruleForm = res.result; |
267 | this.czrOptions = this.ruleForm.qlrList; | 267 | this.czrOptions = this.ruleForm.qlrList; |
268 | this.ruleForm.qlrList.forEach((item) => { | ||
269 | if(item.sfczr==1){ | ||
270 | this.czr=item.sqrmc | ||
271 | } | ||
272 | }) | ||
268 | this.$endLoading(); | 273 | this.$endLoading(); |
269 | 274 | ||
270 | }) | 275 | }) |
... | @@ -279,6 +284,7 @@ | ... | @@ -279,6 +284,7 @@ |
279 | viewEdit: true, | 284 | viewEdit: true, |
280 | disabled: true, | 285 | disabled: true, |
281 | czrOptions: [], | 286 | czrOptions: [], |
287 | czr:"", | ||
282 | ruleForm: {}, | 288 | ruleForm: {}, |
283 | //传递参数 | 289 | //传递参数 |
284 | propsParam: {}, | 290 | propsParam: {}, |
... | @@ -327,7 +333,7 @@ | ... | @@ -327,7 +333,7 @@ |
327 | item.sfczr = "1"; | 333 | item.sfczr = "1"; |
328 | }); | 334 | }); |
329 | } else { | 335 | } else { |
330 | if (!that.ruleForm.czr) { | 336 | if (!that.czr) { |
331 | that.$message({ | 337 | that.$message({ |
332 | showClose: true, | 338 | showClose: true, |
333 | message: "请选择持证人", | 339 | message: "请选择持证人", |
... | @@ -336,7 +342,7 @@ | ... | @@ -336,7 +342,7 @@ |
336 | return false; | 342 | return false; |
337 | } | 343 | } |
338 | this.ruleForm.qlrList.forEach((item, index) => { | 344 | this.ruleForm.qlrList.forEach((item, index) => { |
339 | if (item.zjh == this.ruleForm.czr) { | 345 | if (item.zjh == this.czr) { |
340 | item.sfczr = "1"; | 346 | item.sfczr = "1"; |
341 | } else { | 347 | } else { |
342 | item.sfczr = "0"; | 348 | item.sfczr = "0"; | ... | ... |
... | @@ -208,7 +208,7 @@ | ... | @@ -208,7 +208,7 @@ |
208 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> | 208 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> |
209 | <el-form-item label="持证人:"> | 209 | <el-form-item label="持证人:"> |
210 | <el-select | 210 | <el-select |
211 | v-model="ruleForm.czr" | 211 | v-model="czr" |
212 | placeholder="持证人" | 212 | placeholder="持证人" |
213 | :disabled="!viewEdit"> | 213 | :disabled="!viewEdit"> |
214 | <el-option | 214 | <el-option |
... | @@ -285,6 +285,11 @@ | ... | @@ -285,6 +285,11 @@ |
285 | ...res.result, | 285 | ...res.result, |
286 | ...res.result.qlxxdatas, | 286 | ...res.result.qlxxdatas, |
287 | }; | 287 | }; |
288 | this.ruleForm.qlrList.forEach((item) => { | ||
289 | if(item.sfczr==1){ | ||
290 | this.czr=item.sqrmc | ||
291 | } | ||
292 | }) | ||
288 | //初始化发证方式,1:小证,2:大正 | 293 | //初始化发证方式,1:小证,2:大正 |
289 | this.ruleForm.slsq.fzfs == null | 294 | this.ruleForm.slsq.fzfs == null |
290 | ? (this.ruleForm.slsq.fzfs = "1") | 295 | ? (this.ruleForm.slsq.fzfs = "1") |
... | @@ -302,6 +307,7 @@ | ... | @@ -302,6 +307,7 @@ |
302 | disabled: true, | 307 | disabled: true, |
303 | tdytOption: [], | 308 | tdytOption: [], |
304 | czrOptions: [], | 309 | czrOptions: [], |
310 | czr:"", | ||
305 | ruleForm: { | 311 | ruleForm: { |
306 | flow: { | 312 | flow: { |
307 | ywh: "", | 313 | ywh: "", |
... | @@ -396,7 +402,7 @@ | ... | @@ -396,7 +402,7 @@ |
396 | item.sfczr = "1"; | 402 | item.sfczr = "1"; |
397 | }); | 403 | }); |
398 | } else { | 404 | } else { |
399 | if (!that.ruleForm.czr) { | 405 | if (!that.czr) { |
400 | that.$message({ | 406 | that.$message({ |
401 | showClose: true, | 407 | showClose: true, |
402 | message: "请选择持证人", | 408 | message: "请选择持证人", |
... | @@ -405,7 +411,7 @@ | ... | @@ -405,7 +411,7 @@ |
405 | return false; | 411 | return false; |
406 | } | 412 | } |
407 | this.ruleForm.qlrList.forEach((item, index) => { | 413 | this.ruleForm.qlrList.forEach((item, index) => { |
408 | if (item.zjh == this.ruleForm.czr) { | 414 | if (item.zjh == this.czr) { |
409 | item.sfczr = "1"; | 415 | item.sfczr = "1"; |
410 | } else { | 416 | } else { |
411 | item.sfczr = "0"; | 417 | item.sfczr = "0"; | ... | ... |
... | @@ -279,7 +279,7 @@ | ... | @@ -279,7 +279,7 @@ |
279 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> | 279 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> |
280 | <el-form-item label="持证人:"> | 280 | <el-form-item label="持证人:"> |
281 | <el-select | 281 | <el-select |
282 | v-model="ruleForm.czr" | 282 | v-model="czr" |
283 | placeholder="持证人" | 283 | placeholder="持证人" |
284 | :disabled="!viewEdit"> | 284 | :disabled="!viewEdit"> |
285 | <el-option | 285 | <el-option |
... | @@ -363,6 +363,11 @@ | ... | @@ -363,6 +363,11 @@ |
363 | that.$endLoading(); | 363 | that.$endLoading(); |
364 | that.isShow = true; | 364 | that.isShow = true; |
365 | this.czrOptions = this.ruleForm.qlrList; | 365 | this.czrOptions = this.ruleForm.qlrList; |
366 | this.ruleForm.qlrList.forEach((item) => { | ||
367 | if(item.sfczr==1){ | ||
368 | this.czr=item.sqrmc | ||
369 | } | ||
370 | }) | ||
366 | }); | 371 | }); |
367 | }); | 372 | }); |
368 | }, | 373 | }, |
... | @@ -389,6 +394,7 @@ | ... | @@ -389,6 +394,7 @@ |
389 | isShow: false, | 394 | isShow: false, |
390 | disabled: true, | 395 | disabled: true, |
391 | czrOptions: [], | 396 | czrOptions: [], |
397 | czr:"", | ||
392 | ruleForm: {}, | 398 | ruleForm: {}, |
393 | //传递参数 | 399 | //传递参数 |
394 | propsParam: {}, | 400 | propsParam: {}, |
... | @@ -475,7 +481,7 @@ | ... | @@ -475,7 +481,7 @@ |
475 | item.sfczr = "1"; | 481 | item.sfczr = "1"; |
476 | }); | 482 | }); |
477 | } else { | 483 | } else { |
478 | if (!that.ruleForm.czr) { | 484 | if (!that.czr) { |
479 | that.$message({ | 485 | that.$message({ |
480 | showClose: true, | 486 | showClose: true, |
481 | message: "请选择持证人", | 487 | message: "请选择持证人", |
... | @@ -484,7 +490,7 @@ | ... | @@ -484,7 +490,7 @@ |
484 | return false; | 490 | return false; |
485 | } | 491 | } |
486 | this.ruleForm.qlrList.forEach((item, index) => { | 492 | this.ruleForm.qlrList.forEach((item, index) => { |
487 | if (item.zjh == this.ruleForm.czr) { | 493 | if (item.zjh == this.czr) { |
488 | item.sfczr = "1"; | 494 | item.sfczr = "1"; |
489 | } else { | 495 | } else { |
490 | item.sfczr = "0"; | 496 | item.sfczr = "0"; | ... | ... |
... | @@ -200,7 +200,7 @@ | ... | @@ -200,7 +200,7 @@ |
200 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> | 200 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> |
201 | <el-form-item label="持证人:"> | 201 | <el-form-item label="持证人:"> |
202 | <el-select | 202 | <el-select |
203 | v-model="ruleForm.czr" | 203 | v-model="czr" |
204 | placeholder="持证人" | 204 | placeholder="持证人" |
205 | :disabled="!viewEdit"> | 205 | :disabled="!viewEdit"> |
206 | <el-option | 206 | <el-option |
... | @@ -263,6 +263,11 @@ | ... | @@ -263,6 +263,11 @@ |
263 | this.ruleForm = res.result; | 263 | this.ruleForm = res.result; |
264 | this.czrOptions = this.ruleForm.qlrList; | 264 | this.czrOptions = this.ruleForm.qlrList; |
265 | this.$endLoading(); | 265 | this.$endLoading(); |
266 | this.ruleForm.qlrList.forEach((item) => { | ||
267 | if(item.sfczr==1){ | ||
268 | this.czr=item.sqrmc | ||
269 | } | ||
270 | }) | ||
266 | } | 271 | } |
267 | }) | 272 | }) |
268 | }, | 273 | }, |
... | @@ -278,6 +283,7 @@ | ... | @@ -278,6 +283,7 @@ |
278 | disabled: true, | 283 | disabled: true, |
279 | tdytOption: [], | 284 | tdytOption: [], |
280 | czrOptions: [], | 285 | czrOptions: [], |
286 | czr:"", | ||
281 | ruleForm: { | 287 | ruleForm: { |
282 | qlxx: {} | 288 | qlxx: {} |
283 | , sldy: {} | 289 | , sldy: {} |
... | @@ -349,7 +355,7 @@ | ... | @@ -349,7 +355,7 @@ |
349 | item.sfczr = "1"; | 355 | item.sfczr = "1"; |
350 | }); | 356 | }); |
351 | } else { | 357 | } else { |
352 | if (!that.ruleForm.czr) { | 358 | if (!that.czr) { |
353 | that.$message({ | 359 | that.$message({ |
354 | showClose: true, | 360 | showClose: true, |
355 | message: "请选择持证人", | 361 | message: "请选择持证人", |
... | @@ -358,7 +364,7 @@ | ... | @@ -358,7 +364,7 @@ |
358 | return false; | 364 | return false; |
359 | } | 365 | } |
360 | this.ruleForm.qlrList.forEach((item, index) => { | 366 | this.ruleForm.qlrList.forEach((item, index) => { |
361 | if (item.zjh == this.ruleForm.czr) { | 367 | if (item.zjh == this.czr) { |
362 | item.sfczr = "1"; | 368 | item.sfczr = "1"; |
363 | } else { | 369 | } else { |
364 | item.sfczr = "0"; | 370 | item.sfczr = "0"; | ... | ... |
... | @@ -136,7 +136,7 @@ | ... | @@ -136,7 +136,7 @@ |
136 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> | 136 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> |
137 | <el-form-item label="持证人:"> | 137 | <el-form-item label="持证人:"> |
138 | <el-select | 138 | <el-select |
139 | v-model="ruleForm.czr" | 139 | v-model="czr" |
140 | placeholder="持证人" | 140 | placeholder="持证人" |
141 | :disabled="!viewEdit"> | 141 | :disabled="!viewEdit"> |
142 | <el-option | 142 | <el-option |
... | @@ -199,6 +199,11 @@ | ... | @@ -199,6 +199,11 @@ |
199 | this.$endLoading(); | 199 | this.$endLoading(); |
200 | this.ruleForm = res.result; | 200 | this.ruleForm = res.result; |
201 | this.czrOptions = this.ruleForm.qlrList; | 201 | this.czrOptions = this.ruleForm.qlrList; |
202 | this.ruleForm.qlrList.forEach((item) => { | ||
203 | if(item.sfczr==1){ | ||
204 | this.czr=item.sqrmc | ||
205 | } | ||
206 | }) | ||
202 | } | 207 | } |
203 | }); | 208 | }); |
204 | }, | 209 | }, |
... | @@ -213,6 +218,7 @@ | ... | @@ -213,6 +218,7 @@ |
213 | disabled: true, | 218 | disabled: true, |
214 | tdytOption: [], | 219 | tdytOption: [], |
215 | czrOptions: [], | 220 | czrOptions: [], |
221 | czr:"", | ||
216 | ruleForm: {}, | 222 | ruleForm: {}, |
217 | //传递参数 | 223 | //传递参数 |
218 | propsParam: this.$attrs, | 224 | propsParam: this.$attrs, |
... | @@ -292,7 +298,7 @@ | ... | @@ -292,7 +298,7 @@ |
292 | item.sfczr = "1"; | 298 | item.sfczr = "1"; |
293 | }); | 299 | }); |
294 | } else { | 300 | } else { |
295 | if (!that.ruleForm.czr) { | 301 | if (!that.czr) { |
296 | that.$message({ | 302 | that.$message({ |
297 | showClose: true, | 303 | showClose: true, |
298 | message: "请选择持证人", | 304 | message: "请选择持证人", |
... | @@ -301,7 +307,7 @@ | ... | @@ -301,7 +307,7 @@ |
301 | return false; | 307 | return false; |
302 | } | 308 | } |
303 | this.ruleForm.qlrList.forEach((item, index) => { | 309 | this.ruleForm.qlrList.forEach((item, index) => { |
304 | if (item.zjh == this.ruleForm.czr) { | 310 | if (item.zjh == this.czr) { |
305 | item.sfczr = "1"; | 311 | item.sfczr = "1"; |
306 | } else { | 312 | } else { |
307 | item.sfczr = "0"; | 313 | item.sfczr = "0"; | ... | ... |
... | @@ -203,7 +203,7 @@ | ... | @@ -203,7 +203,7 @@ |
203 | </el-col> | 203 | </el-col> |
204 | <el-col :span="6" v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> | 204 | <el-col :span="6" v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> |
205 | <el-form-item label="持证人:"> | 205 | <el-form-item label="持证人:"> |
206 | <el-select v-model="ruleForm.czr" placeholder="持证人" :disabled="!viewEdit"> | 206 | <el-select v-model="czr" placeholder="持证人" :disabled="!viewEdit"> |
207 | <el-option | 207 | <el-option |
208 | v-for="item in czrOptions" | 208 | v-for="item in czrOptions" |
209 | :key="item.zjh" | 209 | :key="item.zjh" |
... | @@ -274,6 +274,11 @@ | ... | @@ -274,6 +274,11 @@ |
274 | if (res.code === 200 && res.result) { | 274 | if (res.code === 200 && res.result) { |
275 | that.ruleForm = res.result; | 275 | that.ruleForm = res.result; |
276 | this.czrOptions = this.ruleForm.qlrList; | 276 | this.czrOptions = this.ruleForm.qlrList; |
277 | this.ruleForm.qlrList.forEach((item) => { | ||
278 | if(item.sfczr==1){ | ||
279 | this.czr=item.sqrmc | ||
280 | } | ||
281 | }) | ||
277 | setTimeout(() => { | 282 | setTimeout(() => { |
278 | that.loading = false; | 283 | that.loading = false; |
279 | }, 300); | 284 | }, 300); |
... | @@ -292,6 +297,7 @@ | ... | @@ -292,6 +297,7 @@ |
292 | disabled: true, | 297 | disabled: true, |
293 | tdytOption: [], | 298 | tdytOption: [], |
294 | czrOptions: [], | 299 | czrOptions: [], |
300 | czr:"", | ||
295 | ruleForm: {}, | 301 | ruleForm: {}, |
296 | //传递参数 | 302 | //传递参数 |
297 | propsParam: this.$attrs, | 303 | propsParam: this.$attrs, |
... | @@ -357,7 +363,7 @@ | ... | @@ -357,7 +363,7 @@ |
357 | item.sfczr = "1"; | 363 | item.sfczr = "1"; |
358 | }); | 364 | }); |
359 | } else { | 365 | } else { |
360 | if (!that.ruleForm.czr) { | 366 | if (!that.czr) { |
361 | that.$message({ | 367 | that.$message({ |
362 | showClose: true, | 368 | showClose: true, |
363 | message: "请选择持证人", | 369 | message: "请选择持证人", |
... | @@ -366,7 +372,7 @@ | ... | @@ -366,7 +372,7 @@ |
366 | return false; | 372 | return false; |
367 | } | 373 | } |
368 | this.ruleForm.qlrList.forEach((item, index) => { | 374 | this.ruleForm.qlrList.forEach((item, index) => { |
369 | if (item.zjh == this.ruleForm.czr) { | 375 | if (item.zjh == this.czr) { |
370 | item.sfczr = "1"; | 376 | item.sfczr = "1"; |
371 | } else { | 377 | } else { |
372 | item.sfczr = "0"; | 378 | item.sfczr = "0"; | ... | ... |
... | @@ -162,7 +162,7 @@ | ... | @@ -162,7 +162,7 @@ |
162 | </el-col> | 162 | </el-col> |
163 | <el-col :span="5" v-show="ruleForm.sldyList[0].gyfs != '0'&&ruleForm.sldyList[0].sqfbcz == '0' "> | 163 | <el-col :span="5" v-show="ruleForm.sldyList[0].gyfs != '0'&&ruleForm.sldyList[0].sqfbcz == '0' "> |
164 | <el-form-item label="持证人:"> | 164 | <el-form-item label="持证人:"> |
165 | <el-select v-model="ruleForm.czr" placeholder="持证人" :disabled="!viewEdit"> | 165 | <el-select v-model="czr" placeholder="持证人" :disabled="!viewEdit"> |
166 | <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value"> | 166 | <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value"> |
167 | </el-option> | 167 | </el-option> |
168 | </el-select> | 168 | </el-select> |
... | @@ -224,6 +224,11 @@ | ... | @@ -224,6 +224,11 @@ |
224 | if (res.code === 200 && res.result) { | 224 | if (res.code === 200 && res.result) { |
225 | this.ruleForm = res.result; | 225 | this.ruleForm = res.result; |
226 | this.czrOptions = this.ruleForm.qlrList; | 226 | this.czrOptions = this.ruleForm.qlrList; |
227 | this.ruleForm.qlrList.forEach((item) => { | ||
228 | if(item.sfczr==1){ | ||
229 | this.czr=item.sqrmc | ||
230 | } | ||
231 | }) | ||
227 | } else { | 232 | } else { |
228 | this.$message.error(res.message); | 233 | this.$message.error(res.message); |
229 | } | 234 | } |
... | @@ -239,6 +244,7 @@ | ... | @@ -239,6 +244,7 @@ |
239 | viewEdit: true, | 244 | viewEdit: true, |
240 | disabled: true, | 245 | disabled: true, |
241 | czrOptions: [], | 246 | czrOptions: [], |
247 | czr:"", | ||
242 | ruleForm: {}, | 248 | ruleForm: {}, |
243 | //传递参数 | 249 | //传递参数 |
244 | propsParam: {}, | 250 | propsParam: {}, |
... | @@ -287,7 +293,7 @@ | ... | @@ -287,7 +293,7 @@ |
287 | item.sfczr = "1"; | 293 | item.sfczr = "1"; |
288 | }); | 294 | }); |
289 | } else { | 295 | } else { |
290 | if (!that.ruleForm.czr) { | 296 | if (!that.czr) { |
291 | that.$message({ | 297 | that.$message({ |
292 | showClose: true, | 298 | showClose: true, |
293 | message: "请选择持证人", | 299 | message: "请选择持证人", |
... | @@ -296,7 +302,7 @@ | ... | @@ -296,7 +302,7 @@ |
296 | return false; | 302 | return false; |
297 | } | 303 | } |
298 | this.ruleForm.qlrList.forEach((item, index) => { | 304 | this.ruleForm.qlrList.forEach((item, index) => { |
299 | if (item.zjh == this.ruleForm.czr) { | 305 | if (item.zjh == this.czr) { |
300 | item.sfczr = "1"; | 306 | item.sfczr = "1"; |
301 | } else { | 307 | } else { |
302 | item.sfczr = "0"; | 308 | item.sfczr = "0"; | ... | ... |
... | @@ -218,7 +218,7 @@ | ... | @@ -218,7 +218,7 @@ |
218 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> | 218 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> |
219 | <el-form-item label="持证人:"> | 219 | <el-form-item label="持证人:"> |
220 | <el-select | 220 | <el-select |
221 | v-model="ruleForm.czr" | 221 | v-model="czr" |
222 | placeholder="持证人" | 222 | placeholder="持证人" |
223 | :disabled="!viewEdit"> | 223 | :disabled="!viewEdit"> |
224 | <el-option | 224 | <el-option |
... | @@ -282,6 +282,11 @@ | ... | @@ -282,6 +282,11 @@ |
282 | if (res.code === 200 && res.result) { | 282 | if (res.code === 200 && res.result) { |
283 | this.ruleForm = res.result; | 283 | this.ruleForm = res.result; |
284 | this.czrOptions = this.ruleForm.qlrList; | 284 | this.czrOptions = this.ruleForm.qlrList; |
285 | this.ruleForm.qlrList.forEach((item) => { | ||
286 | if(item.sfczr==1){ | ||
287 | this.czr=item.sqrmc | ||
288 | } | ||
289 | }) | ||
285 | this.$endLoading(); | 290 | this.$endLoading(); |
286 | } | 291 | } |
287 | }) | 292 | }) |
... | @@ -296,6 +301,7 @@ | ... | @@ -296,6 +301,7 @@ |
296 | viewEdit: true, | 301 | viewEdit: true, |
297 | disabled: true, | 302 | disabled: true, |
298 | czrOptions: [], | 303 | czrOptions: [], |
304 | czr:"", | ||
299 | ruleForm: {}, | 305 | ruleForm: {}, |
300 | //传递参数 | 306 | //传递参数 |
301 | propsParam: {}, | 307 | propsParam: {}, |
... | @@ -355,7 +361,7 @@ | ... | @@ -355,7 +361,7 @@ |
355 | item.sfczr = "1"; | 361 | item.sfczr = "1"; |
356 | }); | 362 | }); |
357 | } else { | 363 | } else { |
358 | if (!that.ruleForm.czr) { | 364 | if (!that.czr) { |
359 | that.$message({ | 365 | that.$message({ |
360 | showClose: true, | 366 | showClose: true, |
361 | message: "请选择持证人", | 367 | message: "请选择持证人", |
... | @@ -364,7 +370,7 @@ | ... | @@ -364,7 +370,7 @@ |
364 | return false; | 370 | return false; |
365 | } | 371 | } |
366 | this.ruleForm.qlrList.forEach((item, index) => { | 372 | this.ruleForm.qlrList.forEach((item, index) => { |
367 | if (item.zjh == this.ruleForm.czr) { | 373 | if (item.zjh == this.czr) { |
368 | item.sfczr = "1"; | 374 | item.sfczr = "1"; |
369 | } else { | 375 | } else { |
370 | item.sfczr = "0"; | 376 | item.sfczr = "0"; | ... | ... |
-
Please register or sign in to post a comment