gdpao
This commit is contained in:
@@ -332,7 +332,22 @@ export default {
|
||||
},
|
||||
// 绑定配送方式
|
||||
confirmpushstyle() {
|
||||
console.log(this.cur);
|
||||
if (this.cur != 0 && this.cur != 1) {
|
||||
this.$refs.uToast.show({
|
||||
title: '请选择派送方式!',
|
||||
type: 'warning ',
|
||||
})
|
||||
return;
|
||||
}
|
||||
if (this.cur == 0) {
|
||||
if (!this.companyidA) {
|
||||
this.$refs.uToast.show({
|
||||
title: '请选择派送方式!',
|
||||
type: 'warning ',
|
||||
})
|
||||
return;
|
||||
}
|
||||
console.log(this.pushid);
|
||||
this.$u.api.bindpushid({
|
||||
order_id: this.orderid,
|
||||
@@ -355,6 +370,13 @@ export default {
|
||||
}
|
||||
});
|
||||
} else {
|
||||
if (!this.selctcar) {
|
||||
this.$refs.uToast.show({
|
||||
title: '请选择派送方式!',
|
||||
type: 'warning ',
|
||||
})
|
||||
return;
|
||||
}
|
||||
this.$u.api.bindcarer({
|
||||
order_id: this.orderid,
|
||||
takeawayer_id: this.selctcar.takeawayer_id
|
||||
|
||||
@@ -134,7 +134,7 @@ export default {
|
||||
badlist: [], //退货列表
|
||||
carlist: [], //可投诉订单列表
|
||||
reportinfo: null, //投诉信息
|
||||
reportcontent: '' //投诉内容
|
||||
reportcontent: '', //投诉内容
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
|
||||
Reference in New Issue
Block a user