Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-app-operator-master
Commits
f3dab415
Commit
f3dab415
authored
Jun 25, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
表单校验
parent
b212e0fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
edit.vue
src/views/ecw/channel/edit.vue
+12
-3
No files found.
src/views/ecw/channel/edit.vue
View file @
f3dab415
<
template
>
<div
class=
"app-container"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"1
0
0px"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"1
2
0px"
>
<el-card
shadow=
"never"
>
<div
slot=
"header"
class=
"clearfix"
>
<span>
{{
$t
(
'
渠道信息
'
)
}}
</span>
...
...
@@ -86,7 +86,7 @@
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"可出商品特性"
>
<el-form-item
label=
"可出商品特性"
prop=
"attrId"
>
<el-select
multiple
v-model=
"form.attrId"
>
<el-option
v-for=
"(item, index) in attrList"
:value=
"item.id"
:label=
"$l(item, 'attrName')"
></el-option>
</el-select>
...
...
@@ -95,6 +95,7 @@
</el-row>
<div
style=
"display: flex; justify-content: space-between;"
>
<h1>
<span
style=
"color: red;font-size: 14px;font-weight: 700;"
>
*
</span>
渠道包装列表
</h1>
<div>
...
...
@@ -191,7 +192,15 @@ export default {
attrId
:[],
},
rules
:
{},
rules
:
{
nameZh
:{
required
:
true
,
message
:
'
请输入中文名称
'
,
trigger
:
'
blur
'
},
nameEn
:{
required
:
true
,
message
:
'
请输入英文名称
'
,
trigger
:
'
blur
'
},
internalNameZh
:{
required
:
true
,
message
:
'
请输入内部中文名称
'
,
trigger
:
'
blur
'
},
internalNameEn
:{
required
:
true
,
message
:
'
请输入内部英文名称
'
,
trigger
:
'
blur
'
},
typeNumber
:{
required
:
true
,
message
:
'
请输入编码类型
'
,
trigger
:
'
blur
'
},
code
:{
required
:
true
,
message
:
'
请输入简码
'
,
trigger
:
'
blur
'
},
attrId
:{
required
:
true
,
message
:
'
请选择可出商品特性
'
,
trigger
:
'
blur
'
}
},
expressList
:[],
warehouseList
:
[],
warehouseIdsArr
:[],
...
...
Write
Preview
Markdown
is supported
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