huangyw 2 år sedan
förälder
incheckning
65ac1d86c9

+ 9 - 7
src/xt_pages/stock/drugs/components/drugPatientQuery.vue Visa fil

@@ -1,17 +1,16 @@
1 1
 <template>
2 2
     <div class="main-contain">
3
-        <div class="app-container"  v-loading="loading"
3
+        <div class="app-container" style="padding-left:0px;margin:0px;"  v-loading="loading"
4 4
         element-loading-text="拼命加载中">
5 5
          <el-container>
6 6
                <div style="width:27%">
7
-                <el-row>
8
-                   时间:
7
+                <el-row style="white-space:nowrap;display:flex;line-height: 31px;">
8
+                   <span style="font-size:14px;color:#606266"> 时间:</span>
9 9
                     <el-date-picker
10 10
                       size="small"
11 11
                       v-model="start_time"
12 12
                       prefix-icon="el-icon-date"
13 13
                       :editable="false"
14
-                      style="width:160px;"
15 14
                       type="date"
16 15
                       placeholder="选择日期时间"
17 16
                       align="right"
@@ -25,7 +24,6 @@
25 24
                         v-model="end_time"
26 25
                         prefix-icon="el-icon-date"
27 26
                         :editable="false"
28
-                        style="width:160px;"
29 27
                         type="date"
30 28
                         placeholder="选择日期时间"
31 29
                         align="right"
@@ -36,8 +34,9 @@
36 34
                 </el-row>
37 35
                 <el-row></el-row>
38 36
                  <el-row>
39
-                   <el-col :span="24">
40
-                      <el-input style="width:200px;margin-top:10px;margin-bottom:10px" placeholder="请输入患者姓名" v-model="keyword"></el-input>&nbsp;<el-button type="primary" @click="onSearch" icon="el-icon-search">搜索</el-button>
37
+                   <el-col :span="24" style="display:flex">
38
+                      <el-input style="margin-top:10px;margin-bottom:10px" placeholder="请输入患者姓名" v-model="keyword"></el-input>&nbsp;
39
+                      <el-button style="height: 35px;margin-top: 10px;margin-bottom: 10px;" type="primary" @click="onSearch" icon="el-icon-search">搜索</el-button>
41 40
                    </el-col>
42 41
                   </el-row>
43 42
 
@@ -499,6 +498,9 @@ export default {
499 498
        margin-bottom: 10px;
500 499
     margin-left: 82%
501 500
   }
501
+    /deep/ .el-tabs__content{
502
+    margin-top: 10px;
503
+  }
502 504
 
503 505
 </style>
504 506
 <style lang="scss">

+ 12 - 12
src/xt_pages/stock/drugs/components/drugPatientQueryPrint.vue Visa fil

@@ -15,21 +15,21 @@
15 15
                         <span class="main_title">患者药品使用查询表</span>
16 16
                     </div>
17 17
                    
18
-                    <div style="text-align:left;margin-bottom:20px;font-size: 18px;margin-bottom:-30px">
19
-                      <span>患者姓名:{{this.$route.query.patient_name}}</span> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
20
-                      <span> 查询日期:{{start_time}} ~</span>{{end_time}}
18
+                    <div style="text-align:left;margin-bottom:20px;font-size: 14px;margin-bottom:-30px">
19
+                      <span class="time_p">患者姓名:{{this.$route.query.patient_name}}</span> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
20
+                      <span class="time_p"> 查询日期:{{start_time}} ~</span><span class="time_p">{{end_time}}</span>
21 21
                     </div>
22
-                    <div style="text-align:right;margin-bottom:20px;font-size: 18px;">
23
-                      打印时间:{{time_now}}
22
+                    <div style="text-align:right;margin-bottom:20px;font-size: 14px;">
23
+                      <span class="time_p">打印时间:{{time_now}}</span> 
24 24
                     </div>
25 25
                     <div class="table_panel">
26 26
                         <table class="table">
27 27
                             <thead>
28 28
                                 <tr>
29
-                                  <td  width="80">序号</td>
30
-                                  <td  width="80">名称</td>
31
-                                  <td  width="80">生产厂家</td>
32
-                                  <td  width="80">规格&单位</td>
29
+                                  <td  width="40">序号</td>
30
+                                  <td  width="200">名称</td>
31
+                                  <td  width="200">生产厂家</td>
32
+                                  <td  width="100">规格&单位</td>
33 33
                                   <td  width="80">数量</td>    
34 34
                                                                  
35 35
                                 </tr>
@@ -93,7 +93,7 @@ export default {
93 93
     },
