XMLWAN 2 anos atrás
pai
commit
0f8f9f13ff

+ 8 - 0
src/api/his/his_tools.js Ver arquivo

@@ -38,3 +38,11 @@ export function getHisOrderList(params) {
38 38
     params: params
39 39
   })
40 40
 }
41
+
42
+export function getHisAdviceOrderList(params) {
43
+  return request({
44
+    url: '/api/his/gethisadviceorderlist',
45
+    method: 'get',
46
+    params: params
47
+  })
48
+}

+ 1 - 0
src/lang/zh.js Ver arquivo

@@ -223,6 +223,7 @@ export default {
223 223
     data_upload: '一键上报',
224 224
     fast_upload: '快捷上报',
225 225
     export: '一键导出',
226
+    exportOne: '测试导出',
226 227
     upload_config: '质控上报配置',
227 228
     quality_control: '质控上报',
228 229
     remind_print: '排版提醒打印',

+ 12 - 6
src/router/modules/hisTool.js Ver arquivo

@@ -107,12 +107,18 @@ export default {
107 107
       hidden: true,
108 108
       is_menu: false,
109 109
       meta: { title: 'gatherPrint', noCache: true }
110
+    },
111
+    {
112
+      path: '/hisTool/export',
113
+      component: () => import('@/xt_pages/outpatientTool/export'),
114
+      name: 'export',
115
+      meta: { title: 'export', noCache: true }
116
+    },
117
+    {
118
+      path: '/hisTool/exportOne',
119
+      component: () => import('@/xt_pages/outpatientTool/exportOne'),
120
+      name: 'exportOne',
121
+      meta: { title: 'exportOne', noCache: true }
110 122
     }
111
-    // {
112
-    //   path: '/hisTool/export',
113
-    //   component: () => import('@/xt_pages/outpatientTool/export'),
114
-    //   name: 'export',
115
-    //   meta: { title: 'export', noCache: true }
116
-    // }
117 123
   ]
118 124
 }

+ 0 - 1
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Ver arquivo

@@ -418,7 +418,6 @@
418 418
                             <el-input
419 419
                                     type="number"
420 420
                                     v-model="dialysisPrescription.anticoagulant_gaijiliang"
421
-                                    :disabled="anticoagulant.gaijiliang == 1 ? false : true"
422 421
                                     placeholder="钙剂量"
423 422
                             ></el-input>
424 423
                         </el-form-item>

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue Ver arquivo

@@ -46,7 +46,7 @@
46 46
           <div class="inline_block" style="margin-left: 10px">
47 47
             年龄:
48 48
             <div class="under_line" style="width: 30px; text-align: center">
49
-              {{ getAge(patientInfo) -  getoldAge()}}
49
+              {{ getAge(patientInfo)}}
50 50
             </div>
51 51
52 52
           </div>

+ 75 - 3
src/xt_pages/outpatientTool/export.vue Ver arquivo

@@ -65,6 +65,7 @@
65 65
           end-placeholder="结束日期"
66 66
         >
67 67
         </el-date-picker>
68
+         <el-button  size="small" type="primary" @click="exportList">导出</el-button>
68 69
         <el-table
69 70
         :data="tableList"
70 71
          border
@@ -150,12 +151,14 @@ export default {
150 151
       patient_id: 0,
151 152
       keywords: "",
152 153
       tableList:[],
154
+      tableData:[],
153 155
      chargeDate: [
154 156
         moment(new Date()).add("year", 0).format("YYYY-MM-DD"),
155 157
         moment(new Date()).add("year", 0).format("YYYY-MM-DD"),
156 158
       ],
157 159
       start_time:"",
158
-      end_time:""
160
+      end_time:"",
161
+
159 162
     };
160 163
   },
161 164
 
@@ -235,6 +238,7 @@ export default {
235 238
     handleCurrentChange(row) {
236 239
       this.patient_id = row.id;
237 240
       this.tableList = []
241
+      this.tableData = []
238 242
       this.getHisOrderList(row.id)
239 243
     },
240 244
     getHisOrderList(id){
@@ -294,6 +298,7 @@ export default {
294 298
             }
295 299
             console.log("分类后的数据",newArr)
296 300
             this.tableList = newArr
301
+            this.tableData = newArr
297 302
           }
298 303
           
299 304
          }
