Browse Source

请选择药品是否要通过

huangyw 2 years ago
parent
commit
5a55876bfc

+ 22 - 1
src/xt_pages/Pharmacy/DispensingDetails.vue View File

71
         :class="signAndWeighBoxPatients"
71
         :class="signAndWeighBoxPatients"
72
         border
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
         </el-table-column>
75
         </el-table-column>
76
         <el-table-column label="患者名称" align="center">
76
         <el-table-column label="患者名称" align="center">
77
           <template slot-scope="scope">
77
           <template slot-scope="scope">
212
 </script>
212
 </script>
213
 
213
 
214
 <style rel="stylesheet/css" lang="scss" scoped>
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
 </style>
236
 </style>

+ 28 - 9
src/xt_pages/Pharmacy/DrugDispensing.vue View File

229
         </div>
229
         </div>
230
       </div>
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
           <el-radio v-model="is_open" label="1">是</el-radio>
235
           <el-radio v-model="is_open" label="1">是</el-radio>
239
           <el-radio v-model="is_open" label="2">否</el-radio>
236
           <el-radio v-model="is_open" label="2">否</el-radio>
240
         </span>
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
         <span slot="footer" class="dialog-footer">
242
         <span slot="footer" class="dialog-footer">
245
           <el-button @click="dialogVisible = false">取 消</el-button>
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
         </span>
245
         </span>
248
       </el-dialog>
246
       </el-dialog>
249
     </div>
247
     </div>
541
     justify-content: flex-end;
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
 </style>
563
 </style>

+ 25 - 4
src/xt_pages/Pharmacy/PatientDispensing.vue View File

423
     },
423
     },
424
     // 跳转打印页面
424
     // 跳转打印页面
425
     toPrint() {
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
       this.$refs.patientprint.show(this.tableData, this.currentRow, this.state);
430
       this.$refs.patientprint.show(this.tableData, this.currentRow, this.state);
431
     },
431
     },
432
 
432
 
561
     justify-content: flex-end;
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
 </style>
585
 </style>

+ 6 - 1
src/xt_pages/Pharmacy/print/drugPrint.vue View File

150
       //     scanStyles: false,
150
       //     scanStyles: false,
151
       //   });
151
       //   });
152
       this.printJson({
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
         <div style="width: 940px;border-bottom: 1px solid;display: flex;margin: 30px auto;font-size:14px;">
156
         <div style="width: 940px;border-bottom: 1px solid;display: flex;margin: 30px auto;font-size:14px;">
155
         <div style="width: 230px;padding: 10px 0;">药品名称:${this.name}</div>
157
         <div style="width: 230px;padding: 10px 0;">药品名称:${this.name}</div>
156
         <div style="width: 230px;padding: 10px 0;">规格:${this.specifications}</div>
158
         <div style="width: 230px;padding: 10px 0;">规格:${this.specifications}</div>
213
 </script>
215
 </script>
214
 
216
 
215
 <style lang="scss" scoped>
217
 <style lang="scss" scoped>
218
+/deep/ .el-dialog{
219
+  width: 60%;
220
+}
216
 .print_style {
221
 .print_style {
217
   position: absolute;
222
   position: absolute;
218
   right: 10px;
223
   right: 10px;

+ 3 - 1
src/xt_pages/Pharmacy/print/patientPrint.vue View File

103
       //     scanStyles: false,
103
       //     scanStyles: false,
104
       //   });
104
       //   });
105
       this.printJson({
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
         <div style="width: 940px;border-bottom: 1px solid;display: flex;margin: 30px auto;font-size:14px;">
109
         <div style="width: 940px;border-bottom: 1px solid;display: flex;margin: 30px auto;font-size:14px;">
108
         <div style="width: 310px;padding: 10px 0;">患者名称:${this.name}</div>
110
         <div style="width: 310px;padding: 10px 0;">患者名称:${this.name}</div>
109
         <div style="width: 310px;padding: 10px 0;">发药状态:${this.state}</div>
111
         <div style="width: 310px;padding: 10px 0;">发药状态:${this.state}</div>