jufubao-base 1.0.370 → 1.0.371

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": "jufubao-base",
3
- "version": "1.0.370",
3
+ "version": "1.0.371",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -51,7 +51,7 @@
51
51
  "dingtalk-jsapi": "^3.0.31",
52
52
  "flyio": "^0.6.2",
53
53
  "gxd-commands-bussiness": "^1.0.12",
54
- "gxd-uni-library-editx": "1.0.190",
54
+ "gxd-uni-library-editx": "1.0.193",
55
55
  "jweixin-module": "^1.6.0",
56
56
  "md5": "^2.3.0",
57
57
  "path-to-regexp": "^6.2.1",
@@ -1062,6 +1062,7 @@ export default {
1062
1062
  'viewInvoice', //查看发票
1063
1063
  'reorder' //重新下单
1064
1064
  ],
1065
+ reorderStatus: "",
1065
1066
 
1066
1067
  //基础
1067
1068
  radius: 0,
@@ -1712,6 +1713,7 @@ export default {
1712
1713
  this.$xdHideLoading();
1713
1714
  if(res.tips && res.tips.length){
1714
1715
  this.reorderTips = res.tips;
1716
+ this.reorderStatus = res.status;
1715
1717
  this.reorderBtnItem = item;
1716
1718
  this.showReorderDialog = true;
1717
1719
  }else{
@@ -1727,7 +1729,9 @@ export default {
1727
1729
  },
1728
1730
  handleReorderDlgConfirm(){
1729
1731
  this.showReorderDialog = false;
1730
- this.reorderNavigate(this.reorderBtnItem);
1732
+ if(this.reorderStatus !== 'not'){
1733
+ this.reorderNavigate(this.reorderBtnItem);
1734
+ }
1731
1735
  this.reorderBtnItem = null;
1732
1736
  },
1733
1737
  reorderNavigate(item){
@@ -268,6 +268,7 @@ export default {
268
268
  status: null, //全部、已完成、已取消
269
269
  initStatus: false,
270
270
  loadingList: true,
271
+ reorderStatus: "",
271
272
 
272
273
  showApplyAfter: "",
273
274
 
@@ -504,6 +505,7 @@ export default {
504
505
  if(res.tips && res.tips.length){
505
506
  this.reorderTips = res.tips;
506
507
  this.reorderItem = item;
508
+ this.reorderStatus = res.status;
507
509
  this.showReorderDialog = true;
508
510
  }else{
509
511
  this.reorderNavigate(item);
@@ -516,7 +518,9 @@ export default {
516
518
  },
517
519
  handleReorderConfirm(){
518
520
  this.showReorderDialog = false;
519
- this.reorderNavigate(this.reorderItem);
521
+ if(this.reorderStatus !== 'not'){
522
+ this.reorderNavigate(this.reorderItem);
523
+ }
520
524
  this.reorderItem = null;
521
525
  },
522
526
  reorderNavigate(item){