Commit 67500c8c authored by youjie's avatar youjie

签证

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