Commit 38c92598 authored by youjie's avatar youjie

优化

parent de9e0ab3
...@@ -410,7 +410,12 @@ ...@@ -410,7 +410,12 @@
(item.paymentTime == null || item.paymentTime == "") && (item.paymentTime == null || item.paymentTime == "") &&
(item.orderState == 2 || item.orderState == 3) (item.orderState == 2 || item.orderState == 3)
) { ) {
this.apipost( wx.showModal({
title: '提示',
content: '确定取消订单?',
success: (tip) => {
if (tip.confirm) {
that.apipost(
"GetCancelOrder_post", { "GetCancelOrder_post", {
OrderNo: '', OrderNo: '',
ErpOrderId: item.orderId, ErpOrderId: item.orderId,
...@@ -424,9 +429,13 @@ ...@@ -424,9 +429,13 @@
}); });
that.research(); that.research();
} }
that.submitCancel = false
}, },
(err) => {} (err) => {}
); );
}else that.submitCancel = false
}
})
} }
}, },
//付款 //付款
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment