Forráskód Böngészése

峻合销售单详情供应商

caojunjie 1 éve
szülő
commit
de55185e8f

+ 9 - 0
src/views/businessManagement/salesOrder/detailsPageEdit.vue

@@ -1542,6 +1542,7 @@ export default {
       this.goodsShowData[this.choiceIndexT].purchaseAmount = row.storageQuantityList[index].stockPrice;
 
         // 获取供应商名称
+        this.goodsShowData[this.choiceIndexT].corpId = row.storageQuantityList[index].corpId;
         this.goodsShowData[this.choiceIndexT].corpName = row.storageQuantityList[index].corpName;
     },
     getGoodsRow(event, row) {
@@ -1565,6 +1566,7 @@ export default {
           row.storageName = res.data.data[0].storageName
           row.storageQuantity = res.data.data[0].surplusRouteQuantity
             // 获取供应商名称
+            row.corpId = res.data.data[0].corpId;
             row.corpName = res.data.data[0].corpName;
           if (res.data.data[0].tenantId !== "681169") {
             row.purchaseAmount = res.data.data[0].stockPrice
@@ -1837,6 +1839,7 @@ export default {
             this.goodsShowData[row.$index].storageName = res.data.data[0].storageName;
             this.goodsShowData[row.$index].storageQuantity = res.data.data[0].surplusRouteQuantity;
             // 获取供应商名称
+              this.goodsShowData[row.$index].corpId = res.data.data[0].corpId;
               this.goodsShowData[row.$index].corpName = res.data.data[0].corpName;
             if (res.data.data[0].tenantId !== "681169") {
               this.goodsShowData[row.$index].purchaseAmount = res.data.data[0].stockPrice
@@ -2285,6 +2288,7 @@ export default {
           row.storageName = res.data.data[0].storageName
           row.storageQuantity = res.data.data[0].surplusRouteQuantity
             // 获取供应商名称
+            row.corpId = res.data.data[0].corpId
             row.corpName = res.data.data[0].corpName
           if (res.data.data[0].tenantId !== "681169") {
             row.purchaseAmount = res.data.data[0].stockPrice
@@ -2326,6 +2330,7 @@ export default {
             this.goodsShowData[this.choiceIndexT].storageName = res.data.data[0].storageName
             this.goodsShowData[this.choiceIndexT].storageQuantity = res.data.data[0].surplusRouteQuantity
               // 获取供应商名称
+              this.goodsShowData[this.choiceIndexT].corpId = res.data.data[0].corpId
               this.goodsShowData[this.choiceIndexT].corpName = res.data.data[0].corpName
             if (res.data.data[0].tenantId !== "681169") {
               this.goodsShowData[this.choiceIndexT].purchaseAmount = res.data.data[0].stockPrice
@@ -2404,6 +2409,7 @@ export default {
             this.$set(this.goodsListSave[item], 'storageName', res.data.data[0].storageName)
             this.$set(this.goodsListSave[item], 'storageQuantity', res.data.data[0].surplusRouteQuantity)
               // 获取供应商名称
+              this.$set(this.goodsListSave[item], 'corpId', res.data.data[0].corpId)
               this.$set(this.goodsListSave[item], 'corpName', res.data.data[0].corpName)
             if (res.data.data[0].tenantId !== "681169") {
               this.$set(this.goodsListSave[item], 'purchaseAmount', res.data.data[0].stockPrice)
@@ -2492,6 +2498,7 @@ export default {
             this.tableData[item].storageName = res.data.data[0].storageName;
             this.tableData[item].storageQuantity = res.data.data[0].surplusRouteQuantity;
               // 获取供应商名称
+              this.tableData[item].corpId = res.data.data[0].corpId;
               this.tableData[item].corpName = res.data.data[0].corpName;
             if (res.data.data[0].tenantId !== "681169") {
               this.tableData[item].purchaseAmount = res.data.data[0].stockPrice;
@@ -2717,6 +2724,7 @@ export default {
             this.$set(list[item], 'storageName', res.data.data[0].storageName)
             this.$set(list[item], 'storageQuantity', res.data.data[0].surplusRouteQuantity)
               // 获取供应商名称
+              this.$set(list[item], 'corpId', res.data.data[0].corpId)
               this.$set(list[item], 'corpName', res.data.data[0].corpName)
             if (res.data.data[0].tenantId !== "681169") {
               this.$set(list[item], 'purchaseAmount', res.data.data[0].stockPrice)
@@ -3838,6 +3846,7 @@ export default {
             item.storageName = res.data.data[0].storageName
             item.storageQuantity = res.data.data[0].surplusRouteQuantity
               // 获取供应商名称
+              item.corpId = res.data.data[0].corpId
               item.corpName = res.data.data[0].corpName
             if (res.data.data[0].tenantId !== "681169") {
               item.purchaseAmount = res.data.data[0].stockPrice