|
@@ -231,8 +231,8 @@
|
|
|
<template slot="storageName" slot-scope="{ row }">
|
|
|
<el-select v-if="row.$cellEdit" v-model="row.storageName" @focus="getPurchasePrice(row)" allow-create
|
|
|
filterable v-input-limit="2" default-first-option @change="handleStorageNameChange(row)">
|
|
|
- <el-option v-for="(item, index) in storageName" :key="index" :label="item.purchasePrice"
|
|
|
- :value="item.storageName"></el-option>
|
|
|
+ <el-option v-for="(item, index) in storageName" :key="index" :label="item.storageName"
|
|
|
+ :value="item.storageId"></el-option>
|
|
|
</el-select>
|
|
|
<span v-else>{{ row.storageName }}</span>
|
|
|
</template>
|
|
@@ -581,6 +581,7 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ storageName:[],
|
|
|
saveLoading: false,
|
|
|
disabled: false,
|
|
|
form: {
|
|
@@ -2210,6 +2211,7 @@ export default {
|
|
|
tradeType: 'GN'
|
|
|
}).then(res => {
|
|
|
row.storageQuantity = res.data.data
|
|
|
+
|
|
|
})
|
|
|
row.integralMultiples = event[0].integralMultiples
|
|
|
this.quantityChange(row)
|
|
@@ -2374,6 +2376,7 @@ export default {
|
|
|
tradeType: 'GN',
|
|
|
warehouseId:selectedValue
|
|
|
}).then(res => {
|
|
|
+ this.storageName = res.data.data
|
|
|
this.tableData[item].priceCategory = this.tableData[item].goodsTypeName;
|
|
|
this.tableData[item].storageQuantity = res.data.data;
|
|
|
delete this.tableData[item].goodsTypeName;
|
|
@@ -2579,6 +2582,7 @@ export default {
|
|
|
itemType: list[item].typeno,
|
|
|
tradeType: 'GN'
|
|
|
}).then(res => {
|
|
|
+ console.log(2);
|
|
|
this.$set(list[item], 'storageQuantity', res.data.data)
|
|
|
if (listLength != 0) {
|
|
|
this.$set(buyFree[item], 'storageQuantity', res.data.data)
|
|
@@ -3640,6 +3644,7 @@ export default {
|
|
|
tradeType: 'GN',
|
|
|
storageId: this.form.storageId
|
|
|
}).then(res => {
|
|
|
+ console.log(1);
|
|
|
item.storageQuantity = res.data.data
|
|
|
})
|
|
|
})
|