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
a4ce6aee
Commit
a4ce6aee
authored
Sep 02, 2022
by
dcy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
佣金设置去掉必填
parent
3cf47c91
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
17 deletions
+12
-17
index.vue
src/views/ecw/customerCommissionInfo/index.vue
+12
-17
No files found.
src/views/ecw/customerCommissionInfo/index.vue
View file @
a4ce6aee
<
template
>
<
template
>
<div
class=
"app-container"
>
<div
class=
"app-container"
>
<el-form
:rules=
"rules"
:model=
"form"
ref=
"form"
:inline=
"true
"
>
<el-form
class=
"demo-ruleForm"
:rules=
"rules"
:model=
"form"
ref=
"form
"
>
<el-row>
<el-row>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"客户名称"
prop=
"customerId"
>
<el-form-item
label=
"客户名称"
prop=
"customerId"
>
...
@@ -22,33 +22,32 @@
...
@@ -22,33 +22,32 @@
</el-col>
</el-col>
</el-row>
</el-row>
<el-row>
<el-row>
<el-col
:span=
"
5
"
>
<el-col
:span=
"
4
"
>
<el-form-item
label=
"运输方式"
prop=
"transportId"
>
<el-form-item
label=
"运输方式"
prop=
"transportId"
>
<div
style=
"width: 130px;"
>
<div>
<custom-selectors-dictionary
v-model=
"form.transportId"
<custom-selectors-dictionary
v-model=
"form.transportId"
:options=
"getDictDatas(DICT_TYPE.ECW_TRANSPORT_TYPE)"
></custom-selectors-dictionary>
:options=
"getDictDatas(DICT_TYPE.ECW_TRANSPORT_TYPE)"
></custom-selectors-dictionary>
</div>
</div>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"
5
"
>
<el-col
:span=
"
4
"
>
<el-form-item
label=
"始发地"
prop=
"departureId"
>
<el-form-item
label=
"始发地"
prop=
"departureId"
>
<div
style=
"width: 130px;"
>
<div>
<custom-selectors-dictionary
label-key=
"titleZh"
value-key=
"id"
v-model=
"form.departureId"
<custom-selectors-dictionary
label-key=
"titleZh"
value-key=
"id"
v-model=
"form.departureId"
:options=
"exportCityList"
></custom-selectors-dictionary>
:options=
"exportCityList"
></custom-selectors-dictionary>
</div>
</div>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"
5
"
>
<el-col
:span=
"
4
"
>
<el-form-item
label=
"目的地"
prop=
"objectiveId"
>
<el-form-item
label=
"目的地"
prop=
"objectiveId"
>
<div
style=
"width: 130px;"
>
<div>
<custom-selectors-dictionary
label-key=
"titleZh"
value-key=
"id"
v-model=
"form.objectiveId"
<custom-selectors-dictionary
label-key=
"titleZh"
value-key=
"id"
v-model=
"form.objectiveId"
:options=
"importCityList"
></custom-selectors-dictionary>
:options=
"importCityList"
></custom-selectors-dictionary>
</div>
</div>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"
5
"
>
<el-col
:span=
"
4
"
>
<el-form-item
label=
"报关方式"
prop=
"customsType"
>
<el-form-item
label=
"报关方式"
prop=
"customsType"
>
<div
style=
"width: 130px;"
>
<div>
<custom-selectors-dictionary
v-model=
"form.customsType"
<custom-selectors-dictionary
v-model=
"form.customsType"
:options=
"getDictDatas(DICT_TYPE.SHIPPING_DECLARATION_TYPE)"
></custom-selectors-dictionary>
:options=
"getDictDatas(DICT_TYPE.SHIPPING_DECLARATION_TYPE)"
></custom-selectors-dictionary>
</div>
</div>
...
@@ -56,7 +55,7 @@
...
@@ -56,7 +55,7 @@
</el-col>
</el-col>
<el-col
:span=
"4"
>
<el-col
:span=
"4"
>
<el-form-item
label=
"备案"
prop=
"approval"
>
<el-form-item
label=
"备案"
prop=
"approval"
>
<div
style=
"width: 130px;"
>
<div>
<custom-selectors-dictionary
v-model=
"form.approval"
<custom-selectors-dictionary
v-model=
"form.approval"
:options=
"getDictDatas(DICT_TYPE.COMMISSION_PRODUCT_APPROVAL)"
></custom-selectors-dictionary>
:options=
"getDictDatas(DICT_TYPE.COMMISSION_PRODUCT_APPROVAL)"
></custom-selectors-dictionary>
</div>
</div>
...
@@ -320,11 +319,6 @@ export default {
...
@@ -320,11 +319,6 @@ export default {
// 表单校验
// 表单校验
rules
:
{
rules
:
{
customerId
:
[{
required
:
true
,
message
:
"
客户名称不能为空
"
,
trigger
:
"
blur
"
}],
customerId
:
[{
required
:
true
,
message
:
"
客户名称不能为空
"
,
trigger
:
"
blur
"
}],
departureId
:
[{
required
:
true
,
message
:
"
始发地不能为空
"
,
trigger
:
"
blur
"
}],
transportId
:
[{
required
:
true
,
message
:
"
运输方式不能为空
"
,
trigger
:
"
blur
"
}],
objectiveId
:
[{
required
:
true
,
message
:
"
目的地不能为空
"
,
trigger
:
"
blur
"
}],
customsType
:
[{
required
:
true
,
message
:
"
报关类别不能为空
"
,
trigger
:
"
blur
"
}],
approval
:
[{
required
:
true
,
message
:
"
产品备案不能为空
"
,
trigger
:
"
blur
"
}],
},
},
customerShow
:
true
,
customerShow
:
true
,
id
:
undefined
,
//佣金id
id
:
undefined
,
//佣金id
...
@@ -619,6 +613,7 @@ export default {
...
@@ -619,6 +613,7 @@ export default {
.title
{
.title
{
margin
:
15px
0
;
margin
:
15px
0
;
text-align
:
left
;
.label
{
.label
{
vertical-align
:
middle
;
vertical-align
:
middle
;
...
...
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