Explorar o código

Merge branch '0601Action' into 11/24SAAS

mo %!s(int64=3) %!d(string=hai) anos
pai
achega
196f9c25e2
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  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 =