@@ -306,6 +311,8 @@ export default {
306 311
     changeDate(){
307 312
       this.start_time = this.chargeDate[0];
308 313
       this.end_time = this.chargeDate[1];  
314
+      this.tableData = []
315
+      this.tableList = []
309 316
       this.getHisOrderList(this.patient_id) 
310 317
     },
311 318
    getTime(val) {
@@ -329,7 +336,6 @@ export default {
329 336
       }
330 337
     },
331 338
     getCount(val){
332
-      console.log("valr233232323",val)
333 339
       var count = 0
334 340
       for(let i=0;i<val.length;i++){
335 341
         count +=val[i].cnt
@@ -350,7 +356,73 @@ export default {
350 356
       }else{
351 357
         return ""
352 358
       }
353
-    }
359
+    },
360
+      exportList(){
361
+         import('@/vendor/Export2Excel').then(excel => {
362
+          console.log("tabledat3323232322323wode",this.tableData)
363
+          for(let i=0;i<this.tableData.length;i++){
364
+             if(this.tableData[i].insutype == 310){
365
+              this.tableData[i].insutype = "职工"
366
+             }
367
+             if(this.tableData[i].insutype == 390){
368
+              this.tableData[i].insutype = "居民"
369
+             }
370
+             
371
+             this.tableData[i].year = this.getTime(this.tableData[i].settle_accounts_date)
372
+             this.tableData[i].month = this.getTimeOne(this.tableData[i].settle_accounts_date)
373
+              
374
+             if(this.tableData[i].med_chrgitm_type == "01"){
375
+               this.tableData[i].med_chrgitm_type = "床位费"
376
+             }
377
+             if(this.tableData[i].med_chrgitm_type == "02"){
378
+               this.tableData[i].med_chrgitm_type = "诊察费"
379
+             }
380
+             if(this.tableData[i].med_chrgitm_type == "03"){
381
+               this.tableData[i].med_chrgitm_type = "检查费"
382
+             }
383
+             if(this.tableData[i].med_chrgitm_type == "04"){
384
+               this.tableData[i].med_chrgitm_type = "化验费"
385
+             }
386
+             if(this.tableData[i].med_chrgitm_type == "05"){
387
+               this.tableData[i].med_chrgitm_type = "治疗费"
388
+             }
389
+             if(this.tableData[i].med_chrgitm_type == "06"){
390
+               this.tableData[i].med_chrgitm_type = "治疗费"
391
+             }
392
+             if(this.tableData[i].med_chrgitm_type == "08"){
393
+               this.tableData[i].med_chrgitm_type = "材料费"
394
+             }
395
+             if(this.tableData[i].med_chrgitm_type == "09"){
396
+               this.tableData[i].med_chrgitm_type = "西药费"
397
+             }
398
+             if(this.tableData[i].med_chrgitm_type == "11"){
399
+               this.tableData[i].med_chrgitm_type = "中成费"
400
+             }
401
+             if(this.tableData[i].med_chrgitm_type == "14"){
402
+               this.tableData[i].med_chrgitm_type = "其他费"
403
+             }
404
+             
405
+             this.tableData[i].sum_count = this.getCount(this.tableData[i].child)
406
+
407
+             this.tableData[i].find_price = this.getAllPrice(this.tableData[i].child)
408
+          }
409
+         const tHeader = ['姓名','身份证','医保类型','年','月','收费项目','数量','金额']
410
+         const filterVal = ['name', 'id_card_no','insutype','year','month','med_chrgitm_type','sum_count','find_price']
411
+
412
+         const data = this.formatJson(filterVal,this.tableData)
413
+
414
+         excel.export_json_to_excel({
415
+           header: tHeader,
416
+           data,
417
+           filename: '药品信息'
418
+         })
419
+          this.downloadLoading = false
420
+
421
+        })
422
+       },
423
+       formatJson(filterVal, jsonData) {
424
+        return jsonData.map(v => filterVal.map(j => v[j]))
425
+       },
354 426
   },
