Browse Source

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

陈少旭 11 months ago
parent
commit
d14336ef03

+ 16 - 3
src/xt_pages/data/components/addDrugs.vue View File

@@ -404,10 +404,21 @@
404 404
                                 <el-checkbox label="注射类">注射类</el-checkbox>
405 405
                             </el-checkbox-group>
406 406
                         </el-form-item>
407
-                        <el-form-item label="限制说明 : " prop="limit_remark" style="width:100%;">
407
+                        <el-form-item label="药品追溯码 : " prop="limit_remark" style="width:100%;">
408 408
                             <el-input type="form.restrictions" :rows="2" placeholder="请输入内容"
409 409
                                       v-model="form.limit_remark"></el-input>
410 410
                         </el-form-item>
411
+
412
+                        <el-form-item label="是否显示: " prop="limit_remark" style="width:100%;">
413
+                          <el-select v-model="form.is_show" style="width:160px;" filterable placeholder="请选择">
414
+                                <el-option
415
+                                        v-for="(item,index) in showList"
416
+                                        :key="index"
417
+                                        :label="item.name"
418
+                                        :value="item.id">
419
+                                </el-option>
420
+                          </el-select>
421
+                        </el-form-item>
411 422
                     </el-form>
412 423
                 </div>
413 424
             </el-tab-pane>
@@ -643,6 +654,7 @@
643 654
           bbx01:"",
644 655
           bby01:"",
645 656
           is_project:"",
657
+          is_show:"",
646 658
         },
647 659
 
648 660
         rules: {
@@ -701,7 +713,8 @@
701 713
           id: "2",
702 714
           name: "否"
703 715
         }],
704
-        projectList:[{id:"1",name:"是"},{id:"2",name:"否"}]
716
+        projectList:[{id:"1",name:"是"},{id:"2",name:"否"}],
717
+        showList:[{id:"1",name:"是"},{id:"2",name:"否"}]
705 718
       }
706 719
     },
707 720
     props: {
@@ -974,7 +987,7 @@
974 987
         form['bbx01'] = this.form.bbx01
975 988
         form['bby01'] = this.form.bby01
976 989
         form['is_project'] = this.form.is_project
977
-
990
+        form['is_show'] = this.form.is_show
978 991
         return form
979 992
       },
980 993
       getlist() {

+ 17 - 3
src/xt_pages/data/components/addProject.vue View File

@@ -249,6 +249,17 @@
249 249
                             </el-option>
250 250
                         </el-select>
251 251
                     </el-form-item>
252
+
253
+                    <el-form-item label="是否显示:" prop="is_advice">
254
+                        <el-select v-model="form.is_show" style="width:160px;" placeholder="请选择">
255
+                            <el-option
256
+                            v-for="item in showList"
257
+                            :key="item.id"
258
+                            :label="item.name"
259
+                            :value="item.id">
260
+                            </el-option>
261
+                        </el-select>
262
+                    </el-form-item>
252 263
                 </el-form>
253 264
             </el-tab-pane>
254 265
         </el-tabs>
@@ -314,6 +325,7 @@ export default {
314 325
               is_print:"",
315 326
               bbx01:"",
316 327
               bby01:"",
328
+              is_show:"",
317 329
             },
318 330
             rules: {
319 331
                 project_name: [{ required: true, message: '请填写项目名称', trigger: 'blur'  }],
@@ -334,7 +346,8 @@ export default {
334 346
            ],
335 347
            limit:100,
336 348
            page:1,
337
-           departMentList:[]
349
+           departMentList:[],
350
+           showList:[{id:"1",name:"是"},{id:"2",name:"否"}]
338 351
         }
339 352
     },
340 353
     methods:{
@@ -410,8 +423,9 @@ export default {
410 423
                     social_security_directory_code:this.form.social_security_directory_code,
411 424
                     record_date:this.form.record_date,
412 425
                     is_print:parseInt(this.form.is_print),
413
-                   bbx01:this.form.bbx01,
414
-                   bby01:this.form.bby01,
426
+                    bbx01:this.form.bbx01,
427
+                    bby01:this.form.bby01,
428
+                    is_show:parseInt(this.form.is_show)
415 429
                }
416 430
              console.log("params222222",params)
417 431
               saveProject(params).then(response=>{

+ 8 - 1
src/xt_pages/data/components/consumables.vue View File

@@ -352,7 +352,8 @@
352 352
               number:"",
353 353
               is_warehouse:"1",
354 354
               bbx01:"",
355
-              bby01:""
355
+              bby01:"",
356
+              is_show:"",
356 357
             },
357 358
             isVisibility: false,
358 359
           }
@@ -772,6 +773,12 @@
772 773
 
773 774
             this.goodInfo.goodInfoDialog.formValue.is_warehouse = response.data.data.goodInfo.is_warehouse.toString()
774 775
 
776
+            //  if(response.data.data.goodInfo.is_show<=0){
777
+            //    this.goodInfo.goodInfoDialog.formValue.is_show = ''
778
+            //   }else{
779
+            //     this.goodInfo.goodInfoDialog.formValue.is_show =  response.data.data.goodInfo.is_show.toString()
780
+            //   }
781
+
775 782
             this.$refs.addConsumable.show(row.id, this.goodInfo.goodInfoDialog.formValue)
776 783
 
777 784
           }

+ 8 - 1
src/xt_pages/data/components/drugs.vue View File

@@ -319,7 +319,7 @@
319 319
           is_record: '',//是否备案
320 320
           agent: '',// 代理商
321 321
           drug_status: '',// 状态
322
-          limit_remark: '',//限制说明
322
+          limit_remark: '',//药品追溯码
323 323
           delivery_way: '',//默认给药途径
324 324
           execution_frequency: '',//默认执行频率
325 325
           single_dose: '',//默认单次用量
@@ -341,6 +341,7 @@
341 341
           is_user:"",
342 342
           bbx01:"",
343 343
           bby01:"",
344
+          is_show:"",
344 345
         },
345 346
         tempFormValue: {
346 347
           drug_name: '',//药品名称
@@ -741,6 +742,12 @@
741 742
                 this.formValue.is_project = this.formValue.is_project.toString()
742 743
               }
743 744
 
745
+              // if(this.formValue.is_show<=0){
746
+              //     this.formValue.is_show = ''
747
+              // }else{
748
+              //   this.formValue.is_show = this.formValue.is_show.toString()
749
+              // }
750
+
744 751
 
745 752
               this.$refs.addDrugs.show(id, this.formValue)
746 753
 

+ 21 - 2
src/xt_pages/data/components/editProject.vue View File

@@ -251,6 +251,16 @@
251 251
                             </el-option>
252 252
                         </el-select>
253 253
                     </el-form-item>
