|
@@ -1237,12 +1237,12 @@ export default {
|
|
|
this.contactsData[this.choiceIndexT].cname = this.tableData[0].cname
|
|
|
this.contactsData[this.choiceIndexT].code = this.tableData[0].code
|
|
|
this.contactsData[this.choiceIndexT].typeno = this.tableData[0].typeno
|
|
|
- this.contactsData[this.choiceIndexT].specificationAndModel = this.tableData[0].specs
|
|
|
+ this.contactsData[this.choiceIndexT].specificationAndModel = this.tableData[0].specificationAndModel
|
|
|
this.contactsData[this.choiceIndexT].itemId = this.tableData[0].id
|
|
|
this.contactsData[this.choiceIndexT].priceCategory = this.tableData[0].goodsTypeName
|
|
|
selectGoodsNum({
|
|
|
goodsId: this.tableData[0].id,
|
|
|
- typeno: this.tableData[0].specs
|
|
|
+ typeno: this.tableData[0].typeno
|
|
|
}).then(res => {
|
|
|
this.contactsData[this.choiceIndexT].storageQuantity = res.data.data
|
|
|
})
|
|
@@ -1288,13 +1288,13 @@ export default {
|
|
|
// this.$set(this.tableData[item], 'storageQuantity', 0)
|
|
|
selectGoodsNum({
|
|
|
goodsId: this.tableData[item].id,
|
|
|
- typeno: this.tableData[item].specs
|
|
|
+ typeno: this.tableData[item].typeno
|
|
|
}).then(res => {
|
|
|
this.tableData[item].priceCategory = this.tableData[item].goodsTypeName
|
|
|
this.tableData[item].storageQuantity = res.data.data
|
|
|
delete this.tableData[item].goodsTypeName
|
|
|
this.tableData[item].itemId = this.tableData[item].id
|
|
|
- this.$set(this.tableData[item], 'specificationAndModel', this.tableData[item].specs)
|
|
|
+ this.$set(this.tableData[item], 'specificationAndModel', this.tableData[item].specificationAndModel)
|
|
|
this.$set(this.tableData[item], 'priceType', '一般')
|
|
|
this.$set(this.tableData[item], 'orderQuantity', 0)
|
|
|
this.$set(this.tableData[item], 'actualQuantity', 0)
|
|
@@ -1393,7 +1393,7 @@ export default {
|
|
|
for (let item in list) {
|
|
|
selectGoodsNum({
|
|
|
goodsId: list[item].id,
|
|
|
- typeno: list[item].specs
|
|
|
+ typeno: list[item].typeno
|
|
|
}).then(res => {
|
|
|
this.$set(list[item], 'storageQuantity', res.data.data)
|
|
|
})
|