355 427
   created() {
356 428
 

+ 644 - 0
src/xt_pages/outpatientTool/exportOne.vue Ver arquivo

@@ -0,0 +1,644 @@
1
+<template>
2
+  <div class="main-contain new-main-contain">
3
+    <div class="position">
4
+      <bread-crumb :crumbs="crumbs"></bread-crumb>
5
+    </div>
6
+    <div
7
+      class="app-container"
8
+      style="display: flex; flex: 1; padding: 10px 20px 0px 20px"
9
+    >
10
+      <div class="mainLeft">
11
+        <div>
12
+          <div
13
+            style="
14
+              margin: 10px 0;
15
+              display: flex;
16
+              justify-content: space-between;
17
+            "
18
+          >
19
+            <el-input
20
+              size="small"
21
+              style="width: 130px"
22
+              v-model="keywords"
23
+              class="filter-item"
24
+              placeholder="请输入患者名称"
25
+            />
26
+            <el-button
27
+              size="small"
28
+              class="filter-item"
29
+              type="primary"
30
+              @click="searchAction"
31
+              >搜索
32
+            </el-button>
33
+          </div>
34
+
35
+          <el-table
36
+            :row-class-name="tableRowClassName"
37
+            @row-click="onRowClick"
38
+            :data="patientTableData"
39
+            :height="tableHeight"
40
+            border
41
+            style="width: 100%"
42
+            :row-style="{ color: '#303133' }"
43
+            :header-cell-style="{
44
+              backgroundColor: 'rgb(245, 247, 250)',
45
+              color: '#606266',
46
+            }"
47
+            highlight-current-row
48
+            ref="singleTable"
49
+            @current-change="handleCurrentChange"
50
+          >
51
+            <el-table-column align="center" prop="name" label="姓名" wdith="89">
52
+              <template slot-scope="scope">{{ scope.row.name }}</template>
53
+            </el-table-column>
54
+          </el-table>
55
+        </div>
56
+      </div>
57
+      <div class="mainRight">
58
+        <el-date-picker
59
+          v-model="chargeDate"
60
+          type="daterange"
61
+          value-format="yyyy-MM-dd"
62
+          range-separator="至"
63
+          start-placeholder="开始日期"
64
+          @change="changeDate"
65
+          end-placeholder="结束日期"
66
+        >
67
+        </el-date-picker>
68
+         <el-button  size="small" type="primary" @click="exportList">导出</el-button>
69
+        <el-table
70
+        :data="tableList"
71
+         border
72
+        style="width: 100%">
73
+         <el-table-column prop="date" label="姓名"  width="100" align="center">
74
+           <template slot-scope="scope" >
75
+            {{ scope.row.name }}
76
+           </template>
77
+        </el-table-column>
78
+        <el-table-column  prop="date"  label="身份证"  width="200" align="center">
79
+           <template slot-scope="scope" >
80
+            {{ scope.row.id_card_no }}
81
+           </template> 
82
+        </el-table-column>
83
+        <el-table-column prop="name"  label="医保类型" width="100" align="center">
84
+          <template slot-scope="scope" >
85
+            <span v-if="scope.row.insutype == 0">居民</span>
86
+            <span v-if="scope.row.insutype == 310">职工</span>
87
+            <span v-if="scope.row.insutype == 390">居民</span>
88
+           </template>  
89
+        </el-table-column>
90
+        <el-table-column  prop="address" label="年"  width="50" align="center">
91
+          <template slot-scope="scope" >
92
+            {{getTime(scope.row.settle_accounts_date)}}
93
+         </template>  
94
+        </el-table-column>
95
+         <el-table-column prop="address" label="月"  width="50"  align="center">
96
+          <template slot-scope="scope">
97
+            {{getTimeOne(scope.row.settle_accounts_date)}}
98
+           </template>  
99
+        </el-table-column>
100
+         <el-table-column prop="address" label="收费项目"  width="100" align="center">
101
+           <template slot-scope="scope" >
102
+            <span v-if="scope.row.med_chrgitm_type == '01'">床位费</span>
103
+            <span v-if="scope.row.med_chrgitm_type == '02'">诊察费</span>
104
+            <span v-if="scope.row.med_chrgitm_type == '03'">检查费</span>
105
+            <span v-if="scope.row.med_chrgitm_type == '04'">化验费</span>
106
+            <span v-if="scope.row.med_chrgitm_type == '05'">治疗费</span>
107
+            <span v-if="scope.row.med_chrgitm_type == '06'">手术费</span>
108
+            <span v-if="scope.row.med_chrgitm_type == '08'">材料费</span>
109
+            <span v-if="scope.row.med_chrgitm_type == '09'">西药费</span>
110
+            <span v-if="scope.row.med_chrgitm_type == '11'">中成费</span>
111
+            <span v-if="scope.row.med_chrgitm_type == '14'">其他费</span>
112
+           </template>  
113
+        </el-table-column>
114
+         <el-table-column prop="address" label="数量"  width="100" align="center">
115
+           <template slot-scope="scope" >
116
+            {{getCount(scope.row.child)}}
117
+           </template>  
118
+          </el-table-column>
119
+       
120
+         <el-table-column  prop="address"  label="金额"  width="130" align="center">
121
+         <template slot-scope="scope" >
122
+            {{getAllPrice(scope.row.child)}}
123
+           </template>  
124
+        </el-table-column>
125
+         </el-table>
126
+      </div>
127
+    </div>
128
+  </div>
129
+</template>
130
+
131
+<script>
132
+import { GetDetailPatients,getHisAdviceOrderList } from "@/api/his/his_tools";
133
+import BreadCrumb from "@/xt_pages/components/bread-crumb";
134
+const moment = require("moment");
135
+import { uParseTime } from '@/utils/tools'
136
+export default {
137
+  components: {
138
+    BreadCrumb,
139
+  },
140
+  data() {
141
+    return {
142
+      currentRowIndex: 0,
143
+      patientTableData: [],
144
+      tableHeight: 400,
145
+      crumbs: [
146
+        { path: false, name: "His工具" },
147
+        { path: false, name: "明细汇总统计" },
148
+      ],
149
+      titleType: "明细",
150
+      patient_id: 0,
151
+      keywords: "",
152
+      tableList:[],
153
+      tableData:[],
154
+     chargeDate: [
155
+        moment(new Date()).add("year", 0).format("YYYY-MM-DD"),
156
+        moment(new Date()).add("year", 0).format("YYYY-MM-DD"),
157
+      ],
158
+      start_time:"",
159
+      end_time:"",
160
+
161
+    };
162
+  },
163
+
164
+  // beforeRouteEnter(to, from, next){
165
+  //     if(from.path == '/hisTool/detailPrint'){
166
+  //       next((vm) => {
167
+  //         vm.titleType = "明细"
168
+  //       })
169
+  //     }else if(from.path == '/hisTool/gatherPrint'){
170
+  //       vm.titleType = "汇总"
171
+  //       next((vm) => {
172
+  //         vm.titleType = "汇总"
173
+  //       })
174
+  //     }else{
175
+  //       next()
176
+  //     }
177
+  // },
178
+
179
+  //判断列表页是否刷新
180
+  beforeRouteLeave(to, from, next) {
181
+    console.log(to, "beforeRouteEnter");
182
+    if (to.path != "/hisTool/detailPrint"&&to.path != "/hisTool/gatherPrint") {
183
+      this.$store.getters.pagedata.list.table_id = 0
184
+      next()
185
+    } else {
186
+     next()
187
+    }
188
+  },
189
+
190
+  watch:{
191
+    'titleType':{
192
+      handler(val){
193
+        this.$store.commit('SET_PAGENAME',val)
194
+      }
195
+    }
196
+  },
197
+
198
+  methods: {
199
+    getPatientList() {
200
+      var params = {
201
+        keyword: this.keywords,
202
+      };
203
+      GetDetailPatients(params).then((response) => {
204
+        if (response.data.state == 0) {
205
+          this.$message.error(response.data.msg);
206
+          return false;
207
+        } else {
208
+          this.patientTableData = response.data.data.patient;
209
+          this.patient_id = this.patientTableData[0].id;
210
+          if (this.$store.getters.pagedata.list.table_id == 0) {
211
+            this.$refs.singleTable.setCurrentRow(this.patientTableData[0]);
212
+          } else {
213
+            this.$refs.singleTable.setCurrentRow(
214
+              this.patientTableData[
215
+                this.$store.getters.pagedata.list.table_id
216
+              ]
217
+            );
218
+          }
219
+        }
220
+      });
221
+    },
222
+
223
+    tableRowClassName({ row, rowIndex }) {
224
+      row.row_index = rowIndex;
225
+    },
226
+
227
+    onRowClick(row, event, column) {
228
+      this.currentRowIndex = row.row_index;
229
+      this.$store.commit("SET_PAGEDATA", {
230
+        table_id: this.currentRowIndex,
231
+      });
232
+      // console.log(this.$store.getters.pagedata.list.table_id, "列表行id");
233
+    },
234
+    searchAction() {
235
+      this.getPatientList();
236
+    },
237
+    handleCurrentChange(row) {
238
+      this.patient_id = row.id;
239
+      this.tableList = []
240
+      this.tableData = []
241
+      this.getHisAdviceOrderList(row.id)
242
+    },
243
+    getHisAdviceOrderList(id){
244
+       var params = {
245
+        patient_id:id,
246
+        start_time:this.start_time,
247
+        end_time:this.end_time,
248
+       } 
249
+     getHisAdviceOrderList(params).then(response=>{
250
+
251
+     })
252
+    },
253
+    changeDate(){
254
+      this.start_time = this.chargeDate[0];
255
+      this.end_time = this.chargeDate[1];  
256
+      this.tableData = []
257
+      this.tableList = []
258
+      this.getHisAdviceOrderList(this.patient_id) 
259
+    },
260
+   getTime(val) {
261
+     if(val < 0){
262
+       return ""
263
+      }
264
+     if(val == ""){
265
+       return ""
266
+      }else {
267
+      return uParseTime(val, '{y}')
268
+      }
269
+    },
270
+   getTimeOne(val) {
271
+     if(val < 0){
272
+       return ""
273
+      }
274
+     if(val == ""){
275
+       return ""
276
+      }else {
277
+      return uParseTime(val, '{m}')
278
+      }
279
+    },
280
+    getCount(val){
281
+      var count = 0
282
+      for(let i=0;i<val.length;i++){
283
+        count +=val[i].cnt
284
+      }
285
+      if(count >0){
286
+        return count
287
+      }else{
288
+        return ""
289
+      }
290
+    },
291
+    getAllPrice(val){
292
+      var total_price = 0
293
+      for(let i=0;i<val.length;i++){
294
+        total_price +=val[i].cnt * val[i].pric
295
+      }
296
+      if(total_price >0){
297
+        return total_price.toFixed(2)
298
+      }else{
299
+        return ""
300
+      }
301
+    },
302
+      exportList(){
303
+         import('@/vendor/Export2Excel').then(excel => {
304
+          for(let i=0;i<this.tableData.length;i++){
305
+             if(this.tableData[i].insutype == 310){
306
+              this.tableData[i].insutype = "职工"
307
+             }
308
+             if(this.tableData[i].insutype == 390){
309
+              this.tableData[i].insutype = "居民"
310
+             }
311
+             
312
+             this.tableData[i].year = this.getTime(this.tableData[i].settle_accounts_date)
313
+             this.tableData[i].month = this.getTimeOne(this.tableData[i].settle_accounts_date)
314
+              
315
+             if(this.tableData[i].med_chrgitm_type == "01"){
316
+               this.tableData[i].med_chrgitm_type = "床位费"
317
+             }
318
+             if(this.tableData[i].med_chrgitm_type == "02"){
319
+               this.tableData[i].med_chrgitm_type = "诊察费"
320
+             }
321
+             if(this.tableData[i].med_chrgitm_type == "03"){
322
+               this.tableData[i].med_chrgitm_type = "检查费"
323
+             }
324
+             if(this.tableData[i].med_chrgitm_type == "04"){
325
+               this.tableData[i].med_chrgitm_type = "化验费"
326
+             }
327
+             if(this.tableData[i].med_chrgitm_type == "05"){
328
+               this.tableData[i].med_chrgitm_type = "治疗费"
329
+             }
330
+             if(this.tableData[i].med_chrgitm_type == "06"){
331
+               this.tableData[i].med_chrgitm_type = "治疗费"
332
+             }
333
+             if(this.tableData[i].med_chrgitm_type == "08"){
334
+               this.tableData[i].med_chrgitm_type = "材料费"
335
+             }
336
+             if(this.tableData[i].med_chrgitm_type == "09"){
337
+               this.tableData[i].med_chrgitm_type = "西药费"
338
+             }
339
+             if(this.tableData[i].med_chrgitm_type == "11"){
340
+               this.tableData[i].med_chrgitm_type = "中成费"
341
+             }
342
+             if(this.tableData[i].med_chrgitm_type == "14"){
343
+               this.tableData[i].med_chrgitm_type = "其他费"
344
+             }
345
+             
346
+             this.tableData[i].sum_count = this.getCount(this.tableData[i].child)
347
+
348
+             this.tableData[i].find_price = this.getAllPrice(this.tableData[i].child)
349
+          }
350
+         const tHeader = ['姓名','身份证','医保类型','年','月','收费项目','数量','金额']
351
+         const filterVal = ['name', 'id_card_no','insutype','year','month','med_chrgitm_type','sum_count','find_price']
352
+
353
+         const data = this.formatJson(filterVal,this.tableData)
354
+
355
+         excel.export_json_to_excel({
356
+           header: tHeader,
357
+           data,
358
+           filename: '药品信息'
359
+         })
360
+          this.downloadLoading = false
361
+
362
+        })
363
+       },
364
+       formatJson(filterVal, jsonData) {
365
+        return jsonData.map(v => filterVal.map(j => v[j]))
366
+       },
367
+  },
368
+  created() {
369
+
370
+    let type = this.$store.getters.pagedata.pagestate
371
+    if(type == ""){
372
+      this.titleType = "明细"
373
+    }else{
374
+      this.titleType = type
375
+    }
376
+    const tableHeight = document.body.clientHeight - 290;
377
+    this.tableHeight = tableHeight;
378
+    this.start_time = moment(new Date()).add("year", 0).format("YYYY-MM-DD")
379
+    this.end_time = moment(new Date()).add("year", 0).format("YYYY-MM-DD")
380
+    this.getPatientList();
381
+    
382
+  },
383
+
384
+  mounted() {}
385
+};
386
+</script>
387
+
388
+<style lang="scss" scoped>
389
+.new-main-contain {
390
+  height: 100%;
391
+  display: flex;
392
+  flex-direction: column;
393
+}
394
+
395
+.app-container {
396
+  height: 100%;
397
+}
398
+
399
+.mainCell {
400
+  height: 36px;
401
+  display: flex;
402
+  align-items: center;
403
+}
404
+
405
+.mainLeft {
406
+  width: 200px;
407
+  height: 100%;
408
+  display: flex;
409
+  flex-direction: column;
410
+
411
+  .el-radio {
412
+    margin-right: 5px;
413
+  }
414
+}
415
+.mainRight {
416
+  margin-left: 10px;
417
+  flex: 1;
418
+  height: 100%;
419
+  display: flex;
420
+  flex-direction: column;
421
+  overflow-y: auto;
422
+
423
+  .cellSpan {
424
+    min-width: 80px;
425
+    display: inline-block;
426
+    margin-right: 10px;
427
+  }
428
+}
429
+.mainCenter {
430
+  display: flex;
431
+  flex: 1;
432
+}
433
+
434
+.centerLeft {
435
+  flex: 1;
436
+  display: flex;
437
+  flex-direction: column;
438
+  position: relative;
439
+
440
+  .el-form-item {
441
+    width: 32%;
442
+    margin-right: 1%;
443
+    float: left;
444
+  }
445
+
446
+  .el-form-item__label {
447
+    text-align: left;
448
+  }
449
+}
450
+.backColor {
451
+  background: #f6f8f9;
452
+  height: 5px;
453
+  margin-bottom: 5px;
454
+}
455
+
456
+.tabsBox {
457
+  position: relative;
458
+  height: 76%;
459
+  overflow-y: auto;
460
+  margin-bottom: 60px;
461
+
462
+  .el-tabs__item {
463
+    padding: 0 10px;
464
+  }
465
+}
466
+.preTabs {
467
+  height: 100%;
468
+  display: flex;
469
+  flex-direction: column;
470
+
471
+  .el-tabs__content {
472
+    flex: 1;
473
+    overflow-y: auto;
474
+  }
475
+}
476
+
477
+.costBox {
478
+  width: 100%;
479
+  height: 60px;
480
+  background: #fff;
481
+  position: absolute;
482
+  bottom: 0;
483
+  display: flex;
484
+  align-items: center;
485
+}
486
+
487
+.addTab {
488
+  position: absolute;
489
+  right: 0;
490
+  top: 14px;
491
+  z-index: 20;
492
+}
493
+
494
+.centerRight {
495
+  width: 300px;
496
+  margin-left: 10px;
497
+  display: flex;
498
+  flex-direction: column;
499
+  position: relative;
500
+}
501
+
502
+.rightTab {
503
+  height: 40px;
504
+  width: 100%;
505
+  border: 1px solid #d2d2d2;
506
+  box-sizing: border-box;
507
+
508
+  p {
509
+    width: 50%;
510
+    height: 40px;
511
+    line-height: 40px;
512
+    text-align: center;
513
+    background: #eee;
514
+    float: left;
515
+  }
516
+
517
+  > p:last-child {
518
+    border-left: 1px solid #d2d2d2;
519
+    float: right;
520
+  }
521
+
522
+  .activeP {
523
+    background: #409eff;
524
+    color: #fff;
525
+  }
526
+}
527
+.comfirmBox {
528
+  width: 100%;
529
+  height: 60px;
530
+  background: #fff;
531
+  position: absolute;
532
+  bottom: 0;
533
+  display: flex;
534
+  align-items: center;
535
+  justify-content: space-between;
536
+}
537
+
538
+.mainHeader {
539
+  width: 100%;
540
+  background: #fff;
541
+  position: fixed;
542
+  z-index: 100;
543
+  height: 36px;
544
+}
545
+
546
+.titleBox {
547
+  position: fixed;
548
+  z-index: 99;
549
+  background: #fff;
550
+}
551
+
552
+.fixedCell {
553
+  position: fixed;
554
+  z-index: 99;
555
+  right: 30px;
556
+  background: #fff;
557
+  width: 300px;
558
+  display: flex;
559
+  justify-content: space-between;
560
+}
561
+</style>
562
+
563
+<style lang="scss">
564
+.centerLeft {
565
+  .el-form-item__label {
566
+    text-align: left;
567
+  }
568
+}
569
+.tabsBox {
570
+  .el-tabs__item {
571
+    padding: 0 10px;
572
+  }
573
+
574
+  .el-tabs--bottom
575
+    .el-tabs--left
576
+    > .el-tabs__header
577
+    .el-tabs__item:nth-child(2),
578
+  .el-tabs--bottom
579
+    .el-tabs--right
580
+    > .el-tabs__header
581
+    .el-tabs__item:nth-child(2),
582
+  .el-tabs--bottom.el-tabs--border-card
583
+    > .el-tabs__header
584
+    .el-tabs__item:nth-child(2),
585
+  .el-tabs--bottom.el-tabs--card > .el-tabs__header .el-tabs__item:nth-child(2),
586
+  .el-tabs--top .el-tabs--left > .el-tabs__header .el-tabs__item:nth-child(2),
587
+  .el-tabs--top .el-tabs--right > .el-tabs__header .el-tabs__item:nth-child(2),
588
+  .el-tabs--top.el-tabs--border-card
589
+    > .el-tabs__header
590
+    .el-tabs__item:nth-child(2),
591
+  .el-tabs--top.el-tabs--card > .el-tabs__header .el-tabs__item:nth-child(2) {
592
+    padding: 0 10px;
593
+  }
594
+
595
+  .el-tabs--bottom .el-tabs--left > .el-tabs__header .el-tabs__item:last-child,
596
+  .el-tabs--bottom .el-tabs--right > .el-tabs__header .el-tabs__item:last-child,
597
+  .el-tabs--bottom.el-tabs--border-card
598
+    > .el-tabs__header
599
+    .el-tabs__item:last-child,
600
+  .el-tabs--bottom.el-tabs--card > .el-tabs__header .el-tabs__item:last-child,
601
+  .el-tabs--top .el-tabs--left > .el-tabs__header .el-tabs__item:last-child,
602
+  .el-tabs--top .el-tabs--right > .el-tabs__header .el-tabs__item:last-child,
603
+  .el-tabs--top.el-tabs--border-card
604
+    > .el-tabs__header
605
+    .el-tabs__item:last-child,
606
+  .el-tabs--top.el-tabs--card > .el-tabs__header .el-tabs__item:last-child {
607
+    padding: 0 10px;
608
+  }
609
+
610
+  .el-tabs--card > .el-tabs__header .el-tabs__item.is-active.is-closable {
611
+    padding: 0 10px;
612
+  }
613
+}
614
+.centerRight {
615
+  .el-tabs__nav-scroll {
616
+    display: flex;
617
+  }
618
+
619
+  .el-tabs__nav {
620
+    margin: 0 auto;
621
+  }
622
+
623
+  .el-table th .cell,
624
+  .el-table td .cell {
625
+    padding: 0 2px;
626
+  }
627
+}
628
+.preTabs {
629
+  .el-tabs__content {
630
+  }
631
+}
632
+.rightTabs {
633
+  height: 100%;
634
+
635
+  .el-tabs__content {
636
+  }
637
+}
638
+.centerDialog {
639
+  .el-dialog__body {
640
+    max-height: calc(100vh - 100px) !important;
641
+    padding: 0 20px;
642
+  }
643
+}
644
+</style>

