소스 검색

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

csx 3 년 전
부모
커밋
e0593645b4

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFortyOne.vue 파일 보기

@@ -612,7 +612,8 @@
612 612
                         <div style="min-height:20px;line-height:20px; overflow:hidden;">
613 613
                           <span v-if="getTime(monitor.operate_time, '{h}:{i}')" style="word-break: break-all;margin:0;line-height:16px;-webkit-line-clamp:3;overflow:visible;display:inline-block;vertical-align:middle;height:auto;">
614 614
                             <template v-if="(dialysisOrder && monitor.operate_time == dialysisOrder.start_time)">【开始透析】引血100ml/min</template>
615
-                            {{ monitor.end }} {{ monitor.symptom }} &nbsp;{{ monitor.dispose }} &nbsp;{{ monitor.result }}
615
+                            <span v-if="dialysisOrder && monitor.operate_time == dialysisOrder.end_time">{{ monitor.end }}</span> 
616
+                            {{ monitor.symptom }} &nbsp;{{ monitor.dispose }} &nbsp;{{ monitor.result }}
616 617
                           </span>
617 618
                         </div>
618 619
                       </td>

+ 210 - 243
src/xt_pages/outpatientCharges/statementTemplate/printThree.vue 파일 보기

@@ -1,249 +1,216 @@
1 1
 <template>
2 2
     <div>
3
-        <div v-if="paramsObj.balance_accounts_type != 2" id='prescription-print' class="prescription-print"
4
-             style="position: relative;">
3
+        <div v-if="paramsObj.balance_accounts_type != 2" id='prescription-print' class="prescription-print" style="position: relative;">
5 4
             <img style="width:100%;height:80px" src="https://kuyi.shengws.com/bailin/bltotle.jpg" alt="">
6 5
             <div class="printTitle" style="position: absolute;left: 40%;top: 50px;">门诊收费清单</div>
7 6
             <div style="display:flex;">
8
-                <div>单据号:<span
9
-                        style="display:inline-block;width:200px;">{{info.order_number ? info.order_number : ''}}</span>
10
-                </div>
11
-                <div>透析号:<span style="display:inline-block;width:200px;">{{info.patient.dialysis_no ? info.patient.dialysis_no : ''}}</span>
12
-                </div>
7
+                <div>单据号:<span style="display:inline-block;width:200px;">{{info.order_number ? info.order_number : ''}}</span></div>
8
+                <div>透析号:<span style="display:inline-block;width:200px;">{{info.patient.dialysis_no ? info.patient.dialysis_no : ''}}</span></div>
9
+                <div style="margin-left:2px;">电脑号:<span style="display:inline-block;">{{info.psn_no ? info.psn_no : ''}}</span></div>
13 10
             </div>
14 11
             <div style="display:flex;justify-content: space-between;">
15 12
                 <div style="display:flex;">
16
-                    <div>姓名:<span style="display:inline-block;width:50px;">{{info.patient.name ? info.patient.name.indexOf('(') > -1 ? info.patient.name.substring(0,info.patient.name.indexOf('(')) : info.patient.name : ''}}</span>
17
-                    </div>
18
-                    <div>性别:<span
19
-                            style="display:inline-block;width:30px;">{{info.patient.gender == '1' ? '男' : '女'}}</span>
20
-                    </div>
21
-                    <div>年龄:<span
22
-                            style="display:inline-block;width:50px;">{{info.patient.age ? info.patient.age : ''}}岁</span>
23
-                    </div>
24
-                    <div>费别:<span style="display:inline-block;min-width:80px;">医保</span>
25
-                    </div>
26
-                    <div style="margin-left:2px;">电脑号:<span style="display:inline-block;width:80px;">{{info.psn_no ? info.psn_no : ''}}</span>
27
-                    </div>
28
-                    <div>收费日期:<span style="display:inline-block;width:100px;">{{info.setl_time ? info.setl_time.split(' ')[0] : ''}}</span>
29
-                    </div>
13
+                  <div>姓名:<span style="display:inline-block;width:50px;">{{info.patient.name ? info.patient.name.indexOf("(") > -1 ? info.patient.name.substring(0,info.patient.name.indexOf("(")) : info.patient.name : ''}}</span></div>
14
+                  <div>性别:<span style="display:inline-block;width:30px;">{{info.patient.gender == '1' ? '男' : '女'}}</span></div>
15
+                  <div>年龄:<span style="display:inline-block;width:50px;">{{info.patient.age ? info.patient.age : ''}}岁</span></div>
16
+                  <div>费别:<span style="display:inline-block;min-width:80px;">医保</span>
17
+                  </div>
18
+                  <div>收费日期:<span style="display:inline-block;width:100px;">{{info.setl_time ? info.setl_time.split(' ')[0] : ''}}</span></div>
30 19
                 </div>
