浏览代码

Merge branch '20230223_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20230223_pc_vue_new_branch

28169 1年前
父节点
当前提交
f1eb22fbee

+ 6 - 3
src/xt_pages/outpatientCharges/invoicePrint.vue 查看文件

@@ -14,8 +14,8 @@
14 14
         <div class='dialysisPage'>
15 15
           <div v-if="org_id != 10106 && org_id != 10215 && org_id != 4 && org_id != 10188 && org_id != 10217 && org_id != 10387&& org_id != 10210 && org_id != 10387 && org_id != 10480 " >
16 16
             <printOne v-if="org_id != 10088 && org_id != 10510 && org_id != 0" :paramsObj="invoiceParams"></printOne>
17
-            <printThree v-if="org_id == 10088 " :paramsObj="invoiceParams"></printThree>
18
-            <printfifteen v-if="org_id == 10510 || org_id == 0" :paramsObj="invoiceParams"></printfifteen>
17
+            <printThree v-if="org_id == 10088 || org_id == 10510 || org_id == 0" :paramsObj="invoiceParams"></printThree>
18
+            <!-- <printfifteen v-if="org_id == 10510 || org_id == 0" :paramsObj="invoiceParams"></printfifteen> -->
19 19
           </div>
20 20
           <printTwo v-if="org_id == 10106" :paramsObj="invoiceParams"></printTwo>
21 21
           <printFour v-if="org_id == 10215 || org_id == 4 " :paramsObj="invoiceParams"></printFour>
@@ -45,11 +45,13 @@
45 45
         <print-ten :paramsObj="invoiceParams"></print-ten>
46 46
       </div>
47 47
     </div>
48
+
48 49
     <!-- <div class="app-container" v-if="org_id == 10567 ">
49 50
       <div class='dialysisPage'>
50 51
         <printfourteen :paramsObj="invoiceParams"></printfourteen>
51 52
       </div>
52 53
     </div> -->
54
+
53 55
     <!-- <div class="app-container" style="padding-top:30px;" v-if="org_id == 10188 || org_id == 0 ">
54 56
       <div class='dialysisPage'>
55 57
         <printthirteen  :paramsObj="invoiceParams"></printthirteen>
@@ -77,7 +79,7 @@
77 79
   import PrintEleven from './invoiceTemplate/printEleven'
78 80
   import printtwelve from './invoiceTemplate/printtwelve'
79 81
   import printthirteen from './invoiceTemplate/printthirteen'
80
-  // import printfourteen from './invoiceTemplate/printfourteen'
82
+  import printfourteen from './invoiceTemplate/printfourteen'
81 83
   import printfifteen from './invoiceTemplate/printfifteen'
82 84
   export default {
83 85
     name: "invoicePrint",
@@ -95,6 +97,7 @@
95 97
       PrintTen,
96 98
       printtwelve,
97 99
       printthirteen,
100
+      printfourteen,
98 101
       printfifteen
99 102
     },
