huangyw 2 年 前
コミット
65ac1d86c9

+ 9 - 7
src/xt_pages/stock/drugs/components/drugPatientQuery.vue ファイルの表示

1
 <template>
1
 <template>
2
     <div class="main-contain">
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
         element-loading-text="拼命加载中">
4
         element-loading-text="拼命加载中">
5
          <el-container>
5
          <el-container>
6
                <div style="width:27%">
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
                     <el-date-picker
9
                     <el-date-picker
10
                       size="small"
10
                       size="small"
11
                       v-model="start_time"
11
                       v-model="start_time"
12
                       prefix-icon="el-icon-date"
12
                       prefix-icon="el-icon-date"
13
                       :editable="false"
13
                       :editable="false"
14
-                      style="width:160px;"
15
                       type="date"
14
                       type="date"
16
                       placeholder="选择日期时间"
15
                       placeholder="选择日期时间"
17
                       align="right"
16
                       align="right"
25
                         v-model="end_time"
24
                         v-model="end_time"
26
                         prefix-icon="el-icon-date"
25
                         prefix-icon="el-icon-date"
27
                         :editable="false"
26
                         :editable="false"
28
-                        style="width:160px;"
29
                         type="date"
27
                         type="date"
30
                         placeholder="选择日期时间"
28
                         placeholder="选择日期时间"
31
                         align="right"
29
                         align="right"
36
                 </el-row>
34
                 </el-row>
37
                 <el-row></el-row>
35
                 <el-row></el-row>
38
                  <el-row>
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
                    </el-col>
40
                    </el-col>
42
                   </el-row>
41
                   </el-row>
43
 
42
 
499
        margin-bottom: 10px;
498
        margin-bottom: 10px;
500
     margin-left: 82%
499
     margin-left: 82%
501
   }
500
   }
501
+    /deep/ .el-tabs__content{
502
+    margin-top: 10px;
503
+  }
502
 
504
 
503
 </style>
505
 </style>
504
 <style lang="scss">
506
 <style lang="scss">

+ 12 - 12
src/xt_pages/stock/drugs/components/drugPatientQueryPrint.vue ファイルの表示

15
                         <span class="main_title">患者药品使用查询表</span>
15
                         <span class="main_title">患者药品使用查询表</span>
16
                     </div>
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
                     </div>
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
                     </div>
24
                     </div>
25
                     <div class="table_panel">
25
                     <div class="table_panel">
26
                         <table class="table">
26
                         <table class="table">
27
                             <thead>
27
                             <thead>
28
                                 <tr>
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
                                   <td  width="80">数量</td>    
33
                                   <td  width="80">数量</td>    
34
                                                                  
34
                                                                  
35
                                 </tr>
35
                                 </tr>
93
     },
93
     },