94 94
     methods:{
95 95
       printAction: function() {
96
-          const style = '@media print { .print_main_content { background-color: white; width:960px;  margin:0 auto; padding: 0 0 20px 0; } .order_title_panl { text-align: center; } .main_title { font-size: 18px; line-height: 40px; font-weight: 500; } .table_panel { } .table { width: 100%; border: 1px solid; border-collapse: collapse; padding: 2px; } thead tr td { border: 1px solid; text-align: center; font-size: 16px; padding: 15px 5px; } tbody tr td { border: 1px solid; text-align: center; font-size: 16px; padding: 10px 5px; white-space: pre-line;} .proj { padding: 5px 0; text-align: left; } .proj_title { font-size: 16px; font-weight: 500; line-height: 25px; } .proj_item { font-size: 15px; line-height: 20px; } .zone_name { font-weight: 500; } }'
96
+          const style = '@media print { .print_main_content { background-color: white; width:1500px;  margin:0 auto; padding: 0 0 20px 0; } .order_title_panl { text-align: center; }.time_p{font-size:16px;}  .main_title { font-size: 18px; line-height: 40px; font-weight: 500; } .table_panel { } .table { width: 100%; border: 1px solid; border-collapse: collapse; padding: 2px; } thead tr td { border: 1px solid; text-align: center; font-size: 16px; padding: 15px 5px; } tbody tr td { border: 1px solid; text-align: center; font-size: 16px; padding: 10px 5px; white-space: pre-line;} .proj { padding: 5px 0; text-align: left; } .proj_title { font-size: 16px; font-weight: 500; line-height: 25px; } .proj_item { font-size: 15px; line-height: 20px; } .zone_name { font-weight: 500; } }'
97 97
           printJS({
98 98
           printable: 'print_content',
99 99
           type: 'html',
@@ -240,7 +240,7 @@ export default {
240 240
           td {
241 241
             border: 1px solid;
242 242
             text-align: center;
243
-            font-size: 18px;
243
+            font-size: 14px;
244 244
             padding: 15px 5px;
245 245
           }
246 246
         }
@@ -250,7 +250,7 @@ export default {
250 250
           td {
251 251
             border: 1px solid;
252 252
             text-align: center;
253
-            font-size: 18px;
253
+            font-size: 14px;
254 254
             padding: 10px 5px;
255 255
             white-space: pre-line;
256 256
             .proj {

+ 5 - 4
src/xt_pages/stock/drugs/components/drugQuery.vue Visa fil

@@ -1,10 +1,10 @@
1 1
 <template>
2 2
   <div class="main-contain">
3
-     <div class="app-container "  v-loading="loading"
3
+     <div class="app-container " style="padding-left:0px;margin:0px;"  v-loading="loading"
4 4
         element-loading-text="拼命加载中">
5 5
         <div style="justify-content: space-between;margin: 0px 0 12px 0;display: flex;align-items: center;">
6 6
          <div>
7
-          <span>仓库:</span>
7
+          <span style="font-size:14px;color:#606266">仓库:</span>
8 8
           <el-select v-model="storehouse_id" style="width:200px;margin-right:10px;" placeholder="请选择"
9 9
           filterable
10 10
            @change="changeStorehouseName">
@@ -15,7 +15,7 @@
15 15
               :value="item.id">
16 16
             </el-option>
17 17
           </el-select>
18
-          <span>库存预警:</span>
18
+          <span style="font-size:14px;color:#606266">库存预警:</span>
19 19
           <el-select v-model="good_type" style="width:250px;margin-right:10px;" placeholder="请选择"
20 20
           filterable
21 21
            @change="changeGoodName">
@@ -170,7 +170,8 @@
170 170
             <el-table-column label="总库存量" align="center">
171 171
              <template slot-scope="scope">
172 172
                 <div v-if="getWarehoseInfo(scope.row.drug_warehouse_info) > 0">
173
-                   <span v-if="scope.row.total_count<=scope.row.drug_stock_limit" style="color:red">{{getSumCount(scope.row.drug_stock_count,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}}</span> 
173
+                   <span v-if="scope.row.total_count<=scope.row.drug_stock_limit" style="color:red">{{getSumCount(scope.row.drug_stock_count,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}}<i class="el-icon-warning"></i></span> 
174
+                   
174 175
                    <span v-if="scope.row.total_count >scope.row.drug_stock_limit">{{getSumCount(scope.row.drug_stock_count,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}}</span>
175 176
                 </div>
176 177
               </template>

Filskillnaden har hållits tillbaka eftersom den är för stor
+ 703 - 533
src/xt_pages/stock/drugs/components/drugQueryPrint.vue


+ 3 - 3
src/xt_pages/stock/drugs/components/expiryDateDrugQuery.vue Visa fil

@@ -1,10 +1,10 @@
1 1
 <template>
2 2
   <div class="main-contain">
3
-     <div class="app-container "  v-loading="loading"
3
+     <div class="app-container " style="padding-left:0px;margin:0px;" v-loading="loading"
4 4
         element-loading-text="拼命加载中">
5 5
         <div style="justify-content: space-between;margin: 0px 0 12px 0;display: flex;align-items: center;">
6 6
          <div>
7
-          <span>有效期:</span>
7
+          <span style="font-size:14px;color:#606266">有效期:</span>
8 8
           <el-select v-model="expiry_type" style="width:200px;margin-right:10px;" placeholder="请选择"
9 9
             filterable
10 10
             @change="changeExpriyList">
@@ -15,7 +15,7 @@
15 15
                 :value="item.id">
16 16
               </el-option>
17 17
           </el-select>
18
-          <span>仓库名称:</span>
18
+          <span style="font-size:14px;color:#606266">仓库名称:</span>
19 19
           <el-select v-model="storehouse_id" style="width:200px;margin-right:10px;" placeholder="请选择"
20 20
           filterable
21 21
            @change="changeStorehouseName">

+ 12 - 12
src/xt_pages/stock/drugs/components/expiryDateDrugQueryPrint.vue Visa fil

@@ -14,23 +14,23 @@
14 14
                     <div class="order_title_panl">
15 15
                         <span class="main_title">药品有效期查询表</span>
16 16
                     </div>
17
-                    <div style="text-align:right;margin-bottom:20px;font-size: 18px;">
18
-                      打印时间:{{time_now}}
17
+                    <div style="text-align:right;margin-bottom:20px;font-size: 14px;">
18
+                      <span class="time_p">打印时间:{{time_now}}</span> 
19 19
                     </div>
20 20
                     <div class="table_panel">
21 21
                         <table class="table">
22 22
                             <thead>
23 23
                                 <tr>
24
-                                  <td width="80">序号</td>
25
-                                  <td width="80">药品类型</td>
26
-                                  <td width="80">药品名称</td>
27
-                                  <td width="80">规格&单位</td>
28
-                                  <td width="80">生产厂商</td>
29
-                                  <td width="80">进货价</td>    
24
+                                  <td width="40">序号</td>
25
+                                  <td width="70">药品类型</td>
26
+                                  <td width="220">药品名称</td>
27
+                                  <td width="100">规格&单位</td>
28
+                                  <td width="220">生产厂商</td>
29
+                                  <td width="70">进货价</td>    
30 30
                                   <td width="80">库存</td>   
31 31
                                   <td width="80">批号</td>  
32 32
                                   <td width="80">有效期</td>  
33
-                                  <td width="80">剩余天数</td>                                             
33
+                                  <td width="70">剩余天数</td>                                             
34 34
                                 </tr>
35 35
                             </thead>
36 36
                             <tbody>
@@ -102,7 +102,7 @@ export default {
102 102
     },
103 103
     methods:{
104 104
       printAction: function() {
105
-          const style = '@media print { .print_main_content { background-color: white; width:960px;  margin:0 auto; padding: 0 0 20px 0; } .order_title_panl { text-align: center; } .main_title { font-size: 18px; line-height: 40px; font-weight: 500; } .table_panel { } .table { width: 100%; border: 1px solid; border-collapse: collapse; padding: 2px; } thead tr td { border: 1px solid; text-align: center; font-size: 16px; padding: 15px 5px; } tbody tr td { border: 1px solid; text-align: center; font-size: 16px; padding: 10px 5px; white-space: pre-line;} .proj { padding: 5px 0; text-align: left; } .proj_title { font-size: 16px; font-weight: 500; line-height: 25px; } .proj_item { font-size: 15px; line-height: 20px; } .zone_name { font-weight: 500; } }'
105
+          const style = '@media print { .print_main_content { background-color: white; width:1500px;  margin:0 auto; padding: 0 0 20px 0; } .order_title_panl { text-align: center; } .time_p{font-size:16px;} .main_title { font-size: 18px; line-height: 40px; font-weight: 500; } .table_panel { } .table { width: 100%; border: 1px solid; border-collapse: collapse; padding: 2px; } thead tr td { border: 1px solid; text-align: center; font-size: 16px; padding: 15px 5px; } tbody tr td { border: 1px solid; text-align: center; font-size: 16px; padding: 10px 5px; white-space: pre-line;} .proj { padding: 5px 0; text-align: left; } .proj_title { font-size: 16px; font-weight: 500; line-height: 25px; } .proj_item { font-size: 15px; line-height: 20px; } .zone_name { font-weight: 500; } }'
106 106
           printJS({
107 107
           printable: 'print_content',
108 108
           type: 'html',
@@ -227,7 +227,7 @@ export default {
227 227
           td {
228 228
             border: 1px solid;
229 229
             text-align: center;
230
-            font-size: 18px;
230
+            font-size: 14px;
231 231
             padding: 15px 5px;
232 232
           }
233 233
         }
@@ -237,7 +237,7 @@ export default {
237 237
           td {
238 238
             border: 1px solid;
239 239
             text-align: center;
240
-            font-size: 18px;
240
+            font-size: 14px;
241 241
             padding: 10px 5px;
242 242
             white-space: pre-line;
243 243
             .proj {

+ 4 - 3
src/xt_pages/stock/drugs/components/purchaseDrugQuery.vue Visa fil

@@ -1,10 +1,11 @@
1 1
 <template>
2 2
   <div class="main-contain">
3
-     <div class="app-container " v-loading="loading"
3
+     <div class="app-container "
4
+     style="padding-left:0px;margin:0px;" v-loading="loading"
4 5
         element-loading-text="拼命加载中">
5 6
         <div style="justify-content: space-between;margin: 0px 0 12px 0;display: flex;align-items: center;">
6 7
          <div>
7
-          <span>操作时间:</span>
8
+          <span style="font-size:14px;color:#606266">操作时间:</span>
8 9
           <el-date-picker
9 10
             size="small"
10 11
             v-model="start_time"
@@ -32,7 +33,7 @@
32 33
               value-format="yyyy-MM-dd"
33 34
               @change="endTimeChange"
34 35
           ></el-date-picker>  
35
-          <span>药品类型:</span>
36
+          <span style="font-size:14px;color:#606266">药品类型:</span>
36 37
           <el-select v-model="good_type" style="width:200px;margin-right:10px;" placeholder="请选择"
37 38
           filterable
38 39
            @change="changeGoodTypeName">

+ 8 - 8
src/xt_pages/stock/drugs/components/purchaseDrugQueryPrint.vue Visa fil

@@ -14,17 +14,17 @@
14 14
                     <div class="order_title_panl">
15 15
                         <span class="main_title">药品进销存查询表</span>
16 16
                     </div>
17
-                    <div style="text-align:left;margin-bottom:20px;font-size: 18px;margin-bottom:-30px">
18
-                      <span>查询日期:{{start_time}} ~</span>{{end_time}}
17
+                    <div style="text-align:left;margin-bottom:20px;font-size: 14px;margin-bottom:-30px">
18
+                      <span class="time_p">查询日期:{{start_time}} ~</span><span class="time_p">{{end_time}}</span> 
19 19
                     </div>
20
-                    <div style="text-align:right;margin-bottom:20px;font-size: 18px;">
21
-                      打印时间:{{time_now}}
20
+                    <div style="text-align:right;margin-bottom:20px;font-size: 14px;">
21
+                      <span class="time_p">打印时间:{{time_now}}</span> 
22 22
                     </div>
23 23
                     <div class="table_panel">
24 24
                         <table class="table">
25 25
                             <thead>
26 26
                                 <tr>
27
-                                  <td rowspan="2" width="80">序号</td>
27
+                                  <td rowspan="2" width="60">序号</td>
28 28
                                   <td rowspan="2" width="80">药品类型</td>
29 29
                                   <td rowspan="2" width="80">药品名称</td>
30 30
                                   <td rowspan="2" width="80">规格&单位</td>
@@ -122,7 +122,7 @@ export default {
122 122
     },
123 123
     methods:{
124 124
       printAction: function() {
125
-          const style = '@media print { .print_main_content { background-color: white; width:960px;  margin:0 auto; padding: 0 0 20px 0; } .order_title_panl { text-align: center; } .main_title { font-size: 18px; line-height: 40px; font-weight: 500; } .table_panel { } .table { width: 100%; border: 1px solid; border-collapse: collapse; padding: 2px; } thead tr td { border: 1px solid; text-align: center; font-size: 16px; padding: 15px 5px; } tbody tr td { border: 1px solid; text-align: center; font-size: 16px; padding: 10px 5px; white-space: pre-line;} .proj { padding: 5px 0; text-align: left; } .proj_title { font-size: 16px; font-weight: 500; line-height: 25px; } .proj_item { font-size: 15px; line-height: 20px; } .zone_name { font-weight: 500; } }'
125
+          const style = '@media print { .print_main_content { background-color: white; width:1500px;  margin:0 auto; padding: 0 0 20px 0; } .order_title_panl { text-align: center; } .time_p{font-size:16px;} .main_title { font-size: 18px; line-height: 40px; font-weight: 500; } .table_panel { } .table { width: 100%; border: 1px solid; border-collapse: collapse; padding: 2px; } thead tr td { border: 1px solid; text-align: center; font-size: 16px; padding: 15px 5px; } tbody tr td { border: 1px solid; text-align: center; font-size: 16px; padding: 10px 5px; white-space: pre-line;} .proj { padding: 5px 0; text-align: left; } .proj_title { font-size: 16px; font-weight: 500; line-height: 25px; } .proj_item { font-size: 15px; line-height: 20px; } .zone_name { font-weight: 500; } }'
126 126
           printJS({
127 127
           printable: 'print_content',
128 128
           type: 'html',
@@ -1102,7 +1102,7 @@ export default {
1102 1102
           td {
1103 1103
             border: 1px solid;
1104 1104
             text-align: center;
1105
-            font-size: 18px;
1105
+            font-size: 14px;
1106 1106
             padding: 15px 5px;
1107 1107
           }
1108 1108
         }
@@ -1112,7 +1112,7 @@ export default {
1112 1112
           td {
1113 1113
             border: 1px solid;
1114 1114
             text-align: center;
1115
-            font-size: 18px;
1115
+            font-size: 14px;
1116 1116
             padding: 10px 5px;
1117 1117
             white-space: pre-line;
1118 1118
             .proj {

+ 4 - 0
src/xt_pages/stock/drugs/drugNewQuery.vue Visa fil

@@ -77,6 +77,10 @@ export default {
77 77
   }
78 78
 }
79 79
 
80
+/deep/ .el-tabs .el-tabs__header{
81
+  margin: 0;
82
+}
83
+
80 84
 .title {
81 85
   background: #409eff;
82 86
   height: 44px;

+ 3 - 2
src/xt_pages/stock/query/expiryDateQuery.vue Visa fil

@@ -1,11 +1,12 @@
1 1
 <template>
2 2
   <div class="main-contain">
3 3
      <div class="app-container "
4
+     style="padding-left:0px;margin:0px;"
4 5
         v-loading="loading"
5 6
         element-loading-text="拼命加载中">
6 7
         <div style="justify-content: space-between;margin: 0px 0 12px 0;display: flex;align-items: center;">
7 8
          <div>
8
-          <span>有效期:</span>
9
+          <span style="font-size:14px;color:#606266">有效期:</span>
9 10
           <el-select v-model="expiry_type" style="width:200px;margin-right:10px;" placeholder="请选择"
10 11
             filterable
11 12
             @change="changeExpriyList">
@@ -16,7 +17,7 @@
16 17
                 :value="item.id">
17 18
               </el-option>
18 19
           </el-select>
19
-          <span>仓库名称:</span>
20
+          <span style="font-size:14px;color:#606266">仓库名称:</span>
20 21
           <el-select v-model="storehouse_id" style="width:200px;margin-right:10px;" placeholder="请选择"
21 22
           filterable
22 23
            @change="changeStorehouseName">

+ 18 - 18
src/xt_pages/stock/query/expiryDateQueryPrint.vue Visa fil

@@ -14,37 +14,37 @@
14 14
                     <div class="order_title_panl">
15 15
                         <span class="main_title">耗材有效期查询表</span>
16 16
                     </div>
17
-                    <div style="text-align:right;margin-bottom:20px;font-size: 18px;">
18
-                      打印时间:{{time_now}}
17
+                    <div style="text-align:right;margin-bottom:20px;font-size: 14px;">
18
+                      <span class="time_p">打印时间:{{time_now}}</span> 
19 19
                     </div>
20 20
                     <div class="table_panel">
21 21
                         <table class="table">
22 22
                             <thead>
23 23
                                 <tr>
24
-                                  <td width="80">序号</td>
25
-                                  <td width="80">耗材类型</td>
26
-                                  <td width="80">耗材名称</td>
27
-                                  <td width="80">规格&单位</td>
28
-                                  <td width="80">生产厂商</td>
29
-                                  <td width="80">进货价</td>    
24
+                                  <td width="50">序号</td>
25
+                                  <td width="70">耗材类型</td>
26
+                                  <td width="220">耗材名称</td>
27
+                                  <td width="100">规格&单位</td>
28
+                                  <td width="220">生产厂商</td>
29
+                                  <td width="70">进货价</td>    
30 30
                                   <td width="80">库存</td>   
31 31
                                   <td width="80">批号</td>  
32 32
                                   <td width="80">有效期</td>  
33
-                                  <td width="80">剩余天数</td>                                             
33
+                                  <td width="70">剩余天数</td>                                             
34 34
                                 </tr>
35 35
                             </thead>
36 36
                             <tbody>
37 37
                                <tr v-for="(item,index) in this.tableList" :key="index">
38
-                                  <td width="80">{{index + 1}}</td>
39
-                                  <td width="80"> {{getGoodTypeName(item.GoodInfo.good_type_id)}}</td>
40
-                                  <td width="80"> {{item.GoodInfo.good_name}}</td>    
41
-                                  <td width="80"> {{item.GoodInfo.specification_name}}/{{item.GoodInfo.packing_unit}}</td>
42
-                                  <td width="80"> {{getManufacturName(item.manufacturer)}}</td>
38
+                                  <td width="50">{{index + 1}}</td>
39
+                                  <td width="70"> {{getGoodTypeName(item.GoodInfo.good_type_id)}}</td>
40
+                                  <td width="220"> {{item.GoodInfo.good_name}}</td>    
41
+                                  <td width="100"> {{item.GoodInfo.specification_name}}/{{item.GoodInfo.packing_unit}}</td>
42
+                                  <td width="70"> {{getManufacturName(item.manufacturer)}}</td>
43 43
                                   <td width="80"> {{item.price}}</td>    
44 44
                                   <td width="80"> {{item.stock_count}}</td>   
45 45
                                   <td width="80"> {{item.number}}</td>  
46 46
                                   <td width="80"> {{getTime(item.expiry_date)}}</td>  
47
-                                  <td width="80"> {{getDaysBetween(getTime(item.expiry_date),getTime(nowtime))}}</td>                                             
47
+                                  <td width="70"> {{getDaysBetween(getTime(item.expiry_date),getTime(nowtime))}}</td>                                             
48 48
                                 </tr>
49 49
                             </tbody>
50 50
                         </table>
@@ -99,7 +99,7 @@ export default {
99 99
     },
100 100
     methods:{
101 101
       printAction: function() {
102
-          const style = '@media print { .print_main_content { background-color: white; width:960px;  margin:0 auto; padding: 0 0 20px 0; } .order_title_panl { text-align: center; } .main_title { font-size: 18px; line-height: 40px; font-weight: 500; } .table_panel { } .table { width: 100%; border: 1px solid; border-collapse: collapse; padding: 2px; } thead tr td { border: 1px solid; text-align: center; font-size: 16px; padding: 15px 5px; } tbody tr td { border: 1px solid; text-align: center; font-size: 16px; padding: 10px 5px; white-space: pre-line;} .proj { padding: 5px 0; text-align: left; } .proj_title { font-size: 16px; font-weight: 500; line-height: 25px; } .proj_item { font-size: 15px; line-height: 20px; } .zone_name { font-weight: 500; } }'
102
+          const style = '@media print { .print_main_content { background-color: white; width:1500px;  margin:0 auto; padding: 0 0 20px 0; } .order_title_panl { text-align: center; } .time_p{font-size:16px;} .main_title { font-size: 18px; line-height: 40px; font-weight: 500; } .table_panel { } .table { width: 100%; border: 1px solid; border-collapse: collapse; padding: 2px; } thead tr td { border: 1px solid; text-align: center; font-size: 16px; padding: 15px 5px; } tbody tr td { border: 1px solid; text-align: center; font-size: 16px; padding: 10px 5px; white-space: pre-line;} .proj { padding: 5px 0; text-align: left; } .proj_title { font-size: 16px; font-weight: 500; line-height: 25px; } .proj_item { font-size: 15px; line-height: 20px; } .zone_name { font-weight: 500; } }'
103 103
           printJS({
104 104
           printable: 'print_content',
105 105
           type: 'html',
@@ -222,7 +222,7 @@ export default {
222 222
           td {
223 223
             border: 1px solid;
224 224
             text-align: center;
225
-            font-size: 18px;
225
+            font-size: 14px;
226 226
             padding: 15px 5px;
227 227
           }
228 228
         }
@@ -232,7 +232,7 @@ export default {
232 232
           td {
233 233
             border: 1px solid;
234 234
             text-align: center;
235
-            font-size: 18px;
235
+            font-size: 14px;
236 236
             padding: 10px 5px;
237 237
             white-space: pre-line;
238 238
             .proj {

+ 8 - 3
src/xt_pages/stock/query/goodNewQuery.vue Visa fil

@@ -1,11 +1,11 @@
1 1
 <template>
2 2
   <div class="main-contain">
3
-     <div class="app-container "  
3
+     <div class="app-container" style="padding-left:0px;margin: 0px;"
4 4
         v-loading="loading"
5 5
         element-loading-text="拼命加载中">
6 6
         <div style="justify-content: space-between;margin: 0px 0 12px 0;display: flex;align-items: center;">
7 7
          <div>
8
-          <span>仓库:</span>
8
+          <span style="font-size:14px;color:#606266">仓库:</span>
9 9
           <el-select v-model="storehouse_id" style="width:200px;margin-right:10px;" placeholder="请选择"
10 10
           filterable
11 11
            @change="changeStorehouseName">
@@ -16,7 +16,7 @@
16 16
               :value="item.id">
17 17
             </el-option>
18 18
           </el-select>
19
-          <span>库存预警:</span>
19
+          <span style="font-size:14px;color:#606266">库存预警:</span>
20 20
           <el-select v-model="good_type" style="width:250px;margin-right:10px;" placeholder="请选择"
21 21
           filterable
22 22
            @change="changeGoodName">
@@ -153,6 +153,7 @@
153 153
                 <span>
154 154
                    <span v-if="getOverFlushInfo(scope.row.xt_warehouse_info) <= scope.row.stock_warn_count" style="color:red">
155 155
                      {{getSumCount(scope.row.xt_good_stock,scope.row.id)}}
156
+                     <i class="el-icon-warning"></i>
156 157
                     </span>
157 158
                    <span v-if="getOverFlushInfo(scope.row.xt_warehouse_info) > scope.row.stock_warn_count">
158 159
                       {{getSumCount(scope.row.xt_good_stock,scope.row.id)}}
@@ -1098,6 +1099,10 @@ export default {
1098 1099
 </script>
1099 1100
 
1100 1101
 <style>
1102
+.app-container{
1103
+  /* padding-left: 0;
1104
+  margin-left: 0; */
1105
+}
1101 1106
 .sign-and-weigh-box .sign-and-weigh-box-patients .cell {
1102 1107
   font-size: 12px;
1103 1108
 }

Filskillnaden har hållits tillbaka eftersom den är för stor
+ 787 - 604
src/xt_pages/stock/query/goodNewQueryPrint.vue


+ 11 - 6
src/xt_pages/stock/query/patientQuery.vue Visa fil

@@ -1,18 +1,18 @@
1 1
 <template>
2 2
     <div class="main-contain">
3 3
         <div class="app-container"
4
+        style="padding-left:0px;margin:0px;"
4 5
          v-loading="loading"
5 6
         element-loading-text="拼命加载中">
6 7
          <el-container>
7 8
                <div style="width:27%">
8
-                <el-row>
9
-                   时间:
9
+                <el-row style="white-space:nowrap;display:flex;line-height: 31px;">
10
+                   <span style="font-size:14px;color:#606266">时间:</span> 
10 11
                     <el-date-picker
11 12
                       size="small"
12 13
                       v-model="start_time"
13 14
                       prefix-icon="el-icon-date"
14 15
                       :editable="false"
15
-                      style="width:160px;"
16 16
                       type="date"
17 17
                       placeholder="选择日期时间"
18 18
                       align="right"
@@ -26,7 +26,6 @@
26 26
                         v-model="end_time"
27 27
                         prefix-icon="el-icon-date"
28 28
                         :editable="false"
29
-                        style="width:160px;"
30 29
                         type="date"
31 30
                         placeholder="选择日期时间"
32 31
                         align="right"
@@ -37,8 +36,10 @@
37 36
                 </el-row>
38 37
                 <el-row></el-row>
39 38
                  <el-row>
40
-                   <el-col :span="24">
41
-                      <el-input style="width:200px;margin-top:10px;margin-bottom:10px" placeholder="请输入患者姓名" v-model="keyword"></el-input>&nbsp;<el-button type="primary" @click="onSearch" icon="el-icon-search">搜索</el-button>
39
+                   <el-col :span="24" style="display:flex">
40
+                      <el-input style="margin-top:10px;margin-bottom:10px" placeholder="请输入患者姓名" v-model="keyword"></el-input>
41
+                      &nbsp;
42
+                      <el-button style="height: 35px;margin-top: 10px;margin-bottom: 10px;" type="primary" @click="onSearch" icon="el-icon-search">搜索</el-button>
42 43
                    </el-col>
43 44
                   </el-row>
44 45
 
@@ -479,6 +480,10 @@ export default {
479 480
     margin-left: 82%
480 481
   }
481 482
 
483
+  /deep/ .el-tabs__content{
484
+    margin-top: 10px;
485
+  }
486
+
482 487
 </style>
483 488
 <style lang="scss">
484 489
    .a{

+ 12 - 12
src/xt_pages/stock/query/patientQueryPrint.vue Visa fil

@@ -15,21 +15,21 @@
15 15
                         <span class="main_title">患者耗材使用查询表</span>
16 16
                     </div>
17 17
                    
18
-                    <div style="text-align:left;margin-bottom:20px;font-size: 18px;margin-bottom:-30px">
19
-                      <span>患者姓名:{{this.$route.query.patient_name}}</span> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
20
-                      <span> 查询日期:{{start_time}} ~</span>{{end_time}}
18
+                    <div style="text-align:left;margin-bottom:20px;font-size: 14px;margin-bottom:-30px">
19
+                      <span class="time_p">患者姓名:{{this.$route.query.patient_name}}</span> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
20
+                      <span class="time_p"> 查询日期:{{start_time}} ~</span><span class="time_p">{{end_time}}</span> 
21 21
                     </div>
22
-                    <div style="text-align:right;margin-bottom:20px;font-size: 18px;">
23
-                      打印时间:{{time_now}}
22
+                    <div style="text-align:right;margin-bottom:20px;font-size: 14px;">
23
+                      <span class="time_p">打印时间:{{time_now}}</span> 
24 24
                     </div>
25 25
                     <div class="table_panel">
26 26
                         <table class="table">
27 27
                             <thead>
28 28
                                 <tr>
29
-                                  <td  width="80">序号</td>
30
-                                  <td  width="80">名称</td>
31
-                                  <td  width="80">生产厂家</td>
32
-                                  <td  width="80">规格&单位</td>
29
+                                  <td  width="40">序号</td>
30
+                                  <td  width="200">名称</td>
31
+                                  <td  width="200">生产厂家</td>
32
+                                  <td  width="100">规格&单位</td>
33 33
                                   <td  width="80">数量</td>    
34 34
                                                                  
35 35
                                 </tr>
@@ -96,7 +96,7 @@ export default {
96 96
     },
97 97
     methods:{
98 98
       printAction: function() {
99
-          const style = '@media print { .print_main_content { background-color: white; width:960px;  margin:0 auto; padding: 0 0 20px 0; } .order_title_panl { text-align: center; } .main_title { font-size: 18px; line-height: 40px; font-weight: 500; } .table_panel { } .table { width: 100%; border: 1px solid; border-collapse: collapse; padding: 2px; } thead tr td { border: 1px solid; text-align: center; font-size: 16px; padding: 15px 5px; } tbody tr td { border: 1px solid; text-align: center; font-size: 16px; padding: 10px 5px; white-space: pre-line;} .proj { padding: 5px 0; text-align: left; } .proj_title { font-size: 16px; font-weight: 500; line-height: 25px; } .proj_item { font-size: 15px; line-height: 20px; } .zone_name { font-weight: 500; } }'
99
+          const style = '@media print { .print_main_content { background-color: white; width:1500px;  margin:0 auto; padding: 0 0 20px 0; } .order_title_panl { text-align: center; } .time_p{font-size:16px;} .main_title { font-size: 18px; line-height: 40px; font-weight: 500; } .table_panel { } .table { width: 100%; border: 1px solid; border-collapse: collapse; padding: 2px; } thead tr td { border: 1px solid; text-align: center; font-size: 16px; padding: 15px 5px; } tbody tr td { border: 1px solid; text-align: center; font-size: 16px; padding: 10px 5px; white-space: pre-line;} .proj { padding: 5px 0; text-align: left; } .proj_title { font-size: 16px; font-weight: 500; line-height: 25px; } .proj_item { font-size: 15px; line-height: 20px; } .zone_name { font-weight: 500; } }'
100 100
           printJS({
101 101
           printable: 'print_content',
102 102
           type: 'html',
@@ -222,7 +222,7 @@ export default {
222 222
           td {
223 223
             border: 1px solid;
224 224
             text-align: center;
225
-            font-size: 18px;
225
+            font-size: 14px;
226 226
             padding: 15px 5px;
227 227
           }
228 228
         }
@@ -232,7 +232,7 @@ export default {
232 232
           td {
233 233
             border: 1px solid;
234 234
             text-align: center;
235
-            font-size: 18px;
235
+            font-size: 14px;
236 236
             padding: 10px 5px;
237 237
             white-space: pre-line;
238 238
             .proj {

+ 3 - 2
src/xt_pages/stock/query/purchaseStockQuery.vue Visa fil

@@ -1,11 +1,12 @@
1 1
 <template>
2 2
   <div class="main-contain">
3 3
      <div class="app-container "
4
+     style="padding-left:0px;margin:0px;"
4 5
        v-loading="loading"
5 6
         element-loading-text="拼命加载中">
6 7
         <div style="justify-content: space-between;margin: 0px 0 12px 0;display: flex;align-items: center;">
7 8
          <div>
8
-          <span>操作时间:</span>
9
+          <span style="font-size:14px;color:#606266">操作时间:</span>
9 10
           <el-date-picker
10 11
             size="small"
11 12
             v-model="start_time"
@@ -33,7 +34,7 @@
33 34
               value-format="yyyy-MM-dd"
34 35
               @change="endTimeChange"
35 36
           ></el-date-picker>  
36
-          <span>耗材类型:</span>
37
+          <span style="font-size:14px;color:#606266">耗材类型:</span>
37 38
           <el-select v-model="good_type" style="width:200px;margin-right:10px;" placeholder="请选择"
38 39
           filterable
39 40
            @change="changeGoodTypeName">

+ 7 - 7
src/xt_pages/stock/query/purchaseStockQueryPrint.vue Visa fil

@@ -14,11 +14,11 @@
14 14
                     <div class="order_title_panl">
15 15
                         <span class="main_title">药品进销存查询表</span>
16 16
                     </div>
17
-                    <div style="text-align:left;margin-bottom:20px;font-size: 18px;margin-bottom:-30px">
18
-                      <span>查询日期:{{start_time}} ~</span>{{end_time}}
17
+                    <div style="text-align:left;margin-bottom:20px;font-size: 14px;margin-bottom:-30px">
18
+                      <span class="time_p">查询日期:{{start_time}} ~</span><span class="time_p">{{end_time}}</span> 
19 19
                     </div>
20
-                    <div style="text-align:right;margin-bottom:20px;font-size: 18px;">
21
-                      打印时间:{{time_now}}
20
+                    <div style="text-align:right;margin-bottom:20px;font-size: 14px;">
21
+                      <span class="time_p"> 打印时间:{{time_now}}</span>
22 22
                     </div>
23 23
                     <div class="table_panel">
24 24
                         <table class="table">
@@ -121,7 +121,7 @@ export default {
121 121
     },
122 122
     methods:{
123 123
       printAction: function() {
124
-          const style = '@media print { .print_main_content { background-color: white; width:960px;  margin:0 auto; padding: 0 0 20px 0; } .order_title_panl { text-align: center; } .main_title { font-size: 18px; line-height: 40px; font-weight: 500; } .table_panel { } .table { width: 100%; border: 1px solid; border-collapse: collapse; padding: 2px; } thead tr td { border: 1px solid; text-align: center; font-size: 16px; padding: 15px 5px; } tbody tr td { border: 1px solid; text-align: center; font-size: 16px; padding: 10px 5px; white-space: pre-line;} .proj { padding: 5px 0; text-align: left; } .proj_title { font-size: 16px; font-weight: 500; line-height: 25px; } .proj_item { font-size: 15px; line-height: 20px; } .zone_name { font-weight: 500; } }'
124
+          const style = '@media print { .print_main_content { background-color: white; width:1500px;  margin:0 auto; padding: 0 0 20px 0; } .order_title_panl { text-align: center; } .time_p{font-size:16px;} .main_title { font-size: 18px; line-height: 40px; font-weight: 500; } .table_panel { } .table { width: 100%; border: 1px solid; border-collapse: collapse; padding: 2px; } thead tr td { border: 1px solid; text-align: center; font-size: 16px; padding: 15px 5px; } tbody tr td { border: 1px solid; text-align: center; font-size: 16px; padding: 10px 5px; white-space: pre-line;} .proj { padding: 5px 0; text-align: left; } .proj_title { font-size: 16px; font-weight: 500; line-height: 25px; } .proj_item { font-size: 15px; line-height: 20px; } .zone_name { font-weight: 500; } }'
125 125
           printJS({
126 126
           printable: 'print_content',
127 127
           type: 'html',
@@ -738,7 +738,7 @@ export default {
738 738
           td {
739 739
             border: 1px solid;
740 740
             text-align: center;
741
-            font-size: 18px;
741
+            font-size: 14px;
742 742
             padding: 15px 5px;
743 743
           }
744 744
         }
@@ -748,7 +748,7 @@ export default {
748 748
           td {
749 749
             border: 1px solid;
750 750
             text-align: center;
751
-            font-size: 18px;
751
+            font-size: 14px;
752 752
             padding: 10px 5px;
753 753
             white-space: pre-line;
754 754
             .proj {

+ 4 - 1
src/xt_pages/stock/stockNewQuery.vue Visa fil

@@ -67,6 +67,7 @@ export default {
67 67
 </script>
68 68
 
69 69
 <style rel="stylesheet/css" lang="scss" scoped>
70
+
70 71
 .information {
71 72
   border: 1px #dcdfe6 solid;
72 73
   padding: 30px 20px 30px 20px;
@@ -76,7 +77,9 @@ export default {
76 77
     margin: 0px 0 20px 0;
77 78
   }
78 79
 }
79
-
80
+/deep/ .el-tabs .el-tabs__header{
81
+  margin: 0;
82
+}
80 83
 .title {
81 84
   background: #409eff;
82 85
   height: 44px;