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
5e9d8134
Commit
5e9d8134
authored
Sep 08, 2021
by
liwenhong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add:自提点地址
parent
8703cbd3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
8 deletions
+13
-8
index.vue
src/pages/Groupmeal/Marketing/index.vue
+10
-7
index.vue
src/pages/Groupmeal/headManagement/index.vue
+3
-1
No files found.
src/pages/Groupmeal/Marketing/index.vue
View file @
5e9d8134
...
@@ -262,13 +262,16 @@
...
@@ -262,13 +262,16 @@
async
handleSaveConfig
()
{
async
handleSaveConfig
()
{
this
.
configForm
.
result
.
map
((
item
,
index
)
=>
(
item
.
level
=
index
+
1
));
this
.
configForm
.
result
.
map
((
item
,
index
)
=>
(
item
.
level
=
index
+
1
));
console
.
log
(
"this.listParams.config"
,
this
.
configForm
.
result
);
console
.
log
(
"this.listParams.config"
,
this
.
configForm
.
result
);
this
.
configForm
.
result
.
reduce
((
pre
,
cur
)
=>
{
// if (this.configForm.result.length && this.configForm.result.length.length > 2) {
console
.
log
(
"pre"
,
pre
);
// for (let i = 0; i
<
this
.
configForm
.
result
.
length
;
i
++
)
{
console
.
log
(
"cur"
,
cur
);
// if (this.configForm.result[i].assess_order_num > this.configForm.result[i + 1].assess_order_num) {
if
(
pre
.
assess_order_num
>
cur
.
assess_order_num
||
pre
.
reward_amount
>
cur
.
reward_amount
)
{
// return this.$message.error("请输入比上一档位大的考核单量");
return
this
.
$message
.
error
(
"请输入比上一档位大的考核单量"
);
// }
}
// if (this.configForm.result[i].reward_amount > this.configForm.result[i + 1].reward_amount) {
},
this
.
configForm
.
result
[
0
]);
// return this.$message.error("请输入比上一档位大的考核单量");
// }
// }
// }
this
.
listParams
.
config
=
JSON
.
stringify
(
this
.
configForm
.
result
);
this
.
listParams
.
config
=
JSON
.
stringify
(
this
.
configForm
.
result
);
this
.
listParams
.
date
=
this
.
configForm
.
date
;
this
.
listParams
.
date
=
this
.
configForm
.
date
;
let
res
=
await
yingxiaoSaveConfig
(
this
.
listParams
);
let
res
=
await
yingxiaoSaveConfig
(
this
.
listParams
);
...
...
src/pages/Groupmeal/headManagement/index.vue
View file @
5e9d8134
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
<el-table-column
label=
"昵称"
prop=
"contact_name"
align=
"center"
></el-table-column>
<el-table-column
label=
"昵称"
prop=
"contact_name"
align=
"center"
></el-table-column>
<el-table-column
label=
"手机号"
prop=
"phone"
align=
"center"
></el-table-column>
<el-table-column
label=
"手机号"
prop=
"phone"
align=
"center"
></el-table-column>
<el-table-column
label=
"自提点名称"
prop=
"take_place_name"
align=
"center"
></el-table-column>
<el-table-column
label=
"自提点名称"
prop=
"take_place_name"
align=
"center"
></el-table-column>
<el-table-column
label=
"
自提点
地址"
prop=
"location"
></el-table-column>
<el-table-column
label=
"
详细
地址"
prop=
"location"
></el-table-column>
<el-table-column
label=
"操作"
align=
"center"
fixed=
"right"
width=
"200"
>
<el-table-column
label=
"操作"
align=
"center"
fixed=
"right"
width=
"200"
>
<!-- <el-button type="primary" size="small">审核</el-button> -->
<!-- <el-button type="primary" size="small">审核</el-button> -->
<
template
#
default=
"scope"
>
<
template
#
default=
"scope"
>
...
@@ -135,6 +135,8 @@
...
@@ -135,6 +135,8 @@
</el-table-column>
</el-table-column>
<el-table-column
label=
"昵称"
prop=
"contact_name"
align=
"center"
></el-table-column>
<el-table-column
label=
"昵称"
prop=
"contact_name"
align=
"center"
></el-table-column>
<el-table-column
label=
"手机号"
prop=
"phone"
align=
"center"
></el-table-column>
<el-table-column
label=
"手机号"
prop=
"phone"
align=
"center"
></el-table-column>
<el-table-column
label=
"自提点名称"
prop=
"take_place_name"
align=
"center"
></el-table-column>
<el-table-column
label=
"详细地址"
prop=
"location"
></el-table-column>
<el-table-column
label=
"未结算收益"
prop=
"no_settlement_income"
align=
"center"
></el-table-column>
<el-table-column
label=
"未结算收益"
prop=
"no_settlement_income"
align=
"center"
></el-table-column>
<el-table-column
label=
"累计结算收益"
prop=
"total_income"
align=
"center"
></el-table-column>
<el-table-column
label=
"累计结算收益"
prop=
"total_income"
align=
"center"
></el-table-column>
</el-table>
</el-table>
...
...
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