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
0673d427
Commit
0673d427
authored
May 03, 2022
by
神话
Browse files
给系统配置界面增加销售协议文本框
parent
65be73fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/views/system/SystemConfigList.vue
View file @
0673d427
...
...
@@ -22,6 +22,9 @@
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"公司邮编"
>
<a-input
placeholder=
"请输入公司邮编"
v-decorator.trim=
"[ 'companyPostCode' ]"
/>
</a-form-item>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"销售协议"
>
<a-input
placeholder=
"请输入销售协议"
v-decorator.trim=
"[ 'saleAgreement', validatorRules.saleAgreement ]"
/>
</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>
)
...
...
@@ -82,6 +85,11 @@
{
required
:
true
,
message
:
'
请输入公司名称!
'
},
{
min
:
2
,
max
:
30
,
message
:
'
长度在 2 到 30 个字符
'
,
trigger
:
'
blur
'
}
]
},
saleAgreement
:{
rules
:
[
{
min
:
2
,
max
:
200
,
message
:
'
长度在 2 到 200 个字符
'
,
trigger
:
'
blur
'
}
]
}
}
}
...
...
@@ -116,7 +124,7 @@
this
.
visible
=
true
;
this
.
$nextTick
(()
=>
{
this
.
form
.
setFieldsValue
(
pick
(
this
.
model
,
'
companyName
'
,
'
companyContacts
'
,
'
companyAddress
'
,
'
companyTel
'
,
'
companyFax
'
,
'
companyPostCode
'
,
'
depotFlag
'
,
'
customerFlag
'
,
'
minusStockFlag
'
))
'
companyTel
'
,
'
companyFax
'
,
'
companyPostCode
'
,
'
saleAgreement
'
,
'
depotFlag
'
,
'
customerFlag
'
,
'
minusStockFlag
'
))
autoJumpNextInput
(
'
systemConfigModal
'
)
});
if
(
record
.
id
)
{
...
...
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