|
@@ -148,7 +148,8 @@ export default {
|
|
|
chooseAddr: '', // 当前已选地址信息
|
|
|
openAddrModal: false, // 选择地址弹框是否显示
|
|
|
addressId: undefined, // 地址id
|
|
|
- receiverDisabled: false // 是否选择收货客户名称
|
|
|
+ receiverDisabled: false, // 是否选择收货客户名称
|
|
|
+ editFlag: true
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
@@ -234,7 +235,11 @@ export default {
|
|
|
dealerNewLogEditFlag({ sn: this.detailData.buyerSn }).then(res => {
|
|
|
if (res.status == 200) {
|
|
|
this.editFlag = res.data
|
|
|
- this.form.newCustFlag = res.data ? 1 : 0
|
|
|
+ if (!this.editFlag) {
|
|
|
+ this.form.newCustFlag = '0'
|
|
|
+ } else {
|
|
|
+ this.form.newCustFlag = undefined
|
|
|
+ }
|
|
|
}
|
|
|
})
|
|
|
},
|