sale-client 4.2.139-1 → 4.2.139
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -139,20 +139,19 @@
|
|
|
139
139
|
res.flag = 'microPayRongHaoJsbc'
|
|
140
140
|
}
|
|
141
141
|
let res1 = await self.$resetpost(this.$login.f.dir === 'tianchang' ? 'api/af-revenue/logic/WeiXinPayStatus' : 'weixin2/rs/pay/microPayOrderStatus', res, {resolveMsg: null, rejectMsg: '付款码支付查询出错,'})
|
|
142
|
-
|
|
143
|
-
self.paymentCodeReturnData = res1.data
|
|
142
|
+
this.paymentCodeReturnData = res1.data
|
|
144
143
|
res1 = res1.data
|
|
145
144
|
// 支付成功关闭定时器
|
|
146
145
|
if (this.$login.f.dir === 'tianchang') {
|
|
147
146
|
if (res1.result_msg == '支付确认成功') {
|
|
148
|
-
|
|
147
|
+
this.paymentCodeReturnData.f_out_trade_no = res1.data.transactionId
|
|
149
148
|
self.paycoderesolve({msg: '支付完成', result: true})
|
|
150
149
|
self.closeTimer()
|
|
151
150
|
return
|
|
152
151
|
}
|
|
153
152
|
if (res1.result_msg == '支付失败') {
|
|
154
|
-
|
|
155
|
-
|
|
153
|
+
this.$showAlert(`支付失败, 请提醒用户重新付款`, 'danger')
|
|
154
|
+
this.closeTimer()
|
|
156
155
|
return
|
|
157
156
|
}
|
|
158
157
|
} else {
|
|
@@ -162,9 +161,9 @@
|
|
|
162
161
|
return
|
|
163
162
|
}
|
|
164
163
|
if (res1.result_msg == '扣款失败') {
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
164
|
+
this.$showAlert(`支付失败, 请提醒用户重新付款`, 'danger')
|
|
165
|
+
this.closeTimer()
|
|
166
|
+
this.paymentCodeShow = false
|
|
168
167
|
return
|
|
169
168
|
}
|
|
170
169
|
}
|