Commit 5e9d8134 authored by liwenhong's avatar liwenhong

add:自提点地址

parent 8703cbd3
...@@ -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);
......
...@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment