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
88bf94a8
Commit
88bf94a8
authored
Jun 18, 2021
by
季圣华
Browse files
优化商品条码校验
parent
1458c721
Changes
2
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/views/material/modules/MaterialModal.vue
View file @
88bf94a8
...
...
@@ -189,7 +189,9 @@
columns
:
[
{
title
:
'
条码
'
,
key
:
'
barCode
'
,
width
:
'
30%
'
,
type
:
FormTypes
.
input
,
defaultValue
:
''
,
placeholder
:
'
请输入${title}
'
,
validateRules
:
[{
required
:
true
,
message
:
'
${title}不能为空
'
}]
validateRules
:
[{
required
:
true
,
message
:
'
${title}不能为空
'
},
{
pattern
:
/^
[
1-9
]\d
*$/
,
message
:
'
请输入零以上的正整数
'
},
{
pattern
:
/^
\d{4,13}
$/
,
message
:
'
4到13位数字
'
}]
},
{
title
:
'
单位
'
,
key
:
'
commodityUnit
'
,
width
:
'
12%
'
,
type
:
FormTypes
.
input
,
defaultValue
:
''
,
placeholder
:
'
请输入${title}
'
,
...
...
jshERP-web/src/views/system/modules/SystemConfigModal.vue
View file @
88bf94a8
...
...
@@ -36,15 +36,15 @@
</a-form-item>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"仓库权限"
>
<a-switch
checked-children=
"启用"
un-checked-children=
"关闭"
v-model=
"depotFlagSwitch"
@
change=
"onDepotChange"
></a-switch>
(如果启用则需要到
用户列表配置
)
(如果启用则需要到
<b>
用户管理
</b>
进行
<b>
分配仓库
</b>
)
</a-form-item>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"客户权限"
>
<a-switch
checked-children=
"启用"
un-checked-children=
"关闭"
v-model=
"customerFlagSwitch"
@
change=
"onCustomerChange"
></a-switch>
(如果启用则需要到
用户列表配置
)
(如果启用则需要到
<b>
用户管理
</b>
进行
<b>
分配客户
</b>
)
</a-form-item>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"负库存"
>
<a-switch
checked-children=
"启用"
un-checked-children=
"关闭"
v-model=
"minusStockFlagSwitch"
@
change=
"onMinusStockChange"
></a-switch>
(如果启用则支持负库存,批次商品除外)
(如果启用则
单据
支持负库存,批次商品除外)
</a-form-item>
</a-form>
</a-spin>
...
...
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