Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-inventory
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit ec85fc3c
authored
Feb 09, 2026
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix(allocation): 设置出库数量为库存值
在分配表数据初始化时,为每个商品项添加 outStockQty 字段并赋值为当前库存 stock。
1 parent
56c79b01
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
src/views/allocation/add.vue
src/views/allocation/add.vue
View file @
ec85fc3
...
@@ -443,6 +443,7 @@ export default {
...
@@ -443,6 +443,7 @@ export default {
setTableFinishFun
()
{
setTableFinishFun
()
{
this
.
$refs
.
allocationTable
?.
data
.
forEach
(
val
=>
{
this
.
$refs
.
allocationTable
?.
data
.
forEach
(
val
=>
{
val
.
goodsId
=
val
.
upgradeGoodsId
val
.
goodsId
=
val
.
upgradeGoodsId
val
.
outStockQty
=
val
.
stock
})
})
},
},
handleSearch
()
{
handleSearch
()
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment