|
@@ -72,7 +72,7 @@
|
|
|
</el-col>
|
|
|
<el-col :span="24" v-if="info.type == '1' || info.type == '2' || info.type == '4' || info.type == '5'">
|
|
|
<el-col :span="6">退款金额</el-col>
|
|
|
- <el-col :span="18" class="other">{{ info.money }}</el-col>
|
|
|
+ <el-col :span="18" class="other">{{ info.money || '' }}</el-col>
|
|
|
</el-col>
|
|
|
<el-col :span="24">
|
|
|
<el-col :span="6">售后状态</el-col>
|
|
@@ -92,8 +92,8 @@
|
|
|
</el-col>
|
|
|
</el-col>
|
|
|
<el-col :span="12" class="two">
|
|
|
- <steps-1 v-if="info.type == '1'" @exam="exam" :active="active"></steps-1>
|
|
|
- <steps-2 v-if="info.type == '2'" @exam="exam" :active="active" :customer="customer" :activit="activit"></steps-2>
|
|
|
+ <steps-1 v-if="info.type == '1'" @exam="exam" :active="active" :form="form" :info="info"></steps-1>
|
|
|
+ <steps-2 v-if="info.type == '2'" @exam="exam" :active="active" :customer="customer" :activit="activit" :form="form" :info="info"></steps-2>
|
|
|
<steps-3
|
|
|
v-if="info.type == '3'"
|
|
|
@exam="exam"
|
|
@@ -238,7 +238,7 @@ export default {
|
|
|
let shopList = res.data.shop.list;
|
|
|
this.$set(this, `shopList`, shopList);
|
|
|
shopList[0].color = '#0bbd87';
|
|
|
- if (res.data.shop.is_check == '已签收' && this.info.status == '3') this.$set(this, `active`, 4);
|
|
|
+ if (res.data.shop.is_check == '已签收' && this.info.status == '3') this.$set(this, `active`, 5);
|
|
|
}
|
|
|
this.$set(this, `activit`, res.data);
|
|
|
}
|
|
@@ -247,7 +247,7 @@ export default {
|
|
|
this.loading = false;
|
|
|
}
|
|
|
},
|
|
|
- async exam(status) {
|
|
|
+ async exam(status, form) {
|
|
|
let info = this.info;
|
|
|
info.status = status;
|
|
|
if (status == '-2' && info.transport) info.transport.shop_receive = true;
|
|
@@ -262,7 +262,9 @@ export default {
|
|
|
transport.customer_receive = true;
|
|
|
info.transport = transport;
|
|
|
}
|
|
|
+ if (form != undefined && form.money != undefined && (status == '2' || status == '1')) info.money = form.money;
|
|
|
let res;
|
|
|
+ console.log(info);
|
|
|
this.$confirm('是否确认修改售后状态', '提示', {
|
|
|
confirmButtonText: '确定',
|
|
|
cancelButtonText: '取消',
|
|
@@ -296,7 +298,6 @@ export default {
|
|
|
this.search();
|
|
|
}
|
|
|
},
|
|
|
-
|
|
|
// 查询其他信息
|
|
|
async searchOther() {
|
|
|
let res;
|