cmx #21

Merged
cmx merged 4 commits from cmx into master 2020-08-05 12:11:37 +00:00
4 changed files with 177 additions and 199 deletions
Showing only changes of commit 80e3a721a1 - Show all commits

View File

@ -182,13 +182,11 @@ export default {
if (this.cur == 0) {
// 退
return;
this.$u.api
.refund({
this.$u.api.refund({
refund_id: this.orderid,
seller_state:2,
seller_message:""
})
.then(res => {
}).then(res => {
if (res.errCode != 0) {
this.$refs.uToast.show({
title: res.message,
@ -205,13 +203,11 @@ export default {
} else {
// 退
return;
this.$u.api
.refund({
this.$u.api.refund({
refund_id: this.orderid,
seller_state:3,
seller_message:""
})
.then(res => {
}).then(res => {
if (res.errCode != 0) {
this.$refs.uToast.show({
title: res.message,
@ -239,11 +235,9 @@ export default {
},
//
getcarinfo() {
this.$u.api
.getpushinfo({
this.$u.api.getpushinfo({
order_id: this.orderid
})
.then(res => {
}).then(res => {
if (res.errCode != 0) {
this.$refs.uToast.show({
title: res.message,
@ -268,13 +262,11 @@ export default {
confirmpushstyle() {
if (this.cur == 0) {
console.log(this.pushid);
this.$u.api
.bindpushid({
this.$u.api.bindpushid({
order_id: this.orderid,
shipping_code: this.pushid,
shipping_express_id: this.companyidA
})
.then(res => {
}).then(res => {
if (res.errCode != 0) {
this.$refs.uToast.show({
title: res.message,
@ -291,12 +283,10 @@ export default {
}
});
} else {
this.$u.api
.bindcarer({
this.$u.api.bindcarer({
order_id: this.orderid,
takeawayer_id: this.selctcar.takeawayer_id
})
.then(res => {
}).then(res => {
console.log(res);
if (res.errCode != 0) {
this.$refs.uToast.show({
@ -318,11 +308,9 @@ export default {
},
//
resetinfo() {
this.$u.api
.orderdetail({
this.$u.api.orderdetail({
order_id: this.orderid
})
.then(res => {
}).then(res => {
console.log(res);
if (res.errCode != 0) {
this.$refs.uToast.show({

View File

@ -123,13 +123,11 @@ export default {
//
confirmpushstyle() {
if (this.cur == 0) {
this.$u.api
.agreetest({
this.$u.api.agreetest({
goods_try_id: this.orderid,
type: 1,
takeawayer_id: 0
})
.then(res => {
}).then(res => {
console.log(res);
if (res.errCode != 0) {
this.$refs.uToast.show({
@ -140,13 +138,11 @@ export default {
}
});
} else {
this.$u.api
.agreetest({
this.$u.api.agreetest({
goods_try_id: this.orderid,
type: 1,
takeawayer_id: this.selctcar.takeawayer_id
})
.then(res => {
}).then(res => {
console.log(res);
if (res.errCode != 0) {
this.$refs.uToast.show({
@ -164,11 +160,9 @@ export default {
},
//
resetinfo() {
this.$u.api
.testorderdetail({
this.$u.api.testorderdetail({
goods_try_id: this.orderid
})
.then(res => {
}).then(res => {
console.log(res);
if (res.errCode != 0) {
this.$refs.uToast.show({

View File

@ -207,11 +207,9 @@ export default {
},
//
addLiveSpec() {
this.$u.api
.createLivesp({
this.$u.api.createLivesp({
spec_name: this.tagcontent
})
.then(res => {
}).then(res => {
if (res.errCode != 0) {
this.$refs.uToast.show({
title: res.message,

View File

@ -184,11 +184,9 @@ export default {
},
//
addLiveSpec() {
this.$u.api
.createLivesp({
this.$u.api.createLivesp({
spec_name: this.tagcontent
})
.then(res => {
}).then(res => {
if (res.errCode != 0) {
this.$refs.uToast.show({
title: res.message,