Commit ec85fc3c by chenwq

fix(allocation): 设置出库数量为库存值

在分配表数据初始化时,为每个商品项添加 outStockQty 字段并赋值为当前库存 stock。
1 parent 56c79b01
......@@ -443,6 +443,7 @@ export default {
setTableFinishFun() {
this.$refs.allocationTable?.data.forEach(val => {
val.goodsId = val.upgradeGoodsId
val.outStockQty = val.stock
})
},
handleSearch() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!