31 20
                 <div style="float:right">金额单位:元</div>
32 21
             </div>
33 22
             <div style="min-height: 300px;">
34
-                <table border='1' style="width:100%;" cellspacing="0">
35
-                    <tr>
36
-                        <td width="70">类别</td>
37
-                        <td>项目</td>
38
-                        <td min-width="180" style="min-width:60px;">规格</td>
39
-                        <td width="40">单位</td>
40
-                        <td width="40">数量</td>
41
-                        <td width="60">单价</td>
42
-                        <td width="70">总额</td>
43
-                        <td width="130">小计</td>
44
-                    </tr>
45
-                    <div v-for="(item,i) in info.new_detail_list" :key="i" style="width:100%;display: table-row-group;">
46
-                        <tr v-for="(subItem,index) in item.details" :key="index">
47
-                            <td>
48
-                                <span v-if="item.type == 1">药品费</span>
49
-                                <span v-if="item.type == 2">治疗费</span>
50
-                                <span v-if="item.type == 3">耗材费</span>
51
-                            </td>
52
-                            <td>
53
-                                <span v-if="item.type == 1">{{ subItem.advice.advice_name }}</span>
54
-                                <span v-if="item.type == 2">{{ subItem.project.project.project_name }}</span>
55
-                                <span v-if="item.type == 3">{{ subItem.project.good_info.good_name }}</span>
56
-                            </td>
57
-                            <td>
58
-                                <span v-if="item.type == 1"><span
59
-                                        v-if="subItem.advice.drug.min_unit != subItem.advice.drug.dose_unit">{{subItem.advice.drug.dose}}{{subItem.advice.drug.dose_unit}}&nbsp;* &nbsp;</span>{{subItem.advice.drug.min_number}}{{subItem.advice.drug.min_unit}}/{{subItem.advice.drug.max_unit}}</span>
60
-                                <span v-if="item.type == 2"></span>
61
-                                <span v-if="item.type == 3">{{ subItem.project.good_info.specification_name }}</span>
62
-                            </td>
63
-                            <td>
64
-                                <span v-if="item.type == 1">{{ subItem.advice.drug.max_unit }}</span>
65
-                                <span v-if="item.type == 2">{{ subItem.project.unit }}</span>
66
-                                <span v-if="item.type == 3">{{ subItem.project.unit }}</span>
67
-                            </td>
68
-                            <td>
69
-                                <span v-if="item.type == 1">{{ subItem.advice.prescribing_number }}</span>
70
-                                <span v-if="item.type == 2">{{ subItem.project.count }}</span>
71
-                                <span v-if="item.type == 3">{{ subItem.project.count }}</span>
72
-                            </td>
73
-                            <td>
74
-                                <span v-if="item.type == 1">{{ subItem.pric }}</span>
75
-                                <span v-if="item.type == 2">{{ subItem.pric }}</span>
76
-                                <span v-if="item.type == 3">{{ subItem.pric }}</span>
77
-                            </td>
78
-                            <td>
79
-                                <span v-if="item.type == 1">{{ (subItem.advice.prescribing_number * subItem.pric).toFixed(2) }}</span>
80
-                                <span v-if="item.type == 2">{{ (subItem.project.count * subItem.pric).toFixed(2) }}</span>
81
-                                <span v-if="item.type == 3">{{ (subItem.project.count * subItem.pric).toFixed(2) }}</span>
82
-                            </td>
83
-                            <td :rowspan="item.details.length" v-if="index == 0"
84
-                                style="vertical-align: middle;text-align: center;">{{ item.total.toFixed(2) }}
85
-                            </td>
86
-                        </tr>
87
-                    </div>
88
-                    <tr>
89
-                        <td colspan="7">
90
-                            <div style="display:flex;flez-wrap:wrap;">
91
-                                <div style="width:33%;" v-for="(item,index) in info.new_detail_list" :key="index">
92
-                                    <span v-if="item.type == 1">药品费: {{ item.total.toFixed(2) }}</span>
93
-                                    <span v-if="item.type == 2">治疗费: {{ item.total.toFixed(2) }}</span>
94
-                                    <span v-if="item.type == 3">耗材费: {{ item.total.toFixed(2) }}</span>
95
-                                </div>
96
-                            </div>
23
+              <table border='1' style="width:100%;" cellspacing="0">
24
+                  <tr>
25
+                      <td width="70">类别</td>
26
+                      <td>项目</td>
27
+                      <td min-width="180" style="min-width:60px;">规格</td>
28
+                      <td width="40">单位</td>
29
+                      <td width="40">数量</td>
30
+                      <td width="60">单价</td>
31
+                      <td width="70">总额</td>
32
+                      <td width="130">小计</td>
33
+                  </tr>
34
+                  <div v-for="(item,i) in info.new_detail_list" :key="i" style="width:100%;display: table-row-group;">
35
+                      <tr v-for="(subItem,index) in item.details" :key="index">
36
+                        <td>
37
+                          <span v-if="item.type == 1">药品费</span>
38
+                          <span v-if="item.type == 2">治疗费</span>
39
+                          <span v-if="item.type == 3">耗材费</span>
97 40
                         </td>
