|
@@ -70,8 +70,8 @@
|
|
<ws-option
|
|
<ws-option
|
|
v-for="item in goodnameList"
|
|
v-for="item in goodnameList"
|
|
:key="item.constKey"
|
|
:key="item.constKey"
|
|
- :label="item.constValue"
|
|
|
|
- :value="item.constValue"
|
|
|
|
|
|
+ :label="item.goodsName"
|
|
|
|
+ :value="item.goodsName"
|
|
/>
|
|
/>
|
|
</ws-select>
|
|
</ws-select>
|
|
<!-- v-hasPermission="'procurement.sparepart.directShip'" -->
|
|
<!-- v-hasPermission="'procurement.sparepart.directShip'" -->
|
|
@@ -251,8 +251,8 @@ export default {
|
|
methods: {
|
|
methods: {
|
|
selectgoodsName(e) {
|
|
selectgoodsName(e) {
|
|
for (var i = 0; i < this.goodnameList.length; i++) {
|
|
for (var i = 0; i < this.goodnameList.length; i++) {
|
|
- if (this.goodnameList[i].constValue == e) {
|
|
|
|
- this.goodsNameKey = this.goodnameList[i].constKey
|
|
|
|
|
|
+ if (this.goodnameList[i].goodsName == e) {
|
|
|
|
+ this.goodsNameKey = this.goodnameList[i].goodsNameKey
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -328,7 +328,8 @@ export default {
|
|
id: response[i].id,
|
|
id: response[i].id,
|
|
count: response[i].count,
|
|
count: response[i].count,
|
|
purchasePriceList: response[i].purchasePriceList,
|
|
purchasePriceList: response[i].purchasePriceList,
|
|
- No:response[i].commonWarehouseNo
|
|
|
|
|
|
+ No:response[i].commonWarehouseNo,
|
|
|
|
+ goodsNameInfos:response[i].goodsNameInfos
|
|
})
|
|
})
|
|
if (this.cangid&&this.cangid == response[i].id) {
|
|
if (this.cangid&&this.cangid == response[i].id) {
|
|
this.warehouseName = response[i].warehouseName
|
|
this.warehouseName = response[i].warehouseName
|
|
@@ -370,6 +371,7 @@ export default {
|
|
.toPromise()
|
|
.toPromise()
|
|
.then((response) => {
|
|
.then((response) => {
|
|
this.warehouseList = response
|
|
this.warehouseList = response
|
|
|
|
+ this.deptBudgetTotal=response.total
|
|
this.counttotal()
|
|
this.counttotal()
|
|
})
|
|
})
|
|
},
|
|
},
|