|
@@ -39,6 +39,10 @@
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
|
|
+ <el-col :span="24">
|
|
|
|
+ <el-col :span="6">运费</el-col>
|
|
|
|
+ <el-col :span="18" class="other">{{ spec.freight || '包邮' }}</el-col>
|
|
|
|
+ </el-col>
|
|
<el-col :span="24">
|
|
<el-col :span="24">
|
|
<el-col :span="6">申请时间</el-col>
|
|
<el-col :span="6">申请时间</el-col>
|
|
<el-col :span="18" class="other">{{ info.apply_time }}</el-col>
|
|
<el-col :span="18" class="other">{{ info.apply_time }}</el-col>
|
|
@@ -51,6 +55,7 @@
|
|
<el-col :span="6">售后类型</el-col>
|
|
<el-col :span="6">售后类型</el-col>
|
|
<el-col :span="18" class="other">{{ info.zhType }}</el-col>
|
|
<el-col :span="18" class="other">{{ info.zhType }}</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
|
|
+
|
|
<el-col :span="24" v-if="info.type == '1' || info.type == '2' || info.type == '4' || info.type == '5'">
|
|
<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="6">退款金额</el-col>
|
|
<el-col :span="18" class="other" style="color: red">{{ info.money || '' }}</el-col>
|
|
<el-col :span="18" class="other" style="color: red">{{ info.money || '' }}</el-col>
|
|
@@ -265,14 +270,17 @@ export default {
|
|
// 审核
|
|
// 审核
|
|
async exam(status, form) {
|
|
async exam(status, form) {
|
|
let info = { _id: this.info._id, status: status };
|
|
let info = { _id: this.info._id, status: status };
|
|
- if (status == '-2' && info.transport) info.transport.shop_receive = true;
|
|
|
|
- else if (status == '-2' && !info.transport) {
|
|
|
|
|
|
+ if (this.info.transport) info.transport = this.info.transport;
|
|
|
|
+ else if (status == '-2' && this.info.transport) info.transport.shop_receive = true;
|
|
|
|
+ else if (status == '-2' && !this.info.transport) {
|
|
let transport = {};
|
|
let transport = {};
|
|
transport.shop_receive = true;
|
|
transport.shop_receive = true;
|
|
info.transport = transport;
|
|
info.transport = transport;
|
|
}
|
|
}
|
|
- if (status == '-3' && info.transport) info.transport.customer_receive = true;
|
|
|
|
- else if (status == '-3' && !info.transport) {
|
|
|
|
|
|
+ if (status == '-3' && this.info.transport) {
|
|
|
|
+ info.transport = this.info.transport;
|
|
|
|
+ info.transport.customer_receive = true;
|
|
|
|
+ } else if (status == '-3' && !this.info.transport) {
|
|
let transport = {};
|
|
let transport = {};
|
|
transport.customer_receive = true;
|
|
transport.customer_receive = true;
|
|
info.transport = transport;
|
|
info.transport = transport;
|
|
@@ -313,11 +321,11 @@ export default {
|
|
},
|
|
},
|
|
// 买家快递填写保存
|
|
// 买家快递填写保存
|
|
async customerSubmit(val) {
|
|
async customerSubmit(val) {
|
|
- let info = this.info;
|
|
|
|
|
|
+ let info = { _id: this.info._id };
|
|
let res;
|
|
let res;
|
|
- if (info.transport) {
|
|
|
|
|
|
+ if (this.info.transport) {
|
|
info.transport = {
|
|
info.transport = {
|
|
- ...info.transport,
|
|
|
|
|
|
+ ...this.info.transport,
|
|
customer_transport_no: val.customer_transport_no,
|
|
customer_transport_no: val.customer_transport_no,
|
|
customer_transport_type: val.customer_transport_type,
|
|
customer_transport_type: val.customer_transport_type,
|
|
};
|
|
};
|
|
@@ -325,7 +333,7 @@ export default {
|
|
let transport = { customer_transport_no: val.customer_transport_no, customer_transport_type: val.customer_transport_type };
|
|
let transport = { customer_transport_no: val.customer_transport_no, customer_transport_type: val.customer_transport_type };
|
|
info.transport = transport;
|
|
info.transport = transport;
|
|
}
|
|
}
|
|
- if (info.id) res = await this.update(info);
|
|
|
|
|
|
+ if (info._id) res = await this.update(info);
|
|
if (this.$checkRes(res)) {
|
|
if (this.$checkRes(res)) {
|
|
this.$message({ type: `success`, message: `维护信息成功` });
|
|
this.$message({ type: `success`, message: `维护信息成功` });
|
|
this.search();
|
|
this.search();
|