|
|
@@ -134,7 +134,7 @@
|
|
|
<van-popup v-model="showPicker1" position="bottom">
|
|
|
<van-picker
|
|
|
show-toolbar
|
|
|
- value-key="dictLabel"
|
|
|
+ value-key="remark"
|
|
|
:columns="customerClassifyOption"
|
|
|
@confirm="onConfirm1"
|
|
|
@cancel="showPicker1 = false" />
|
|
|
@@ -252,7 +252,7 @@ export default {
|
|
|
let item = this.customerClassifyOption.find(
|
|
|
(val) => val.dictValue == this.infoData.customerClassify
|
|
|
);
|
|
|
- this.customerClassifyValue = item.dictLabel || '';
|
|
|
+ this.customerClassifyValue = item.remark || '';
|
|
|
this.customerClassify = item.dictValue;
|
|
|
this.getCustomerSubClassify(this.customerClassify);
|
|
|
},
|
|
|
@@ -281,7 +281,10 @@ export default {
|
|
|
}
|
|
|
this.getCustomerClassify();
|
|
|
// 当前客资归属人不是当前登录人
|
|
|
- if (this.infoData.deptId != localStorage.getItem('deptId')) {
|
|
|
+ let deptIds = localStorage.getItem('deptIds')
|
|
|
+ ? localStorage.getItem('deptIds').split(',')
|
|
|
+ : '';
|
|
|
+ if (deptIds.indexOf(this.infoData.deptId) == -1) {
|
|
|
this.$dialog
|
|
|
.confirm({
|
|
|
title: '提示',
|
|
|
@@ -408,7 +411,7 @@ export default {
|
|
|
this.showView = true;
|
|
|
},
|
|
|
onConfirm1(value) {
|
|
|
- this.customerClassifyValue = value.dictLabel;
|
|
|
+ this.customerClassifyValue = value.remark;
|
|
|
this.customerClassify = value.dictValue;
|
|
|
this.showPicker1 = false;
|
|
|
this.getCustomerSubClassify(this.customerClassify);
|