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 af6251a5
authored
Feb 06, 2026
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix(allocation): 修复选择数据时未校验卷号导致的重复选择问题
在设置商品禁选逻辑中增加对卷号的校验,避免相同商品不同卷号被错误标记为已选择
1 parent
a937c331
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/views/allocation/add.vue
src/views/allocation/add.vue
View file @
af6251a
<
template
>
<div
class=
"addWrap"
>
<div
class=
"addWrap"
v-loading=
"loading"
>
<div
class=
"d2-container-content"
>
<div
style=
"padding: 10px 20px"
>
<el-form
:inline=
"true"
size=
"small"
:model=
"editAllocationForm"
ref=
"editAllocationFormRef"
:rules=
"formRules"
class=
"demo-form-inline"
>
...
...
@@ -528,7 +528,7 @@ export default {
//设置禁选
setDisabled
(
row
)
{
const
index
=
this
.
chooseDataList
.
findIndex
(
item
=>
item
.
goodsId
==
row
.
upgradeGoodsId
)
const
index
=
this
.
chooseDataList
.
findIndex
(
item
=>
item
.
goodsId
==
row
.
upgradeGoodsId
&&
item
.
filmRollNo
===
row
.
filmRollNo
)
if
(
index
==
-
1
)
{
return
false
}
else
{
...
...
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