|
@@ -231,7 +231,7 @@ export default {
|
|
let shopList = res.data.shop.list;
|
|
let shopList = res.data.shop.list;
|
|
this.$set(this, `shopList`, shopList);
|
|
this.$set(this, `shopList`, shopList);
|
|
shopList[0].color = '#0bbd87';
|
|
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`, 4);
|
|
}
|
|
}
|
|
this.$set(this, `activit`, res.data);
|
|
this.$set(this, `activit`, res.data);
|
|
}
|
|
}
|
|
@@ -242,13 +242,18 @@ export default {
|
|
async exam(status) {
|
|
async exam(status) {
|
|
let info = this.info;
|
|
let info = this.info;
|
|
info.status = status;
|
|
info.status = status;
|
|
- if (status == '-2' || info.transport) info.transport.shop_receive = true;
|
|
|
|
- else if (status == '-2' || !info.transport) {
|
|
|
|
|
|
+ if (status == '-2' && info.transport) info.transport.shop_receive = true;
|
|
|
|
+ else if (status == '-2' && !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.customer_receive = true;
|
|
|
|
|
|
+ if (status == '-3' && info.transport) info.transport.customer_receive = true;
|
|
|
|
+ else if (status == '-3' && !info.transport) {
|
|
|
|
+ let transport = {};
|
|
|
|
+ transport.customer_receive = true;
|
|
|
|
+ info.transport = transport;
|
|
|
|
+ }
|
|
let res;
|
|
let res;
|
|
this.$confirm('是否确认修改售后状态', '提示', {
|
|
this.$confirm('是否确认修改售后状态', '提示', {
|
|
confirmButtonText: '确定',
|
|
confirmButtonText: '确定',
|