98
-                        <td>合计: {{info.medfee_sumamt?info.medfee_sumamt:0}}元</td>
99
-                    </tr>
100
-                    <tr>
101
-                        <td colspan="7">
102
-                            <div style="display:flex;flez-wrap:wrap;margin-bottom:10px;font-size:16px;">
103
-                                <div style="width:33%;">医疗费总额:{{info.medfee_sumamt?info.medfee_sumamt:0}}元</div>
104
-                                <div style="width:33%;">基金支付金额:{{info.fund_pay_sumamt?info.fund_pay_sumamt:0}}元</div>
105
-                                <div style="width:33%;">个人账户支付金额:{{info.acct_pay?info.acct_pay:0}}元</div>
106
-
107
-                            </div>
108
-                            <div style="display:flex;flez-wrap:wrap;font-size:16px;">
109
-                                <div style="width:33%;">个人支付金额:{{info.psn_cash_pay?info.psn_cash_pay:0}}元</div>
110
-                                <div style="width:33%;">个人账户金额:{{info.balc}}元</div>
111
-                            </div>
41
+                        <td>
42
+                          <span v-if="item.type == 1">{{ subItem.advice.advice_name }}</span>
43
+                          <span v-if="item.type == 2">{{ subItem.project.project.project_name }}</span>
44
+                          <span v-if="item.type == 3">{{ subItem.project.good_info.good_name }}</span>
112 45
                         </td>
