Commit 67500c8c authored by youjie's avatar youjie

签证

parent b536f4c8
......@@ -140,9 +140,13 @@
<!-- <view class="jz_Zailai" style="width: 110rpx; margin-right: 10rpx" @click.stop="goZhifuAli(item)">付款</view> -->
<!-- #endif -->
<!-- #ifdef MP-DI -->
<button v-if="item.visaOrderStatus==1" class="jz_Zailai"
<!-- v-if="item.visaOrderStatus==1" -->
<button v-if="item.visaOrderStatus==3" class="jz_Zailai"
style="width: 110rpx" @click.stop="goCancelZK(item)"
:disabled="submitCancel">取消</button>
<button v-if="item.visaOrderStatus==3" class="jz_Zailai"
style="width: 150rpx;margin-left: 10rpx;" @click.stop="goOrderDetail(item)"
:disabled="submitCancel">立即支付</button>
<!-- #endif -->
<!-- #ifdef MP-AG -->
<view v-if="item.visaOrderStatus==3" class="jz_Zailai"
......@@ -399,7 +403,9 @@
if (tip.confirm) {
that.apipost(
"GetCancelOrder_post", {
OrderNo: 0,
OrderNo: '',
ErpOrderId: item.id,
OrderTypeStr: 'Visa',
},
(res) => {
if (res.resultCode == 1) {
......
......@@ -887,6 +887,7 @@
});
},
goPayHandler(OrderNo) {
let that = this;
uni.requestPayment({
provider: "wxpay",
timeStamp: this.orderInfo.timeStamp,
......
......@@ -614,7 +614,7 @@
this.submit = true
this.apipost("GetCodeByOrderNo_post", {
OrderNo: this.OrderNo,
MallBaseId: uni.getStorageSync("mall_UserInfo").MallBaseId
MallBaseId: uni.getStorageSync("mall_UserInfo").MallBaseId,
}, (res) => {
if (res.resultCode == 1) {
this.orderInfo =JSON.parse(res.data.sPayInfo)
......@@ -669,6 +669,7 @@
OrderTypeStr: this.OrderTypeStr,
},res=>{
if(res.resultCode==1){
this.OrderNo = res.data.OrderNo
this.orderData = {
...res.data
}
......
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