ソースを参照

请选择药品是否要通过

huangyw 2 年 前
コミット
5a55876bfc

+ 22 - 1
src/xt_pages/Pharmacy/DispensingDetails.vue ファイルの表示

@@ -71,7 +71,7 @@
71 71
         :class="signAndWeighBoxPatients"
72 72
         border
73 73
       >
74
-        <el-table-column type="index" label="序号" align="center">
74
+        <el-table-column type="index" label="序号" align="center" width="100">
75 75
         </el-table-column>
76 76
         <el-table-column label="患者名称" align="center">
77 77
           <template slot-scope="scope">
@@ -212,4 +212,25 @@ export default {
212 212
 </script>
213 213
 
214 214
 <style rel="stylesheet/css" lang="scss" scoped>
215
+
216
+/deep/ .el-table--scrollable-x .el-table__body-wrapper {
217
+  overflow: auto;
218
+}
219
+/deep/ .gutter {
220
+  width: 15px !important;
221
+  display: inline-block !important;
222
+}
223
+/deep/ .el-table__fixed-right-patch {
224
+  width: 15px !important;
225
+}
226
+
227
+/deep/ .el-table__fixed-right {
228
+  bottom: 0 !important;
229
+  left: auto;
230
+  right: 0;
231
+}
232
+/deep/ .el-table__body-wrapper::-webkit-scrollbar {
233
+  width: 15px !important;
234
+  height: 15px !important;
235
+}
215 236
 </style>

+ 28 - 9
src/xt_pages/Pharmacy/DrugDispensing.vue ファイルの表示

@@ -229,21 +229,19 @@
229 229
         </div>
230 230
       </div>
231 231
 
232
-      <el-dialog
233
-        title="设置"
234
-        :visible.sync="dialogVisible"
235
-        width="30%">
236
-        <span>请选择药品是否要通过药房管理出库</span>
237
-        <span>
232
+      <el-dialog title="设置" :visible.sync="dialogVisible" width="30%">
233
+        <span style="font-size: 17px">请选择药品是否要通过药房管理出库</span>
234
+        <span style="display: block; padding: 18px 25px">
238 235
           <el-radio v-model="is_open" label="1">是</el-radio>
239 236
           <el-radio v-model="is_open" label="2">否</el-radio>
240 237
         </span>
241
-        <span>
238
+        <div style="height: 50px; background: #c7ebfc; border-radius: 5px;padding: 7px;">
239
+          <i class="el-icon-info" style="color: #3399ff;font-size: 17px;"></i>
242 240
           若选择为是,则通过药房发药的药品都会在发药之后进行出库,否则按原来的方式进行出库管理
243
-        </span>
241
+        </div>
244 242
         <span slot="footer" class="dialog-footer">
245 243
           <el-button @click="dialogVisible = false">取 消</el-button>
246
-          <el-button type="primary" @click="SaveSetting">确 定</el-button>
244
+          <el-button type="primary" @click="SaveSetting">保 存</el-button>
247 245
         </span>
248 246
       </el-dialog>
249 247
     </div>
@@ -541,4 +539,25 @@ export default {
541 539
     justify-content: flex-end;
542 540
   }
543 541
 }
542
+
543
+/deep/ .el-table--scrollable-x .el-table__body-wrapper {
544
+  overflow: auto;
545
+}
546
+/deep/ .gutter {
547
+  width: 15px !important;
548
+  display: inline-block !important;
549
+}
550
+/deep/ .el-table__fixed-right-patch {
551
+  width: 15px !important;
552
+}
553
+
554
+/deep/ .el-table__fixed-right {
555
+  bottom: 0 !important;
556
+  left: auto;
557
+  right: 0;
558
+}
559
+/deep/ .el-table__body-wrapper::-webkit-scrollbar {
560
+  width: 15px !important;
561
+  height: 15px !important;
562
+}
544 563
 </style>

+ 25 - 4
src/xt_pages/Pharmacy/PatientDispensing.vue ファイルの表示

@@ -423,10 +423,10 @@ export default {
423 423
     },
424 424
     // 跳转打印页面
425 425
     toPrint() {
426
-      // if (this.tableData == null) {
427
-      //   this.$message.error("未选择任何数据");
428
-      //   return;
429
-      // }
426
+      if (this.tableData == null) {
427
+        this.$message.error("未选择任何数据");
428
+        return;
429
+      }
430 430
       this.$refs.patientprint.show(this.tableData, this.currentRow, this.state);
431 431
     },
432 432
 
@@ -561,4 +561,25 @@ export default {
561 561
     justify-content: flex-end;
562 562
   }
563 563
 }
564
+
565
+/deep/ .el-table--scrollable-x .el-table__body-wrapper {
566
+  overflow: auto;
567
+}
568
+/deep/ .gutter {
569
+  width: 15px !important;
570
+  display: inline-block !important;
571
+}
572
+/deep/ .el-table__fixed-right-patch {
573
+  width: 15px !important;
574
+}
575
+
576
+/deep/ .el-table__fixed-right {
577
+  bottom: 0 !important;
578
+  left: auto;
579
+  right: 0;
580
+}
581
+/deep/ .el-table__body-wrapper::-webkit-scrollbar {
582
+  width: 15px !important;
583
+  height: 15px !important;
584
+}
564 585
 </style>

+ 6 - 1
src/xt_pages/Pharmacy/print/drugPrint.vue ファイルの表示

@@ -150,7 +150,9 @@ export default {
150 150
       //     scanStyles: false,
151 151
       //   });
152 152
       this.printJson({
153
-        title: `<div style="width:100%;text-align:center;font-size:16px;font-weight:bold;">${this.org_name}医院 领药单</div>
153
+        title: `
154
+        <div>
155
+        <div style="width: 940px;text-align:center;font-size:16px;font-weight:bold;">${this.org_name}医院 领药单</div>
154 156
         <div style="width: 940px;border-bottom: 1px solid;display: flex;margin: 30px auto;font-size:14px;">
155 157
         <div style="width: 230px;padding: 10px 0;">药品名称:${this.name}</div>
156 158
         <div style="width: 230px;padding: 10px 0;">规格:${this.specifications}</div>
@@ -213,6 +215,9 @@ export default {
213 215
 </script>
214 216
 
215 217
 <style lang="scss" scoped>
218
+/deep/ .el-dialog{
219
+  width: 60%;
220
+}
216 221
 .print_style {
217 222
   position: absolute;
218 223
   right: 10px;

+ 3 - 1
src/xt_pages/Pharmacy/print/patientPrint.vue ファイルの表示

@@ -103,7 +103,9 @@ export default {
103 103
       //     scanStyles: false,
104 104
       //   });
105 105
       this.printJson({
106
-        title: `<div style="width:100%;text-align:center;font-size:16px;font-weight:bold;">${this.org_name}医院 发药单</div>
106
+        title: `
107
+        <div>
108
+        <div style="width: 940px;text-align:center;font-size:16px;font-weight:bold;">${this.org_name}医院 发药单</div>
107 109
         <div style="width: 940px;border-bottom: 1px solid;display: flex;margin: 30px auto;font-size:14px;">
108 110
         <div style="width: 310px;padding: 10px 0;">患者名称:${this.name}</div>
109 111
         <div style="width: 310px;padding: 10px 0;">发药状态:${this.state}</div>