apply-clients 4.1.20-weinan → 4.1.22-weinan

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apply-clients",
3
- "version": "4.1.20-weinan",
3
+ "version": "4.1.22-weinan",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -558,6 +558,7 @@ export default {
558
558
  this.timeLeft = 300
559
559
  // 修改支付状态
560
560
  this.updatestate('支付失败')
561
+ this.closeOrder()
561
562
  // 清除二维码
562
563
  this.clearQrCode()
563
564
  this.showQrCode = false
@@ -573,6 +574,21 @@ export default {
573
574
  resolveMsg: null,
574
575
  rejectMsg: '修改失败!!!'
575
576
  })
577
+ this.search()
578
+ },
579
+ async closeOrder(){
580
+ let data = {
581
+ "flag":"JsApiWeiNan",
582
+ "f_filiale": "weinanchengtou",
583
+ "f_out_trade_no": this.order.f_out_trade_no,// 商户单号
584
+ "isClose":"是",
585
+ "f_sys_trace":this.order.f_sys_trace // 交易流水号
586
+ }
587
+ let http = new HttpResetClass()
588
+ let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/wx/rs/pay/microPayOrderStatus`, {data:data}, {
589
+ resolveMsg: null,
590
+ rejectMsg: '关闭失败!!!'
591
+ })
576
592
  }
577
593
  // async getConfig () {
578
594
  // let http = new HttpResetClass()
@@ -609,6 +625,7 @@ export default {
609
625
  this.timeLeft = 300
610
626
  // 修改支付状态
611
627
  this.updatestate('支付失败')
628
+ this.closeOrder()
612
629
  // 清除二维码
613
630
  this.clearQrCode()
614
631