113
-                        <td style="font-size:16px;">合计:{{info.medfee_sumamt?info.medfee_sumamt:0}}元</td>
114
-                    </tr>
115
-
116
-                </table>
46
+                        <td>
47
+                          <span v-if="item.type == 1"><span v-if="subItem.advice.drug.min_unit != subItem.advice.drug.dose_unit">{{subItem.advice.drug.dose}}{{subItem.advice.drug.dose_unit}}&nbsp;* &nbsp;</span>{{subItem.advice.drug.min_number}}{{subItem.advice.drug.min_unit}}/{{subItem.advice.drug.max_unit}}</span>
48
+                          <span v-if="item.type == 2"></span>
49
+                          <span v-if="item.type == 3">{{ subItem.project.good_info.specification_name }}</span>
50
+                        </td>
51
+                        <td>
52
+                          <span v-if="item.type == 1">{{ subItem.advice.drug.max_unit }}</span>
53
+                          <span v-if="item.type == 2">{{ subItem.project.unit }}</span>
54
+                          <span v-if="item.type == 3">{{ subItem.project.unit }}</span>
55
+                        </td>
56
+                        <td>
57
+                          <span v-if="item.type == 1">{{ subItem.advice.prescribing_number }}</span>
58
+                          <span v-if="item.type == 2">{{ subItem.project.count }}</span>
59
+                          <span v-if="item.type == 3">{{ subItem.project.count }}</span>
60
+                        </td>
61
+                        <td>
62
+                          <span v-if="item.type == 1">{{ subItem.pric }}</span>
63
+                          <span v-if="item.type == 2">{{ subItem.pric }}</span>
64
+                          <span v-if="item.type == 3">{{ subItem.pric }}</span>
65
+                        </td>
66
+                        <td>
67
+                          <span v-if="item.type == 1">{{ (subItem.advice.prescribing_number * subItem.pric).toFixed(2) }}</span>
68
+                          <span v-if="item.type == 2">{{ (subItem.project.count * subItem.pric).toFixed(2) }}</span>
69
+                          <span v-if="item.type == 3">{{ (subItem.project.count * subItem.pric).toFixed(2) }}</span>
70
+                        </td>
71
+                        <td :rowspan="item.details.length" v-if="index == 0" style="vertical-align: middle;text-align: center;">{{ item.total.toFixed(2) }}</td>
72
+                      </tr>
73
+                  </div>
74
+                  <tr>
75
+                    <td colspan="7">
76
+                      <div style="display:flex;flez-wrap:wrap;">
77
+                        <div style="width:33%;" v-for="(item,index) in info.new_detail_list" :key="index">
78
+                          <span v-if="item.type == 1">药品费: {{ item.total.toFixed(2) }}</span>
79
+                          <span v-if="item.type == 2">治疗费: {{ item.total.toFixed(2) }}</span>
80
+                          <span v-if="item.type == 3">耗材费: {{ item.total.toFixed(2) }}</span>
81
+                        </div>
82
+                      </div>
83
+                    </td>
84
+                    <td>合计: {{info.medfee_sumamt?info.medfee_sumamt:0}}元</td>
85
+                  </tr>
86
+                  <tr>
87
+                      <td colspan="7">
88
+                          <div style="display:flex;flez-wrap:wrap;margin-bottom:10px;font-size:16px;">
89
+                              <div style="width:33%;">医疗费总额:{{info.medfee_sumamt?info.medfee_sumamt:0}}元</div>
90
+                              <div style="width:33%;">基金支付金额:{{info.fund_pay_sumamt?info.fund_pay_sumamt:0}}元</div>
91
+                              <div style="width:33%;">个人账户支付金额:{{info.acct_pay?info.acct_pay:0}}元</div>
92
+
93
+                          </div>
94
+                          <div style="display:flex;flez-wrap:wrap;font-size:16px;">
95
+                              <div style="width:33%;">个人支付金额:{{info.psn_cash_pay?info.psn_cash_pay:0}}元</div>
96
+                              <div style="width:33%;">个人账户金额:{{info.balc}}元</div>
97
+                          </div>
98
+                      </td>
99
+                      <td style="font-size:16px;">合计:{{info.medfee_sumamt?info.medfee_sumamt:0}}元</td>
100
+                  </tr>
101
+
102
+              </table>
117 103
             </div>
118 104
             <div style="float:right;margin:10px 0;display:flex;">
119 105
                 <div>操作人:<span style="width:100px;display:inline-block;">{{info.p_admin.user_name}}</span></div>
120
-                <div>操作日期:<span style="width:100px;display:inline-block;">{{info.setl_time ? info.setl_time.split(' ')[0] : ''}}</span>
121
-                </div>
106
+                <div>操作日期:<span style="width:100px;display:inline-block;">{{info.setl_time ? info.setl_time.split(' ')[0] : ''}}</span></div>
122 107
             </div>
123 108
             <img style="width:100%;" src="https://kuyi.shengws.com/bailin/blend.jpg" alt="">
124 109
         </div>
125 110
         <div v-else id='prescription-print' class="prescription-print" style="position: relative;">
126
-            <img style="width:100%;height:80px" src="https://kuyi.shengws.com/bailin/bltotle.jpg" alt="">
111
+          <img style="width:100%;height:80px" src="https://kuyi.shengws.com/bailin/bltotle.jpg" alt="">
127 112
             <div class="printTitle" style="position: absolute;left: 40%;top: 50px;">门诊收费清单</div>
128 113
             <div style="display:flex;">
129
-                <div>单据号:<span style="display:inline-block;width:200px;">{{balanceAccounts.his.number ? balanceAccounts.his.number : ''}}</span>
130
-                </div>
131
-                <div>透析号:<span style="display:inline-block;width:200px;">{{balanceAccounts.patient ? balanceAccounts.patient.dialysis_no : ''}}</span>
132
-                </div>
114
+                <div>单据号:<span style="display:inline-block;width:200px;">{{balanceAccounts.his.number ? balanceAccounts.his.number : ''}}</span></div>
115
+                <div>透析号:<span style="display:inline-block;width:200px;">{{balanceAccounts.patient ? balanceAccounts.patient.dialysis_no : ''}}</span></div>
116
+                <div>电脑号:<span style="display:inline-block;width:80px;"></span></div>
133 117
             </div>