+ 2 - 2
src/xt_pages/stock/drugs/drugStockInOrder.vue Ver arquivo

@@ -77,7 +77,7 @@
77 77
             @change="endTimeChange"
78 78
           ></el-date-picker>
79 79
         </div>
80
-        <div style="margin-left: 10px">
80
+        <!-- <div style="margin-left: 10px">
81 81
           <span>审核状态:</span>
82 82
           <el-select
83 83
             v-model="check_id"
@@ -93,7 +93,7 @@
93 93
             >
94 94
             </el-option>
95 95
           </el-select>
96
-        </div>
96
+        </div> -->
97 97
       </div>
98 98
 
99 99
       <div class="cell clearfix">

+ 2 - 2
src/xt_pages/stock/drugs/drugStockOutOrder.vue Ver arquivo

@@ -76,7 +76,7 @@
76 76
             @change="endTimeChange"
77 77
           ></el-date-picker>
78 78
         </div>
79
-         <div style="margin-left: 10px">
79
+         <!-- <div style="margin-left: 10px">
80 80
           <span>审核状态:</span>
81 81
           <el-select
82 82
             v-model="check_id"
@@ -92,7 +92,7 @@
92 92
             >
93 93
             </el-option>
94 94
           </el-select>
95
-        </div>
95
+        </div> -->
96 96
       </div>
