黄梓星 1 yıl önce
ebeveyn
işleme
ffd97739ed
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      src/views/purchase/PurchaseDemandList/add.vue

+ 2 - 2
src/views/purchase/PurchaseDemandList/add.vue

@@ -1142,7 +1142,7 @@ export default {
       }
       if(this.referCondition.type == 'ADDRESS_PARAM' && this.referCondition.title == '收货地址') {
         this.adjust.deliveryAddressName = selection[0].name
-        this.adjust.deliveryAddress = selection[0].code
+        this.adjust.deliveryAddress = selection[0].id
         this.adjust.contacts = selection[0].contactsName
         this.adjust.contactsPhone = selection[0].contactsPhone
         this.adjust.address = selection[0].address
@@ -1171,7 +1171,7 @@ export default {
       }
       if(this.referCondition.title == '选择收货地址') {
         this.basicForm.puDemandItemList[this.tableIndex].deliveryAddressName = selection[0].name
-        this.basicForm.puDemandItemList[this.tableIndex].deliveryAddress = selection[0].code
+        this.basicForm.puDemandItemList[this.tableIndex].deliveryAddress = selection[0].id
         this.basicForm.puDemandItemList[this.tableIndex].contacts = selection[0].contactsName
         this.basicForm.puDemandItemList[this.tableIndex].contactsPhone = selection[0].contactsPhone
         this.basicForm.puDemandItemList[this.tableIndex].address = selection[0].address