134 118
             <div style="display:flex;justify-content: space-between;">
135 119
                 <div style="display:flex;">
136
-                    <div>姓名:<span style="display:inline-block;width:50px;">{{balanceAccounts.patient ? balanceAccounts.patient.name.indexOf('(') > -1 ? balanceAccounts.patient.name.substring(0,balanceAccounts.patient.name.indexOf('(')) : balanceAccounts.patient.name : ''}}</span>
137
-                    </div>
138
-                    <div>性别:<span style="display:inline-block;width:30px;">{{balanceAccounts.patient.gender == '1' ? '男' : '女'}}</span>
139
-                    </div>
140
-                    <div>年龄:<span style="display:inline-block;width:50px;">{{balanceAccounts.patient ? balanceAccounts.patient.age : ''}}岁</span>
141
-                    </div>
142
-                    <div>费别:<span style="display:inline-block;width:80px;">自费</span>
143
-                    </div>
144
-                    <div>电脑号:<span style="display:inline-block;width:80px;"></span></div>
145
-                    <div>收费日期:<span style="display:inline-block;width:100px;">{{getTime(new Date(),'{y}-{m}-{d}')?getTime(new Date(),'{y}-{m}-{d}'):''}}</span>
146
-                    </div>
120
+                  <div>姓名:<span style="display:inline-block;width:50px;">{{balanceAccounts.patient ? balanceAccounts.patient.name.indexOf("(") > -1 ? balanceAccounts.patient.name.substring(0,balanceAccounts.patient.name.indexOf("(")) : balanceAccounts.patient.name : ''}}</span></div>
121
+                  <div>性别:<span style="display:inline-block;width:30px;">{{balanceAccounts.patient.gender == '1' ? '男' : '女'}}</span></div>
122
+                  <div>年龄:<span style="display:inline-block;width:50px;">{{balanceAccounts.patient ? balanceAccounts.patient.age : ''}}岁</span></div>
123
+                  <div>费别:<span style="display:inline-block;width:80px;">自费</span>
124
+                  </div>
125
+                  <div>收费日期:<span style="display:inline-block;width:100px;">{{getTime(new Date(),"{y}-{m}-{d}")?getTime(new Date(),"{y}-{m}-{d}"):""}}</span></div>
147 126
                 </div>
148 127
                 <div style="float:right">金额单位:元</div>
149 128
             </div>
150 129
             <div style="min-height: 300px;">
