Browse Source

2024.1.16

master
yuejiayang 2 years ago
parent
commit
7a8f194e39
  1. 12
      src/views/modules/customer/customerInformationManagement.vue

12
src/views/modules/customer/customerInformationManagement.vue

@ -148,12 +148,12 @@
<!-- </el-form>--> <!-- </el-form>-->
<el-form :inline="true" label-position="top" :model="modalData" style="margin-left: 7px;margin-top: -5px;"> <el-form :inline="true" label-position="top" :model="modalData" style="margin-left: 7px;margin-top: -5px;">
<el-form-item> <el-form-item>
<span slot="label" @click="getBaseList(1021)"><a herf="#">客户组1</a></span>
<span slot="label" @click="getBaseList(120)"><a herf="#">客户组1</a></span>
<el-input v-model="modalData.customerGroupId1" style="width: 124px"></el-input> <el-input v-model="modalData.customerGroupId1" style="width: 124px"></el-input>
<el-input v-model="modalData.customerGroupName1" disabled style="width: 330px"></el-input> <el-input v-model="modalData.customerGroupName1" disabled style="width: 330px"></el-input>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<span slot="label" @click="getBaseList(1022)"><a herf="#">客户组2</a></span>
<span slot="label" @click="getBaseList(121)"><a herf="#">客户组2</a></span>
<el-input v-model="modalData.customerGroupId2" style="width: 124px"></el-input> <el-input v-model="modalData.customerGroupId2" style="width: 124px"></el-input>
<el-input v-model="modalData.customerGroupName2" disabled style="width: 330px"></el-input> <el-input v-model="modalData.customerGroupName2" disabled style="width: 330px"></el-input>
</el-form-item> </el-form-item>
@ -2972,9 +2972,9 @@
strVal = this.projectInformationModalData.priority strVal = this.projectInformationModalData.priority
} }
} }
if (val === 1021) {
if (val === 120) {
strVal = this.modalData.customerGroupId1 strVal = this.modalData.customerGroupId1
} else if (val === 1022) {
} else if (val === 121) {
strVal = this.modalData.customerGroupId2 strVal = this.modalData.customerGroupId2
} }
this.$refs.baseList.init(val, strVal) this.$refs.baseList.init(val, strVal)
@ -3009,10 +3009,10 @@
this.projectInformationModalData.priorityDesc = val.Base_desc this.projectInformationModalData.priorityDesc = val.Base_desc
} }
} }
if (this.tagNo === 1021) {
if (this.tagNo === 120) {
this.modalData.customerGroupId1 = val.customer_group_id this.modalData.customerGroupId1 = val.customer_group_id
this.modalData.customerGroupName1 = val.customer_group_name this.modalData.customerGroupName1 = val.customer_group_name
} else if (this.tagNo === 1022) {
} else if (this.tagNo === 121) {
this.modalData.customerGroupId2 = val.customer_group_id this.modalData.customerGroupId2 = val.customer_group_id
this.modalData.customerGroupName2 = val.customer_group_name this.modalData.customerGroupName2 = val.customer_group_name
} }

Loading…
Cancel
Save