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
b9972278
Commit
b9972278
authored
Sep 28, 2022
by
huyf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
部门业绩bug
parent
0721915b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
3 deletions
+14
-3
index.vue
src/views/ecw/deptTarget/index.vue
+14
-3
No files found.
src/views/ecw/deptTarget/index.vue
View file @
b9972278
...
...
@@ -111,9 +111,9 @@
</el-select>
</el-form-item>
<el-form-item
label=
"运输方式"
prop=
"transportType"
>
<dict-selector
:type=
"DICT_TYPE.ECW_TRANSPORT_TYPE"
v-model=
"form.transportType"
formatter=
"number"
/>
<dict-selector
:type=
"DICT_TYPE.ECW_TRANSPORT_TYPE"
v-model=
"form.transportType"
formatter=
"number"
@
change=
"showChannel"
/>
</el-form-item>
<el-form-item
label=
"出货渠道"
prop=
"shippingChannel"
>
<el-form-item
label=
"出货渠道"
prop=
"shippingChannel"
v-if=
"this.showFlag"
>
<el-select
v-model=
"form.shippingChannel"
placeholder=
"请选择出货渠道"
>
<el-option
v-for=
"item in channelList"
:label=
"item.nameZh"
:value=
"item.channelId"
:key=
"item.channelId"
></el-option>
...
...
@@ -154,6 +154,7 @@
return
{
// 遮罩层
loading
:
true
,
showFlag
:
false
,
// 导出遮罩层
exportLoading
:
false
,
// 显示搜索条件
...
...
@@ -206,8 +207,10 @@
form
:
{},
// 表单校验
rules
:
{
deptId
:
[{
required
:
true
,
message
:
"
部门
ID
不能为空
"
,
trigger
:
"
blur
"
}],
deptId
:
[{
required
:
true
,
message
:
"
部门不能为空
"
,
trigger
:
"
blur
"
}],
targetType
:
[{
required
:
true
,
message
:
"
目标类型不能为空
"
,
trigger
:
"
change
"
}],
targetPeriodName
:
[{
required
:
true
,
message
:
"
计算周期不能为空
"
,
trigger
:
"
change
"
}],
transportType
:
[{
required
:
true
,
message
:
"
运输方式不能为空
"
,
trigger
:
"
change
"
}],
cubeNum
:
[{
required
:
true
,
message
:
"
立方数不能为空
"
,
trigger
:
"
blur
"
}],
}
};
...
...
@@ -279,6 +282,14 @@
}
})
},
showChannel
(
val
){
console
.
log
(
val
);
if
(
val
===
3
||
val
===
4
){
this
.
showFlag
=
true
;
}
else
{
this
.
showFlag
=
false
;
}
},
/** 查询列表 */
getList
()
{
this
.
loading
=
true
;
...
...
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