|
@@ -114,9 +114,13 @@ export default {
|
|
if (this.nowData.customerSn) {
|
|
if (this.nowData.customerSn) {
|
|
const _this = this
|
|
const _this = this
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
- _this.form.customerSn = _this.nowData.customerSn
|
|
|
|
- _this.$refs.custList.fetchUser(_this.nowData.customerName)
|
|
|
|
- _this.$refs.custList.dealerName = { key: _this.nowData.customerSn, label: _this.nowData.customerName, row: _this.nowData }
|
|
|
|
|
|
+ _this.form.customerSn = _this.nowData.customerEntity && _this.nowData.customerEntity.customerSn
|
|
|
|
+ _this.$refs.custList.fetchUser(_this.nowData.customerEntity && _this.nowData.customerEntity.customerName)
|
|
|
|
+ _this.$refs.custList.dealerName = {
|
|
|
|
+ key: _this.nowData.customerEntity && _this.nowData.customerEntity.customerSn,
|
|
|
|
+ label: _this.nowData.customerEntity && _this.nowData.customerEntity.customerName,
|
|
|
|
+ row: _this.nowData
|
|
|
|
+ }
|
|
})
|
|
})
|
|
}
|
|
}
|
|
}
|
|
}
|