Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-web
/
glsx-oss-account
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 aea021e3
authored
Aug 17, 2021
by
cwq0219
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug修复
1 parent
347ce23f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
src/views/productManage/menuList/index.vue
src/views/productManage/productList/index.vue
src/views/productManage/menuList/index.vue
View file @
aea021e
...
...
@@ -354,6 +354,7 @@ export default {
type
:
'input'
,
isHide
:
true
,
inputType
:
'textarea'
,
maxlength
:
255
,
placeholder
:
'请输入商户/门店ID,多商户或者门店时,用“,”隔开。'
}],
// 基本数据
...
...
@@ -516,8 +517,8 @@ export default {
})
},
handleDelete
(
row
)
{
this
.
$confirm
(
'
是否删除菜单?'
,
'提示
'
,
{
confirmButtonText
:
'确定'
,
this
.
$confirm
(
'
删除菜单,会删除该菜单下的所有菜单及功能,请谨慎操作!'
,
'删除
'
,
{
confirmButtonText
:
'确定
删除
'
,
cancelButtonText
:
'取消'
,
type
:
'error'
}).
then
(()
=>
{
...
...
src/views/productManage/productList/index.vue
View file @
aea021e
...
...
@@ -120,7 +120,14 @@ export default {
editRule
:
{
productName
:
[{
required
:
true
,
message
:
'请输入产品名称'
,
trigger
:
'blur'
}],
productType
:
[{
required
:
true
,
message
:
'请选择产品类型'
,
trigger
:
'change'
}],
productAddress
:
[{
required
:
true
,
message
:
'请输入产品地址'
,
trigger
:
'blur'
}]
productAddress
:
[{
required
:
true
,
message
:
'请输入产品地址'
,
trigger
:
'blur'
},
{
required
:
true
,
validator
:
(
rule
,
value
,
callback
)
=>
{
return
/
[\u
4E00-
\u
9FA5
]
+/
.
test
(
value
)
?
callback
(
'只能输入字母、数字和符号'
)
:
callback
()
},
trigger
:
'blur'
}]
},
editFormData
:
[{
label
:
'产品名称'
,
...
...
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