diff --git a/src/views/PurchasingCenter/CreatePurchaseContract/index.vue b/src/views/PurchasingCenter/CreatePurchaseContract/index.vue index 39ff2052..a28a9d47 100644 --- a/src/views/PurchasingCenter/CreatePurchaseContract/index.vue +++ b/src/views/PurchasingCenter/CreatePurchaseContract/index.vue @@ -243,7 +243,9 @@ export default { 组件零件基本件流水号组: [], 数量组: [], 单价组: [], - 交货期组: [] + 交货期组: [], + companyAddress: '', + sendAddress: '' } }, computed: { @@ -307,6 +309,8 @@ export default { } }) searchBaseInfo(this.id).then(res => { + this.companyAddress = res.data[0] ? res.data[0].公司地址 : '' + this.sendAddress = res.data[0] ? res.data[0].送货地址 : '' this.fax2 = res.data[0] ? res.data[0].传真 : '' this.postCode2 = '224053' this.phone2 = res.data[0] ? res.data[0].手机 + '/' + res.data[0].公司电话 : '' @@ -473,7 +477,7 @@ export default { 地址: - 盐城市通榆北路666号 + ${this.companyAddress} 地址: @@ -497,7 +501,7 @@ export default { 交货地点: 地址: - 盐城市亭湖区新兴镇开放大道666号 + ${this.sendAddress} 联系人: