瀏覽代碼

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

yq1 5 月之前
父節點
當前提交
6a0df6c105

+ 8 - 5
src/xt_pages/Pharmacy/DrugDispensing.vue 查看文件

@@ -435,7 +435,7 @@
435 435
          width="40%">
436 436
        <span>
437 437
         <el-input
438
-          @input="changeText"
438
+          @keyup.native="changeText"
439 439
           type="textarea"
440 440
           placeholder="请输入内容"
441 441
           v-model="textarea"
@@ -575,10 +575,13 @@ export default {
575 575
          }
576 576
       })
577 577
     },
578
-    changeText(){
579
-      var textarea = ""
580
-      textarea += this.textarea + ","
581
-      this.textarea = textarea
578
+    changeText(event){
579
+      // 检查是否为特定的按键,例如回车键,来确认扫码枪输入完成
580
+      if (event.key === 'Enter') {
581
+        var textarea = ""
582
+        textarea += this.textarea + ","
583
+        this.textarea = textarea
584
+      }
582 585
     },
583 586
     tt() {},
584 587
     async fun3() {

+ 11 - 5
src/xt_pages/Pharmacy/PatientDispensing.vue 查看文件

@@ -288,7 +288,7 @@
288 288
          width="40%">
289 289
        <span>
290 290
         <el-input
291
-          @input="changeText"
291
+          @keyup.native="changeText"
292 292
           type="textarea"
293 293
           placeholder="请输入内容"
294 294
           v-model="textarea"
@@ -865,10 +865,16 @@ export default {
865 865
          }
866 866
       })
867 867
     },
868
-    changeText(){
869
-      var textarea = ""
870
-      textarea += this.textarea + ","
871
-      this.textarea = textarea
868
+    changeText(event){
869
+      // 检查是否为特定的按键,例如回车键,来确认扫码枪输入完成
870
+      if (event.key === 'Enter') {
871
+        var textarea = ""
872
+        textarea += this.textarea + ","
873
+        console.log("textarea-=----------------------",textarea)
874
+        this.textarea = textarea
875
+      }
876
+   
877
+
872 878
     }
873 879
   },
874 880
 };

+ 1 - 6
src/xt_pages/dialysis/details/consumable/dialysisParameter.vue 查看文件

@@ -314,12 +314,7 @@
314 314
               {{ scope.row.advice_spc_five }}
315 315
            </template>
316 316
         </el-table-column>
317
-       <el-table-column align="center" label="封管液" v-if="dialysisSett.sealing_fluid_dispose == 1">
318
-           <template slot-scope="scope">
319
-             <span>{{scope.row.xt_assesment_after_dislysis.sealing_fluid_dispose}} </span> 
320
-           </template>
321
-        </el-table-column>
322
-
317
+      
323 318
         <el-table-column align="center" label="葡萄糖"  v-if="dialysisSett.glucose==1">
324 319
            <template slot-scope="scope">
325 320
              <span>{{scope.row.dialysis_solution.amylaceum?scope.row.dialysis_solution.amylaceum:""}} </span> 

+ 8 - 14
src/xt_pages/dialysis/details/consumable/dialysisParameterPrint.vue 查看文件

@@ -52,11 +52,10 @@
52 52
                 <td width="100" v-if="dialysisSett.sealing_fluid_dispose == 1">封管液</td>
53 53
                 <td width="100"  v-if="dialysisSett.glucose==1">葡萄糖</td>
54 54
                 <td width="100"  v-if="dialysisSett.blood_flow_volume==1">血流量</td>
55
-                <td  v-if="dialysisSett.sealing_fluid_dispose==1">封管液</td>
56 55
                 <td v-if="dialysisSett.cuhong_set==1">促红</td>
57 56
                 <td v-if="dialysisSett.zuoka_set == 1">左卡</td>
58 57
                 <td v-if="dialysisSett.difenzi_set == 1">低分子</td>
59
-                <td v-if="dialysisSett.advice_spc_three == 1">肝素钠</td>
58
+                <td v-if="dialysisSett.gansuna_set == 1">肝素钠</td>
60 59
                 <td v-if="dialysisSett.zhetangtie == 1">蔗糖铁</td>
