陈少旭 před 1 rokem
rodič
revize
71e474376e

+ 35 - 38
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue Zobrazit soubor

@@ -3257,21 +3257,21 @@ export default {
3257 3257
        }
3258 3258
       }
3259 3259
 
3260
-      if(this.org_id == 10206){
3261
-        if (row.zuobiao_stock_num <= 0) {
3262
-          if (selection) {
3263
-            selection.forEach(row => {
3264
-              if (row.zuobiao_stock_num <= 0) {
3265
-                this.$refs.multipleTable.toggleRowSelection(row)
3266
-              }
3267
-            })
3268
-          } else {
3269
-            this.$refs.multipleTable.clearSelection()
3270
-          }
3271
-          this.$message.error(row.drug_name + '库存不足')
3272
-          return
3273
-        }
3274
-      }
3260
+      // if(this.org_id == 10206){
3261
+      //   if (row.zuobiao_stock_num <= 0) {
3262
+      //     if (selection) {
3263
+      //       selection.forEach(row => {
3264
+      //         if (row.zuobiao_stock_num <= 0) {
3265
+      //           this.$refs.multipleTable.toggleRowSelection(row)
3266
+      //         }
3267
+      //       })
3268
+      //     } else {
3269
+      //       this.$refs.multipleTable.clearSelection()
3270
+      //     }
3271
+      //     this.$message.error(row.drug_name + '库存不足')
3272
+      //     return
3273
+      //   }
3274
+      // }
3275 3275
 
3276 3276
 
3277 3277
 
@@ -3587,27 +3587,24 @@ export default {
3587 3587
         }
3588 3588
        }
3589 3589
 
3590
-      if ( this.org_id == 10206) {
3591
-        if (row.type == 3) {
3592
-          if (selection) {
3593
-            selection.forEach(row => {
3594
-              if (row.zuobiao_stock_num <= 0) {
3595
-                this.$refs.tables.toggleRowSelection(row)
3596
-              }
3597
-            })
3598
-          } else {
3599
-            this.$refs.tables.clearSelection()
3600
-          }
3601
-          this.$message.error(row.project_name + '库存不足')
3602
-          return
3603
-        }
3604
-      }
3590
+      // if ( this.org_id == 10206) {
3591
+      //   if (row.type == 3) {
3592
+      //     if (selection) {
3593
+      //       selection.forEach(row => {
3594
+      //         if (row.zuobiao_stock_num <= 0) {
3595
+      //           this.$refs.tables.toggleRowSelection(row)
3596
+      //         }
3597
+      //       })
3598
+      //     } else {
3599
+      //       this.$refs.tables.clearSelection()
3600
+      //     }
3601
+      //     this.$message.error(row.project_name + '库存不足')
3602
+      //     return
3603
+      //   }
3604
+      // }
3605 3605
       this.teamList = selection
3606 3606
     },
3607 3607
     getlist() {
3608
-
3609
-
3610
-
3611 3608
       this.tabProject = []
3612 3609
       getHisProject().then(response => {
3613 3610
         if (response.data.state == 1) {
@@ -3779,11 +3776,11 @@ export default {
3779 3776
                   this.$message.error(project[i].good_info.good_name + '库存不足')
3780 3777
                 }
3781 3778
 
3782
-                if (project[i].good_info.zuobiao_stock_num <= 0 && this.org_id == 10206) {
3783
-                  num++
3784
-                  this.$refs.tabProjectTeam.toggleRowSelection(row)
3785
-                  this.$message.error(project[i].good_info.good_name + '库存不足')
3786
-                }
3779
+                // if (project[i].good_info.zuobiao_stock_num <= 0 && this.org_id == 10206) {
3780
+                //   num++
3781
+                //   this.$refs.tabProjectTeam.toggleRowSelection(row)
3782
+                //   this.$message.error(project[i].good_info.good_name + '库存不足')
3783
+                // }
3787 3784
 
3788 3785
                 if (num > 0) {
3789 3786
                   this.$refs.tabProjectTeam.clearSelection()