lshcom 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -353,13 +353,21 @@
|
|
|
353
353
|
</div>
|
|
354
354
|
</div>
|
|
355
355
|
|
|
356
|
-
<div class="
|
|
357
|
-
<div class="pull-right">
|
|
358
|
-
<b-button v-if="showChange && $route.name != 'lsh-customer-view' && ifChange" @click="changeMaster" size="sm" variant="success">车主变更</b-button>
|
|
356
|
+
<div class="f-tar">
|
|
359
357
|
<b-button size="sm" variant="default" @click="cancel">取消</b-button>
|
|
360
|
-
<b-button v-if="$route.name != 'lsh-customer-view'" size="sm" variant="primary" @click="preserve">保存</b-button>
|
|
361
|
-
</div>
|
|
358
|
+
<b-button v-if="$route.name != 'lsh-customer-view'" size="sm" variant="primary" @click="checkAuthCustomerInfo('preserve')">保存</b-button>
|
|
362
359
|
</div>
|
|
360
|
+
|
|
361
|
+
<EleDialog title="客户信息更正" ref="EleDialog" showFooter customFooter :modalAppendToBody="false" :modal="false">
|
|
362
|
+
<p>该手机号码的个人客户已经完成实名制,信息如下:</p>
|
|
363
|
+
<p>姓名:{{ custInfo.userName }}</p>
|
|
364
|
+
<p>证件号:{{ custInfo.certNo }}</p>
|
|
365
|
+
<p>是否使用正确的客户更新进行保存?</p>
|
|
366
|
+
<div slot="footer">
|
|
367
|
+
<el-button type="primary" @click="checkAuthCustomerInfoCancel">取消</el-button>
|
|
368
|
+
<el-button type="primary" @click="checkAuthCustomerInfoConfirm">确定</el-button>
|
|
369
|
+
</div>
|
|
370
|
+
</EleDialog>
|
|
363
371
|
</div>
|
|
364
372
|
</template>
|
|
365
373
|
|
|
@@ -395,7 +403,6 @@ export default {
|
|
|
395
403
|
type: Boolean,
|
|
396
404
|
default: false,
|
|
397
405
|
},
|
|
398
|
-
ifChange: {type: Boolean, default: true}, // 是否显示车主变更按钮
|
|
399
406
|
|
|
400
407
|
},
|
|
401
408
|
|
|
@@ -427,6 +434,8 @@ export default {
|
|
|
427
434
|
customerCountryList: [],
|
|
428
435
|
companyFlag: false,
|
|
429
436
|
visbileFlag: false,
|
|
437
|
+
btnType: '',
|
|
438
|
+
custInfo: {},
|
|
430
439
|
};
|
|
431
440
|
},
|
|
432
441
|
|
|
@@ -484,68 +493,6 @@ export default {
|
|
|
484
493
|
savePhoneNo: "customerPortrayal/getCustomerPhoneNo",
|
|
485
494
|
savePortrayalVisible: "customerPortrayal/getPortrayalVisible",
|
|
486
495
|
}),
|
|
487
|
-
// 变更车主
|
|
488
|
-
changeMaster(){
|
|
489
|
-
console.log('test:>watch', this.$watch)
|
|
490
|
-
if (!this.queryParams.custType) {
|
|
491
|
-
this.$message({
|
|
492
|
-
message: '请选择客户类型',
|
|
493
|
-
type: 'warning'
|
|
494
|
-
})
|
|
495
|
-
return
|
|
496
|
-
}
|
|
497
|
-
|
|
498
|
-
if (!this.queryParams.contactPhoneNo) {
|
|
499
|
-
this.$message({
|
|
500
|
-
message: '请输入移动电话',
|
|
501
|
-
type: 'warning'
|
|
502
|
-
})
|
|
503
|
-
return
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
if (!this.queryParams.customerName) {
|
|
507
|
-
this.$message({
|
|
508
|
-
message: '请输入客户姓名',
|
|
509
|
-
type: 'warning'
|
|
510
|
-
})
|
|
511
|
-
return
|
|
512
|
-
}
|
|
513
|
-
|
|
514
|
-
if (!this.queryParams.customerGender) {
|
|
515
|
-
this.$message({
|
|
516
|
-
message: '请选择称谓',
|
|
517
|
-
type: 'warning'
|
|
518
|
-
})
|
|
519
|
-
return
|
|
520
|
-
}
|
|
521
|
-
|
|
522
|
-
if (!this.queryParams.customerCountryCode) {
|
|
523
|
-
this.$message({
|
|
524
|
-
message: '请选择国家/地区',
|
|
525
|
-
type: 'warning'
|
|
526
|
-
})
|
|
527
|
-
return
|
|
528
|
-
}
|
|
529
|
-
|
|
530
|
-
if (this.bindFlag) {
|
|
531
|
-
this.$emit('changeMaster', this.queryParams)
|
|
532
|
-
}
|
|
533
|
-
console.log(2);
|
|
534
|
-
|
|
535
|
-
const params = {
|
|
536
|
-
saveFrom: 0,
|
|
537
|
-
custVo: this.queryParams,
|
|
538
|
-
}
|
|
539
|
-
//carIsBind
|
|
540
|
-
api.liApi.custVehcile.setCustVehicle(params, res => {
|
|
541
|
-
if (res && res.data.code === 'success') {
|
|
542
|
-
console.log(res.data.obj.custVo,'33333');
|
|
543
|
-
this.$emit('preserve', res.data.obj.custVo)
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
}
|
|
547
|
-
})
|
|
548
|
-
},
|
|
549
496
|
delogmessage(flag){
|
|
550
497
|
if(flag){
|
|
551
498
|
this.$message({
|
|
@@ -554,73 +501,6 @@ export default {
|
|
|
554
501
|
})
|
|
555
502
|
}
|
|
556
503
|
},
|
|
557
|
-
save(){
|
|
558
|
-
console.log('test:>watch', this.$watch)
|
|
559
|
-
if (!this.queryParams.custType) {
|
|
560
|
-
this.$message({
|
|
561
|
-
message: '请选择客户类型',
|
|
562
|
-
type: 'warning'
|
|
563
|
-
})
|
|
564
|
-
return
|
|
565
|
-
}
|
|
566
|
-
|
|
567
|
-
if (!this.queryParams.contactPhoneNo) {
|
|
568
|
-
this.$message({
|
|
569
|
-
message: '请输入移动电话',
|
|
570
|
-
type: 'warning'
|
|
571
|
-
})
|
|
572
|
-
return
|
|
573
|
-
}
|
|
574
|
-
|
|
575
|
-
if (!this.queryParams.customerName) {
|
|
576
|
-
this.$message({
|
|
577
|
-
message: '请输入客户姓名',
|
|
578
|
-
type: 'warning'
|
|
579
|
-
})
|
|
580
|
-
return
|
|
581
|
-
}
|
|
582
|
-
|
|
583
|
-
if (!this.queryParams.customerGender) {
|
|
584
|
-
this.$message({
|
|
585
|
-
message: '请选择称谓',
|
|
586
|
-
type: 'warning'
|
|
587
|
-
})
|
|
588
|
-
return
|
|
589
|
-
}
|
|
590
|
-
|
|
591
|
-
if (!this.queryParams.customerCountryCode) {
|
|
592
|
-
this.$message({
|
|
593
|
-
message: '请选择国家/地区',
|
|
594
|
-
type: 'warning'
|
|
595
|
-
})
|
|
596
|
-
return
|
|
597
|
-
}
|
|
598
|
-
|
|
599
|
-
if (this.bindFlag) {
|
|
600
|
-
|
|
601
|
-
this.$emit('save', this.queryParams)
|
|
602
|
-
return
|
|
603
|
-
}
|
|
604
|
-
|
|
605
|
-
const params = {
|
|
606
|
-
saveFrom: 0,
|
|
607
|
-
custVo: this.queryParams,
|
|
608
|
-
}
|
|
609
|
-
api.liApi.custVehcile.setCustVehicle(params, res => {
|
|
610
|
-
if (res && res.data.code === 'success') {
|
|
611
|
-
this.$emit('preserve', res.data.obj.custVo)
|
|
612
|
-
this.$message({
|
|
613
|
-
message: '保存成功',
|
|
614
|
-
type: 'success'
|
|
615
|
-
})
|
|
616
|
-
|
|
617
|
-
// 解决保存后 loading一直转圈的问题
|
|
618
|
-
// setTimeout(function(){
|
|
619
|
-
// window.location.reload()
|
|
620
|
-
// }, 1000)
|
|
621
|
-
}
|
|
622
|
-
})
|
|
623
|
-
},
|
|
624
504
|
init() {
|
|
625
505
|
this.querychinaarea({ levels: 1 });
|
|
626
506
|
},
|
|
@@ -676,51 +556,6 @@ export default {
|
|
|
676
556
|
* @desc 保存
|
|
677
557
|
*/
|
|
678
558
|
preserve() {
|
|
679
|
-
console.log("test:>watch", this.$watch);
|
|
680
|
-
if (!this.queryParams.custType) {
|
|
681
|
-
this.$message({
|
|
682
|
-
message: "请选择客户类型",
|
|
683
|
-
type: "warning",
|
|
684
|
-
});
|
|
685
|
-
return;
|
|
686
|
-
}
|
|
687
|
-
|
|
688
|
-
if (!this.queryParams.contactPhoneNo) {
|
|
689
|
-
this.$message({
|
|
690
|
-
message: "请输入移动电话",
|
|
691
|
-
type: "warning",
|
|
692
|
-
});
|
|
693
|
-
return;
|
|
694
|
-
}
|
|
695
|
-
|
|
696
|
-
if (!this.queryParams.customerName) {
|
|
697
|
-
this.$message({
|
|
698
|
-
message: "请输入客户姓名",
|
|
699
|
-
type: "warning",
|
|
700
|
-
});
|
|
701
|
-
return;
|
|
702
|
-
}
|
|
703
|
-
|
|
704
|
-
if (!this.queryParams.customerGender) {
|
|
705
|
-
this.$message({
|
|
706
|
-
message: "请选择称谓",
|
|
707
|
-
type: "warning",
|
|
708
|
-
});
|
|
709
|
-
return;
|
|
710
|
-
}
|
|
711
|
-
|
|
712
|
-
if (!this.queryParams.customerCountryCode) {
|
|
713
|
-
this.$message({
|
|
714
|
-
message: "请选择国家/地区",
|
|
715
|
-
type: "warning",
|
|
716
|
-
});
|
|
717
|
-
return;
|
|
718
|
-
}
|
|
719
|
-
|
|
720
|
-
if (this.bindFlag) {
|
|
721
|
-
this.$emit("preserve", this.queryParams);
|
|
722
|
-
return;
|
|
723
|
-
}
|
|
724
559
|
if(this.provinceList.length>0) {
|
|
725
560
|
let economize = this.provinceList.filter((item)=>{
|
|
726
561
|
return item.value == this.queryParams.addressProvinceCode
|
|
@@ -773,6 +608,7 @@ export default {
|
|
|
773
608
|
api.liApi.custVehcile.setCustVehicle(params, (res) => {
|
|
774
609
|
console.log(params,"paramsxxx");
|
|
775
610
|
if (res && res.data.code === "success") {
|
|
611
|
+
this.$refs.EleDialog.visible = false
|
|
776
612
|
this.$emit("preserve", res.data.obj.custVo);
|
|
777
613
|
this.$message({
|
|
778
614
|
message: "保存成功",
|
|
@@ -902,6 +738,40 @@ export default {
|
|
|
902
738
|
this.savePhoneNo(this.queryParams.contactPhoneNo);
|
|
903
739
|
this.savePortrayalVisible(!this.portrayalVisible);
|
|
904
740
|
},
|
|
741
|
+
// 客户实名制校验
|
|
742
|
+
checkAuthCustomerInfo(type){
|
|
743
|
+
this.btnType = type
|
|
744
|
+
if (!this.queryParams.custType) return this.$message.warning('请选择客户类型')
|
|
745
|
+
if (!this.queryParams.contactPhoneNo) return this.$message.warning('请输入移动电话')
|
|
746
|
+
if (!this.queryParams.customerName) return this.$message.warning('请输入客户姓名')
|
|
747
|
+
if (!this.queryParams.customerGender) return this.$message.warning('请选择称谓')
|
|
748
|
+
if (!this.queryParams.customerCountryCode) return this.$message.warning('请选择国家/地区')
|
|
749
|
+
// 个人客户点击保存后校验实名制关系
|
|
750
|
+
if (this.queryParams.custType == 'customTypeIndividualCus'){
|
|
751
|
+
this.global.post(this.global.isdev + '/v1/ecep/customer/checkAuthCustomerInfo', {
|
|
752
|
+
certNo: this.queryParams.customerIdNo,
|
|
753
|
+
mobilePhone: this.queryParams.contactPhoneNo,
|
|
754
|
+
userName: this.queryParams.customerName,
|
|
755
|
+
}, (obj, res) => {
|
|
756
|
+
if(!res.data.obj) {
|
|
757
|
+
this[this.btnType]()
|
|
758
|
+
} else {
|
|
759
|
+
this.custInfo = obj
|
|
760
|
+
this.$refs.EleDialog.visible = true
|
|
761
|
+
}
|
|
762
|
+
})
|
|
763
|
+
} else {
|
|
764
|
+
this[type]()
|
|
765
|
+
}
|
|
766
|
+
},
|
|
767
|
+
checkAuthCustomerInfoConfirm(){
|
|
768
|
+
this.queryParams.customerName = this.custInfo.userName
|
|
769
|
+
this.queryParams.customerIdNo = this.custInfo.certNo
|
|
770
|
+
this[this.btnType]()
|
|
771
|
+
},
|
|
772
|
+
checkAuthCustomerInfoCancel(){
|
|
773
|
+
this.$refs.EleDialog.visible = false
|
|
774
|
+
},
|
|
905
775
|
},
|
|
906
776
|
};
|
|
907
777
|
</script>
|
|
@@ -353,7 +353,6 @@
|
|
|
353
353
|
import { showBtn } from "common/api-common";
|
|
354
354
|
|
|
355
355
|
import api from "common/api";
|
|
356
|
-
import { SAP_ACINS_ORG, Business_Transaction_Type } from "common/ref-code";
|
|
357
356
|
import { ORDER_CHANGE_MASTER } from "common/resource-btn.js";
|
|
358
357
|
export default {
|
|
359
358
|
props: {
|
|
@@ -505,7 +504,8 @@ export default {
|
|
|
505
504
|
},
|
|
506
505
|
computed: {
|
|
507
506
|
showChange() {
|
|
508
|
-
return showBtn(ORDER_CHANGE_MASTER);
|
|
507
|
+
// return showBtn(ORDER_CHANGE_MASTER);
|
|
508
|
+
return this.custVoSpace && this.custVoSpace.customerName && this.custVoSpace.contactPhoneNo && this.custVoSpace.scvId
|
|
509
509
|
},
|
|
510
510
|
// 无需填写fin码标识
|
|
511
511
|
finFlag() {
|
|
@@ -628,10 +628,10 @@ export default {
|
|
|
628
628
|
});
|
|
629
629
|
},
|
|
630
630
|
init() {
|
|
631
|
-
this.queryRef({ refCode:
|
|
631
|
+
this.queryRef({ refCode: "SAPACInsOrg" }, "insTciList", false);
|
|
632
632
|
this.getCarRelationInfo("brandList");
|
|
633
633
|
this.queryRef(
|
|
634
|
-
{ refCode:
|
|
634
|
+
{ refCode: "BusinessTransactionType" },
|
|
635
635
|
"businessTransactionOptions",
|
|
636
636
|
false
|
|
637
637
|
);
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
size="large" :before-close="hide"
|
|
6
6
|
:visible.sync="visible"
|
|
7
7
|
:modal-append-to-body="false">
|
|
8
|
-
<customer-vehicle ref="vehicle" :frameNo="frameNo" @comfirm="handleConfirm"/>
|
|
8
|
+
<customer-vehicle ref="vehicle" :frameNo="frameNo" :contactPhoneNo="contactPhoneNo" :licNum="licNum" @comfirm="handleConfirm"/>
|
|
9
9
|
</el-dialog>
|
|
10
10
|
</template>
|
|
11
11
|
<script>
|
|
@@ -23,18 +23,24 @@ export default {
|
|
|
23
23
|
data() {
|
|
24
24
|
return {
|
|
25
25
|
visible: false,
|
|
26
|
-
frameNo: null
|
|
26
|
+
frameNo: null,
|
|
27
|
+
contactPhoneNo: null,
|
|
28
|
+
licNum: null,
|
|
27
29
|
}
|
|
28
30
|
},
|
|
29
31
|
|
|
30
32
|
methods: {
|
|
31
|
-
show({
|
|
32
|
-
this.frameNo = frameNo
|
|
33
|
+
show(obj = {}) {
|
|
34
|
+
this.frameNo = obj.frameNo || obj.plateNumberOrVin || ''
|
|
35
|
+
this.contactPhoneNo = obj.contactPhoneNo || obj.mobilePhone || ''
|
|
36
|
+
this.licNum = obj.licNum || obj.plateNumber || ''
|
|
33
37
|
this.visible = true
|
|
34
38
|
},
|
|
35
39
|
hide() {
|
|
36
40
|
this.visible = false
|
|
37
41
|
this.frameNo = ''
|
|
42
|
+
this.contactPhoneNo = ''
|
|
43
|
+
this.licNum = ''
|
|
38
44
|
this.$refs.vehicle.handleReset()
|
|
39
45
|
},
|
|
40
46
|
handleConfirm(info) {
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
min-width="100" />
|
|
141
141
|
|
|
142
142
|
<el-table-column
|
|
143
|
-
|
|
143
|
+
v-if="showChange"
|
|
144
144
|
label="操作"
|
|
145
145
|
align="center"
|
|
146
146
|
prop="bpNo"
|
|
@@ -168,10 +168,9 @@ import LshCust from './lshCust'
|
|
|
168
168
|
import api from 'common/api'
|
|
169
169
|
export default {
|
|
170
170
|
props: {
|
|
171
|
-
frameNo: {
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
}
|
|
171
|
+
frameNo: { type: String, deafult: '' }, // 车架号
|
|
172
|
+
contactPhoneNo: { type: String, deafult: '' }, // 移动电话
|
|
173
|
+
licNum: { type: String, deafult: '' }, // 车牌号
|
|
175
174
|
},
|
|
176
175
|
inject:{
|
|
177
176
|
disableOptionFlag:{
|
|
@@ -200,9 +199,25 @@ export default {
|
|
|
200
199
|
watch: {
|
|
201
200
|
frameNo(val) {
|
|
202
201
|
this.queryParams.frameNo = val
|
|
202
|
+
},
|
|
203
|
+
contactPhoneNo(val) {
|
|
204
|
+
this.queryParams.contactPhoneNo = val
|
|
205
|
+
},
|
|
206
|
+
licNum(val) {
|
|
207
|
+
this.queryParams.licNum = val
|
|
203
208
|
}
|
|
204
209
|
},
|
|
205
|
-
|
|
210
|
+
computed: {
|
|
211
|
+
showChange() {
|
|
212
|
+
if(!this.global.userInfo.carBindingBusinessSet || !this.global.userInfo.carBindingBusinessSet.length) return false;
|
|
213
|
+
if(process.env.NODE_ENV === 'development') {
|
|
214
|
+
const list = this.global.userInfo.carBindingBusinessSet.map(item => item.slice(1)).map(item => item.slice(item.indexOf('/')))
|
|
215
|
+
return list.includes(location.pathname)
|
|
216
|
+
} else {
|
|
217
|
+
return this.global.userInfo.carBindingBusinessSet.includes(location.pathname)
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
},
|
|
206
221
|
created() {
|
|
207
222
|
this.init()
|
|
208
223
|
},
|
|
@@ -210,7 +225,8 @@ export default {
|
|
|
210
225
|
methods: {
|
|
211
226
|
init() {
|
|
212
227
|
this.frameNo && (this.queryParams.frameNo = this.frameNo)
|
|
213
|
-
|
|
228
|
+
this.contactPhoneNo && (this.queryParams.contactPhoneNo = this.contactPhoneNo)
|
|
229
|
+
this.licNum && (this.queryParams.licNum = this.licNum)
|
|
214
230
|
},
|
|
215
231
|
|
|
216
232
|
/**
|
|
@@ -211,8 +211,8 @@
|
|
|
211
211
|
|
|
212
212
|
<EleDialog title="客户信息更正" ref="EleDialog" showFooter customFooter :modalAppendToBody="false" :modal="false">
|
|
213
213
|
<p>该手机号码的个人客户已经完成实名制,信息如下:</p>
|
|
214
|
-
<p
|
|
215
|
-
<p
|
|
214
|
+
<p>姓名:{{ custInfo.userName }}</p>
|
|
215
|
+
<p>证件号:{{ custInfo.certNo }}</p>
|
|
216
216
|
<p>是否使用正确的客户更新进行保存?</p>
|
|
217
217
|
<div slot="footer">
|
|
218
218
|
<el-button type="primary" @click="checkAuthCustomerInfoCancel">取消</el-button>
|
|
@@ -336,7 +336,7 @@
|
|
|
336
336
|
// this.queryByMobile()
|
|
337
337
|
},
|
|
338
338
|
queryByMobile(){
|
|
339
|
-
if (this.custVo.contactPhoneNo.length === 11) {
|
|
339
|
+
if (this.custVo && this.custVo.contactPhoneNo && this.custVo.contactPhoneNo.length === 11) {
|
|
340
340
|
api.liApi.custVehcile.getCustByPhoneName({contactPhoneNo: this.custVo.contactPhoneNo, pageStart: 1, pageNums: 1000}, res => {
|
|
341
341
|
if (res && res.data.code === 'success') {
|
|
342
342
|
// if (res.data.obj && res.data.obj.length > 0) {
|
|
@@ -491,9 +491,11 @@
|
|
|
491
491
|
api.liApi.custVehcile.setCustVehicle(params, res => {
|
|
492
492
|
if (res && res.data.code === 'success') {
|
|
493
493
|
this.$message.success('保存成功')
|
|
494
|
+
this.$refs.EleDialog.visible = false
|
|
494
495
|
this.$emit('preserve', this.queryParams)
|
|
495
496
|
}
|
|
496
497
|
if(res && res.data.code === 'carIsBind'){
|
|
498
|
+
this.$refs.EleDialog.visible = false
|
|
497
499
|
this.$message({
|
|
498
500
|
message:'该车已绑定多个车主,请点击车主变更进行车主变更',
|
|
499
501
|
type: 'warning'
|
|
@@ -524,6 +526,7 @@
|
|
|
524
526
|
api.liApi.custVehcile.setCustVehicle(params, res => {
|
|
525
527
|
if (res && res.data.code === 'success') {
|
|
526
528
|
this.$message.success('操作成功')
|
|
529
|
+
this.$refs.EleDialog.visible = false
|
|
527
530
|
this.$emit('changeMaster', this.queryParams)
|
|
528
531
|
}
|
|
529
532
|
if(res && res.data.code === 'carIsBind'){
|
|
@@ -539,6 +542,7 @@
|
|
|
539
542
|
api.liApi.custVehcile.setCustVehicle(params, res => {
|
|
540
543
|
if (res && res.data.code === 'success') {
|
|
541
544
|
this.$message.success('操作成功')
|
|
545
|
+
this.$refs.EleDialog.visible = false
|
|
542
546
|
this.$emit('changeMaster', this.queryParams)
|
|
543
547
|
}
|
|
544
548
|
})
|
|
@@ -661,35 +665,39 @@
|
|
|
661
665
|
this.savePortrayalVisible(!this.portrayalVisible)
|
|
662
666
|
},
|
|
663
667
|
// 客户实名制校验
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
668
|
+
checkAuthCustomerInfo(type){
|
|
669
|
+
this.btnType = type
|
|
670
|
+
if (!this.queryParams.custType) return this.$message.warning('请选择客户类型')
|
|
667
671
|
if (!this.queryParams.contactPhoneNo) return this.$message.warning('请输入移动电话')
|
|
668
672
|
if (!this.queryParams.customerName) return this.$message.warning('请输入客户姓名')
|
|
669
673
|
if (!this.queryParams.customerGender) return this.$message.warning('请选择称谓')
|
|
670
674
|
if (!this.queryParams.customerCountryCode) return this.$message.warning('请选择国家/地区')
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
675
|
+
// 个人客户点击保存后校验实名制关系
|
|
676
|
+
if (this.queryParams.custType == 'customTypeIndividualCus'){
|
|
677
|
+
this.global.post(this.global.isdev + '/v1/ecep/customer/checkAuthCustomerInfo', {
|
|
678
|
+
certNo: this.queryParams.customerIdNo,
|
|
679
|
+
mobilePhone: this.queryParams.contactPhoneNo,
|
|
680
|
+
userName: this.queryParams.customerName,
|
|
681
|
+
}, (obj, res) => {
|
|
682
|
+
if(!res.data.obj) {
|
|
683
|
+
this[this.btnType]()
|
|
684
|
+
} else {
|
|
685
|
+
this.custInfo = obj
|
|
686
|
+
this.$refs.EleDialog.visible = true
|
|
687
|
+
}
|
|
688
|
+
})
|
|
689
|
+
} else {
|
|
690
|
+
this[type]()
|
|
691
|
+
}
|
|
692
|
+
},
|
|
693
|
+
checkAuthCustomerInfoConfirm(){
|
|
694
|
+
this.queryParams.customerName = this.custInfo.userName
|
|
695
|
+
this.queryParams.customerIdNo = this.custInfo.certNo
|
|
696
|
+
this[this.btnType]()
|
|
697
|
+
},
|
|
698
|
+
checkAuthCustomerInfoCancel(){
|
|
699
|
+
this.$refs.EleDialog.visible = false
|
|
700
|
+
},
|
|
693
701
|
}
|
|
694
702
|
}
|
|
695
703
|
</script>
|