254
+                    <el-form-item label="是否显示:" prop="is_advice">
255
+                        <el-select v-model="form.is_show" style="width:160px;" placeholder="请选择">
256
+                            <el-option
257
+                            v-for="item in showList"
258
+                            :key="item.id"
259
+                            :label="item.name"
260
+                            :value="item.id">
261
+                            </el-option>
262
+                        </el-select>
263
+                    </el-form-item>
254 264
                 </el-form>
255 265
             </el-tab-pane>
256 266
         </el-tabs>
@@ -320,6 +330,7 @@ export default {
320 330
               is_print:"",
321 331
               bbx01:"",
322 332
               bby01:"",
333
+              is_show:"",
323 334
             },
324 335
             rules: {
325 336
                 project_name: [{ required: true, message: '请填写项目名称', trigger: 'blur'  }],
@@ -345,7 +356,8 @@ export default {
345 356
            departMentList:[],
346 357
            statisticsCategoryList:[],
347 358
            tubeColorList:[],
348
-           costClassifyList:[]
359
+           costClassifyList:[],
360
+           showList:[{id:"1",name:"是"},{id:"2",name:"否"}]
349 361
         }
350 362
     },
351 363
     methods:{
@@ -456,6 +468,12 @@ export default {
456 468
                 this.form.is_print = projecDetail.is_print
457 469
               }
458 470
 
471
+              // if(projecDetail.is_show == 0){
472
+              //   this.form.is_show = ""
473
+              // }else{
474
+              //   this.form.is_show = projecDetail.is_show.toString()
475
+              // }
476
+
459 477
             }
460 478
          })
461 479
        },
@@ -500,7 +518,8 @@ export default {
500 518
                     record_date:this.form.record_date,
501 519
                     bbx01:this.form.bbx01,
502 520
                     bby01: this.form.bby01,
503
-                    is_print:parseInt(this.form.is_print)
521
+                    is_print:parseInt(this.form.is_print),
522
+                    is_show:parseInt(this.form.is_show)
504 523
                }
505 524
 