151
-                <table border='1' style="width:100%;" cellspacing="0">
152
-                    <tr>
153
-                        <td width="70">类别</td>
154
-                        <td>项目</td>
155
-                        <td min-width="180" style="min-width:60px;">规格</td>
156
-                        <td width="40">单位</td>
157
-                        <td width="40">数量</td>
158
-                        <td width="60">单价</td>
159
-                        <td width="70">总额</td>
160
-                        <td width="130">小计</td>
161
-                    </tr>
162
-                    <div v-for="(item,i) in balanceAccounts.new_detail_list" :key="i"
163
-                         style="width:100%;display: table-row-group;">
164
-                        <tr v-for="(subItem,index) in item.details" :key="index">
165
-                            <td>
166
-                                <span v-if="item.type == 1">药品费</span>
167
-                                <span v-if="item.type == 2">治疗费</span>
168
-                                <span v-if="item.type == 3">耗材费</span>
169
-                            </td>
170
-                            <td>
171
-                                <span v-if="item.type == 1">{{ subItem.advice.advice_name }}</span>
172
-                                <span v-if="item.type == 2">{{ subItem.project.project.project_name }}</span>
173
-                                <span v-if="item.type == 3">{{ subItem.project.good_info.good_name }}</span>
174
-                            </td>
175
-                            <td>
176
-                                <span v-if="item.type == 1"><span
177
-                                        v-if="subItem.advice.drug.min_unit != subItem.advice.drug.dose_unit">{{subItem.advice.drug.dose}}{{subItem.advice.drug.dose_unit}}&nbsp;* &nbsp;</span>{{subItem.advice.drug.min_number}}{{subItem.advice.drug.min_unit}}/{{subItem.advice.drug.max_unit}}</span>
178
-                                <span v-if="item.type == 2"></span>
179
-                                <span v-if="item.type == 3">{{ subItem.project.good_info.specification_name }}</span>
180
-                            </td>
181
-                            <td>
182
-                                <span v-if="item.type == 1">{{ subItem.advice.drug.max_unit }}</span>
183
-                                <span v-if="item.type == 2">{{ subItem.project.unit }}</span>
184
-                                <span v-if="item.type == 3">{{ subItem.project.unit }}</span>
185
-                            </td>
186
-                            <td>
187
-                                <span v-if="item.type == 1">{{ subItem.advice.prescribing_number }}</span>
188
-                                <span v-if="item.type == 2">{{ subItem.project.count }}</span>
189
-                                <span v-if="item.type == 3">{{ subItem.project.count }}</span>
190
-                            </td>
191
-                            <td>
192
-                                <span v-if="item.type == 1">{{ subItem.pric }}</span>
193
-                                <span v-if="item.type == 2">{{ subItem.pric }}</span>
194
-                                <span v-if="item.type == 3">{{ subItem.pric }}</span>
195
-                            </td>
196
-                            <td>
197
-                                <span v-if="item.type == 1">{{ (subItem.advice.prescribing_number * subItem.pric).toFixed(2) }}</span>
198
-                                <span v-if="item.type == 2">{{ (subItem.project.count * subItem.pric).toFixed(2) }}</span>
199
-                                <span v-if="item.type == 3">{{ (subItem.project.count * subItem.pric).toFixed(2) }}</span>
200
-                            </td>
201
-                            <td :rowspan="item.details.length" v-if="index == 0"
202
-                                style="vertical-align: middle;text-align: center;">{{ item.total.toFixed(2) }}
203
-                            </td>
204
-                        </tr>
205
-                    </div>
206
-                    <tr>
207
-                        <td colspan="7">
208
-                            <div style="display:flex;flez-wrap:wrap;">
209
-                                <div style="width:33%;" v-for="(item,index) in balanceAccounts.new_detail_list"
210
-                                     :key="index">
211
-                                    <span v-if="item.type == 1">药品费: {{ item.total.toFixed(2) }}</span>
212
-                                    <span v-if="item.type == 2">治疗费: {{ item.total.toFixed(2) }}</span>
213
-                                    <span v-if="item.type == 3">耗材费: {{ item.total.toFixed(2) }}</span>
214
-                                </div>
215
-                            </div>
130
+              <table border='1' style="width:100%;" cellspacing="0">
131
+                  <tr>
132
+                      <td width="70">类别</td>
133
+                      <td>项目</td>
134
+                      <td min-width="180" style="min-width:60px;">规格</td>
135
+                      <td width="40">单位</td>
136
+                      <td width="40">数量</td>
137
+                      <td width="60">单价</td>
138
+                      <td width="70">总额</td>
139
+                      <td width="130">小计</td>
140
+                  </tr>
141
+                  <div v-for="(item,i) in balanceAccounts.new_detail_list" :key="i" style="width:100%;display: table-row-group;">
142
+                      <tr v-for="(subItem,index) in item.details" :key="index">
143
+                        <td>
144
+                          <span v-if="item.type == 1">药品费</span>
145
+                          <span v-if="item.type == 2">治疗费</span>
146
+                          <span v-if="item.type == 3">耗材费</span>
216 147
                         </td>
217
-                        <td>合计: {{balanceAccounts.order.medfee_sumamt?balanceAccounts.order.medfee_sumamt:0}}元</td>
218
-                    </tr>
219
-                    <tr>
220
-                        <td colspan="7">
221
-                            <div style="display:flex;flez-wrap:wrap;">
222
-                                <div style="width:33%;">
223
-                                    医疗费总额:{{balanceAccounts.order.medfee_sumamt?balanceAccounts.order.medfee_sumamt:0}}元
224
-                                </div>
225
-                                <div style="width:33%;">基金支付金额:0元</div>
226
-                                <div style="width:33%;">个人账户支付金额:0元</div>
227
-
228
-                            </div>
229
-                            <div style="display:flex;flez-wrap:wrap;">
230
-                                <div style="width:33%;">
231
-                                    个人支付金额:{{balanceAccounts.order.medfee_sumamt?balanceAccounts.order.medfee_sumamt:0}}元
232
-                                </div>
233
-                                <div style="width:33%;">个人账户金额:0元</div>
234
-                            </div>
148
+                        <td>
149
+                          <span v-if="item.type == 1">{{ subItem.advice.advice_name }}</span>
150
+                          <span v-if="item.type == 2">{{ subItem.project.project.project_name }}</span>
151
+                          <span v-if="item.type == 3">{{ subItem.project.good_info.good_name }}</span>
235 152
                         </td>
