Browse Source

Merge remote-tracking branch 'origin/20230223_pc_vue_new_branch' into 20230223_pc_vue_new_branch

yq1 1 year ago
parent
commit
f10b3f673e

+ 2 - 1
src/xt_pages/dialysis/schedualPatient.vue View File

@@ -220,8 +220,9 @@ import { getDialysisRecordInitData, getDialysisSchedules } from '@/api/dialysis_
220 220
             var filtedSchedules = []
221 221
             for (let s_i = 0; s_i < originSchedules.length; s_i++) {
222 222
               const schedule = originSchedules[s_i]
223
+              console.log("schedule.patient",schedule.patient)
223 224
               if(schedule.patient!=null){
224
-                if (schedule.patient.name.indexOf(search_keyword) != -1) {
225
+                if ((schedule.patient.name.indexOf(search_keyword) != -1) || (schedule.patient.first_letter.indexOf(search_keyword) != -1)) {
225 226
                 filtedSchedules.push(schedule)
226 227
                 // break
227 228
                }

+ 38 - 35
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue View File

@@ -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 View File

@@ -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>

File diff suppressed because it is too large
+ 604 - 542
src/xt_pages/outpatientDoctorStation/doctorDesk.vue


+ 1 - 1
src/xt_pages/sign/index.vue View File

@@ -287,7 +287,7 @@ export default {
287 287
         if (response.data.data.patientlist != null) {
288 288
           var patientlist = response.data.data.patientlist
289 289
           this.weigh_list.id = patientlist.id
290
-          this.weigh_list.dry_weight = patientlist.dry_weight
290
+          this.weigh_list.dry_weight = patientlist.dry_weight?response.data.data.dryWeight.dry_weight:0
291 291
           if (this.weigh_list.dry_weight === 0) {
292 292
             this.weigh_list.dry_weight = ''
293 293
           }

+ 1 - 1
src/xt_pages/stock/drugs/drugStockOutOrder.vue View File

@@ -354,7 +354,7 @@
354 354
             <template slot-scope="scope">
355 355
                <tr style="background: none" v-for="(item,index) in scope.row.child" :key="index">
356 356
                   <td style="border-right: none; border-inline-end: none;text-align: center">
357
-                    <span v-if="org_id!=0 && org_id!=0">
357
+                    <span v-if="org_id!=0 && org_id!=10480">
358 358
                       <span v-if="is_sys == 1 || is_sys == 5 || is_sys == 12">{{getTotalPrice(item.warehousing_detail_id,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}} </span>
359 359
                     <span v-if="is_sys == 0">
360 360
                       <span v-if="scope.row.child.length == 1">{{item.retail_price}}</span>