100 103
     props:{

+ 38 - 35
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue 查看文件

@@ -737,6 +737,7 @@ export default {
737 737
   },
738 738
   methods: {
739 739
     getzuobiao(){
740
+
740 741
       if(this.org_id == 10206){
741 742
         var that = this
742 743
         axios.get("http://127.0.0.1:9532" + '/nmg/coordinate/querystockgood', {
@@ -3305,21 +3306,21 @@ export default {
3305 3306
        }
3306 3307
       }
3307 3308
 
3308
-      // if(this.org_id == 10206){
3309
-      //   if (row.zuobiao_stock_num <= 0) {
3310
-      //     if (selection) {
3311
-      //       selection.forEach(row => {
3312
-      //         if (row.zuobiao_stock_num <= 0) {
3313
-      //           this.$refs.multipleTable.toggleRowSelection(row)
3314
-      //         }
3315
-      //       })
3316
-      //     } else {
3317
-      //       this.$refs.multipleTable.clearSelection()
3318
-      //     }
3319
-      //     this.$message.error(row.drug_name + '库存不足')
3320
-      //     return
3321
-      //   }
3322
-      // }
3309
+      if(this.org_id == 10206){
3310
+        if (row.zuobiao_stock_num <= 0) {
3311
+          if (selection) {
3312
+            selection.forEach(row => {
3313
+              if (row.zuobiao_stock_num <= 0) {
3314
+                this.$refs.multipleTable.toggleRowSelection(row)
3315
+              }
3316
+            })
3317
+          } else {
3318
+            this.$refs.multipleTable.clearSelection()
3319
+          }
3320
+          this.$message.error(row.drug_name + '库存不足')
3321
+          return
3322
+        }
3323
+      }
3323 3324
 
3324 3325
 
3325 3326
 
@@ -3633,21 +3634,21 @@ export default {
3633 3634
         }
3634 3635
        }
3635 3636
 
3636
-      // if ( this.org_id == 10206) {
3637
-      //   if (row.type == 3) {
3638
-      //     if (selection) {
3639
-      //       selection.forEach(row => {
3640
-      //         if (row.zuobiao_stock_num <= 0) {
3641
-      //           this.$refs.tables.toggleRowSelection(row)
3642
-      //         }
3643
-      //       })
3644
-      //     } else {
3645
-      //       this.$refs.tables.clearSelection()
3646
-      //     }
3647
-      //     this.$message.error(row.project_name + '库存不足')
3648
-      //     return
3649
-      //   }
3650
-      // }
3637
+      if ( this.org_id == 10206) {
3638
+        if (row.type == 3) {
3639
+          if (selection) {
3640
+            selection.forEach(row => {
3641
+              if (row.zuobiao_stock_num <= 0) {
3642
+                this.$refs.tables.toggleRowSelection(row)
3643
+              }
3644
+            })
3645
+          } else {
3646
+            this.$refs.tables.clearSelection()
3647
+          }
3648
+          this.$message.error(row.project_name + '库存不足')
3649
+          return
3650
+        }
3651
+      }
3651 3652
       this.teamList = selection
3652 3653
     },
3653 3654
     getlist() {
@@ -3733,6 +3734,8 @@ export default {
3733 3734
                   console.log( this.zuobiao_project[i].lsqty)
3734 3735
                   console.log( this.tabProject[b].zuobiao_stock_num)
3735 3736
                   this.tabProject[b].zuobiao_stock_num = this.zuobiao_project[i].lsqty
3737
+                  this.tabProject[b].price = this.zuobiao_project[i].price
3738
+
3736 3739
                 }
3737 3740
               }
3738 3741
             }
@@ -3830,11 +3833,11 @@ export default {
3830 3833
                   this.$message.error(project[i].good_info.good_name + '库存不足')
3831 3834
                 }
3832 3835
 
3833
-                // if (project[i].good_info.zuobiao_stock_num <= 0 && this.org_id == 10206) {
3834
-                //   num++
3835
-                //   this.$refs.tabProjectTeam.toggleRowSelection(row)
3836
-                //   this.$message.error(project[i].good_info.good_name + '库存不足')
3837
-                // }
3836
+                if (project[i].good_info.zuobiao_stock_num <= 0 && this.org_id == 10206) {
3837
+                  num++
3838
+                  this.$refs.tabProjectTeam.toggleRowSelection(row)
3839
+                  this.$message.error(project[i].good_info.good_name + '库存不足')
3840
+                }
3838 3841
 
3839 3842
                 if (num > 0) {
3840 3843
                   this.$refs.tabProjectTeam.clearSelection()

+ 7 - 0
src/xt_pages/outpatientDoctorStation/components/prescriptionTable.vue 查看文件

@@ -120,6 +120,13 @@
120 120
             </template>
121 121
           </el-table-column>
122 122
 
123
+
124
+          <el-table-column align="center" prop="drug_way_count" width="100" label="给药途径次数" >
125
+            <template slot-scope="scope">
126
+              <el-input :disabled="prescription.is_medicine_status"  v-model="scope.row.drug_way_count" :title="scope.row.drug_way_count" placeholder=""></el-input>
127
+            </template>
128
+          </el-table-column>
129
+
123 130
             <el-table-column align="center" prop="remark" width="50" label="备注">
124 131
                 <template slot-scope="scope">
125 132
                     <el-input :disabled="prescription.is_medicine_status"  v-model="scope.row.remark" :title="scope.row.remark" placeholder=""></el-input>

文件差异内容过多而无法显示
+ 604 - 542
src/xt_pages/outpatientDoctorStation/doctorDesk.vue