|
@@ -1540,9 +1540,11 @@ export default {
|
|
|
this.goodsShowData[this.choiceIndexT].storageQuantity = row.storageQuantityList[index].surplusRouteQuantity;
|
|
|
this.goodsShowData[this.choiceIndexT].storageName = row.storageQuantityList[index].storageName;
|
|
|
this.goodsShowData[this.choiceIndexT].purchaseAmount = row.storageQuantityList[index].stockPrice;
|
|
|
+
|
|
|
+ // 获取供应商名称
|
|
|
+ this.goodsShowData[this.choiceIndexT].corpName = row.storageQuantityList[index].corpName;
|
|
|
},
|
|
|
getGoodsRow(event, row) {
|
|
|
-
|
|
|
row.priceCategory = event.goodsTypeName
|
|
|
row.code = event.code
|
|
|
row.typeno = event.typeno
|
|
@@ -1562,6 +1564,8 @@ export default {
|
|
|
row.storageId = res.data.data[0].storageId
|
|
|
row.storageName = res.data.data[0].storageName
|
|
|
row.storageQuantity = res.data.data[0].surplusRouteQuantity
|
|
|
+ // 获取供应商名称
|
|
|
+ row.corpName = res.data.data[0].corpName;
|
|
|
if (res.data.data[0].tenantId !== "681169") {
|
|
|
row.purchaseAmount = res.data.data[0].stockPrice
|
|
|
}
|
|
@@ -1832,10 +1836,12 @@ export default {
|
|
|
this.goodsShowData[row.$index].storageId = res.data.data[0].storageId;
|
|
|
this.goodsShowData[row.$index].storageName = res.data.data[0].storageName;
|
|
|
this.goodsShowData[row.$index].storageQuantity = res.data.data[0].surplusRouteQuantity;
|
|
|
-
|
|
|
+ // 获取供应商名称
|
|
|
+ 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
|
|
|
}
|
|
|
+
|
|
|
}
|
|
|
|
|
|
})
|
|
@@ -2278,6 +2284,8 @@ export default {
|
|
|
row.storageId = res.data.data[0].storageId
|
|
|
row.storageName = res.data.data[0].storageName
|
|
|
row.storageQuantity = res.data.data[0].surplusRouteQuantity
|
|
|
+ // 获取供应商名称
|
|
|
+ row.corpName = res.data.data[0].corpName
|
|
|
if (res.data.data[0].tenantId !== "681169") {
|
|
|
row.purchaseAmount = res.data.data[0].stockPrice
|
|
|
}
|
|
@@ -2317,6 +2325,8 @@ export default {
|
|
|
this.goodsShowData[this.choiceIndexT].storageId = res.data.data[0].storageId
|
|
|
this.goodsShowData[this.choiceIndexT].storageName = res.data.data[0].storageName
|
|
|
this.goodsShowData[this.choiceIndexT].storageQuantity = res.data.data[0].surplusRouteQuantity
|
|
|
+ // 获取供应商名称
|
|
|
+ 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
|
|
|
}
|
|
@@ -2393,9 +2403,10 @@ export default {
|
|
|
this.$set(this.goodsListSave[item], 'storageId', res.data.data[0].storageId)
|
|
|
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], 'corpName', res.data.data[0].corpName)
|
|
|
if (res.data.data[0].tenantId !== "681169") {
|
|
|
this.$set(this.goodsListSave[item], 'purchaseAmount', res.data.data[0].stockPrice)
|
|
|
-
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -2480,6 +2491,8 @@ export default {
|
|
|
this.tableData[item].storageId = res.data.data[0].storageId;
|
|
|
this.tableData[item].storageName = res.data.data[0].storageName;
|
|
|
this.tableData[item].storageQuantity = res.data.data[0].surplusRouteQuantity;
|
|
|
+ // 获取供应商名称
|
|
|
+ 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;
|
|
|
}
|
|
@@ -2703,7 +2716,8 @@ export default {
|
|
|
this.$set(list[item], 'storageId', res.data.data[0].storageId)
|
|
|
this.$set(list[item], 'storageName', res.data.data[0].storageName)
|
|
|
this.$set(list[item], 'storageQuantity', res.data.data[0].surplusRouteQuantity)
|
|
|
- //12345
|
|
|
+ // 获取供应商名称
|
|
|
+ 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)
|
|
|
}
|
|
@@ -3823,6 +3837,8 @@ export default {
|
|
|
item.storageId = res.data.data[0].storageId
|
|
|
item.storageName = res.data.data[0].storageName
|
|
|
item.storageQuantity = res.data.data[0].surplusRouteQuantity
|
|
|
+ // 获取供应商名称
|
|
|
+ item.corpName = res.data.data[0].corpName
|
|
|
if (res.data.data[0].tenantId !== "681169") {
|
|
|
item.purchaseAmount = res.data.data[0].stockPrice
|
|
|
}
|