huangyw 2 years ago
parent
commit
87c48b35a8

+ 1 - 1
src/xt_pages/Pharmacy/PatientDispensing.vue View File

@@ -530,7 +530,7 @@ export default {
530 530
   }
531 531
 }
532 532
 
533
-.el-input__inner{
533
+/deep/ .el-input__inner{
534 534
   padding-right: 15px;
535 535
 }
536 536
 

+ 13 - 20
src/xt_pages/Pharmacy/print/drugPrint.vue View File

@@ -9,13 +9,13 @@
9 9
       >打印</el-button
10 10
     >
11 11
     <div id="dialysis-print-box-1" class="dialysis-print-box-1">
12
-      <div class="list_title" style="border-bottom:none;"><div style="width:100%;text-align:center;font-size:16px;font-weight:bold;">{{org_name}} 领药单</div></div>
12
+      <div class="list_title" style="border-bottom:none;"><div style="width:100%;text-align:center;font-size:16px;font-weight:bold;">{{org_name}} <span v-if="state_name=='待发药'">发药单</span> <span v-if="state_name=='已发药'">领药单</span></div></div>
13 13
       <div class="list_title">
14 14
         <div>药品名称:{{name}}</div>
15 15
         <div>规格:{{specifications}}</div>
16 16
         <div>发药状态:{{state_name}}</div>
17 17
         <div>日期:{{times}}</div>
18
-<!--        <div v-if="state==2">领药人:</div>-->
18
+<!--  <div v-if="state==2">领药人:</div>-->
19 19
       </div>
20 20
 
21 21
       <el-table
@@ -25,44 +25,44 @@
25 25
         max-height="450"
26 26
         :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)' }"
27 27
       >
28
-        <el-table-column type="index" prop="index" label="序号" width="60">
28
+        <el-table-column type="index" prop="index" label="序号" width="60" align="center">
29 29
         </el-table-column>
30
-        <el-table-column prop="name" label="患者姓名" width="160">
30
+        <el-table-column prop="name" label="患者姓名" width="160" align="center">
31 31
           <template  slot-scope="scope">
32 32
             {{scope.row.name}}
33 33
           </template>
34 34
         </el-table-column>
35
-        <el-table-column prop="single_dosage" label="单次用量" width="120">
35
+        <el-table-column prop="single_dosage" label="单次用量" width="120" align="center">
36 36
           <template  slot-scope="scope">
37 37
             {{scope.row.single_dosage}}
38 38
           </template>
39 39
         </el-table-column>
40
-        <el-table-column prop="usage" label="用法" width="120">
40
+        <el-table-column prop="usage" label="用法" width="120" align="center">
41 41
           <template  slot-scope="scope">
42 42
             {{scope.row.usage}}
43 43
           </template>
44 44
         </el-table-column>
45
-        <el-table-column prop="frequency" label="频率" width="120">
45
+        <el-table-column prop="frequency" label="频率" width="120" align="center">
46 46
           <template  slot-scope="scope">
47 47
             {{scope.row.frequency}}
48 48
           </template>
49 49
         </el-table-column>
50
-        <el-table-column prop="days" label="天数" width="120">
50
+        <el-table-column prop="days" label="天数" width="120" align="center">
51 51
           <template  slot-scope="scope">
52 52
             {{scope.row.days}}
53 53
           </template>
54 54
         </el-table-column>
55
-        <el-table-column prop="total" label="总量" width="120">
55
+        <el-table-column prop="total" label="总量" width="120" align="center">
56 56
           <template  slot-scope="scope">
57 57
             {{scope.row.total}}
58 58
           </template>
59 59
         </el-table-column>
60
-        <el-table-column prop="data_sources" label="数据来源" width="120">
60
+        <el-table-column prop="data_sources" label="数据来源" width="120" align="center">
61 61
           <template  slot-scope="scope">
62 62
             {{scope.row.data_sources}}
63 63
           </template>
64 64
         </el-table-column>
65
-        <el-table-column prop="people" label="领药人" width="120">
65
+        <el-table-column prop="people" label="领药人" width="120" align="center">
66 66
           <template  slot-scope="scope">
67 67
             {{scope.row.people}}
68 68
           </template>
