|
|
@@ -61,7 +61,7 @@
|
|
|
<el-select ref="selectCustomer" v-model="mainForm.CustomerId" filterable placeholder="请选择" style="width: 100%"
|
|
|
@change="chooseCustomer">
|
|
|
<el-option-group v-for="group in groupOptions" :key="group.label" :label="group.label">
|
|
|
- <el-option v-for="item in group.options" :key="item.Id" :label="item.CustomerName" :value="item.Id">
|
|
|
+ <el-option v-for="item in group.options" :key="item.Id" :label="item.Fullname" :value="item.Id">
|
|
|
</el-option>
|
|
|
</el-option-group>
|
|
|
</el-select>
|
|
|
@@ -1536,8 +1536,8 @@
|
|
|
for (var i = 0; i < _this.customerList.length; i++) {
|
|
|
if (_this.customerList[i].Id == _this.mainForm.CustomerId) {
|
|
|
_this.mainForm.CustomerCode = _this.customerList[i].CustomerCode
|
|
|
- _this.mainForm.CustomerPerson = _this.customerList[i].Person
|
|
|
- _this.mainForm.CustomerTelephone = _this.customerList[i].Telephone
|
|
|
+ _this.mainForm.CustomerPerson = _this.customerList[i].Contacts
|
|
|
+ _this.mainForm.CustomerTelephone = _this.customerList[i].Phone
|
|
|
_this.mainForm.Address = _this.customerList[i].Address
|
|
|
}
|
|
|
}
|