506 525
               updatedProject(params).then(response=>{

+ 6 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue View File

@@ -1476,7 +1476,12 @@
1476 1476
                         </div>
1477 1477
                       </div>
1478 1478
 
1479
-                      
1479
+                      <div  class="row" style="padding: 2px 0; line-height: 23px; display: flex" v-if="org_id == 0|| org_id ==10598">
1480
+                        在线Kt/V监测:
1481
+                        <div class="under_line" style="width: 30px; text-align: center">
1482
+                           <check-box :checked="true"></check-box>
1483
+                         </div>
1484
+                      </div>
1480 1485
                       <div
1481 1486
                         class="row"
1482 1487
                         style="padding: 2px 0; line-height: 23px; display: flex"

+ 5 - 5
src/xt_pages/dialysis/details/DialysisPrescription.vue View File

@@ -62,10 +62,10 @@
62 62
         <li v-if=" isShow('总量') && getValueStr('anticoagulant', 'anticoagulant') != 5 " >
63 63
           <label>总量: </label>
64 64
           <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') != 1">{{anticoagulant_zongliang != "0" ? anticoagulant_zongliang : ""}}</span>
65
-          <span v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id !=45 && this.$store.getters.xt_user.template_info.org_id != 10600">
65
+          <span v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id !=45 && this.$store.getters.xt_user.template_info.org_id != 10600 && this.$store.getters.xt_user.template_info.org_id != 0&& this.$store.getters.xt_user.template_info.org_id != 10694">
66 66
             <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1" ></span>
67
-            <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 2 && this.$store.getters.xt_user.template_info.template_id != 13 &&  this.$store.getters.xt_user.template_info.template_id != 23 &&  this.$store.getters.xt_user.template_info.template_id != 40 &&  this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.org_id != 10234 && this.$store.getters.xt_user.template_info.template_id != 65  && this.$store.getters.xt_user.template_info.org_id != 10600">{{ anticoagulant_zongliang != "0" ? "iu" : "" }}</span>
68
-            <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 2 && (this.$store.getters.xt_user.template_info.template_id == 13 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 40 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.org_id == 10234 ||  this.$store.getters.xt_user.template_info.template_id== 65 || this.$store.getters.xt_user.template_info.org_id == 10600)">{{ anticoagulant_zongliang != "0" ? "mg" : "" }}</span>
67
+            <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 2 && this.$store.getters.xt_user.template_info.template_id != 13 &&  this.$store.getters.xt_user.template_info.template_id != 23 &&  this.$store.getters.xt_user.template_info.template_id != 40 &&  this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.org_id != 10234 && this.$store.getters.xt_user.template_info.template_id != 65  && this.$store.getters.xt_user.template_info.org_id != 10600 && this.$store.getters.xt_user.template_info.org_id != 10694">{{ anticoagulant_zongliang != "0" ? "iu" : "" }}</span>
68
+            <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 2 && (this.$store.getters.xt_user.template_info.template_id == 13 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 40 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.org_id == 10234 ||  this.$store.getters.xt_user.template_info.template_id== 65 || this.$store.getters.xt_user.template_info.org_id == 10600 || this.$store.getters.xt_user.template_info.org_id == 10694)">{{ anticoagulant_zongliang != "0" ? "mg" : "" }}</span>
69 69
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 3" >
70 70
             
71 71
               <span v-if="this.$store.getters.xt_user.template_info.org_id == 9671 || this.$store.getters.xt_user.template_info.org_id == 9675">
@@ -87,7 +87,7 @@
87 87
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 4">{{ anticoagulant_zongliang != "0" ? "mg" : "" }}</span>
88 88
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 5">{{ anticoagulant_zongliang != "0" ? "ml" : "" }}</span>
89 89
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 6">
90
-               <span v-if="this.$store.getters.xt_user.template_info.org_id == 9671 || this.$store.getters.xt_user.template_info.org_id == 9675">
90
+               <span v-if="this.$store.getters.xt_user.template_info.org_id == 9671 || this.$store.getters.xt_user.template_info.org_id == 9675  || this.$store.getters.xt_user.template_info.org_id == 10694">
91 91
                   {{ anticoagulant_zongliang != "0" ? "mg" : "" }}
92 92
               </span>
93 93
               <span v-else>
@@ -95,7 +95,7 @@
95 95
               </span>
96 96
             </span>
97 97
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 7">
98
-              <span v-if="this.$store.getters.xt_user.template_info.org_id == 9671 || this.$store.getters.xt_user.template_info.org_id == 9675">
98
+              <span v-if="this.$store.getters.xt_user.template_info.org_id == 9671 || this.$store.getters.xt_user.template_info.org_id == 9675 || this.$store.getters.xt_user.template_info.org_id == 10694">
99 99
                   {{ anticoagulant_zongliang != "0" ? "mg" : "" }}
100 100
               </span>
101 101
               <span v-else>

+ 19 - 19
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue View File

@@ -1264,27 +1264,27 @@
1264 1264
             this.assessmentBeforeDislysis.blood_access_part_opera_id = blood_id
1265 1265
             this.assessmentBeforeDislysis.blood_access_part_id = this.lastAssessment.blood_access_part_id
1266 1266
             
1267
-            if(this.$store.getters.xt_user.template_info.org_id == 10375  || this.$store.getters.xt_user.template_info.org_id == 10571  || this.$store.getters.xt_user.template_info.org_id == 0 || this.$store.getters.xt_user.template_info.org_id == 10480){
1268
-              console.log("尽量",last_predialysis_evaluation)
1269
-              console.log("正常",this.assessmentBeforeDislysis.blood_access_part_opera_id)
1270
-              if(this.assessmentBeforeDislysis.blood_access_part_opera_id == 0 || this.assessmentBeforeDislysis.blood_access_part_opera_id==""){
1271
-
1272
-                // var blood_id = 0
1273
-                // console.log("SHJU232323",this.blood_access_part_opera)
1274
-                // for(let i= 0;i<this.blood_access_part_opera.length;i++){
1275
-                //     if(last_predialysis_evaluation.blood_access_part_opera_id == this.blood_access_part_opera[i].id){
1276
-                //       blood_id = this.blood_access_part_opera[i].name
1277
-                //     }
1278
-                // }
1279
-                // console.log("blood_id-----",blood_id)
1280
-                if(last_predialysis_evaluation.blood_access_part_opera_id >0){
1281
-                  this.assessmentBeforeDislysis.blood_access_part_opera_id = last_predialysis_evaluation.blood_access_part_opera_id
1282
-                }
1283
-              
1284
-                this.assessmentBeforeDislysis.blood_access_part_id = last_predialysis_evaluation.blood_access_part_id
1267
+          
1268
+            console.log("尽量",last_predialysis_evaluation)
1269
+            console.log("正常",this.assessmentBeforeDislysis.blood_access_part_opera_id)
1270
+            if(this.assessmentBeforeDislysis.blood_access_part_opera_id == 0 || this.assessmentBeforeDislysis.blood_access_part_opera_id==""){
1271
+
1272
+              // var blood_id = 0
1273
+              // console.log("SHJU232323",this.blood_access_part_opera)
1274
+              // for(let i= 0;i<this.blood_access_part_opera.length;i++){
1275
+              //     if(last_predialysis_evaluation.blood_access_part_opera_id == this.blood_access_part_opera[i].id){
1276
+              //       blood_id = this.blood_access_part_opera[i].name
1277
+              //     }
1278
+              // }
1279
+              // console.log("blood_id-----",blood_id)
1280
+              if(last_predialysis_evaluation.blood_access_part_opera_id >0){
1281
+                this.assessmentBeforeDislysis.blood_access_part_opera_id = last_predialysis_evaluation.blood_access_part_opera_id
1285 1282
               }
1286
-             
1283
+            
1284
+              this.assessmentBeforeDislysis.blood_access_part_id = last_predialysis_evaluation.blood_access_part_id
1287 1285
             }
1286
+             
1287
+            
1288 1288
 
1289 1289
           } else {
1290 1290
             if (this.lastPredialysisEvaluation != null) {

+ 8 - 0
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

@@ -2779,6 +2779,14 @@ mu
2779 2779
             } else if (schedual.schedule_type == 3) {
2780 2780
               this.start_time = year + '-' + month + '-' + day + ' ' + '15:00'
2781 2781
             }
2782
+           }else if(this.$store.getters.xt_user.org.id == 10693){
2783
+              if (schedual.schedule_type == 1) {
2784
+              this.start_time = year + '-' + month + '-' + day + ' ' + '6:40'
2785
+            } else if (schedual.schedule_type == 2) {
2786
+              this.start_time = year + '-' + month + '-' + day + ' ' + '11:00'
2787
+            } else if (schedual.schedule_type == 3) {
2788
+              this.start_time = year + '-' + month + '-' + day + ' ' + '15:00'
2789
+            }
2782 2790
            }else if (this.$store.getters.xt_user.org.id == 10551){
2783 2791
             var date = new Date()
2784 2792
             var year = date.getFullYear()

+ 1 - 1
src/xt_pages/dialysis/details/index.vue View File

@@ -277,7 +277,7 @@
277 277
               <div class="signPrint" style="width: 360px;font-size:16px;">
278 278
                 <div  style="margin-left:50px;">姓名:
279 279
                   <span>{{main_collection.patient.name}} </span>
280
-                  ({{ main_collection.patient.dialysis_no }},{{getNewAge(main_collection.patient.id_card_no)  }}岁)
280
+                  ({{ main_collection.patient.dialysis_no }},{{getNewAge(main_collection.patient.id_card_no)  }}岁<span v-if="main_collection.patient.height>0">,{{ main_collection.patient.height }}cm</span>
281 281
                 </div>
282 282
                 <div class="printCell" style="display:flex;" v-if="org_id ==10598 || org_id == 0">
283 283
                   <div style="">透析模式:

+ 25 - 1
src/xt_pages/dialysis/dialysisPrintOrder.vue View File

@@ -940,6 +940,18 @@
940 940
         >
941 941
         </div>
942 942
       </template>
943
+      <template v-if="org_template_info.template_id == 76">
944
+        <div>
945
+          <el-button
946
+          :loading="loading"
947
+          size="small"
948
+          icon="el-icon-printer"
949
+          @click="printThisPage"
950
+          type="primary"
951
+          >打印</el-button
952
+        >
953
+        </div>
954
+      </template>
943 955
     </div>
944 956
     <div class="app-container" style="min-height: 0">
945 957
       <!--<div class="order-print-btn"-->
@@ -1445,6 +1457,9 @@
1445 1457
             v-if="org_template_info.template_id == 75">
1446 1458
 
1447 1459
           </DialysisPrintOrderseventyfive>
1460
+          <DialysisPrintOrderSeventysix v-bind:childResponse="childResponse"
1461
+          v-if="org_template_info.template_id == 76">
1462
+          </DialysisPrintOrderSeventysix>
1448 1463
         </div>
1449 1464
       </el-container>
1450 1465
     </div>
@@ -1538,6 +1553,7 @@ import DialysisPrintOrderSeventyTwo from './template/DialysisPrintOrderSeventyTw
1538 1553
 import DialysisPrintOrderSeventythree from './template/DialysisPrintOrderSeventythree'
1539 1554
 import DialysisPrintOrderSop from './template/DialysisPrintOrderSop'
1540 1555
 import DialysisPrintOrderseventyfive from './template/DialysisPrintOrderseventyfive'
1556
+import DialysisPrintOrderSeventysix from './template/DialysisPrintOrderSeventysix'
1541 1557
 import DialysisPrintOrderZero from './template/DialysisPrintOrderZero'
1542 1558
 export default {
1543 1559
   name: "dialysisPrintOrder",
@@ -1617,6 +1633,7 @@ export default {
1617 1633
     DialysisPrintOrderSeventythree,
1618 1634
     DialysisPrintOrderSop,
1619 1635
     DialysisPrintOrderseventyfive,
1636
+    DialysisPrintOrderSeventysix,
1620 1637
     DialysisPrintOrderZero,
1621 1638
     LabelBox,
1622 1639
     BreadCrumb,
@@ -1798,7 +1815,7 @@ export default {
1798 1815
         '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;}   .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;}  .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}';
1799 1816
       const style2 =
1800 1817
         // 防止分页错位问题:table设置border: none;.tr设置page-break-inside:avoid; // 防止table数据太多,tr分页错乱 td设置border: 1px solid #000;// 防止部分分页的tr边框线没有
1801
-        '@media print {.dialysis-print-order{width:960px;margin:0 auto} .option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .print-table{border: none} .print-table tr{page-break-inside:avoid;} .print-table tr td{border: 1px solid #000;} .inside_table{border: none} .inside_table tr{page-break-inside:avoid;} .inside_table tr td{border: 1px solid #000;} .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 20px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 14px;line-height: 20px;padding: 5px 0;} .row1{ border-left: 1px solid black;padding: 5px 5px;} .row2{ border-left:1px solid black; border-right:1px solid black; border-bottom:1px solid black;} .inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;} .print_page_main_content .proj_table tbody tr{page-break-inside:avoid;} .print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 3px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-50{margin-bottom:50px;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:900px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top: 1050px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}.table-box1 {border: 1px solid #000;width: 100%;line-height: 30px;font-size: 14px;border-collapse: collapse;}.table-box1 tr {border-bottom: 1px solid #000;} .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px} ';
1818
+        '@media print {.dialysis-print-order{width:960px;margin:0 auto} .option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .print-table{border: none} .print-table tr{page-break-inside:avoid;} .print-table tr td{border: 1px solid #000;} .inside_table{border: none} .inside_table tr{page-break-inside:avoid;} .inside_table tr td{border: 1px solid #000;} .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 20px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 14px;line-height: 20px;padding: 5px 0;} .row1{ border-left: 1px solid black;padding: 5px 5px;} .row2{ border-left:1px solid black; border-right:1px solid black; border-bottom:1px solid black;} .inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;} .print_page_main_content .proj_table tbody tr{page-break-inside:avoid;} .print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 0px 5px;line-height: 16px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 14px;padding: 0px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-50{margin-bottom:50px;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:900px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top: 1050px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}.table-box1 {border: 1px solid #000;width: 100%;line-height: 30px;font-size: 14px;border-collapse: collapse;}.table-box1 tr {border-bottom: 1px solid #000;} .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px} ';
1802 1819
       const style3 =
1803 1820
         '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:16px;border-color: #000;}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #000;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;}   .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;}  .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}.row {font-size: 16px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line {display: inline-block;border-bottom: 1px solid #000;text-align: center;white-space: nowrap; width: 50%;}';
1804 1821
       // const style3 =
@@ -2299,6 +2316,13 @@ export default {
2299 2316
           style: style2,
2300 2317
           scanStyles: false,
2301 2318
         });
2319
+      }else if (this.org_template_info.template_id == 76) {
2320
+        printJS({
2321
+          printable: "dialysis-print-box-1",
2322
+          type: "html",
2323
+          style: style2,
2324
+          scanStyles: false,
2325
+        });
2302 2326
       }
2303 2327
        else if (this.org_template_info.template_id == 199 ) {
2304 2328
         printJS({

+ 16 - 9
src/xt_pages/dialysis/template/DialysisPrintOrderEight.vue View File

@@ -724,39 +724,42 @@
724 724
 
725 725
         <table class="print-table" border="1" style="line-height:30px;">
726 726
           <tr style="line-height:20px;">
727
-            <td style="min-width:60px">时间</td>
728
-            <td style="min-width:60px">
727
+            <td style="width:60px">时间</td>
728
+            <td style="width:60px">
729 729
               血压
730 730
               <br />(mmHg)
731 731
             </td>
732
-            <td style="min-width:60px">
732
+            <td style="width:60px">
733 733
               心率
734 734
               <br />次/分
735 735
             </td>
736
-            <td style="min-width:60px">
736
+            <td style="width:60px">
737 737
               血流量
738 738
               <br />ml/min
739 739
             </td>
740
-            <td style="min-width:60px">
740
+            <td style="width:60px">
741 741
               静脉压
742 742
               <br />(mmHg)
743 743
             </td>
744
-            <td style="min-width:60px">
744
+            <td style="width:60px">
745 745
               跨膜压
746 746
               <br />(mmHg)
747 747
             </td>
748
-            <td style="min-width:60px">
748
+            <td style="width:60px">
749 749
               超滤率
750 750
               <br />L/h
751 751
             </td>
752
-            <td style="min-width:60px">
752
+            <td style="width:60px">
753 753
               超滤量
754 754
               <br />L
755 755
             </td>
756
-            <td style="min-width:60px">
756
+            <td style="width:60px">
757 757
               NA⁺
758 758
               <br />
759 759
             </td>
760
+            <td style="width:60px">透析液温度<br/>℃</td>
761
+            <td style="width:60px">血容量<br/>L</td>
762
+            <td style="width:60px">kt/v</td>
760 763
             <td style="min-width:60px">病情变化及处理</td>
761 764
             <td style="min-width:110px">护士签名核对者</td>
762 765
           </tr>
@@ -780,6 +783,10 @@
780 783
             <td>{{ monitor.ultrafiltration_rate }}</td>
781 784
             <td>{{ monitor.ultrafiltration_volume }}</td>
782 785
             <td>{{ monitor.sodium_concentration }}</td>
786
+            <td>{{monitor.dialysate_temperature ? monitor.dialysate_temperature : ""}}</td>
787
+            <td>{{ monitor.accumulated_blood_volume ? monitor.accumulated_blood_volume : '' }}</td>
788
+            <td>{{ monitor.ktv ? monitor.ktv : "" }}</td>
789
+            <!-- 病情变化及处理 -->
783 790
             <td>
784 791
               <span style="line-height:18px;display:block;">
785 792
                 {{ monitor.symptom }}&nbsp;{{ monitor.dispose }}&nbsp;{{

File diff suppressed because it is too large
+ 3522 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderSeventysix.vue


+ 24 - 7
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

@@ -1525,6 +1525,8 @@
1525 1525
                       </div>
1526 1526
                     </div>
1527 1527
 
1528
+                  
1529
+
1528 1530
                     <div class="inline_block" style="margin-left: 20px" v-if="org_id ==10683">
1529 1531
                       上机时间:
1530 1532
                       <div
@@ -1535,6 +1537,12 @@
1535 1537
                       </div>
1536 1538
                     </div>
1537 1539
                   </div>
1540
+                  <div class="row" style="padding: 2px 0; line-height: 23px" v-if=" org_id == 0  || org_id == 10598">
1541
+                    在线Kt/V监测:
1542
+                    <div class="under_line" style="width: 30px; text-align: center">
1543
+                      <check-box :checked="true"></check-box>
1544
+                    </div>
1545
+                  </div>
1538 1546
 
1539 1547
                   <div class="row" style="padding: 2px 0; line-height: 23px" v-if=" org_id == 3877  || org_id == 9671">
1540 1548
                     <div
@@ -1955,8 +1963,8 @@
1955 1963
                         <td></td>
1956 1964
                         <td></td>
1957 1965
                         <td></td>
1958
-                        <td></td>
1959
-                        <td></td>
1966
+                        <td v-if="org_id!=10644"></td>
1967
+                        <td v-if="org_id!=10644"></td>
1960 1968
                         <td v-if="org_id == 10375 || org_id == 0"><br /></td>
1961 1969
                         <td v-if="org_id == 9671 || org_id == 9919"></td>
1962 1970
                         <td
@@ -3735,8 +3743,16 @@
3735 3743
3736 3744
         </div>
3737 3745
         <div class="inline_block" style="margin-left: 10px;">
3746
+          透析日期:
3747
+          <div class="under_line" style="width: 100px;text-align: left">
3748
+            {{ xtdate }}
3749
+          </div>
3750
+        </div>
3751
+      </div>
3752
+      <div class="row" style="margin-top: 15px">
3753
+        <div class="inline_block" style="">
3738 3754
           诊断:
3739
-          <div class="under_line" style="width:180px;text-align: left">
3755
+          <div class="under_line" style="width:180px;text-align: left;white-space: normal;">
3740 3756
             {{ patientInfo.diagnose }}
3741 3757
           </div>
3742 3758
         </div>
@@ -4775,9 +4791,10 @@ export default {
4775 4791
           this.doctor_advices[index]["isShow"] = 2;
4776 4792
         }
4777 4793
 
4794
+          
4795
+        console.log("haaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",this.doctor_advices)
4778 4796
 
4779
-
4780
-        if(this.org_id ==10206 || this.org_id ==10489 || this.org_id ==10644 || this.org_id ==10633){
4797
+        if(this.org_id ==10206 || this.org_id ==10489 || this.org_id ==10644 || this.org_id ==10633 || this.org_id == 0 || this.org_id==10478){
4781 4798
           let projectsOne = [];
4782 4799
           response.data.data.projects.map((item) => {
4783 4800
               projectsOne.push(item);
@@ -4793,7 +4810,7 @@ export default {
4793 4810
         console.log("RESWOOWOWWOOW",response.data.data.doctorAdevieInfo)
4794 4811
 
4795 4812
         //华池
4796
-        if(this.org_id == 0 || this.org_id == 10440){
4813
+        if(this.org_id == 10440){
4797 4814
            var parint_id =0
4798 4815
            var newArr = []
4799 4816
            if(this.doctor_advices!=null&&this.doctor_advices.length>0){
@@ -4815,7 +4832,7 @@ export default {
4815 4832
         }
4816 4833
 
4817 4834
         //HIS客户显示临时医嘱的地方
4818
-        if(this.org_id == 10510 || this.org_id ==10567 || this.org_id == 10489|| this.org_id == 10644){
4835
+        if(this.org_id == 10510 || this.org_id ==10567 || this.org_id == 10489|| this.org_id == 10644 || this.org_id ==0 || this.org_id ==10478){
4819 4836
           if(response.data.data.doctorAdevieInfo!=null && response.data.data.doctorAdevieInfo.length>0){
4820 4837
 
4821 4838
             for(let i=0;i<response.data.data.doctorAdevieInfo.length;i++){

+ 8 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderseventyfive.vue View File

@@ -188,18 +188,21 @@
188 188
                 <span v-if="prescription.anticoagulant_name == '那屈肝素钙'"> 
189 189
                   {{  prescription.anticoagulant_zongliang ? prescription.anticoagulant_zongliang : "/" }} IU
190 190
                 </span>
191
-                <span v-if="prescription.anticoagulant_name == '肝素钠'">
191
+                <span >
192 192
                     
193 193
                 </span>
194 194
             </div>
195 195
           </div>
196 196
           <div class="inline_block" style="flex: 1;">
197
-            首剂:
197
+            肝素钠首剂:
198 198
             <div class="under_line"
199 199
               style=" width: 60%;
200 200
                 text-align: left; white-space: normal;
201 201
               ">
202
+              <span v-if="prescription.anticoagulant_name == '肝素钠'">
202 203
                 {{prescription.anticoagulant_shouji ? prescription.anticoagulant_shouji : "0" }} &nbsp;
204
+              </span>
205
+              <span v-else>/</span>
203 206
             </div>
204 207
            
205 208
             <span v-if="prescription.anticoagulant == '枸橼酸钠'">mg</span>
@@ -217,7 +220,10 @@
217 220
               style=" width: 60%;
218 221
                 text-align: left; white-space: normal;
219 222
               ">
223
+              <span v-if="prescription.anticoagulant_name == '肝素钠'">
220 224
                 {{prescription.anticoagulant_weichi ? prescription.anticoagulant_weichi : "0" }} &nbsp;
225
+              </span>
226
+              <span>/</span>
221 227
             </div>
222 228
             <span v-if="prescription.anticoagulant == '枸橼酸钠'">ml/h</span>
223 229
             <span v-if="prescription.anticoagulant == '阿加曲班'">mg/h</span>

+ 1 - 1
src/xt_pages/outpatientDoctorStation/doctorDesk.vue View File

@@ -374,7 +374,7 @@
374 374
 
375 375
                 <div style="margin-left:50px;">姓名:
376 376
                   <span>{{ main_collection.patient.name }} </span>
377
-                  ({{ main_collection.patient.dialysis_no }},{{ getNewAge(main_collection.patient.id_card_no) }}岁)
377
+                  ({{ main_collection.patient.dialysis_no }},{{ getNewAge(main_collection.patient.id_card_no) }}岁<span v-if="main_collection.patient.height>0">,{{ main_collection.patient.height }}cm</span>
378 378
                 </div>
379 379
                 <div class="printCell" style="display:flex;" v-if="org_id ==10598 || org_id == 0">
380 380
                   <div style="">透析模式:

+ 145 - 25
src/xt_pages/outpatientDoctorStation/prescriptionTemplatedetail.vue View File

@@ -1814,32 +1814,62 @@
1814 1814
                 //药品
1815 1815
                 for (let b = 0; b < prescription.advices.length; b++) {
1816 1816
                   console.log("prescription.advices[b].drug.drug_status.startsWith('停用')",prescription.advices[b].drug.drug_status.startsWith('停用'))
1817
-                  if(prescription.advices[b].drug!=null && prescription.advices[b].drug.drug_status.startsWith('停用')  == false){
1818
-                    let obj = {
1819
-                    advice_id: prescription.advices[b].id,
1820
-                    drug_name: prescription.advices[b].advice_name,
1821
-                    single_dose: prescription.advices[b].single_dose,
1822
-                    delivery_way: prescription.advices[b].delivery_way,
1823
-                    execution_frequency: prescription.advices[b].execution_frequency,
1824
-                    retail_price: prescription.advices[b].price.toString(),
1825
-                    remark: prescription.advices[b].remark,
1826
-                    day: prescription.advices[b].day,
1827
-                    prescribing_number: prescription.advices[b].prescribing_number.toString(),
1828
-                    single_dose_unit: prescription.advices[b].single_dose_unit,
1829
-                    prescribing_number_unit: prescription.advices[b].prescribing_number_unit,
1830
-                    medical_insurance_number: prescription.advices[b].med_list_codg,
1831
-                    id: prescription.advices[b].drug_id,
1832
-                    drug: prescription.advices[b].drug,
1833
-                    groupno: prescription.advices[b].groupno,
1834
-                    frequency_type: prescription.advices[b].frequency_type,
1835
-                    day_count: prescription.advices[b].day_count,
1836
-                    week_day: prescription.advices[b].week_day,
1837
-                    number:  prescription.advices[b].drug.number
1817
+                  //孝感原生堂做特殊处理
1818
+                  if(this.org_id != 0 && this.org_id!=10598){
1819
+                      if(prescription.advices[b].drug!=null && prescription.advices[b].drug.drug_status.startsWith('停用')  == false){
1820
+                      let obj = {
1821
+                      advice_id: prescription.advices[b].id,
1822
+                      drug_name: prescription.advices[b].advice_name,
1823
+                      single_dose: prescription.advices[b].single_dose,
1824
+                      delivery_way: prescription.advices[b].delivery_way,
1825
+                      execution_frequency: prescription.advices[b].execution_frequency,
1826
+                      retail_price: prescription.advices[b].price.toString(),
1827
+                      remark: prescription.advices[b].remark,
1828
+                      day: prescription.advices[b].day,
1829
+                      prescribing_number: prescription.advices[b].prescribing_number.toString(),
1830
+                      single_dose_unit: prescription.advices[b].single_dose_unit,
1831
+                      prescribing_number_unit: prescription.advices[b].prescribing_number_unit,
1832
+                      medical_insurance_number: prescription.advices[b].med_list_codg,
1833
+                      id: prescription.advices[b].drug_id,
1834
+                      drug: prescription.advices[b].drug,
1835
+                      groupno: prescription.advices[b].groupno,
1836
+                      frequency_type: prescription.advices[b].frequency_type,
1837
+                      day_count: prescription.advices[b].day_count,
1838
+                      week_day: prescription.advices[b].week_day,
1839
+                      number:  prescription.advices[b].drug.number
1838 1840
 
1839
-                  }
1840
-                  tempAdvice.push(obj)
1841
+                    }
1842
+                    tempAdvice.push(obj)
1841 1843
                   }
1842 1844
 
1845
+                  }else{
1846
+                    if(prescription.advices[b].drug!=null){
1847
+                      let obj = {
1848
+                      advice_id: prescription.advices[b].id,
1849
+                      drug_name: prescription.advices[b].advice_name,
1850
+                      single_dose: prescription.advices[b].single_dose,
1851
+                      delivery_way: prescription.advices[b].delivery_way,
1852
+                      execution_frequency: prescription.advices[b].execution_frequency,
1853
+                      retail_price: prescription.advices[b].price.toString(),
1854
+                      remark: prescription.advices[b].remark,
1855
+                      day: prescription.advices[b].day,
1856
+                      prescribing_number: prescription.advices[b].prescribing_number.toString(),
1857
+                      single_dose_unit: prescription.advices[b].single_dose_unit,
1858
+                      prescribing_number_unit: prescription.advices[b].prescribing_number_unit,
1859
+                      medical_insurance_number: prescription.advices[b].med_list_codg,
1860
+                      id: prescription.advices[b].drug_id,
1861
+                      drug: prescription.advices[b].drug,
1862
+                      groupno: prescription.advices[b].groupno,
1863
+                      frequency_type: prescription.advices[b].frequency_type,
1864
+                      day_count: prescription.advices[b].day_count,
1865
+                      week_day: prescription.advices[b].week_day,
1866
+                      number:  prescription.advices[b].drug.number
1867
+
1868
+                    }
1869
+                    tempAdvice.push(obj)
1870
+                  }
1871
+                  }
1872
+                
1843 1873
                 }
1844 1874
                 //项目
1845 1875
                 for (let b = 0; b < prescription.project.length; b++) {
@@ -1922,8 +1952,94 @@
1922 1952
                         }
1923 1953
                         tempProject.push(obj)
1924 1954
                     }
1925
-                  }else if(prescription.project[b].type == 3 && prescription.project[b].good_info.good_status.startsWith('停用') == false){
1926
-                    if (this.org_id == 10206 ) {
1955
+                    //针对孝感原生堂
1956
+                  }else if(prescription.project[b].type == 3){
1957
+
1958
+                    if(this.org_id!=0&&this.org_id!=10510 && prescription.project[b].good_info.good_status.startsWith('停用') == false){
1959
+
1960
+                      if (this.org_id == 10206 ) {
1961
+                      let obj = {
1962
+                        id: prescription.project[b].id,
1963
+                        project_id: prescription.project[b].project_id,
1964
+                        project_name: prescription.project[b].project.project_name,
1965
+                        statistical_classification: prescription.project[b].project.statistical_classification,
1966
+                        single_dose: prescription.project[b].single_dose,
1967
+                        delivery_way: prescription.project[b].delivery_way,
1968
+                        execution_frequency: prescription.project[b].execution_frequency,
1969
+                        number_days: prescription.project[b].day,
1970
+                        total: prescription.project[b].count.toString(),
1971
+                        price: prescription.project[b].price,
1972
+                        remark: prescription.project[b].remark,
1973
+                        medical_code: prescription.project[b].project.medical_code,
1974
+                        type: prescription.project[b].type,
1975
+                        frequency_type: prescription.project[b].frequency_type,
1976
+                        day_count: prescription.project[b].day_count,
1977
+                        week_day: prescription.project[b].week_day,
1978
+                        number_days:prescription.project[b].day
1979
+
1980
+
1981
+                      }
1982
+
1983
+                      if (prescription.project[b].type == 2) {
1984
+                        obj['statistical_classification'] = prescription.project[b].project.statistical_classification
1985
+                        obj['medical_code'] = prescription.project[b].project.medical_code
1986
+                        obj['project_name'] = prescription.project[b].project.project_name
1987
+                        obj['project'] = prescription.project[b].project
1988
+                        obj['unit'] = prescription.project[b].unit
1989
+                        obj['number'] = ""
1990
+
1991
+
1992
+                      } else if (prescription.project[b].type == 3) {
1993
+                        obj['statistical_classification'] = ''
1994
+                        obj['medical_code'] = prescription.project[b].good_info.medical_insurance_number
1995
+                        obj['project_name'] = prescription.project[b].good_info.good_name
1996
+                        obj['good_info'] = prescription.project[b].good_info
1997
+                        obj['unit'] = prescription.project[b].good_info.packing_unit
1998
+                        obj['number'] = prescription.project[b].good_info.good_number
1999
+
2000
+                      }
2001
+                      tempProject.push(obj)
2002
+                    }else{
2003
+                        let obj = {
2004
+                          id: prescription.project[b].id,
2005
+                          project_id: prescription.project[b].project_id,
2006
+                          project_name: prescription.project[b].project.project_name,
2007
+                          statistical_classification: prescription.project[b].project.statistical_classification,
2008
+                          single_dose: prescription.project[b].single_dose,
2009
+                          delivery_way: prescription.project[b].delivery_way,
2010
+                          execution_frequency: prescription.project[b].execution_frequency,
2011
+                          number_days: prescription.project[b].day,
2012
+                          total: prescription.project[b].count.toString(),
2013
+                          price: prescription.project[b].price,
2014
+                          remark: prescription.project[b].remark,
2015
+                          medical_code: prescription.project[b].project.medical_code,
2016
+                          type: prescription.project[b].type,
2017
+                          frequency_type: prescription.project[b].frequency_type,
2018
+                          day_count: prescription.project[b].day_count,
2019
+                          week_day: prescription.project[b].week_day,
2020
+                          number_days:prescription.project[b].day
2021
+
2022
+                        }
2023
+
2024
+                        if (prescription.project[b].type == 2) {
2025
+                          obj['statistical_classification'] = prescription.project[b].project.statistical_classification
2026
+                          obj['medical_code'] = prescription.project[b].project.medical_code
2027
+                          obj['project_name'] = prescription.project[b].project.project_name
2028
+                          obj['project'] = prescription.project[b].project
2029
+                          obj['unit'] = prescription.project[b].unit
2030
+                        } else if (prescription.project[b].type == 3) {
2031
+                          obj['statistical_classification'] = ''
2032
+                          obj['medical_code'] = prescription.project[b].good_info.medical_insurance_number
2033
+                          obj['project_name'] = prescription.project[b].good_info.good_name
2034
+                          obj['good_info'] = prescription.project[b].good_info
2035
+                          obj['unit'] = prescription.project[b].good_info.packing_unit
2036
+                        }
2037
+                        tempProject.push(obj)
2038
+                      }
2039
+
2040
+                    }else{
2041
+
2042
+                      if (this.org_id == 10206 ) {
1927 2043
                       let obj = {
1928 2044
                         id: prescription.project[b].id,
1929 2045
                         project_id: prescription.project[b].project_id,
@@ -2002,6 +2118,10 @@
2002 2118
                         }
2003 2119
                         tempProject.push(obj)
2004 2120
                       }
2121
+                    }
2122
+
2123
+
2124
+               
2005 2125
                   }
2006 2126
                 }
2007 2127
                 // var preTime = nowTime

+ 30 - 30
src/xt_pages/outpatientDoctorStation/treatTemplate/printOne.vue View File

@@ -18,7 +18,6 @@
18 18
                 <div v-if="org_id == 10460">就诊日期:{{getTime(item.pre_time,'{y}-{m}-{d}')}}</div>
19 19
                 <div v-else>就诊日期:{{getTime(item.pre_time,'{y}-{m}-{d}')}}</div>
20 20
             </div>
21
-
22 21
             <div class="printTitle">{{orgname}}</div>
23 22
             <div class="printTitle">处方、治疗单</div>
24 23
             <!-- class="infoTitle" -->
@@ -126,39 +125,40 @@
126 125
                     :src="setAdminUserES(item.creator,item.doctor)"
127 126
                     alt=""
128 127
                     srcset=""
129
-                    
128
+
130 129
                   />
131 130
                 </div>
132 131
                 <div style="width: 300px;">签章:</div>
133 132
                 <div style="width: 300px;">费用:{{getTotalOne(item.id).toFixed(2)?getTotalOne(item.id).toFixed(2):''}}元</div>
134 133
             </div>
135
-
136
-            <table style="width:100%;text-align:center;line-height:25px;border-collapse: collapse;" border="1">
137
-                <tr>
138
-                    <td style="width:16%;">治疗时间</td>
139
-                    <td style="width:16%;"></td>
140
-                    <td style="width:16%;"></td>
141
-                    <td style="width:16%;"></td>
142
-                    <td style="width:16%;"></td>
143
-                    <td style="width:16%;"></td>
144
-                </tr>
145
-                <tr>
146
-                    <td style="width:16%;">医生签字</td>
147
-                    <td style="width:16%;"></td>
148
-                    <td style="width:16%;"></td>
149
-                    <td style="width:16%;"></td>
150
-                    <td style="width:16%;"></td>
151
-                    <td style="width:16%;"></td>
152
-                </tr>
153
-                <tr>
154
-                    <td style="width:16px;">患者签字</td>
155
-                    <td style="width:16px;"></td>
156
-                    <td style="width:16px;"></td>
157
-                    <td style="width:16px;"></td>
158
-                    <td style="width:16px;"></td>
159
-                    <td style="width:16px;"></td>
160
-                </tr>
161
-            </table>
134
+            <div v-if="org_id !=10478 && org_id !=0">
135
+              <table style="width:100%;text-align:center;line-height:25px;border-collapse: collapse;" border="1">
136
+                  <tr>
137
+                      <td style="width:16%;">治疗时间</td>
138
+                      <td style="width:16%;"></td>
139
+                      <td style="width:16%;"></td>
140
+                      <td style="width:16%;"></td>
141
+                      <td style="width:16%;"></td>
142
+                      <td style="width:16%;"></td>
143
+                  </tr>
144
+                  <tr>
145
+                      <td style="width:16%;">医生签字</td>
146
+                      <td style="width:16%;"></td>
147
+                      <td style="width:16%;"></td>
148
+                      <td style="width:16%;"></td>
149
+                      <td style="width:16%;"></td>
150
+                      <td style="width:16%;"></td>
151
+                  </tr>
152
+                  <tr>
153
+                      <td style="width:16px;">患者签字</td>
154
+                      <td style="width:16px;"></td>
155
+                      <td style="width:16px;"></td>
156
+                      <td style="width:16px;"></td>
157
+                      <td style="width:16px;"></td>
158
+                      <td style="width:16px;"></td>
159
+                  </tr>
160
+              </table>
161
+            </div>
162 162
             <span v-if="org_id == 10537 || org_id ==0">
163 163
             <img
164 164
               src="https://kuyi.shengws.com/xuwenwei.jpg"
@@ -577,7 +577,7 @@
577 577
 
578 578
     .prescriptionBox {
579 579
         padding: 0 10px;
580
-        
580
+
581 581
     }
582 582
 
583 583
     .Rp {

+ 15 - 1
src/xt_pages/stock/Dialog/goodInfoDailog.vue View File

@@ -320,6 +320,17 @@
320 320
             <el-input v-model="form.good_number" style="width:160px;" placeholder="" maxlength="30"></el-input>
321 321
           </el-form-item>
322 322
 
323
+          <el-form-item label="是否显示: " prop="limit_remark" style="width:100%;">
324
+              <el-select v-model="form.is_show" style="width:160px;" filterable placeholder="请选择">
325
+                    <el-option
326
+                            v-for="(item,index) in showList"
327
+                            :key="index"
328
+                            :label="item.name"
329
+                            :value="item.id">
330
+                    </el-option>
331
+              </el-select>
332
+          </el-form-item>
333
+
323 334
         </el-form>
324 335
       </el-tab-pane>
325 336
     </el-tabs>
@@ -414,6 +425,7 @@
414 425
           is_warehouse:"1",
415 426
           bbx01:"",
416 427
           bby01:"",
428
+          is_show:"",
417 429
           
418 430
         },
419 431
 
@@ -458,7 +470,8 @@
458 470
          {id: "1",name: "是"},
459 471
          {id: "2",name: "否"}
460 472
         ],
461
-        org_id:0
473
+        org_id:0,
474
+        showList:[{id:"1",name:"是"},{id:"2",name:"否"}]
462 475
       }
463 476
     },
464 477
     props: {
@@ -649,6 +662,7 @@
649 662
         form["is_warehouse"] = this.form.is_warehouse
650 663
         form["bbx01"] = this.form.bbx01
651 664
         form["bby01"] = this.form.bby01
665
+        form["is_show"] = this.form.is_show
652 666
 
653 667
         return form
654 668
       }, changeSelected: function(val) {

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

@@ -369,8 +369,8 @@
369 369
             <template slot-scope="scope">
370 370
                <tr style="background: none" v-for="(item,index) in scope.row.child" :key="index">
371 371
                   <td style="border-right: none; border-inline-end: none;text-align: center">
372
-                    <span v-if="org_id!=10480 && org_id!=10210&&org_id!=10188 && org_id!=10217  && org_id!=0 && org_id!=10088 && org_id!=10510">
373
-                      <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>
372
+                    <span v-if="org_id!=10480 && org_id!=10210&&org_id!=10188 && org_id!=10217  && org_id!=10088 && org_id!=10510">
373
+                    <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,scope.row.drug_id)}} </span>
374 374
                     <span v-if="is_sys == 0">
375 375
                       <!-- <span v-if="scope.row.child.length == 1">{{item.count * item.retail_price}} </span> 
376 376
                       <span v-if="scope.row.child.length > 1">{{item.count * item.price}} </span>  -->
@@ -378,7 +378,7 @@
378 378
                     </span>
379 379
                     </span>
380 380
 
381
-                    <span v-if="org_id ==10480 || org_id==10210 || org_id ==10188 || org_id ==10217 || org_id==0 || org_id ==10088 || org_id ==10510">
381
+                    <span v-if="org_id ==10480 || org_id==10210 || org_id ==10188 || org_id ==10217 || org_id ==10088 || org_id ==10510">
382 382
                       <!-- {{(item.count * item.price).toFixed(2)}} -->
383 383
                      <span v-if="is_sys == 1 || is_sys == 5 || is_sys == 12">{{(getOutCountNightTen(item.warehousing_detail_id,scope.row.max_unit,scope.row.min_unit,scope.row.min_number,scope.row.drug_id)*scope.row.min_price).toFixed(2)}}</span>  
384 384
                      <span v-if="is_sys==0">
@@ -1888,6 +1888,40 @@ export default {
1888 1888
         return "spanClass";
1889 1889
       }
1890 1890
     },
1891
+    getOutCountFive(warehouse_info_id,max_unit,min_unit,min_number,drug_id){
1892
+      var arr = []
1893
+      var total = 0
1894
+      var max_str = ""
1895
+      var min_str = ""
1896
+
1897
+      for(let j=0;j<this.outList.length;j++){
1898
+        if(warehouse_info_id == this.outList[j].warehouse_info_id && drug_id == this.outList[j].drug_id){
1899
+           arr.push(this.outList[j])
1900
+        }
1901
+      }
1902
+      if(arr.length > 0){
1903
+        for(let i=0;i<arr.length;i++){
1904
+           total +=arr[i].count
1905
+        }
1906
+      }
1907
+     
1908
+      if (total < min_number) {
1909
+         min_str = total;
1910
+      }
1911
+      if (total == 0) {
1912
+        min_str = "";
1913
+        max_str = "";
1914
+      }
1915
+      if (total >= min_number) {
1916
+        if (parseInt(total / min_number) != 0) {
1917
+          max_str = parseInt(total / min_number)
1918
+        }
1919
+        if (total % min_number != 0) {
1920
+          min_str = (total % min_number)
1921
+        }
1922
+      }
1923
+      return max_str * min_number + min_str;
1924
+    },
1891 1925
     getOutCountSix(warehouse_info_id,max_unit,min_unit,min_number,drug_id){
1892 1926
       var arr = []
1893 1927
       var total = 0
@@ -2083,7 +2117,7 @@ export default {
2083 2117
       }
2084 2118
       return price
2085 2119
     },
2086
-    getTotalPrice(warehouse_info_id,max_unit,min_unit,min_number){
2120
+    getTotalPrice(warehouse_info_id,max_unit,min_unit,min_number,drug_id){
2087 2121
       
2088 2122
       var arr = []
2089 2123
       var total = 0
@@ -2096,10 +2130,11 @@ export default {
2096 2130
            arr.push(this.tabList[j])
2097 2131
         }
2098 2132
       }
2099
-     
2133
+      total = this.getOutCountFive(warehouse_info_id,max_unit,min_unit,min_number,drug_id)
2134
+    
2135
+      console.log("taolaa------",total,drug_id)
2100 2136
       if(arr.length > 0){
2101 2137
         for(let i=0;i<arr.length;i++){
2102
-           total +=arr[i].count
2103 2138
            price = arr[0].price
2104 2139
         }
2105 2140
       }