Commit fd1893ee by zhangxw

bug修复

1 parent 1e70d9a4
...@@ -148,7 +148,9 @@ Page({ ...@@ -148,7 +148,9 @@ Page({
oParams.orderCode = row.orderCode oParams.orderCode = row.orderCode
oParams.workWxSessionId = row.workWxSessionId oParams.workWxSessionId = row.workWxSessionId
oParams.openId = openId oParams.openId = openId
if (!((row.zyVoucherStatus ?? '') === '')) {
oParams.zyVoucherStatus = row.zyVoucherStatus oParams.zyVoucherStatus = row.zyVoucherStatus
}
api.GETORDERINFO(oParams, res => { api.GETORDERINFO(oParams, res => {
util.hideLoading() util.hideLoading()
let { returnCode, message, data } = res let { returnCode, message, data } = res
...@@ -166,7 +168,7 @@ Page({ ...@@ -166,7 +168,7 @@ Page({
title: message || returnCode == -1 ? '发起支付失败' : '订单支付失败', title: message || returnCode == -1 ? '发起支付失败' : '订单支付失败',
icon: 'error' icon: 'error'
}) })
this.payFail() this.setPayFail()
} }
}) })
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!