Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
7ab8c936
Commit
7ab8c936
authored
Dec 14, 2021
by
季圣华
Browse files
限制商品录入的时候序列号和批号只能选择一项
parent
0935d7bb
Changes
1
Show whitespace changes
Inline
Side-by-side
jshERP-web/src/views/material/modules/MaterialModal.vue
View file @
7ab8c936
...
@@ -569,6 +569,10 @@
...
@@ -569,6 +569,10 @@
this
.
$message
.
warning
(
'
抱歉,请输入条码信息!
'
);
this
.
$message
.
warning
(
'
抱歉,请输入条码信息!
'
);
return
;
return
;
}
}
if
(
formData
.
enableSerialNumber
===
'
1
'
&&
formData
.
enableBatchNumber
===
'
1
'
)
{
this
.
$message
.
warning
(
'
抱歉,序列号和批号只能选择一项!
'
);
return
;
}
//校验商品是否存在,通过校验商品的名称、型号、规格、颜色、单位、制造商等
//校验商品是否存在,通过校验商品的名称、型号、规格、颜色、单位、制造商等
let
param
=
{
let
param
=
{
id
:
this
.
model
.
id
?
this
.
model
.
id
:
0
,
id
:
this
.
model
.
id
?
this
.
model
.
id
:
0
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
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 comment