236
-                        <td>合计:{{balanceAccounts.order.medfee_sumamt?balanceAccounts.order.medfee_sumamt:0}}元</td>
237
-                    </tr>
238
-
239
-                </table>
153
+                        <td>
154
+                          <span v-if="item.type == 1"><span v-if="subItem.advice.drug.min_unit != subItem.advice.drug.dose_unit">{{subItem.advice.drug.dose}}{{subItem.advice.drug.dose_unit}}&nbsp;* &nbsp;</span>{{subItem.advice.drug.min_number}}{{subItem.advice.drug.min_unit}}/{{subItem.advice.drug.max_unit}}</span>
155
+                          <span v-if="item.type == 2"></span>
156
+                          <span v-if="item.type == 3">{{ subItem.project.good_info.specification_name }}</span>
157
+                        </td>
158
+                        <td>
159
+                          <span v-if="item.type == 1">{{ subItem.advice.drug.max_unit }}</span>
160
+                          <span v-if="item.type == 2">{{ subItem.project.unit }}</span>
161
+                          <span v-if="item.type == 3">{{ subItem.project.unit }}</span>
162
+                        </td>
163
+                        <td>
164
+                          <span v-if="item.type == 1">{{ subItem.advice.prescribing_number }}</span>
165
+                          <span v-if="item.type == 2">{{ subItem.project.count }}</span>
166
+                          <span v-if="item.type == 3">{{ subItem.project.count }}</span>
167
+                        </td>
168
+                        <td>
169
+                          <span v-if="item.type == 1">{{ subItem.pric }}</span>
170
+                          <span v-if="item.type == 2">{{ subItem.pric }}</span>
171
+                          <span v-if="item.type == 3">{{ subItem.pric }}</span>
172
+                        </td>
173
+                        <td>
174
+                          <span v-if="item.type == 1">{{ (subItem.advice.prescribing_number * subItem.pric).toFixed(2) }}</span>
175
+                          <span v-if="item.type == 2">{{ (subItem.project.count * subItem.pric).toFixed(2) }}</span>
176
+                          <span v-if="item.type == 3">{{ (subItem.project.count * subItem.pric).toFixed(2) }}</span>
177
+                        </td>
178
+                        <td :rowspan="item.details.length" v-if="index == 0" style="vertical-align: middle;text-align: center;">{{ item.total.toFixed(2) }}</td>
179
+                      </tr>
180
+                  </div>
181
+                  <tr>
182
+                    <td colspan="7">
183
+                      <div style="display:flex;flez-wrap:wrap;">
184
+                        <div style="width:33%;" v-for="(item,index) in balanceAccounts.new_detail_list" :key="index">
185
+                          <span v-if="item.type == 1">药品费: {{ item.total.toFixed(2) }}</span>
186
+                          <span v-if="item.type == 2">治疗费: {{ item.total.toFixed(2) }}</span>
187
+                          <span v-if="item.type == 3">耗材费: {{ item.total.toFixed(2) }}</span>
188
+                        </div>
189
+                      </div>
190
+                    </td>
191
+                    <td>合计: {{balanceAccounts.order.medfee_sumamt?balanceAccounts.order.medfee_sumamt:0}}元</td>
192
+                  </tr>
193
+                  <tr>
194
+                      <td colspan="7">
195
+                          <div style="display:flex;flez-wrap:wrap;">
196
+                              <div style="width:33%;">医疗费总额:{{balanceAccounts.order.medfee_sumamt?balanceAccounts.order.medfee_sumamt:0}}元</div>
197
+                              <div style="width:33%;">基金支付金额:0元</div>
198
+                              <div style="width:33%;">个人账户支付金额:0元</div>
199
+
200
+                          </div>
201
+                          <div style="display:flex;flez-wrap:wrap;">
202
+                              <div style="width:33%;">个人支付金额:{{balanceAccounts.order.medfee_sumamt?balanceAccounts.order.medfee_sumamt:0}}元</div>
203
+                              <div style="width:33%;">个人账户金额:0元</div>
204
+                          </div>
205
+                      </td>
206
+                      <td>合计:{{balanceAccounts.order.medfee_sumamt?balanceAccounts.order.medfee_sumamt:0}}元</td>
207
+                  </tr>
208
+
209
+              </table>
240 210
             </div>
