取消订单查询
This commit is contained in:
parent
ef56b723d4
commit
373b34a809
|
@ -190,7 +190,7 @@
|
||||||
<span @click="successchangeBtnFn">我知道啦</span>
|
<span @click="successchangeBtnFn">我知道啦</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<img v-if="popboxshow" class="closed"
|
<img v-if="popboxshow&&popboxtype!='成功'" class="closed"
|
||||||
src="http://lsxd-customcard-h5.oss-cn-hangzhou.aliyuncs.com/cardpwd/img/commimgs/close.png" alt=""
|
src="http://lsxd-customcard-h5.oss-cn-hangzhou.aliyuncs.com/cardpwd/img/commimgs/close.png" alt=""
|
||||||
@click="closeBtn()">
|
@click="closeBtn()">
|
||||||
</div>
|
</div>
|
||||||
|
@ -379,23 +379,9 @@
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
console.log(375,res);
|
console.log(375,res);
|
||||||
// 查询订单接口
|
// 查询订单接口
|
||||||
let pas = {
|
this.popboxtype = '成功';
|
||||||
"key": sessionStorage.getItem('key'),
|
this.popboxshow=true;
|
||||||
"order_number": res.data.order_number
|
this.successTip='兑换成功,请关注短信通知!';
|
||||||
}
|
|
||||||
req.axiosPostResult('/key/result', pas).then(res => {
|
|
||||||
if (res.code == 200) {
|
|
||||||
self.popboxtype = '成功';
|
|
||||||
self.popboxshow=true;
|
|
||||||
self.successTip = res.data.status_text;
|
|
||||||
} else {
|
|
||||||
self.popboxtype = '提示';
|
|
||||||
self.popboxshow=true;
|
|
||||||
self.tiptext = res.message;
|
|
||||||
}
|
|
||||||
}).catch(err => {
|
|
||||||
|
|
||||||
});
|
|
||||||
} else {
|
} else {
|
||||||
this.popboxtype = '提示';
|
this.popboxtype = '提示';
|
||||||
this.popboxshow=true;
|
this.popboxshow=true;
|
||||||
|
|
Loading…
Reference in New Issue