Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
op-web-service
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
bp
op-web-service
Commits
5c778d43
Commit
5c778d43
authored
Jul 28, 2021
by
pengyunqian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update:转换配送工具
parent
fae1369a
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
568 additions
and
11 deletions
+568
-11
index.vue
src/pages/Groupmeal/Distrib/index.vue
+11
-11
index.vue
src/pages/Withdrawal/Examine/index.vue
+557
-0
No files found.
src/pages/Groupmeal/Distrib/index.vue
View file @
5c778d43
...
...
@@ -60,7 +60,7 @@
<el-dialog
title=
"添加配送员"
v-model=
"dialogFormAdd"
width=
"
4
0%"
width=
"
7
0%"
:show-close=
"false"
>
<el-form
class=
"dioFor"
:model=
"addDeliverer"
:rules=
"rules"
>
...
...
@@ -130,7 +130,7 @@
<el-dialog
title=
"分配配送员"
v-model=
"dialogFormAssign"
width=
"4
0%"
width=
"7
0%"
:show-close=
"false"
>
<el-form
class=
"dioFor"
>
...
...
@@ -150,14 +150,14 @@
class=
"diotab"
align=
"center"
:data=
"deliverer"
max-height=
"
2
00"
max-height=
"
3
00"
border
size=
"small"
style=
"width: 100%"
@
selection-change=
"selectGoodsChange"
>
<el-table-column
width=
"
8
0"
width=
"
6
0"
align=
"center"
type=
"selection"
>
...
...
@@ -166,29 +166,29 @@
align=
"center"
prop=
"deliverer_name"
label=
"配送员姓名"
width=
"100"
>
</el-table-column>
<el-table-column
align=
"center"
prop=
"deliverer_max_capacity"
label=
"配送上限"
width=
"1
0
0"
width=
"1
3
0"
>
</el-table-column>
<el-table-column
align=
"center"
prop=
"deliverer_min_capacity"
label=
"最少配送量"
width=
"100"
>
</el-table-column>
<el-table-column
align=
"center"
prop=
"deliverer_tool_type"
label=
"配送工具"
width=
"100"
>
<
template
#
default=
"scope"
>
{{
scope
.
row
.
deliverer_tool_type
==
0
?
"电动车"
:
"摩托车"
}}
</
template
>
</el-table-column>
</el-table>
</el-form>
...
...
@@ -252,8 +252,8 @@ export default {
};
},
created
()
{
this
.
getDelivererList
();
this
.
getList
();
this
.
getDelivererList
();
this
.
getMarketingList
()
},
methods
:
{
...
...
@@ -272,7 +272,6 @@ export default {
},
// 清空
resetDate
()
{
this
.
distribList
=
[];
// 添加配送员弹框
(
this
.
addDeliverer
=
{
name
:
""
,
...
...
@@ -371,6 +370,7 @@ export default {
async
save
()
{
const
{
selectActivity
,
multipleSelection
}
=
this
;
const
uids
=
multipleSelection
.
map
((
item
)
=>
item
.
deliverer_id
);
if
(
!
selectActivity
)
return
ElMessage
(
"请选择活动姓名"
);
try
{
await
getSaveDeliverer
({
code
:
selectActivity
,
uids
:
uids
.
join
(
","
)
});
ElMessage
(
"分配配送员成功"
);
...
...
@@ -384,9 +384,9 @@ export default {
},
// 分配取消
assignCancel
(){
this
.
getList
()
this
.
dialogFormAssign
=
false
this
.
getDelivererList
()
this
.
getList
()
this
.
resetDate
()
},
// 活动名称列表
...
...
src/pages/Withdrawal/Examine/index.vue
0 → 100644
View file @
5c778d43
This diff is collapsed.
Click to expand it.
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