241 211
             <div style="float:right;margin:10px 0;display:flex;">
242
-                <div>操作人:<span
243
-                        style="width:100px;display:inline-block;">{{balanceAccounts.current_admin.user_name}}</span>
244
-                </div>
245
-                <div>操作日期:<span style="width:100px;display:inline-block;">{{getTime(new Date(),'{y}-{m}-{d}')?getTime(new Date(),'{y}-{m}-{d}'):''}}</span>
246
-                </div>
212
+                <div>操作人:<span style="width:100px;display:inline-block;">{{balanceAccounts.current_admin.user_name}}</span></div>
213
+                <div>操作日期:<span style="width:100px;display:inline-block;">{{getTime(new Date(),"{y}-{m}-{d}")?getTime(new Date(),"{y}-{m}-{d}"):""}}</span></div>
247 214
             </div>
248 215
             <img style="width:100%;" src="https://kuyi.shengws.com/bailin/blend.jpg" alt="">
249 216
         </div>
@@ -279,7 +246,7 @@
279 246
     props: {
280 247
       paramsObj: Object,
281 248
       info: Object,
282
-      balanceAccounts: Object
249
+      balanceAccounts:Object
283 250
     },
284 251
     methods: {
285 252
       getName(list) {
@@ -291,62 +258,62 @@
291 258
         }
292 259
 
293 260
         switch (new_list[0].bcc334) {
294
-          case 'A31001':
295
-            return '深圳医保1档'
261
+          case "A31001":
262
+            return "深圳医保1档"
296 263
             break
297
-          case 'A31002':
298
-            return '深圳医保2档'
264
+          case "A31002":
265
+            return "深圳医保2档"
299 266
 
300 267
             break
301
-          case 'A31003':
302
-            return '深圳医保3档'
268
+          case "A31003":
269
+            return "深圳医保3档"
303 270
 
304 271
             break
305
-          case 'A31004':
306
-            return '二档(少儿)'
272
+          case "A31004":
273
+            return "二档(少儿)"
307 274
 
308 275
             break
309
-          case 'A31005':
310
-            return '学生二档'
276
+          case "A31005":
277
+            return "学生二档"
311 278
 
312 279
             break
313
-          case 'A31006':
314
-            return '大学生二档'
280
+          case "A31006":
281
+            return "大学生二档"
315 282
 
316 283
             break
317
-          case 'A32001':
318
-            return '在职公务员'
284
+          case "A32001":
285
+            return "在职公务员"
319 286
             break
320
-          case 'A32002':
321
-            return '在职驻深公务员'
287
+          case "A32002":
288
+            return "在职驻深公务员"
322 289
 
323 290
             break
324
-          case 'A39301':
325
-            return '家属统筹医疗'
291
+          case "A39301":
292
+            return "家属统筹医疗"
326 293
 
327 294
             break
328
-          case 'A41001':
329
-            return '工伤在职'
295
+          case "A41001":
296
+            return "工伤在职"
330 297
 
331 298
             break
332
-          case 'A51001':
333
-            return '生育在职'
299
+          case "A51001":
300
+            return "生育在职"
334 301
 
335 302
             break
336
-          case 'A52001':
337
-            return '生育医疗一档'
303
+          case "A52001":
304
+            return "生育医疗一档"
338 305
 
339 306
             break
340
-          case 'A52002':
341
-            return '生育医疗一档'
307
+          case "A52002":
308
+            return "生育医疗一档"
342 309
 
343 310
             break
344
-          case 'C31001':
345
-            return '一档医疗退休'
311
+          case "C31001":
312
+            return "一档医疗退休"
346 313
 
347 314
             break
348
-          case 'C31002':
349
-            return '二档医疗退休'
315
+          case "C31002":
316
+            return "二档医疗退休"
350 317
             break
351 318
 
352 319
         }

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1162 - 750
src/xt_pages/workforce/components/tableWeeks.vue