61 60
                 <td v-if="dialysisSett.niaojimei_set == 1">尿激酶</td>
62 61
               </tr>
@@ -185,28 +184,23 @@
185 184
                    <span>{{item.dialysis_solution.blood_flow_volume?item.dialysis_solution.blood_flow_volume:""}}</span> 
186 185
                 </td>
187 186
                 
188
-                <td v-if="dialysisSett.sealing_fluid_dispose ==1">
189
-                  <span v-if="getBloodAccessOption(item.dialysis_solution.blood_access).indexOf('导管')!==-1">1</span>
190
-                  <span v-else></span>
191
-                </td>
192
-                
193
-                
194
-                <td v-if="org_id!=10587 && org_id!=10599 && org_id!=10629">
187
+             
188
+                <td v-if="dialysisSett.cuhong_set==1">
195 189
                   {{ item.advice_spc }}
196 190
                 </td>
197
-                <td v-if="org_id!=10587 && org_id!=10599 && org_id!=10629">
191
+                <td  v-if="dialysisSett.zuoka_set == 1">
198 192
                   {{ item.advice_spc_one }}
199 193
                 </td>
200
-                <td v-if="org_id!=10587 && org_id!=10599 && org_id!=10629">
194
+                <td v-if="dialysisSett.difenzi_set == 1">
201 195
                   {{ item.advice_spc_two }}
202 196
                 </td>
203
-                <td v-if="org_id!=10587 && org_id!=10599 && org_id!=10629">
197
+                <td v-if="dialysisSett.gansuna_set == 1">
204 198
                   {{ item.advice_spc_three }}
205 199
                 </td>
206
-                <td v-if="org_id!=10587 && org_id!=10599 && org_id!=10629">
200
+                <td v-if="dialysisSett.zhetangtie == 1">
207 201
                   {{ item.advice_spc_four }}
208 202
                 </td>
209
-                <td v-if="org_id!=10587 && org_id!=10599 && org_id!=10629">
203
+                <td v-if="dialysisSett.niaojimei_set == 1">
210 204
                   {{ item.advice_spc_five }}
211 205
                 </td>
212 206
                </tr>

+ 10 - 1
src/xt_pages/stock/detail/stockInDetail.vue 查看文件

@@ -181,7 +181,7 @@
181 181
       <el-pagination
182 182
         @size-change="handleSizeChange"
183 183
         @current-change="handleCurrentChange"
184
-        :page-sizes="[10, 50, 100]"
184
+        :page-sizes="[10, 50, 100,500,1000]"
185 185
         :page-size="10"
186 186
         background
187 187
         style="margin-top:20px;float: right"
@@ -342,6 +342,7 @@ export default {
342 342
       return name;
343 343
     },