94
     methods:{
94
     methods:{
95
       printAction: function() {
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
           printJS({
97
           printJS({
98
           printable: 'print_content',
98
           printable: 'print_content',
99
           type: 'html',
99
           type: 'html',
240
           td {
240
           td {
241
             border: 1px solid;
241
             border: 1px solid;
242
             text-align: center;
242
             text-align: center;
243
-            font-size: 18px;
243
+            font-size: 14px;
244
             padding: 15px 5px;
244
             padding: 15px 5px;
245
           }
245
           }
246
         }
246
         }
250
           td {
250
           td {
251
             border: 1px solid;
251
             border: 1px solid;
252
             text-align: center;
252
             text-align: center;
253
-            font-size: 18px;
253
+            font-size: 14px;
254
             padding: 10px 5px;
254
             padding: 10px 5px;
255
             white-space: pre-line;
255
             white-space: pre-line;
256
             .proj {
256
             .proj {

+ 5 - 4
src/xt_pages/stock/drugs/components/drugQuery.vue ファイルの表示

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

File diff suppressed because it is too large
+ 703 - 533
src/xt_pages/stock/drugs/components/drugQueryPrint.vue


+ 3 - 3
src/xt_pages/stock/drugs/components/expiryDateDrugQuery.vue ファイルの表示

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

+ 12 - 12
src/xt_pages/stock/drugs/components/expiryDateDrugQueryPrint.vue ファイルの表示

14
                     <div class="order_title_panl">
14
                     <div class="order_title_panl">
15
                         <span class="main_title">药品有效期查询表</span>
15
                         <span class="main_title">药品有效期查询表</span>
16
                     </div>
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
                     </div>
19
                     </div>
20
                     <div class="table_panel">
20
                     <div class="table_panel">
21
                         <table class="table">
21
                         <table class="table">
22
                             <thead>
22
                             <thead>
23
                                 <tr>
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
                                   <td width="80">库存</td>   
30
                                   <td width="80">库存</td>   
31
                                   <td width="80">批号</td>  
31
                                   <td width="80">批号</td>  
32
                                   <td width="80">有效期</td>  
32
                                   <td width="80">有效期</td>  
33
-                                  <td width="80">剩余天数</td>                                             
33
+                                  <td width="70">剩余天数</td>                                             
34
                                 </tr>
34
                                 </tr>
35
                             </thead>
35
                             </thead>
36
                             <tbody>
36
                             <tbody>
102
     },
102
     },
103
     methods:{
103
     methods:{
104
       printAction: function() {
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
           printJS({
106
           printJS({
107
           printable: 'print_content',
107
           printable: 'print_content',
108
           type: 'html',
108
           type: 'html',
227
           td {
227
           td {
228
             border: 1px solid;
228
             border: 1px solid;
229
             text-align: center;
229
             text-align: center;
230
-            font-size: 18px;
230
+            font-size: 14px;
231
             padding: 15px 5px;
231
             padding: 15px 5px;
232
           }
232
           }
233
         }
233
         }
237
           td {
237
           td {
238
             border: 1px solid;
238
             border: 1px solid;
239
             text-align: center;
239
             text-align: center;
240
-            font-size: 18px;
240
+            font-size: 14px;
241
             padding: 10px 5px;
241
             padding: 10px 5px;
242
             white-space: pre-line;
242
             white-space: pre-line;
243
             .proj {
243
             .proj {

+ 4 - 3
src/xt_pages/stock/drugs/components/purchaseDrugQuery.vue ファイルの表示

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

+ 8 - 8
src/xt_pages/stock/drugs/components/purchaseDrugQueryPrint.vue ファイルの表示

14
                     <div class="order_title_panl">
14
                     <div class="order_title_panl">
15
                         <span class="main_title">药品进销存查询表</span>
15
                         <span class="main_title">药品进销存查询表</span>
16
                     </div>
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
                     </div>
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
                     </div>
22
                     </div>
23
                     <div class="table_panel">
23
                     <div class="table_panel">
24
                         <table class="table">
24
                         <table class="table">
25
                             <thead>
25
                             <thead>
26
                                 <tr>
26
                                 <tr>
27
-                                  <td rowspan="2" width="80">序号</td>
27
+                                  <td rowspan="2" width="60">序号</td>
28
                                   <td rowspan="2" width="80">药品类型</td>
28
                                   <td rowspan="2" width="80">药品类型</td>
29
                                   <td rowspan="2" width="80">药品名称</td>
29
                                   <td rowspan="2" width="80">药品名称</td>
30
                                   <td rowspan="2" width="80">规格&单位</td>
30
                                   <td rowspan="2" width="80">规格&单位</td>
122
     },
122
     },
123
     methods:{
123
     methods:{
124
       printAction: function() {
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
           printJS({
126
           printJS({
127
           printable: 'print_content',
127
           printable: 'print_content',
128
           type: 'html',
128
           type: 'html',
1102
           td {
1102
           td {
1103
             border: 1px solid;
1103
             border: 1px solid;
1104
             text-align: center;
1104
             text-align: center;
1105
-            font-size: 18px;
1105
+            font-size: 14px;
1106
             padding: 15px 5px;
1106
             padding: 15px 5px;
1107
           }
1107
           }
1108
         }
1108
         }
1112
           td {
1112
           td {
1113
             border: 1px solid;
1113
             border: 1px solid;
1114
             text-align: center;
1114
             text-align: center;
1115
-            font-size: 18px;
1115
+            font-size: 14px;
1116
             padding: 10px 5px;
1116
             padding: 10px 5px;
1117
             white-space: pre-line;
1117
             white-space: pre-line;
1118
             .proj {
1118
             .proj {

+ 4 - 0
src/xt_pages/stock/drugs/drugNewQuery.vue ファイルの表示

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

+ 3 - 2
src/xt_pages/stock/query/expiryDateQuery.vue ファイルの表示

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

+ 18 - 18
src/xt_pages/stock/query/expiryDateQueryPrint.vue ファイルの表示

14
                     <div class="order_title_panl">
14
                     <div class="order_title_panl">
15
                         <span class="main_title">耗材有效期查询表</span>
15
                         <span class="main_title">耗材有效期查询表</span>
16
                     </div>
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
                     </div>
19
                     </div>
20
                     <div class="table_panel">
20
                     <div class="table_panel">
21
                         <table class="table">
21
                         <table class="table">
22
                             <thead>
22
                             <thead>
23
                                 <tr>
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
                                   <td width="80">库存</td>   
30
                                   <td width="80">库存</td>   
31
                                   <td width="80">批号</td>  
31
                                   <td width="80">批号</td>  
32
                                   <td width="80">有效期</td>  
32
                                   <td width="80">有效期</td>  
33
-                                  <td width="80">剩余天数</td>                                             
33
+                                  <td width="70">剩余天数</td>                                             
34
                                 </tr>
34
                                 </tr>
35
                             </thead>
35
                             </thead>
36
                             <tbody>
36
                             <tbody>
37
                                <tr v-for="(item,index) in this.tableList" :key="index">
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
                                   <td width="80"> {{item.price}}</td>    
43
                                   <td width="80"> {{item.price}}</td>    
44
                                   <td width="80"> {{item.stock_count}}</td>   
44
                                   <td width="80"> {{item.stock_count}}</td>   
45
                                   <td width="80"> {{item.number}}</td>  
45
                                   <td width="80"> {{item.number}}</td>  
46
                                   <td width="80"> {{getTime(item.expiry_date)}}</td>  
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
                                 </tr>
48
                                 </tr>
49
                             </tbody>
49
                             </tbody>
50
                         </table>
50
                         </table>
99
     },
99
     },
100
     methods:{
100
     methods:{
101
       printAction: function() {
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
           printJS({
103
           printJS({
104
           printable: 'print_content',
104
           printable: 'print_content',
105
           type: 'html',
105
           type: 'html',
222
           td {
222
           td {
223
             border: 1px solid;
223
             border: 1px solid;
224
             text-align: center;
224
             text-align: center;
225
-            font-size: 18px;
225
+            font-size: 14px;
226
             padding: 15px 5px;
226
             padding: 15px 5px;
227
           }
227
           }
228
         }
228
         }
232
           td {
232
           td {
233
             border: 1px solid;
233
             border: 1px solid;
234
             text-align: center;
234
             text-align: center;
235
-            font-size: 18px;
235
+            font-size: 14px;
236
             padding: 10px 5px;
236
             padding: 10px 5px;
237
             white-space: pre-line;
237
             white-space: pre-line;
238
             .proj {
238
             .proj {

+ 8 - 3
src/xt_pages/stock/query/goodNewQuery.vue ファイルの表示

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

File diff suppressed because it is too large
+ 787 - 604
src/xt_pages/stock/query/goodNewQueryPrint.vue


+ 11 - 6
src/xt_pages/stock/query/patientQuery.vue ファイルの表示

1
 <template>
1
 <template>
2
     <div class="main-contain">
2
     <div class="main-contain">
3
         <div class="app-container"
3
         <div class="app-container"
4
+        style="padding-left:0px;margin:0px;"
4
          v-loading="loading"
5
          v-loading="loading"
5
         element-loading-text="拼命加载中">
6
         element-loading-text="拼命加载中">
6
          <el-container>
7
          <el-container>
7
                <div style="width:27%">
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
                     <el-date-picker
11
                     <el-date-picker
11
                       size="small"
12
                       size="small"
12
                       v-model="start_time"
13
                       v-model="start_time"
13
                       prefix-icon="el-icon-date"
14
                       prefix-icon="el-icon-date"
14
                       :editable="false"
15
                       :editable="false"
15
-                      style="width:160px;"
16
                       type="date"
16
                       type="date"
17
                       placeholder="选择日期时间"
17
                       placeholder="选择日期时间"
18
                       align="right"
18
                       align="right"
26
                         v-model="end_time"
26
                         v-model="end_time"
27
                         prefix-icon="el-icon-date"
27
                         prefix-icon="el-icon-date"
28
                         :editable="false"
28
                         :editable="false"
29
-                        style="width:160px;"
30
                         type="date"
29
                         type="date"
31
                         placeholder="选择日期时间"
30
                         placeholder="选择日期时间"
32
                         align="right"
31
                         align="right"
37
                 </el-row>
36
                 </el-row>
38
                 <el-row></el-row>
37
                 <el-row></el-row>
39
                  <el-row>
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
                    </el-col>
43
                    </el-col>
43
                   </el-row>
44
                   </el-row>
44
 
45
 
479
     margin-left: 82%
480
     margin-left: 82%
480
   }
481
   }
481
 
482
 
483
+  /deep/ .el-tabs__content{
484
+    margin-top: 10px;
485
+  }
486
+
482
 </style>
487
 </style>
483
 <style lang="scss">
488
 <style lang="scss">
484
    .a{
489
    .a{

+ 12 - 12
src/xt_pages/stock/query/patientQueryPrint.vue ファイルの表示

15
                         <span class="main_title">患者耗材使用查询表</span>
15
                         <span class="main_title">患者耗材使用查询表</span>
16
                     </div>
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
                     </div>
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
                     </div>
24
                     </div>
25
                     <div class="table_panel">
25
                     <div class="table_panel">
26
                         <table class="table">
26
                         <table class="table">
27
                             <thead>
27
                             <thead>
28
                                 <tr>
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
                                   <td  width="80">数量</td>    
33
                                   <td  width="80">数量</td>    
34
                                                                  
34
                                                                  
35
                                 </tr>
35
                                 </tr>
96
     },
96
     },
97
     methods:{
97
     methods:{
98
       printAction: function() {
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
           printJS({
100
           printJS({
101
           printable: 'print_content',
101
           printable: 'print_content',
102
           type: 'html',
102
           type: 'html',
222
           td {
222
           td {
223
             border: 1px solid;
223
             border: 1px solid;
224
             text-align: center;
224
             text-align: center;
225
-            font-size: 18px;
225
+            font-size: 14px;
226
             padding: 15px 5px;
226
             padding: 15px 5px;
227
           }
227
           }
228
         }
228
         }
232
           td {
232
           td {
233
             border: 1px solid;
233
             border: 1px solid;
234
             text-align: center;
234
             text-align: center;
235
-            font-size: 18px;
235
+            font-size: 14px;
236
             padding: 10px 5px;
236
             padding: 10px 5px;
237
             white-space: pre-line;
237
             white-space: pre-line;
238
             .proj {
238
             .proj {

+ 3 - 2
src/xt_pages/stock/query/purchaseStockQuery.vue ファイルの表示

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

+ 7 - 7
src/xt_pages/stock/query/purchaseStockQueryPrint.vue ファイルの表示

14
                     <div class="order_title_panl">
14
                     <div class="order_title_panl">
15
                         <span class="main_title">药品进销存查询表</span>
15
                         <span class="main_title">药品进销存查询表</span>
16
                     </div>
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
                     </div>
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
                     </div>
22
                     </div>
23
                     <div class="table_panel">
23
                     <div class="table_panel">
24
                         <table class="table">
24
                         <table class="table">
121
     },
121
     },
122
     methods:{
122
     methods:{
123
       printAction: function() {
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
           printJS({
125
           printJS({
126
           printable: 'print_content',
126
           printable: 'print_content',
127
           type: 'html',
127
           type: 'html',
738
           td {
738
           td {
739
             border: 1px solid;
739
             border: 1px solid;
740
             text-align: center;
740
             text-align: center;
741
-            font-size: 18px;
741
+            font-size: 14px;
742
             padding: 15px 5px;
742
             padding: 15px 5px;
743
           }
743
           }
744
         }
744
         }
748
           td {
748
           td {
749
             border: 1px solid;
749
             border: 1px solid;
750
             text-align: center;
750
             text-align: center;
751
-            font-size: 18px;
751
+            font-size: 14px;
752
             padding: 10px 5px;
752
             padding: 10px 5px;
753
             white-space: pre-line;
753
             white-space: pre-line;
754
             .proj {
754
             .proj {

+ 4 - 1
src/xt_pages/stock/stockNewQuery.vue ファイルの表示

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