@@ -154,15 +154,8 @@ export default {
154 154
 
155 155
     // 打印
156 156
     print() {
157
+      console.log(this.org_name,'this.org_name')
157 158
       Vue.prototype.printJson = printutils.printJson;
158
-      //   const style =
159
-      //     '@media print {.list_title{  width: 940px;border-bottom: 1px solid;display: flex;margin: 30px auto}}';
160
-      //   printJS({
161
-      //     printable: "dialysis-print-box-1",
162
-      //     type: "html",
163
-      //     style: style,
164
-      //     scanStyles: false,
165
-      //   });
166 159
       this.printJson({
167 160
         title: `
168 161
         <div>
@@ -172,7 +165,7 @@ export default {
172 165
         <div style="width: 230px;padding: 10px 0;">规格:${this.specifications}</div>
173 166
         <div style="width: 230px;padding: 10px 0;">发药状态:${this.state_name}</div>
174 167
         <div style="width: 230px;padding: 10px 0;">日期:${this.times}</div>
175
-        </div>`, // 打印出来的标题
168
+        </div></div>`, // 打印出来的标题
176 169
         data: this.tableData, // 需要打印的数据
177 170
         serial: true, // 是否需要打印序列号
178 171
         fields: [

+ 11 - 9
src/xt_pages/Pharmacy/print/patientPrint.vue View File

@@ -25,42 +25,42 @@
25 25
       >
26 26
         <el-table-column type="index" prop="index" label="序号" width="60" align="center">
27 27
         </el-table-column>
28
-        <el-table-column prop="name" label="名称" width="160">
28
+        <el-table-column prop="name" label="名称" width="160" align="center">
29 29
           <template slot-scope="scope" >
30 30
             <span>{{scope.row.Name ? scope.row.Name : ""}}</span>
31 31
           </template>
32 32
         </el-table-column>
33
-        <el-table-column prop="SingleDosage" label="单次用量" width="120">
33
+        <el-table-column prop="SingleDosage" label="单次用量" width="120" align="center">
34 34
           <template slot-scope="scope" >
35 35
             <span>{{scope.row.SingleDosage ? scope.row.SingleDosage : ""}}</span>
36 36
           </template>
37 37
         </el-table-column>
38
-        <el-table-column prop="use" label="用法" width="120">
38
+        <el-table-column prop="use" label="用法" width="120" align="center">
39 39
           <template slot-scope="scope" >
40 40
             <span>{{scope.row.Usage ? scope.row.Usage : ""}}</span>
41 41
           </template>
42 42
         </el-table-column>
43
-        <el-table-column prop="frequency" label="频率" width="120">
43
+        <el-table-column prop="frequency" label="频率" width="120" align="center">
44 44
           <template slot-scope="scope" >
45 45
             <span>{{scope.row.Frequency ? scope.row.Frequency : ""}}</span>
46 46
           </template>
47 47
         </el-table-column>
48
-        <el-table-column prop="day" label="天数" width="120">
48
+        <el-table-column prop="day" label="天数" width="120" align="center">
49 49
           <template slot-scope="scope" >
50 50
             <span>{{scope.row.Days ? scope.row.Days : ""}}</span>
51 51
           </template>
52 52
         </el-table-column>
53
-        <el-table-column prop="amount" label="总量" width="120">
53
+        <el-table-column prop="amount" label="总量" width="120" align="center">
54 54
           <template slot-scope="scope" >
55 55
             <span>{{scope.row.Total ? scope.row.Total : ""}}</span>
56 56
           </template>
57 57
         </el-table-column>
58
-        <el-table-column prop="tips" label="数据来源" width="120">
58
+        <el-table-column prop="tips" label="数据来源" width="120" align="center">
59 59
           <template slot-scope="scope" >
60 60
             <span>{{scope.row.DataSources ? scope.row.DataSources : ""}}</span>
61 61
           </template>
62 62
         </el-table-column>
63
-        <el-table-column prop="tips" label="备注" width="120">
63
+        <el-table-column prop="tips" label="备注" width="120" align="center">
64 64
           <template slot-scope="scope" >
65 65
             <span>{{scope.row.Remarks ? scope.row.Remarks : ""}}</span>
66 66
           </template>
@@ -83,6 +83,7 @@ export default {
83 83
       name:"",
84 84
       state:null,
85 85
       times:"",
86
+      org_name: this.$store.getters.xt_user.org.org_name,
86 87
     };
87 88
   },
88 89
   props: {
@@ -143,6 +144,7 @@ export default {
143 144
 
144 145
     // 打印
145 146
     print() {
147
+      console.log(this.org_name,'this.org_name')
146 148
       Vue.prototype.printJson = printutils.printJson;
147 149
       //   const style =
148 150
       //     '@media print {.list_title{  width: 940px;border-bottom: 1px solid;display: flex;margin: 30px auto}}';
@@ -160,7 +162,7 @@ export default {
160 162
         <div style="width: 310px;padding: 10px 0;">患者名称:${this.name}</div>
161 163
         <div style="width: 320px;padding: 10px 0;">发药状态:${this.state}</div>
162 164
         <div style="width: 310px;padding: 10px 0;">日期:${this.times}</div>
163
-        </div>`, // 打印出来的标题
165
+        </div></div>`, // 打印出来的标题
164 166
         data: this.tableData, // 需要打印的数据
165 167
         serial: true, // 是否需要打印序列号
166 168
         fields: [

+ 20 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

@@ -774,7 +774,7 @@
774 774
                     class="row"
775 775
                     style="padding: 2px 0; line-height: 23px; display: flex"
776 776
                   >
777
-                    <div class="inline_block" style="flex: 1">
777
+                    <div class="inline_block" style="flex: 1" v-if="org_id!=10290">
778 778
                       透析(滤)器:
779 779
                       <div
780 780
                         class="under_line"
@@ -792,7 +792,7 @@
792 792
                         }}
793 793
                       </div>
794 794
                     </div>
795
-                    <div class="inline_block" style="flex: 1">
795
+                    <div class="inline_block" style="flex: 1" v-if="org_id!=10290&&org_id!=9675">
796 796
                       灌流器:
797 797
                       <div
798 798
                         class="under_line"
@@ -805,6 +805,24 @@
805 805
                         }}
806 806
                       </div>
807 807
                     </div>
808
+                    <div class="inline_block" style="flex: 1" v-if="org_id==10290||org_id==9675">
809
+                      透析器/灌流器:
810
+                      <div
811
+                        class="under_line"78
812
+                        style="width: 100px; text-align: center"
813
+                      >
814
+                        {{
815
+                          prescription.dialyzer_perfusion_apparatus
816
+                            ? prescription.dialyzer_perfusion_apparatus
817
+                            : ""
818
+                        }}
819
+                        {{
820
+                          prescription.dialysis_dialyszers
821
+                            ? prescription.dialysis_dialyszers
822
+                            : "/"
823
+                        }}
824
+                      </div>
825
+                    </div>
808 826
                     <div
809 827
                       class="inline_block"
810 828
                       style="flex: 1"