Browse Source

Merge branch 'new_pad_branch' of http://git.shengws.com/zhangbj/xt_pad into new_pad_branch

See999 5 years ago
parent
commit
35c3616002

+ 4 - 2
src/pages/main/dialog/OrdersDialog.vue View File

@@ -34,7 +34,7 @@
34 34
         <span
35 35
           v-if="currentSubAdvices.length <= 0"
36 36
           @click="modifyAdviceAction"
37
-          :class="{ forbid: current_group_index < 0 ||  currentAdvices.length != 1 || (this.$store.getters.user.user.user_type == 3 && !isPremission) }"
37
+          :class="{ forbid: current_group_index < 0 ||  currentAdvices.length != 1  || current_select_object== 2 || (this.$store.getters.user.user.user_type == 3 && !isPremission) }"
38 38
         >修改</span>
39 39
         <span
40 40
           v-if="currentSubAdvices.length <= 0"
@@ -1223,6 +1223,9 @@
1223 1223
 
1224 1224
       },
1225 1225
       modifyAdviceAction: function () {
1226
+        if (this.currentAdvices.length != 1 || this.current_select_object == 2){
1227
+          return
1228
+        }
1226 1229
         if (this.$store.getters.user.user.user_type == 3 && !this.isPremission){
1227 1230
           return
1228 1231
         }
@@ -1345,7 +1348,6 @@
1345 1348
       }, selectGroupAdviceAction: function (group_index, advice_index, advice, group) {
1346 1349
 
1347 1350
         if (this.current_group_index != -1 && this.current_group_index != group_index) { //选择其他组,将原来的组选择状态清除
1348
-          console.log("111111111")
1349 1351
           this.currentAdvices = []
1350 1352
           this.currentSubAdvices = []
1351 1353
           for (let i = 0; i < this.advice_groups.length; i++) {

+ 0 - 1
src/pages/main/dialog/PrescriptionDialog.vue View File

@@ -1086,7 +1086,6 @@
1086 1086
               this.zhiShow = true
1087 1087
               this.totalShow = true
1088 1088
               this.huShow = true
1089
-              console.log("a")
1090 1089
             }
1091 1090
           }
1092 1091
         }