344 344
     search: function() {
345
+      this.getGoodDetailPrintList()
345 346
       const Params = {
346 347
         page: this.page,
347 348
         limit: this.limit,
@@ -490,14 +491,18 @@ export default {
490 491
     },
491 492
     handleSelectionChange: function(val) {
492 493
       this.multipleSelection = val;
494
+      this.GetCancelStock();
495
+      this.getGoodDetailPrintList()
493 496
     },
494 497
     handleSizeChange(val) {
495 498
       this.limit = val;
496 499
       this.GetCancelStock();
500
+      this.getGoodDetailPrintList()
497 501
     },
498 502
     handleCurrentChange(val) {
499 503
       this.page = val;
500 504
       this.GetCancelStock();
505
+      this.getGoodDetailPrintList()
501 506
     },
502 507
     startTimeChange(val) {
503 508
 
@@ -508,6 +513,7 @@ export default {
508 513
       } else {
509 514
 
510 515
         this.GetCancelStock();
516
+        this.getGoodDetailPrintList()
511 517
 
512 518
       }
513 519
     },
@@ -519,10 +525,12 @@ export default {
519 525
       } else {
520 526
 
521 527
         this.GetCancelStock();
528
+        this.getGoodDetailPrintList()
522 529
       }
523 530
     },
524 531
     getAllQuery(){
525 532
       this.GetCancelStock();
533
+      this.getGoodDetailPrintList()
526 534
     },
527 535
     getTimestamp(time) {
528 536
       // 把时间日期转成时间戳
@@ -907,6 +915,7 @@ export default {
907 915
       getGoodDetailPrintList(params).then(response=>{
908 916
         if(response.data.state == 1){
909 917
           var list = response.data.data.list
918
+          this.tableInfo = []
910 919
           this.tableInfo = list
911 920
         }
912 921
       })

+ 2 - 2
src/xt_pages/stock/drugs/components/drugInOrder.vue 查看文件

@@ -174,7 +174,7 @@
174 174
       <el-pagination
175 175
         @size-change="handleSizeChange"
176 176
         @current-change="handleCurrentChange"
177
-        :page-sizes="[10, 50, 100]"
177
+        :page-sizes="[10, 50, 100,500,1000]"
178 178
         :page-size="10"
179 179
         background
180 180
         style="margin-top:20px;float: right"
@@ -473,7 +473,7 @@ export default {
473 473
      getDrugWarehouseInfoPrint(params).then(response=>{
474 474
           if(response.data.state == 1){
475 475
             var list = response.data.data.list
476
-          
476
+            this.tabelePrintList = []
477 477
             this.tabelePrintList = list
478 478
             this.manufacturerList = response.data.data.manufacturerList
479 479
             this.dealerList = response.data.data.dealerList

+ 12 - 1
src/xt_pages/stock/drugs/drugStockInOrderAdd.vue 查看文件

@@ -419,6 +419,7 @@
419 419
       width="40%">
420 420
       <span>
421 421
         <el-input
422
+         @keyup.native="changeText"
422 423
           type="textarea"
423 424
           placeholder="请输入内容"
424 425
           v-model="textarea"
@@ -1183,8 +1184,18 @@ export default {
1183 1184
          return ""
1184 1185
         }
1185 1186
       }
1186
-    }
1187
+    },
1188
+    changeText(event){
1189
+      // 检查是否为特定的按键,例如回车键,来确认扫码枪输入完成
1190
+      if (event.key === 'Enter') {
1191
+        var textarea = ""
1192
+        textarea += this.textarea + ","
1193
+        this.textarea = textarea
1194
+
1195
+      }
1196
+   },
1187 1197
   },
1198
+ 
1188 1199
   created() {
1189 1200
     if (this.$route.path == "/Pharmacy/in/add") {
1190 1201
       this.crumbs = [

+ 10 - 0
src/xt_pages/stock/drugs/drugStockInOrderEdit.vue 查看文件

@@ -405,6 +405,7 @@
405 405
       width="40%">
406 406
       <span>
407 407
         <el-input
408
+         @keyup.native="changeText"
408 409
           type="textarea"
409 410
           placeholder="请输入内容"
410 411
           v-model="textarea"
@@ -532,6 +533,15 @@ export default {
532 533
     };
533 534
   },
534 535
   methods: {
536
+    changeText(event){
537
+      // 检查是否为特定的按键,例如回车键,来确认扫码枪输入完成
538
+      if (event.key === 'Enter') {
539
+        var textarea = ""
540
+        textarea += this.textarea + ","
541
+        this.textarea = textarea
542
+
543
+      }
544
+   },
535 545
     changeDrugCode(row,index){
536 546
       this.textarea=""
537 547
       this.textarea = row.drug_code

+ 7 - 4
src/xt_pages/user/lapsoSummary.vue 查看文件

@@ -20,6 +20,7 @@
20 20
              <span v-if="scope.row.lapse_type == 2">转出</span>
21 21
              <span v-if="scope.row.lapse_type == 3">死亡</span>
22 22
              <span v-if="scope.row.lapse_type == 4">院内转诊</span>
23
+             <span v-if="scope.row.lapse_type == 11">请假</span>
23 24
           </template>
24 25
         </el-table-column>
25 26
        <el-table-column prop="blood_access_part_id" label="转归分类" align="center">
@@ -121,10 +122,11 @@
121 122
                             <el-radio  label="2">转出</el-radio>
122 123
                             <el-radio  label="3">死亡</el-radio>
123 124
                             <el-radio  label="4">院内转诊</el-radio>
125
+                            <el-radio  label="11">请假</el-radio>
124 126
                       </el-radio-group>
125 127
                     </el-form-item>
126 128
                 </el-col>
127
-                <el-col :span="24" v-if="lapseto == 2 || lapseto == 3 || lapseto == 4">
129
+                <el-col :span="24" v-if="lapseto == 2 || lapseto == 3 || lapseto == 4 || lapseto ==11">
128 130
                     <el-form-item label="转归类型:"> 
129 131
                         <el-radio-group style="padding: 10px;" v-model="lapse_type">
130 132
                             <el-radio  label="1">转入</el-radio>
@@ -313,10 +315,11 @@
313 315
                           <el-radio  label="2">转出</el-radio>
314 316
                           <el-radio  label="3">死亡</el-radio>
315 317
                           <el-radio  label="4">院内转诊</el-radio>
318
+                          <el-radio  label="11">请假</el-radio>
316 319
                     </el-radio-group>
317 320
                   </el-form-item>
318 321
               </el-col>
319
-              <el-col :span="24" v-if="lapseto == 2">
322
+              <el-col :span="24" v-if="lapseto == 2  || lapseto == 3 || lapseto == 4 || lapseto ==11">
320 323
                   <el-form-item label="转归类型:"> 
321 324
                       <el-radio-group style="padding: 10px;" v-model="lapse_type">
322 325
                           <el-radio  label="1">转入</el-radio>
@@ -716,7 +719,7 @@
716 719
 
717 720
       },
718 721
       savePatientLapse(){
719
-          if(this.lapse_type!=1 && this.lapse_reason == ""){
722
+          if(this.lapse_type!=1 && this.lapse_type!=11 && this.lapse_reason == ""){
720 723
              this.$message.error("转出或者死亡原因不能为空!")
721 724
              return false
722 725
           }
@@ -793,7 +796,7 @@
793 796
 
794 797
       },
795 798
       updatePatientLapse(){
796
-        if (this.lapse_type !=1 &&this.lapse_reason == ""){
799
+        if (this.lapse_type !=1 && this.lapse_type !=11 &&this.lapse_reason == ""){
797 800
              this.$message.error("转出或者死亡原因不能为空!")
798 801
              return false
799 802
         }

+ 7 - 7
src/xt_pages/user/patients.vue 查看文件

@@ -842,13 +842,13 @@
842 842
           { value: 1, label: '转出', source: 0, lapseto: 2 },
843 843
           { value: 2, label: '留治', source: 0, lapseto: 1 },
844 844
           { value: 3, label: '死亡', source:0,  lapseto: 3 },
845
-          { value: 4, label: "转院", source: 0, lapseto: 4 },
846
-          { value: 5, label: "肾移植", source: 0, lapseto: 5 },
847
-          { value: 6, label: "转腹透", source: 0, lapseto: 6 },
848
-          { value: 7, label: "出院", source: 0, lapseto: 7 },
849
-          { value: 8, label: "好转", source: 0, lapseto: 8 },
850
-          { value: 9, label: "放弃治疗", source: 0, lapseto: 9 },
851
-          { value: 10, label: "其他状态", source: 0, lapseto: 10 },
845
+          // { value: 4, label: "转院", source: 0, lapseto: 4 },
846
+          // { value: 5, label: "肾移植", source: 0, lapseto: 5 },
847
+          // { value: 6, label: "转腹透", source: 0, lapseto: 6 },
848
+          // { value: 7, label: "出院", source: 0, lapseto: 7 },
849
+          // { value: 8, label: "好转", source: 0, lapseto: 8 },
850
+          // { value: 9, label: "放弃治疗", source: 0, lapseto: 9 },
851
+          // { value: 10, label: "其他状态", source: 0, lapseto: 10 },
852 852
           { value: 11, label: "请假", source: 0, lapseto: 11 },
853 853
         ],
854 854
         scheduling: [