97 97
 
98 98
       <div class="cell clearfix">

+ 2 - 2
src/xt_pages/stock/stockInOrder.vue Ver arquivo

@@ -71,7 +71,7 @@
71 71
             @change="endTimeChange"
72 72
           ></el-date-picker>
73 73
         </div>
74
-        <div style="margin-left: 10px">
74
+        <!-- <div style="margin-left: 10px">
75 75
           <span>审核状态:</span>
76 76
           <el-select
77 77
             v-model="check_id"
@@ -87,7 +87,7 @@
87 87
             >
88 88
             </el-option>
89 89
           </el-select>
90
-        </div>
90
+        </div> -->
91 91
  
92 92
       </div>
93 93
 

+ 2 - 2
src/xt_pages/stock/stockOutOrder.vue Ver arquivo

@@ -76,7 +76,7 @@
76 76
             @change="endTimeChange"
77 77
           ></el-date-picker>
78 78
         </div>
79
-        <div style="margin-left: 10px">
79
+        <!-- <div style="margin-left: 10px">
80 80
           <span>审核状态:</span>
81 81
           <el-select
82 82
             v-model="check_id"
@@ -92,7 +92,7 @@
92 92
             >
93 93
             </el-option>
94 94
           </el-select>
95
-        </div>
95
+        </div> -->
96 96
       </div>
97 97
 
98 98
       <div class="cell clearfix">