Browse Source

新分支

28169 1 year ago
parent
commit
cba694275e

+ 3 - 1
src/xt_pages/hospitalStation/components/deskPrescription.vue View File

@@ -3081,9 +3081,11 @@ export default {
3081 3081
         if (row.sum_count <= 0) {
3082 3082
           if (selection) {
3083 3083
             selection.forEach(row => {
3084
-              if (row.sum_count <= 0) {
3084
+              if(row.is_project!=1){
3085
+              if ( row.sum_count <= 0) {
3085 3086
                 this.$refs.multipleTable.toggleRowSelection(row)
3086 3087
               }
3088
+            }
3087 3089
             })
3088 3090
           } else {
3089 3091
             this.$refs.multipleTable.clearSelection()

+ 7 - 3
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue View File

@@ -3264,13 +3264,17 @@ export default {
3264 3264
       //     }
3265 3265
       // }
3266 3266
 
3267
-      if(row.is_user!=1 &&  this.org_id != 10206 && this.org_id != 0){
3267
+      if(row.is_user!=1 &&  this.org_id != 10206){
3268
+        console.log("row.sum_count",row)
3268 3269
         if (row.sum_count <= 0) {
3269 3270
         if (selection) {
3270 3271
           selection.forEach(row => {
3271
-            if (row.sum_count <= 0) {
3272
-              this.$refs.multipleTable.toggleRowSelection(row)
3272
+            if(row.is_project!=1){
3273
+              if ( row.sum_count <= 0) {
3274
+                this.$refs.multipleTable.toggleRowSelection(row)
3275
+              }
3273 3276
             }
3277
+            
3274 3278
           })
3275 3279
         } else {
3276 3280
           this.$refs.multipleTable.clearSelection()