|
@@ -1,157 +1,147 @@
|
1
|
1
|
<template>
|
2
|
|
- <div class="main-contain summaryDetail">
|
3
|
|
- <div class="position">
|
4
|
|
- <bread-crumb :crumbs='crumbs'></bread-crumb>
|
5
|
|
- </div>
|
6
|
|
- <el-popover
|
|
2
|
+ <div class="main-contain summaryDetail">
|
|
3
|
+ <div class="position">
|
|
4
|
+ <bread-crumb :crumbs='crumbs'></bread-crumb>
|
|
5
|
+ </div>
|
|
6
|
+ <el-popover
|
7
|
7
|
placement="bottom"
|
8
|
8
|
width="210"
|
9
|
9
|
trigger="click">
|
10
|
|
- <el-button size="small" ref="button_two" @click="open(1)">打印清单</el-button>
|
11
|
|
- <el-button size="small" ref="button_six" @click="open(2)">打印汇总</el-button>
|
12
|
|
- <el-button slot="reference" style="margin:10px 10px;float: right" type="primary" size="small" >打印</el-button>
|
13
|
|
-
|
14
|
|
- </el-popover>
|
15
|
|
- <div class="app-container" style="display:flex;flex: 1;padding: 20px 20px 0px 20px;">
|
16
|
|
- <div class="mainCenter">
|
17
|
|
- <div class="centerLeft">
|
18
|
|
- <div class="tabsBox">
|
19
|
|
- <el-table :data="tableData" border style="width: 100%;"
|
20
|
|
- :row-style="{ color: '#303133' }"
|
21
|
|
- :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>
|
22
|
|
-
|
23
|
|
- <el-table-column align="center" prop="project_name" label="名称">
|
24
|
|
- <template slot-scope="scope">{{ scope.row.name }}</template>
|
25
|
|
- </el-table-column>
|
26
|
|
-
|
27
|
|
- <el-table-column align="center" prop="project_name" label="分类" width="100">
|
28
|
|
- <template slot-scope="scope">{{ scope.row.type == 1?'药品': scope.row.project_type == 2? '项目':'耗材'}}</template>
|
29
|
|
- </el-table-column>
|
30
|
|
-
|
31
|
|
-
|
32
|
|
- <el-table-column align="center" prop="single_dose" width="80" label="单次用量">
|
33
|
|
- <template slot-scope="scope">{{scope.row.single_dose}} {{scope.row.single_dose_unit}}</template>
|
34
|
|
-
|
35
|
|
- </el-table-column>
|
36
|
|
- <el-table-column align="center" prop="delivery_way" width="90" label="用法">
|
37
|
|
- <template slot-scope="scope">
|
38
|
|
- <!--<el-input v-model="scope.row.delivery_way" placeholder="" readonly></el-input>-->
|
39
|
|
- {{scope.row.delivery_way}}
|
40
|
|
-
|
41
|
|
- </template>
|
42
|
|
- </el-table-column>
|
43
|
|
- <el-table-column align="center" prop="execution_frequency" width="90" label="频率">
|
44
|
|
- <template slot-scope="scope">{{scope.row.execution_frequency}}</template>
|
45
|
|
- </el-table-column>
|
46
|
|
- <el-table-column align="center" prop="number_days" width="60" label="天数">
|
47
|
|
- <template slot-scope="scope">
|
48
|
|
- <!--<el-input v-model="scope.row.number_days" placeholder="" readonly></el-input>-->
|
49
|
|
- {{scope.row.day}}天
|
50
|
|
-
|
51
|
|
- </template>
|
52
|
|
- </el-table-column>
|
53
|
|
- <el-table-column align="center" prop="total" width="60" label="总量">
|
54
|
|
- <template slot-scope="scope">{{scope.row.count}} {{scope.row.prescribing_number_unit}}</template>
|
55
|
|
- </el-table-column>
|
56
|
|
- <el-table-column align="center" prop="name" width="60" label="单价">
|
57
|
|
- <template slot-scope="scope">
|
58
|
|
- <!--<el-input v-model="scope.row.price" placeholder="" readonly></el-input>-->
|
59
|
|
- {{scope.row.price}}元
|
60
|
|
-
|
61
|
|
- </template>
|
62
|
|
- </el-table-column>
|
63
|
|
-
|
64
|
|
- <el-table-column align="center" prop="name" width="60" label="总价">
|
65
|
|
- <template slot-scope="scope">
|
66
|
|
- <!--<el-input v-model="scope.row.price" placeholder="" readonly></el-input>-->
|
67
|
|
- {{scope.row.price.toFixed(2)}}元
|
68
|
|
-
|
69
|
|
- </template>
|
70
|
|
- </el-table-column>
|
71
|
|
-
|
72
|
|
-
|
73
|
|
- <el-table-column align="center" prop="name" width="80" label="备注">
|
74
|
|
- <template slot-scope="scope">
|
75
|
|
- <!--<el-input v-model="scope.row.remark" readonly></el-input>-->
|
76
|
|
- {{scope.row.remark}}
|
77
|
|
-
|
78
|
|
- </template>
|
79
|
|
- </el-table-column>
|
80
|
|
- </el-table>
|
81
|
|
-
|
82
|
|
- <div class="additionalBox">
|
83
|
|
- <div class="additionalOne" v-for="(item,index) in additions" :key="index">
|
84
|
|
- <span :title="item.item_name">{{item.item_name}}</span>
|
85
|
|
- <el-input v-model="item.price" placeholder="" style="width:50px;" readonly></el-input>
|
86
|
|
- 共
|
87
|
|
- <el-input v-model="item.count" placeholder="" style="width:50px;" readonly></el-input>
|
88
|
|
- 次
|
89
|
|
- <!--<i class="el-icon-delete deleteIcon" @click="delAddition(index,item)"></i>-->
|
90
|
|
- </div>
|
91
|
|
- </div>
|
92
|
|
-
|
93
|
|
- </div>
|
94
|
|
- <div class="costBox">
|
95
|
|
- <span>当前处方总费用:<span style="color:red;">{{ order.medfee_sumamt.toFixed(2)}}元</span></span>
|
96
|
|
- <span v-if="order.order_status == 1">待结算</span>
|
97
|
|
- <span v-if="order.order_status == 2">已结算</span>
|
98
|
|
- <span v-if="order.order_status == 3">已退费</span>
|
99
|
|
-
|
100
|
|
-
|
101
|
|
- </div>
|
102
|
|
- </div>
|
103
|
|
- <div class="centerRight">
|
104
|
|
- <p class="centerRightTitle">人员信息</p>
|
105
|
|
- <ul class="basicUl">
|
106
|
|
- <li style="width:50%;">姓名:{{patientInfo.name}}</li>
|
107
|
|
- <li style="width:50%;">性别:{{patientInfo.gender == 1 ? '男' : '女' }}</li>
|
108
|
|
- <li style="width:50%;">年龄:{{patientInfo.age }}</li>
|
109
|
|
- <li style="width:50%;">身高:{{patientInfo.height?patientInfo.height:''}}</li>
|
110
|
|
- <li style="width:50%;">体重:{{patientInfo.weight?patientInfo.weight:''}}</li>
|
111
|
|
- <li style="width:50%;">电话:{{patientInfo.phone}}</li>
|
112
|
|
- </ul>
|
113
|
|
- <p class="centerRightTitle" style="margin-top:10px;">收费信息</p>
|
114
|
|
- <ul class="basicUl">
|
115
|
|
- <li style="width:50%;">应收金额:{{order.medfee_sumamt.toFixed(2) }}元</li>
|
116
|
|
- <li style="width:50%;">实收金额:{{order.reality_price.toFixed(2)}}元</li>
|
117
|
|
- <li style="width:50%;">舍入金额:{{order.medfee_sumamt.toFixed(2) - order.reality_price.toFixed(2)}}元</li>
|
118
|
|
- <li style="width:50%;">优惠金额:{{order.preferential_price.toFixed(2)}}元</li>
|
119
|
|
- <li style="width:50%;">总金额</li>
|
120
|
|
- <li style="width:50%;">{{order.medfee_sumamt.toFixed(2)}}元</li>
|
121
|
|
- </ul>
|
122
|
|
- <!--<p class="centerRightTitle">发票费用</p>-->
|
123
|
|
- <!--<ul class="basicUl">-->
|
124
|
|
- <!--<li style="width:100%;">西药费:0.00元</li>-->
|
125
|
|
- <!--</ul>-->
|
126
|
|
- </div>
|
127
|
|
- </div>
|
|
10
|
+ <el-button size="small" ref="button_two" @click="open(1)">打印清单</el-button>
|
|
11
|
+ <el-button size="small" ref="button_six" @click="open(2)">打印汇总</el-button>
|
|
12
|
+ <el-button slot="reference" style="margin:10px 10px;float: right" type="primary" size="small" >打印</el-button>
|
|
13
|
+
|
|
14
|
+ </el-popover>
|
|
15
|
+ <div class="app-container" style="display:flex;flex: 1;padding: 20px 20px 0px 20px;">
|
|
16
|
+ <div class="mainCenter">
|
|
17
|
+ <div class="centerLeft">
|
|
18
|
+ <div class="tabsBox">
|
|
19
|
+ <el-table :data="tableData" border style="width: 100%;"
|
|
20
|
+ :row-style="{ color: '#303133' }"
|
|
21
|
+ :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>
|
|
22
|
+
|
|
23
|
+ <el-table-column align="center" prop="project_name" label="名称">
|
|
24
|
+ <template slot-scope="scope">{{ scope.row.name }}</template>
|
|
25
|
+ </el-table-column>
|
|
26
|
+
|
|
27
|
+ <el-table-column align="center" prop="project_name" label="分类" width="100">
|
|
28
|
+ <template slot-scope="scope">{{ scope.row.type == 1?'药品': scope.row.project_type == 2? '项目':'耗材'}}</template>
|
|
29
|
+ </el-table-column>
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+ <el-table-column align="center" prop="single_dose" width="80" label="单次用量">
|
|
33
|
+ <template slot-scope="scope">{{scope.row.single_dose}} {{scope.row.single_dose_unit}}</template>
|
|
34
|
+
|
|
35
|
+ </el-table-column>
|
|
36
|
+ <el-table-column align="center" prop="delivery_way" width="90" label="用法">
|
|
37
|
+ <template slot-scope="scope">
|
|
38
|
+ <!--<el-input v-model="scope.row.delivery_way" placeholder="" readonly></el-input>-->
|
|
39
|
+ {{scope.row.delivery_way}}
|
|
40
|
+
|
|
41
|
+ </template>
|
|
42
|
+ </el-table-column>
|
|
43
|
+ <el-table-column align="center" prop="execution_frequency" width="90" label="频率">
|
|
44
|
+ <template slot-scope="scope">{{scope.row.execution_frequency}}</template>
|
|
45
|
+ </el-table-column>
|
|
46
|
+
|
|
47
|
+ <el-table-column align="center" prop="total" width="60" label="总量">
|
|
48
|
+ <template slot-scope="scope">{{scope.row.count}} {{scope.row.prescribing_number_unit}}</template>
|
|
49
|
+ </el-table-column>
|
|
50
|
+ <el-table-column align="center" prop="name" width="60" label="单价">
|
|
51
|
+ <template slot-scope="scope">
|
|
52
|
+ <!--<el-input v-model="scope.row.price" placeholder="" readonly></el-input>-->
|
|
53
|
+ {{scope.row.price.toFixed(2)}}元
|
|
54
|
+
|
|
55
|
+ </template>
|
|
56
|
+ </el-table-column>
|
|
57
|
+
|
|
58
|
+ <el-table-column align="center" prop="name" width="60" label="总价">
|
|
59
|
+ <template slot-scope="scope">
|
|
60
|
+ <!--<el-input v-model="scope.row.price" placeholder="" readonly></el-input>-->
|
|
61
|
+ {{scope.row.price.toFixed(2)}}元
|
|
62
|
+
|
|
63
|
+ </template>
|
|
64
|
+ </el-table-column>
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+ <el-table-column align="center" prop="name" width="80" label="备注">
|
|
68
|
+ <template slot-scope="scope">
|
|
69
|
+ <!--<el-input v-model="scope.row.remark" readonly></el-input>-->
|
|
70
|
+ {{scope.row.remark}}
|
|
71
|
+
|
|
72
|
+ </template>
|
|
73
|
+ </el-table-column>
|
|
74
|
+ </el-table>
|
|
75
|
+
|
|
76
|
+<!-- <div class="additionalBox">-->
|
|
77
|
+<!-- <div class="additionalOne" v-for="(item,index) in additions" :key="index">-->
|
|
78
|
+<!-- <span :title="item.item_name">{{item.item_name}}</span>-->
|
|
79
|
+<!-- <el-input v-model="item.price" placeholder="" style="width:50px;" readonly></el-input>-->
|
|
80
|
+<!-- 共-->
|
|
81
|
+<!-- <el-input v-model="item.count" placeholder="" style="width:50px;" readonly></el-input>-->
|
|
82
|
+<!-- 次-->
|
|
83
|
+<!-- <!–<i class="el-icon-delete deleteIcon" @click="delAddition(index,item)"></i>–>-->
|
|
84
|
+<!-- </div>-->
|
|
85
|
+<!-- </div>-->
|
|
86
|
+
|
|
87
|
+ </div>
|
|
88
|
+ <div class="costBox">
|
|
89
|
+ <span>当前处方总费用:<span style="color:red;">{{ order.medfee_sumamt}}元</span></span>
|
|
90
|
+ <span v-if="order.order_status == 1">待结算</span>
|
|
91
|
+ <span v-if="order.order_status == 2">已结算</span>
|
|
92
|
+ <span v-if="order.order_status == 3">已退费</span>
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+ </div>
|
128
|
96
|
</div>
|
|
97
|
+ <div class="centerRight">
|
|
98
|
+ <p class="centerRightTitle">人员信息</p>
|
|
99
|
+ <ul class="basicUl">
|
|
100
|
+ <li style="width:50%;">姓名:{{patientInfo.name}}</li>
|
|
101
|
+ <li style="width:50%;">性别:{{patientInfo.gender == 1 ? '男' : '女' }}</li>
|
|
102
|
+ <li style="width:50%;">年龄:{{patientInfo.age }}</li>
|
|
103
|
+ <li style="width:50%;">身高:{{patientInfo.height?patientInfo.height:''}}</li>
|
|
104
|
+ <li style="width:50%;">体重:{{patientInfo.weight?patientInfo.weight:''}}</li>
|
|
105
|
+ <li style="width:50%;">电话:{{patientInfo.phone}}</li>
|
|
106
|
+ </ul>
|
|
107
|
+ <p class="centerRightTitle" style="margin-top:10px;">收费信息</p>
|
|
108
|
+ <ul >
|
|
109
|
+ <li style="width:30%;">医疗费总额:{{order.medfee_sumamt.toFixed(2) }}元</li>
|
|
110
|
+ <li style="width:30%;">基金支付总额:{{order.fund_pay_sumamt.toFixed(2)}}元</li>
|
|
111
|
+ <li style="width:30%;">基本医疗保险统筹基金支出:{{order.hifp_pay}}元</li>
|
|
112
|
+ <li style="width:30%;">医疗救助基金支出:{{order.maf_pay.toFixed(2)}}元</li>
|
|
113
|
+ <li style="width:30%;">个人账户支付金额:{{ order.acct_pay}}</li>
|
|
114
|
+ <li style="width:30%;">个人支付金额:{{order.psn_cash_pay.toFixed(2)}}元</li>
|
|
115
|
+ </ul>
|
129
|
116
|
|
130
|
|
- <div v-if="listVisible">
|
|
117
|
+ </div>
|
|
118
|
+ </div>
|
|
119
|
+ </div>
|
|
120
|
+
|
|
121
|
+ <div v-if="listVisible">
|
131
|
122
|
<el-dialog
|
132
|
|
- class="centerDialog"
|
133
|
|
- width="900px"
|
134
|
|
- title="打印"
|
135
|
|
- :visible.sync="listVisible">
|
|
123
|
+ class="centerDialog"
|
|
124
|
+ width="900px"
|
|
125
|
+ title="打印"
|
|
126
|
+ :visible.sync="listVisible">
|
136
|
127
|
<list-print :paramsObj='paramsObj'></list-print>
|
137
|
128
|
</el-dialog>
|
138
|
|
- </div>
|
|
129
|
+ </div>
|
139
|
130
|
|
140
|
|
- <div v-if="allListVisible">
|
|
131
|
+ <div v-if="allListVisible">
|
141
|
132
|
<el-dialog
|
142
|
|
- class="centerDialog"
|
143
|
|
- width="900px"
|
144
|
|
- title="打印"
|
145
|
|
- :visible.sync="allListVisible">
|
|
133
|
+ class="centerDialog"
|
|
134
|
+ width="900px"
|
|
135
|
+ title="打印"
|
|
136
|
+ :visible.sync="allListVisible">
|
146
|
137
|
<all-list-print :paramsObj='paramsObj'></all-list-print>
|
147
|
138
|
</el-dialog>
|
148
|
|
- </div>
|
|
139
|
+ </div>
|
149
|
140
|
|
150
|
141
|
|
151
|
|
- </div>
|
|
142
|
+ </div>
|
152
|
143
|
</template>
|
153
|
144
|
|
154
|
|
-
|
155
|
145
|
<script>
|
156
|
146
|
import BreadCrumb from '@/xt_pages/components/bread-crumb'
|
157
|
147
|
import { getHisOrder } from '@/api/his/his'
|
|
@@ -161,69 +151,65 @@ import ListPrint from './listPrint'
|
161
|
151
|
import AllListPrint from './allListPrint'
|
162
|
152
|
|
163
|
153
|
export default {
|
164
|
|
- components:{
|
165
|
|
- AllListPrint,
|
166
|
|
- ListPrint,
|
167
|
|
- BreadCrumb,
|
168
|
|
- prescriptionTable,
|
169
|
|
-
|
170
|
|
- },
|
171
|
|
- data(){
|
172
|
|
- return{
|
173
|
|
- listVisible:false,
|
174
|
|
- allListVisible:false,
|
175
|
|
- paramsObj:{
|
176
|
|
- id:this.$route.query.id,
|
177
|
|
- balance_accounts_type:0
|
178
|
|
- },
|
179
|
|
- crumbs: [
|
180
|
|
- { path: false, name: '门诊收费' },
|
181
|
|
- { path: false, name: '项目消费明细汇总详情' }
|
182
|
|
- ],
|
183
|
|
- info: {},
|
184
|
|
- curPrescriptions: {},
|
185
|
|
- prescriptions: [],
|
186
|
|
- record_date: '',
|
187
|
|
- tableData: [],
|
188
|
|
- additions:[],
|
189
|
|
- editableTabsValue: '1',
|
190
|
|
- loadingone: false,
|
191
|
|
- editableTabs: [{
|
192
|
|
- title: '处方1',
|
193
|
|
- name: '1'
|
194
|
|
- }],
|
195
|
|
- tabIndex: 1,
|
196
|
|
- hisPatientInfo: {},
|
197
|
|
- loadingtwo: false,
|
198
|
|
- patientTableData: [{
|
199
|
|
- name: '杨美英',
|
200
|
|
- mdtrt_id: '1709946'
|
201
|
|
- }],
|
202
|
|
- patientInfo: { id: 0 },
|
203
|
|
- doctor: {},
|
204
|
|
- total: 0,
|
205
|
|
- state: '未收费',
|
206
|
|
- radio: 1,
|
207
|
|
- radioStatus: 1,
|
208
|
|
- search_input: '',
|
209
|
|
- order:{},
|
210
|
|
- }
|
211
|
|
- },created(){
|
212
|
|
- this.GetOrderDetail()
|
213
|
|
- },methods:{
|
214
|
|
- open(val){
|
215
|
|
- if(val == 1){
|
216
|
|
- this.paramsObj.id == this.$route.query.id
|
217
|
|
- this.paramsObj.balance_accounts_type = this.hisPatientInfo.balance_accounts_type
|
218
|
|
- this.listVisible = true
|
219
|
|
-
|
220
|
|
- }else if(val == 2){
|
221
|
|
- this.paramsObj.id == this.$route.query.id
|
222
|
|
- this.paramsObj.balance_accounts_type = this.hisPatientInfo.balance_accounts_type
|
223
|
|
-
|
224
|
|
- this.allListVisible = true
|
225
|
|
- }
|
|
154
|
+ components:{
|
|
155
|
+ AllListPrint,
|
|
156
|
+ ListPrint,
|
|
157
|
+ BreadCrumb,
|
|
158
|
+ prescriptionTable,
|
|
159
|
+
|
|
160
|
+ },
|
|
161
|
+ data(){
|
|
162
|
+ return{
|
|
163
|
+ listVisible:false,
|
|
164
|
+ allListVisible:false,
|
|
165
|
+ paramsObj:{
|
|
166
|
+ id:this.$route.query.id
|
226
|
167
|
},
|
|
168
|
+ crumbs: [
|
|
169
|
+ { path: false, name: '门诊收费' },
|
|
170
|
+ { path: false, name: '项目消费明细汇总详情' }
|
|
171
|
+ ],
|
|
172
|
+ info: {},
|
|
173
|
+ curPrescriptions: {},
|
|
174
|
+ prescriptions: [],
|
|
175
|
+ record_date: '',
|
|
176
|
+ tableData: [],
|
|
177
|
+ additions:[],
|
|
178
|
+ editableTabsValue: '1',
|
|
179
|
+ loadingone: false,
|
|
180
|
+ editableTabs: [{
|
|
181
|
+ title: '处方1',
|
|
182
|
+ name: '1'
|
|
183
|
+ }],
|
|
184
|
+ tabIndex: 1,
|
|
185
|
+ hisPatientInfo: {},
|
|
186
|
+ loadingtwo: false,
|
|
187
|
+ patientTableData: [{
|
|
188
|
+ name: '杨美英',
|
|
189
|
+ mdtrt_id: '1709946'
|
|
190
|
+ }],
|
|
191
|
+ patientInfo: { id: 0 },
|
|
192
|
+ doctor: {},
|
|
193
|
+ total: 0,
|
|
194
|
+ state: '未收费',
|
|
195
|
+ radio: 1,
|
|
196
|
+ radioStatus: 1,
|
|
197
|
+ search_input: '',
|
|
198
|
+ order:{},
|
|
199
|
+ }
|
|
200
|
+ },created(){
|
|
201
|
+ this.GetOrderDetail()
|
|
202
|
+ },methods:{
|
|
203
|
+ open(val){
|
|
204
|
+ if(val == 1){
|
|
205
|
+ this.paramsObj.id == this.$route.query.id
|
|
206
|
+ this.listVisible = true
|
|
207
|
+
|
|
208
|
+ }else if(val == 2){
|
|
209
|
+ this.paramsObj.id == this.$route.query.id
|
|
210
|
+ this.allListVisible = true
|
|
211
|
+ }
|
|
212
|
+ },
|
227
|
213
|
// getTotal() {
|
228
|
214
|
// var total = 0
|
229
|
215
|
// for (let i = 0; i < this.prescriptions.length; i++) {
|
|
@@ -334,11 +320,11 @@ export default {
|
334
|
320
|
}
|
335
|
321
|
let project_ids = []
|
336
|
322
|
|
337
|
|
- let addition_month_prescriptions = {
|
338
|
|
- addition: []
|
339
|
|
-
|
340
|
|
- }
|
341
|
|
- let additions_ids = []
|
|
323
|
+ // let addition_month_prescriptions = {
|
|
324
|
+ // addition: []
|
|
325
|
+ //
|
|
326
|
+ // }
|
|
327
|
+ // let additions_ids = []
|
342
|
328
|
|
343
|
329
|
for (let i = 0; i < month_prescriptions.length; i++) {
|
344
|
330
|
if (month_prescriptions[i].type == 1) { //药品
|
|
@@ -379,7 +365,7 @@ export default {
|
379
|
365
|
|
380
|
366
|
drug_ids = this.unique(drug_ids)
|
381
|
367
|
project_ids= this.unique(project_ids)
|
382
|
|
- additions_ids= this.unique(additions_ids)
|
|
368
|
+ // additions_ids= this.unique(additions_ids)
|
383
|
369
|
|
384
|
370
|
|
385
|
371
|
|
|
@@ -492,59 +478,59 @@ export default {
|
492
|
478
|
// var prescription = response.data.data.prescription[i]
|
493
|
479
|
|
494
|
480
|
|
495
|
|
- // for (let b = 0; b < prescription.advices.length; b++) {
|
496
|
|
- // let obj = {
|
497
|
|
- // name: prescription.advices[b].advice_name,
|
498
|
|
- // statistical_classification:"",
|
499
|
|
- // type:1,
|
500
|
|
- // single_dose: prescription.advices[b].single_dose,
|
501
|
|
- // delivery_way: prescription.advices[b].delivery_way,
|
502
|
|
- // execution_frequency: prescription.advices[b].execution_frequency,
|
503
|
|
- // price: prescription.advices[b].price.toString(),
|
504
|
|
- // day: prescription.advices[b].day,
|
505
|
|
- // count:prescription.advices[b].prescribing_number.toString(),
|
506
|
|
- // remark: prescription.advices[b].remark,
|
507
|
|
- // single_dose_unit: prescription.advices[b].single_dose_unit,
|
508
|
|
- // prescribing_number_unit: prescription.advices[b].prescribing_number_unit,
|
509
|
|
- //
|
510
|
|
- // }
|
511
|
|
- // this.tableData.push(obj)
|
512
|
|
- // }
|
513
|
|
- //
|
514
|
|
- // for (let b = 0; b < prescription.project.length; b++) {
|
515
|
|
- // let obj = {
|
516
|
|
- // name: prescription.project[b].project.project_name,
|
517
|
|
- // statistical_classification: prescription.project[b].project.statistical_classification,
|
518
|
|
- // single_dose: prescription.project[b].single_dose,
|
519
|
|
- // delivery_way: prescription.project[b].delivery_way,
|
520
|
|
- // execution_frequency: prescription.project[b].execution_frequency,
|
521
|
|
- // price: prescription.project[b].price,
|
522
|
|
- // day: prescription.project[b].day,
|
523
|
|
- // count: prescription.project[b].count.toString(),
|
524
|
|
- // remark: prescription.project[b].remark,
|
525
|
|
- // single_dose_unit:prescription.project[b].project.unit,
|
526
|
|
- // prescribing_number_unit:prescription.project[b].project.unit,
|
527
|
|
- // type:2,
|
528
|
|
- // }
|
529
|
|
- // this.tableData.push(obj)
|
530
|
|
- // }
|
531
|
|
- //
|
532
|
|
- // for (let b = 0; b < prescription.addition.length; b++) {
|
533
|
|
- // this.additions.push( prescription.addition[b])
|
534
|
|
- // }
|
535
|
|
-
|
536
|
|
-
|
537
|
|
-
|
538
|
|
- // let index = i + 1
|
539
|
|
- // let obj = {
|
540
|
|
- // id: prescription.id,
|
541
|
|
- // name: '处方' + index,
|
542
|
|
- // advices: tempAdvice,
|
543
|
|
- // project: tempProject,
|
544
|
|
- // type: response.data.data.prescription[i].type
|
545
|
|
- // }
|
546
|
|
- // this.prescriptions.push(obj)
|
547
|
|
- // this.curPrescriptions = this.prescriptions[0]
|
|
481
|
+ // for (let b = 0; b < prescription.advices.length; b++) {
|
|
482
|
+ // let obj = {
|
|
483
|
+ // name: prescription.advices[b].advice_name,
|
|
484
|
+ // statistical_classification:"",
|
|
485
|
+ // type:1,
|
|
486
|
+ // single_dose: prescription.advices[b].single_dose,
|
|
487
|
+ // delivery_way: prescription.advices[b].delivery_way,
|
|
488
|
+ // execution_frequency: prescription.advices[b].execution_frequency,
|
|
489
|
+ // price: prescription.advices[b].price.toString(),
|
|
490
|
+ // day: prescription.advices[b].day,
|
|
491
|
+ // count:prescription.advices[b].prescribing_number.toString(),
|
|
492
|
+ // remark: prescription.advices[b].remark,
|
|
493
|
+ // single_dose_unit: prescription.advices[b].single_dose_unit,
|
|
494
|
+ // prescribing_number_unit: prescription.advices[b].prescribing_number_unit,
|
|
495
|
+ //
|
|
496
|
+ // }
|
|
497
|
+ // this.tableData.push(obj)
|
|
498
|
+ // }
|
|
499
|
+ //
|
|
500
|
+ // for (let b = 0; b < prescription.project.length; b++) {
|
|
501
|
+ // let obj = {
|
|
502
|
+ // name: prescription.project[b].project.project_name,
|
|
503
|
+ // statistical_classification: prescription.project[b].project.statistical_classification,
|
|
504
|
+ // single_dose: prescription.project[b].single_dose,
|
|
505
|
+ // delivery_way: prescription.project[b].delivery_way,
|
|
506
|
+ // execution_frequency: prescription.project[b].execution_frequency,
|
|
507
|
+ // price: prescription.project[b].price,
|
|
508
|
+ // day: prescription.project[b].day,
|
|
509
|
+ // count: prescription.project[b].count.toString(),
|
|
510
|
+ // remark: prescription.project[b].remark,
|
|
511
|
+ // single_dose_unit:prescription.project[b].project.unit,
|
|
512
|
+ // prescribing_number_unit:prescription.project[b].project.unit,
|
|
513
|
+ // type:2,
|
|
514
|
+ // }
|
|
515
|
+ // this.tableData.push(obj)
|
|
516
|
+ // }
|
|
517
|
+ //
|
|
518
|
+ // for (let b = 0; b < prescription.addition.length; b++) {
|
|
519
|
+ // this.additions.push( prescription.addition[b])
|
|
520
|
+ // }
|
|
521
|
+
|
|
522
|
+
|
|
523
|
+
|
|
524
|
+ // let index = i + 1
|
|
525
|
+ // let obj = {
|
|
526
|
+ // id: prescription.id,
|
|
527
|
+ // name: '处方' + index,
|
|
528
|
+ // advices: tempAdvice,
|
|
529
|
+ // project: tempProject,
|
|
530
|
+ // type: response.data.data.prescription[i].type
|
|
531
|
+ // }
|
|
532
|
+ // this.prescriptions.push(obj)
|
|
533
|
+ // this.curPrescriptions = this.prescriptions[0]
|
548
|
534
|
|
549
|
535
|
// }
|
550
|
536
|
// this.tableData = response.data.data.order
|
|
@@ -554,112 +540,113 @@ export default {
|
554
|
540
|
}
|
555
|
541
|
}
|
556
|
542
|
}
|
|
543
|
+
|
557
|
544
|
</script>
|
558
|
545
|
|
559
|
546
|
<style lang="scss" scoped>
|
560
|
547
|
.summaryDetail{
|
561
|
|
- height: 100%;
|
562
|
|
- display: flex;
|
563
|
|
- flex-direction: column;
|
564
|
|
- .tabsBox{
|
565
|
|
- position: relative;
|
566
|
|
- height: 90%;
|
567
|
|
- overflow-y: auto;
|
568
|
|
- margin-bottom: 60px;
|
569
|
|
- .el-tabs__item{
|
570
|
|
- padding: 0 10px;
|
571
|
|
- }
|
572
|
|
- }
|
573
|
|
- .addTab{
|
574
|
|
- position: absolute;
|
575
|
|
- right: 0;
|
576
|
|
- top: 6px;
|
577
|
|
- z-index: 20;
|
578
|
|
- }
|
579
|
|
- .mainCenter{
|
580
|
|
- display: flex;
|
581
|
|
- flex:1;
|
582
|
|
- }
|
583
|
|
- .costBox{
|
584
|
|
- width:100%;
|
585
|
|
- height:60px;
|
586
|
|
- background:#fff;
|
587
|
|
- position: absolute;
|
588
|
|
- bottom:0;
|
589
|
|
- display: flex;
|
590
|
|
- justify-content: space-between;
|
591
|
|
- align-items: center;
|
592
|
|
- }
|
593
|
|
- .centerLeft{
|
594
|
|
- flex: 1;
|
595
|
|
- display: flex;
|
596
|
|
- flex-direction: column;
|
597
|
|
- position: relative;
|
598
|
|
- }
|
599
|
|
- .centerRight{
|
600
|
|
- width: 300px;
|
601
|
|
- margin-left: 5px;
|
602
|
|
- display: flex;
|
603
|
|
- flex-direction: column;
|
604
|
|
- }
|
605
|
|
- .RP{
|
606
|
|
- color:#409EFF;
|
607
|
|
- font-size: 20px;
|
608
|
|
- margin-bottom: 5px;
|
609
|
|
- }
|
610
|
|
- .centerRightTitle{
|
611
|
|
- color:#409EFF;
|
612
|
|
- padding:0 0 10px 0;
|
613
|
|
- }
|
614
|
|
- .basicUl{
|
615
|
|
- border-top: 1px solid #e5e5e5;
|
616
|
|
- border-left: 1px solid #e5e5e5;
|
617
|
|
- display: flex;
|
618
|
|
- flex-wrap: wrap;
|
619
|
|
- li{
|
620
|
|
- border-bottom: 1px solid #e5e5e5;
|
621
|
|
- border-right: 1px solid #e5e5e5;
|
622
|
|
- width: 100%;
|
623
|
|
- height: 38px;
|
624
|
|
- line-height: 38px;
|
625
|
|
- text-indent: 5px;
|
626
|
|
- font-size: 14px;
|
627
|
|
- }
|
628
|
|
- }
|
629
|
|
- .additionalBox{
|
630
|
|
- margin-top: 20px;
|
631
|
|
- display: flex;
|
632
|
|
- flex-wrap: wrap;
|
633
|
|
- .additionalOne{
|
634
|
|
- margin-right:20px;
|
635
|
|
- margin-bottom:10px;
|
636
|
|
- display: flex;
|
637
|
|
- align-items: center;
|
638
|
|
- >span{
|
639
|
|
- white-space: nowrap;
|
640
|
|
- overflow: hidden;
|
641
|
|
- text-overflow: ellipsis;
|
642
|
|
- width:80px;
|
643
|
|
- display: inline-block;
|
644
|
|
- font-size: 14px;
|
645
|
|
- }
|
646
|
|
- }
|
647
|
|
- .deleteIcon{
|
648
|
|
- color:red;
|
649
|
|
- margin-left:5px;
|
650
|
|
- }
|
651
|
|
- }
|
|
548
|
+ height: 100%;
|
|
549
|
+ display: flex;
|
|
550
|
+ flex-direction: column;
|
|
551
|
+.tabsBox{
|
|
552
|
+ position: relative;
|
|
553
|
+ height: 90%;
|
|
554
|
+ overflow-y: auto;
|
|
555
|
+ margin-bottom: 60px;
|
|
556
|
+.el-tabs__item{
|
|
557
|
+ padding: 0 10px;
|
|
558
|
+}
|
|
559
|
+}
|
|
560
|
+.addTab{
|
|
561
|
+ position: absolute;
|
|
562
|
+ right: 0;
|
|
563
|
+ top: 6px;
|
|
564
|
+ z-index: 20;
|
|
565
|
+}
|
|
566
|
+.mainCenter{
|
|
567
|
+ display: flex;
|
|
568
|
+ flex:1;
|
|
569
|
+}
|
|
570
|
+.costBox{
|
|
571
|
+ width:100%;
|
|
572
|
+ height:60px;
|
|
573
|
+ background:#fff;
|
|
574
|
+ position: absolute;
|
|
575
|
+ bottom:0;
|
|
576
|
+ display: flex;
|
|
577
|
+ justify-content: space-between;
|
|
578
|
+ align-items: center;
|
|
579
|
+}
|
|
580
|
+.centerLeft{
|
|
581
|
+ flex: 1;
|
|
582
|
+ display: flex;
|
|
583
|
+ flex-direction: column;
|
|
584
|
+ position: relative;
|
|
585
|
+}
|
|
586
|
+.centerRight{
|
|
587
|
+ width: 300px;
|
|
588
|
+ margin-left: 5px;
|
|
589
|
+ display: flex;
|
|
590
|
+ flex-direction: column;
|
|
591
|
+}
|
|
592
|
+.RP{
|
|
593
|
+ color:#409EFF;
|
|
594
|
+ font-size: 20px;
|
|
595
|
+ margin-bottom: 5px;
|
|
596
|
+}
|
|
597
|
+.centerRightTitle{
|
|
598
|
+ color:#409EFF;
|
|
599
|
+ padding:0 0 10px 0;
|
|
600
|
+}
|
|
601
|
+.basicUl{
|
|
602
|
+ border-top: 1px solid #e5e5e5;
|
|
603
|
+ border-left: 1px solid #e5e5e5;
|
|
604
|
+ display: flex;
|
|
605
|
+ flex-wrap: wrap;
|
|
606
|
+li{
|
|
607
|
+ border-bottom: 1px solid #e5e5e5;
|
|
608
|
+ border-right: 1px solid #e5e5e5;
|
|
609
|
+ width: 100%;
|
|
610
|
+ height: 38px;
|
|
611
|
+ line-height: 38px;
|
|
612
|
+ text-indent: 5px;
|
|
613
|
+ font-size: 14px;
|
|
614
|
+}
|
|
615
|
+}
|
|
616
|
+.additionalBox{
|
|
617
|
+ margin-top: 20px;
|
|
618
|
+ display: flex;
|
|
619
|
+ flex-wrap: wrap;
|
|
620
|
+.additionalOne{
|
|
621
|
+ margin-right:20px;
|
|
622
|
+ margin-bottom:10px;
|
|
623
|
+ display: flex;
|
|
624
|
+ align-items: center;
|
|
625
|
+>span{
|
|
626
|
+ white-space: nowrap;
|
|
627
|
+ overflow: hidden;
|
|
628
|
+ text-overflow: ellipsis;
|
|
629
|
+ width:80px;
|
|
630
|
+ display: inline-block;
|
|
631
|
+ font-size: 14px;
|
|
632
|
+}
|
|
633
|
+}
|
|
634
|
+.deleteIcon{
|
|
635
|
+ color:red;
|
|
636
|
+ margin-left:5px;
|
|
637
|
+}
|
|
638
|
+}
|
652
|
639
|
}
|
653
|
640
|
</style>
|
654
|
641
|
|
655
|
642
|
<style lang="scss">
|
656
|
643
|
.summaryDetail{
|
657
|
|
- .el-table th .cell, .el-table td .cell{
|
658
|
|
- padding: 0 2px;
|
659
|
|
- }
|
660
|
|
- .el-icon-delete{
|
661
|
|
- color:red;
|
662
|
|
- }
|
|
644
|
+.el-table th .cell, .el-table td .cell{
|
|
645
|
+ padding: 0 2px;
|
|
646
|
+}
|
|
647
|
+.el-icon-delete{
|
|
648
|
+ color:red;
|
|
649
|
+}
|
663
|
650
|
}
|
664
|
651
|
|
665
|
652
|
</style>
|