Browse Source

1

优惠券反写修复
mo 3 years ago
parent
commit
83fc0418d8
1 changed files with 5 additions and 1 deletions
  1. 5 1
      src/views/couponManager/couponUpdate.vue

+ 5 - 1
src/views/couponManager/couponUpdate.vue

@@ -395,7 +395,11 @@ export default {
     this.$store.dispatch("setBranchs");
     if (this.$route.query.row) {
       this.activeRow = JSON.parse(this.$route.query.row);
-      let organIdStr = JSON.parse(this.activeRow.useCondition).organId;
+       let organIdStr =''
+      if( this.activeRow.useCondition&&JSON.parse(this.activeRow.useCondition)&&JSON.parse(this.activeRow.useCondition).organId){
+          organIdStr = JSON.parse(this.activeRow.useCondition).organId;
+      }
+
       let organId = [];
       if (organIdStr) {
         organId =