Ver código fonte

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

XMLWAN 3 anos atrás
pai
commit
49577321a1

+ 1 - 1
src/api/project/project.js Ver arquivo

@@ -539,6 +539,6 @@ export function getInvoice(params){
539 539
   return request({
540 540
     url:"/api/fapiao/get",
541 541
     method:"get",
542
-    data:params
542
+    params:params
543 543
   })
544 544
 }

+ 23 - 0
src/xt_pages/outpatientCharges/components/chargeDialog.vue Ver arquivo

@@ -66,6 +66,19 @@
66 66
         </div>
67 67
       </el-form-item>
68 68
 
69
+      <el-form-item label="发票编码:">
70
+        <div style="display:flex;">
71
+          <el-input v-model.number="form.fapiao_code"></el-input>
72
+        </div>
73
+      </el-form-item>
74
+
75
+
76
+      <el-form-item label="发票号码:">
77
+        <div style="display:flex;">
78
+          <el-input v-model.number="form.fapiao_number"></el-input>
79
+        </div>
80
+      </el-form-item>
81
+
69 82
     </el-form>
70 83
 
71 84
     <span slot="footer" class="dialog-footer">
@@ -97,6 +110,9 @@
97 110
           reality_price:'',
98 111
           found_price:'',
99 112
           total:0,
113
+          fapiao_code:"",
114
+          fapiao_number:""
115
+
100 116
 
101 117
         },
102 118
         payWays: [
@@ -121,6 +137,8 @@
121 137
           preferential_price:'',
122 138
           reality_price:'',
123 139
           found_price:'',
140
+          fapiao_code:"",
141
+          fapiao_number:""
124 142
         },
125 143
 
126 144
       }
@@ -154,6 +172,11 @@
154 172
         this.form.discount_price = 0.0
155 173
         this.form.preferential_price = 0.0
156 174
 
175
+        this.form.fapiao_code =""
176
+        this.form.fapiao_number = ""
177
+
178
+
179
+
157 180
         this.visibility = true
158 181
 
159 182
       }, hide: function () {

+ 1 - 1
src/xt_pages/outpatientCharges/invoicePrint.vue Ver arquivo

@@ -63,7 +63,7 @@ export default {
63 63
     printThisPage() {
64 64
 
65 65
       const style =
66
-        '@media print {.printTitle{font-size: 22px;text-align: center;font-weight: bold;}.infoMain{display: flex;flex-wrap: wrap;padding:0 10px;margin-top:10px;}.infoMain .infoP{width: 33%;}.chargeBox{border: 1px solid #000;}.chargeUl{display:flex;justify-content: space-between;text-align: center;}.chargeUl p{line-height: 1px;}.chargeP{line-height: 1px;padding-bottom:16px;}.moneyBox{display: flex;justify-content: space-between;padding: 0 10px;background: #eeeeee;-webkit-print-color-adjust:exact;-moz-print-color-adjust:exact;-ms-print-color-adjust:exact;print-color-adjust:exact;height: 40px;align-items: center;border:1px solid #000; border-top:none}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;}.actionBar div{width:150px;}}';
66
+        '@media print {#invoice-print{font-size:12px;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}.infoMain{display: flex;flex-wrap: wrap;padding:0 10px;margin-top:10px;}.infoMain .infoP{width: 33%;}.chargeBox{border: 1px solid #000;}.chargeUl{display:flex;justify-content: space-between;text-align: center;}.chargeUl p{line-height: 1px;}.chargeP{line-height: 1px;padding-bottom:16px;}.moneyBox{display: flex;justify-content: space-between;padding: 0 10px;background: #eeeeee;-webkit-print-color-adjust:exact;-moz-print-color-adjust:exact;-ms-print-color-adjust:exact;print-color-adjust:exact;height: 40px;align-items: center;border:1px solid #000; border-top:none}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;}.actionBar div{width:150px;}}';
67 67
         printJS({
68 68
             printable: "invoice-print",
69 69
             type: "html",

+ 125 - 74
src/xt_pages/outpatientCharges/invoiceTemplate/printOne.vue Ver arquivo

@@ -1,105 +1,119 @@
1 1
 <template>
2 2
     <div id='invoice-print'>
3 3
         <div style="display:flex;">
4
-            <div>业务流水号:{{ list.order_number }}</div>
5
-            <div>社会保障号:{{ list.id_card_no }}</div>
4
+            <div style="position: absolute;top:50px;left:70px;">{{ list.order_number }}</div>
5
+            <!-- <div>{{ list.id_card_no }}</div> -->
6 6
         </div>
7 7
         <div style="display:flex;justify-content: space-between;">
8
-            <div>科室:{{ list.department_name }}</div>
9
-            <div>门诊号:{{ list.number }}</div>
10
-            <div>医院类型:</div>
11
-            <div>
12
-                <span>{{ printDate.slice(0,4) }}</span>
13
-                <span>{{ printDate.slice(5,7) }}</span>
14
-                <span>{{ printDate.slice(8,11) }}</span>
8
+            <!-- <div>{{ list.department_name }}</div> -->
9
+            <div  style="position: absolute;top:50px;left:300px">{{ list.number }}</div>
10
+            <div></div>
11
+            <div  style="position: absolute;left:560px;top:50px;">
12
+                <span>{{ printDate.slice(0,4) }}</span>
13
+                <span>{{ printDate.slice(5,7) }}</span>
14
+                <span>{{ printDate.slice(8,11) }}</span>
15 15
             </div>
16 16
         </div>
17 17
         <div style="display:flex;justify-content: space-between;">
18
-            <div>姓名: {{ paramsObj.name }}</div>
19
-            <div>{{ list.pay_way }}</div>
20
-            <div>住院日期: {{ paramsObj.setl_time.split(' ')[0] }}</div>
21
-            <div>出院日期: {{ paramsObj.setl_time.split(' ')[0] }}</div>
18
+            <div style="position: absolute;top:70px;left:120px;"> {{ paramsObj.name }}</div>
19
+            <div style="position: absolute;top:70px;left:240px;">√</div>
20
+            <!-- <div>{{ list.pay_way }}</div> -->
21
+            <!-- <div style="position: absolute;top:70px;left:460px;">{{ paramsObj.setl_time.split(' ')[0] }}</div>
22
+            <div style="position: absolute;top:70px;left:560px;">{{ paramsObj.setl_time.split(' ')[0] }}</div> -->
22 23
         </div>
23 24
         <div style="display:flex;justify-content: space-between;">
24
-            <div>性别: {{ paramsObj.gend == 1 ? '男' : '女' }}</div>
25
-            <div>医保/公医记账:{{ totalPrice - list.psn_cash_money }}</div>
26
-            <div>个人缴费: {{ list.psn_cash_money }}</div>
27
-            <div>结算方式: {{ list.pay_way }}</div>
25
+            <!-- <div>{{ paramsObj.gend == 1 ? '男' : '女' }}</div> -->
26
+            <div style="position: absolute;top:90px;left:260px;">{{ totalPrice - list.psn_cash_money }}</div>
27
+            <div style="position: absolute;top:90px;left:440px;">{{ list.psn_cash_money }}</div>
28
+            <div style="position: absolute;top:90px;left:580px;">门慢结算</div>
28 29
         </div>
29 30
         <div style="display:flex;justify-content: space-between;">
30
-            <div style="width:12.5%">西药</div>
31
-            <div style="width:12.5%">{{ list.westernMedicineCostTotal }}</div>
32
-            <div style="width:12.5%">检查费</div>
33
-            <div style="width:12.5%">{{ list.checkCostTotal }}</div>
34
-            <div style="width:12.5%">治疗费</div>
35
-            <div style="width:12.5%">{{ list.treatCostTotal }}</div>
36
-            <div style="width:12.5%">床位费</div>
37
-            <div style="width:12.5%">{{ list.bedCostTotal }}</div>
31
+            <div style="position: absolute;top:140px;left:40px">西药</div>
32
+            <div style="position: absolute;top:140px;left:110px">{{ list.westernMedicineCostTotal }}</div>
33
+            <div style="position: absolute;top:140px;left:180px">检查费</div>
34
+            <div style="position: absolute;top:140px;left:260px">{{ list.checkCostTotal }}</div>
35
+            <div style="position: absolute;top:140px;left:340px">治疗费</div>
36
+            <div style="position: absolute;top:140px;left:420px">{{ list.treatCostTotal }}</div>
37
+            <div style="position: absolute;top:140px;left:500px">床位费</div>
38
+            <div style="position: absolute;top:140px;left:580px">{{ list.bedCostTotal }}</div>
38 39
         </div>
39 40
         <div style="display:flex;justify-content: space-between;">
40
-            <div style="width:12.5%">中成药</div>
41
-            <div style="width:12.5%">{{ list.chineseTraditionalMedicineCostTotal }}</div>
42
-            <div style="width:12.5%">化验费</div>
43
-            <div style="width:12.5%">{{ list.laboratoryCostTotal }}</div>
44
-            <div style="width:12.5%">手术费</div>
45
-            <div style="width:12.5%">{{ list.operationCostTotal }}</div>
46
-            <div style="width:12.5%">其他费</div>
47
-            <div style="width:12.5%">{{ list.otherCostTotal }}</div>
41
+            <div style="position: absolute;top:170px;left:40px">中成药</div>
42
+            <div style="position: absolute;top:170px;left:110px">{{ list.chineseTraditionalMedicineCostTotal }}</div>
43
+            <div style="position: absolute;top:170px;left:180px">化验费</div>
44
+            <div style="position: absolute;top:170px;left:260px">{{ list.laboratoryCostTotal }}</div>
45
+            <div style="position: absolute;top:170px;left:340px">手术费</div>
46
+            <div style="position: absolute;top:170px;left:420px">{{ list.operationCostTotal }}</div>
47
+            <div style="position: absolute;top:170px;left:500px">其他费</div>
48
+            <div style="position: absolute;top:170px;left:580px">{{ list.otherCostTotal }}</div>
48 49
         </div>
49 50
         <div style="display:flex;justify-content: space-between;">
50
-            <div style="width:12.5%"></div>
51
-            <div style="width:12.5%"></div>
52
-            <div style="width:12.5%"></div>
53
-            <div style="width:12.5%"></div>
54
-            <div style="width:12.5%">材料费</div>
55
-            <div style="width:12.5%">{{ list.materialCostTotal }}</div>
56
-            <div style="width:12.5%"></div>
57
-            <div style="width:12.5%"></div>
51
+            <div style="position: absolute;top:190px;left:40px"></div>
52
+            <div style="position: absolute;top:190px;left:110px"></div>
53
+            <div style="position: absolute;top:190px;left:180px"></div>
54
+            <div style="position: absolute;top:190px;left:260px"></div>
55
+            <div style="position: absolute;top:190px;left:340px">材料费</div>
56
+            <div style="position: absolute;top:190px;left:420px">{{ list.materialCostTotal }}</div>
57
+            <div style="position: absolute;top:190px;left:500px"></div>
58
+            <div style="position: absolute;top:190px;left:580px"></div>
58 59
         </div>
59 60
         <div>
60 61
             <span>
62
+            <span  style="position: absolute;top:240px;left:180px">
63
+                <span v-if="zhongwen.indexOf('万') > -1 && zhongwen.indexOf('拾') > -1 && zhongwen.indexOf('拾') == 1">
64
+                    {{ zhongwen.substring(0,1) }}
65
+                </span>
66
+                <span v-else>零</span>
67
+            </span>
68
+            <span  style="position: absolute;top:240px;left:220px">
61 69
                 <span v-if="zhongwen.indexOf('万') > -1">
62
-                    {{ zhongwen.substring(zhongwen.indexOf('万'),-1) }}
70
+                    {{ zhongwen.substring(zhongwen.indexOf('万') - 1,zhongwen.indexOf('万')) }}
63 71
                 </span>
64 72
                 <span v-else>零</span>
65 73
             </span>
66
-            <span>
74
+            <span  style="position: absolute;top:240px;left:260px">
67 75
                 <span v-if="zhongwen.indexOf('仟') > -1">
68
-                    {{ zhongwen.substring(zhongwen.indexOf('仟'),-1) }}
76
+                    {{ zhongwen.substring(zhongwen.indexOf('仟') - 1,zhongwen.indexOf('仟')) }}
69 77
                 </span>
70 78
                 <span v-else>零</span>
71 79
             </span>
72
-            <span>
80
+            <span  style="position: absolute;top:240px;left:300px">
73 81
                 <span v-if="zhongwen.indexOf('佰') > -1">
74 82
                     {{ zhongwen.substring(zhongwen.indexOf('佰') - 1,zhongwen.indexOf('佰')) }}
75 83
                 </span>
76 84
                 <span v-else>零</span>
77 85
             </span>
78
-            <span>
86
+            <span style="position: absolute;top:240px;left:340px">
79 87
                 <span v-if="zhongwen.indexOf('拾') > -1">
80 88
                     {{ zhongwen.substring(zhongwen.indexOf('拾') - 1,zhongwen.indexOf('拾')) }}
81 89
                 </span>
82 90
                 <span v-else>零</span>
83 91
             </span>
84
-            <span>
85
-                <span v-if="zhongwen.indexOf('元') > -1">
92
+            <span  style="position: absolute;top:240px;left:380px">
93
+                <span v-if="zhongwen.indexOf('元') > -1 && zhongwen.substring(zhongwen.indexOf('元') - 1,zhongwen.indexOf('元')) != '拾'">
86 94
                     {{ zhongwen.substring(zhongwen.indexOf('元') - 1,zhongwen.indexOf('元')) }}
87 95
                 </span>
88 96
                 <span v-else>零</span>
89 97
             </span>
90
-            <span>
98
+            <span  style="position: absolute;top:240px;left:420px">
91 99
                 <span v-if="zhongwen.indexOf('角') > -1">
92 100
                     {{ zhongwen.substring(zhongwen.indexOf('角') - 1,zhongwen.indexOf('角')) }}
93 101
                 </span>
94 102
                 <span v-else>零</span>
95 103
             </span>
96
-            <span>
104
+            <span  style="position: absolute;top:240px;left:460px">
97 105
                 <span v-if="zhongwen.indexOf('分') > -1">
98 106
                     {{ zhongwen.substring(zhongwen.indexOf('分') - 1,zhongwen.indexOf('分')) }}
99 107
                 </span>
100 108
                 <span v-else>零</span>
101 109
             </span>
102
-            <span>{{ totalPrice }}</span>
110
+            </span>
111
+            <span style="position: absolute;top:240px;left:540px">{{ totalPrice }}</span>
112
+        </div>
113
+        <div>
114
+            <div style="position: absolute;top:320px;left:70px">{{ org_name }}</div>
115
+            <div v-if="org_id == 9990" style="position: absolute;top:320px;left:300px">钱玉玲</div>
116
+            <div v-if="org_id == 9990" style="position: absolute;top:320px;left:420px">陈国杰</div>
103 117
         </div>
104 118
     </div>
105 119
 </template>
@@ -116,7 +130,9 @@ export default {
116 130
             list:{},
117 131
             printDate:'',
118 132
             zhongwen:'',
119
-            totalPrice:0.0
133
+            totalPrice:0.0,
134
+            org_id:'',
135
+            org_name:''
120 136
         }
121 137
     },
122 138
     created(){
@@ -130,7 +146,9 @@ export default {
130 146
         var month =data.getMonth() < 9 ? "0" + (data.getMonth() + 1) : data.getMonth() + 1;
131 147
         var date = data.getDate() <= 9 ? "0" + data.getDate() : data.getDate();
132 148
         this.printDate = data.getFullYear() + "-" + month + "-" + date;
133
-        
149
+        // this.smalltoBIG(982732.21)
150
+        this.org_id = this.$store.getters.xt_user.org_id
151
+        this.org_name = this.$store.getters.xt_user.org.org_name
134 152
     },
135 153
     methods:{
136 154
         getInvoice(params){
@@ -142,31 +160,64 @@ export default {
142 160
                 this.smalltoBIG(this.totalPrice)
143 161
             })
144 162
         },
145
-        smalltoBIG(price) {
146
-            let fraction = ['角', '分'];
147
-            let digit = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖'];
148
-            let unit = [['元.', '万,', '亿,'], ['元', '拾', '佰', '仟']];
149
-            let head = price < 0 ? '欠' : '';
150
-            price = Math.abs(price);
151
-            let upper = '';
152
-            for (let i = 0; i < fraction.length; i++) {
153
-            upper += (digit[Math.floor(price * 10 * Math.pow(10, i)) % 10] + fraction[i]).replace(/零./, '');
163
+        smalltoBIG(n) {
164
+            // let fraction = ['角', '分'];
165
+            // let digit = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖'];
166
+            // let unit = [['元.', '万,', '亿,'], ["元",'拾', '佰', '仟']];
167
+            // let head = price < 0 ? '欠' : '';
168
+            // price = Math.abs(price);
169
+            // let upper = '';
170
+            // for (let i = 0; i < fraction.length; i++) {
171
+            // upper += (digit[Math.floor(price * 10 * Math.pow(10, i)) % 10] + fraction[i]).replace(/零./, '');
172
+            // }
173
+            // upper = upper || '整';
174
+            // price = Math.floor(price);
175
+            // for (let i = 0; i < unit[0].length && price > 0; i++) {
176
+            // let p = '';
177
+            // for (let j = 0; j < unit[1].length && price > 0; j++) {
178
+            //     p = digit[price % 10] + unit[1][j] + p;
179
+            //     price = Math.floor(price / 10);
180
+            // }
181
+            // upper = p.replace(/(零.)*零$/, '').replace(/^$/, '零') + unit[0][i] + upper;
182
+            // }
183
+            // this.zhongwen = head + upper.replace(/(零.)*零圆/, '圆').replace(/(零.)+/g, '零').replace(/^整$/, '零圆整')
184
+            // console.log('6666',head + upper.replace(/(零.)*零圆/, '圆').replace(/(零.)+/g, '零').replace(/^整$/, '零圆整'))
185
+            if (!/^(0|[1-9]\d*)(\.\d+)?$/.test(n)){
186
+                return "数据非法";  //判断数据是否大于0
154 187
             }
155
-            upper = upper || '整';
156
-            price = Math.floor(price);
157
-            for (let i = 0; i < unit[0].length && price > 0; i++) {
158
-            let p = '';
159
-            for (let j = 0; j < unit[1].length && price > 0; j++) {
160
-                p = digit[price % 10] + unit[1][j] + p;
161
-                price = Math.floor(price / 10);
188
+
189
+            var unit = "仟佰拾亿仟佰拾万仟佰拾元角分", str = "";
190
+            n += "00";  
191
+
192
+            var indexpoint = n.indexOf('.');  // 如果是小数,截取小数点前面的位数
193
+
194
+            if (indexpoint >= 0){
195
+
196
+                n = n.substring(0, indexpoint) + n.substr(indexpoint+1, 2);   // 若为小数,截取需要使用的unit单位
162 197
             }
163
-            upper = p.replace(/(零.)*零$/, '').replace(/^$/, '零') + unit[0][i] + upper;
198
+
199
+            unit = unit.substr(unit.length - n.length);  // 若为整数,截取需要使用的unit单位
200
+            for (var i=0; i < n.length; i++){
201
+                str += "零壹贰叁肆伍陆柒捌玖".charAt(n.charAt(i)) + unit.charAt(i);  //遍历转化为大写的数字
164 202
             }
165
-            this.zhongwen = head + upper.replace(/(零.)*零圆/, '圆').replace(/(零.)+/g, '零').replace(/^整$/, '零圆整')
166
-            console.log('6666',head + upper.replace(/(零.)*零圆/, '圆').replace(/(零.)+/g, '零').replace(/^整$/, '零圆整'))
167
-    
203
+
204
+            this.zhongwen =  str.replace(/零(仟|佰|拾|角)/g, "零").replace(/(零)+/g, "零").replace(/零(万|亿|元)/g, "$1").replace(/(亿)万|壹(拾)/g, "$1$2").replace(/^元零?|零分/g, "").replace(/元$/g, "元整");
205
+            console.log(this.zhongwen)
168 206
         },
169 207
 
208
+    },
209
+    watch:{
210
+        paramsObj:{//深度监听,可监听到对象、数组的变化
211
+            handler(val, oldVal){
212
+                let params = {
213
+                    order_id: val.order_id,
214
+                    patient_id: val.patient_id,
215
+                }
216
+                this.getInvoice(params)
217
+
218
+            },
219
+            deep:true
220
+        }
170 221
     }
171 222
 }
172
-</script>
223
+</script>

+ 5 - 5
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue Ver arquivo

@@ -138,11 +138,11 @@
138 138
                         >退号
139 139
                         </el-button>
140 140
 
141
-                        <el-button
142
-                        v-if="$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919  || this.$store.getters.xt_user.org_id == 9671 || this.$store.getters.xt_user.org_id == 9674   || this.$store.getters.xt_user.org_id == 10106 || this.$store.getters.xt_user.org_id == 9990"
143
-                        size="small" @click="open(11)" type="primary"
144
-                        >撤销明细
145
-                        </el-button>
141
+                        <!--<el-button-->
142
+                        <!--v-if="$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919  || this.$store.getters.xt_user.org_id == 9671 || this.$store.getters.xt_user.org_id == 9674   || this.$store.getters.xt_user.org_id == 10106 || this.$store.getters.xt_user.org_id == 9990"-->
143
+                        <!--size="small" @click="open(11)" type="primary"-->
144
+                        <!--&gt;撤销明细-->
145
+                        <!--</el-button>-->
146 146
 
147 147
                     </div>
148 148
                     <!--<el-button size="small" @click="query" type="primary"-->

+ 305 - 0
src/xt_pages/outpatientCharges/settlementPrint.vue Ver arquivo

@@ -0,0 +1,305 @@
1
+<template>
2
+  <div>
3
+    <template>
4
+      <el-button
5
+        style="position:fixed;right:25px;z-index:999"
6
+        :loading="loading"
7
+        size="small"
8
+        icon="el-icon-printer"
9
+        @click="printThisPage"
10
+        type="primary"
11
+        >打印</el-button
12
+      >
13
+    </template>
14
+    <div class="app-container" style="padding-top:40px;">
15
+        <div class='dialysisPage'>
16
+            <printOne v-bind:childResponse="childResponse" :paramsObj="paramsObj"></printOne>
17
+        </div>
18
+    </div>
19
+  </div>
20
+</template>
21
+
22
+<script>
23
+
24
+import { jsGetAge, uParseTime } from "@/utils/tools";
25
+// import LabelBox from "./printItem/LabelBox";
26
+import print from "print-js";
27
+import printOne from "./settlementTemplate/printOne"
28
+import axios from 'axios'
29
+export default {
30
+  name: "dialysisPrintOrder",
31
+  components: {
32
+    printOne
33
+  },
34
+  props:{
35
+    paramsObj:Object
36
+  },
37
+  data() {
38
+    return {
39
+      crumbs: [
40
+        { path: false, name: "透析管理" },
41
+        { path: false, name: "打印单" }
42
+      ],
43
+      childResponse: {},
44
+      paramsObj:{}
45
+      
46
+
47
+    };
48
+  },
49
+  methods: {
50
+    getAdminUser(id) {
51
+      if (id == 0) {
52
+        return "";
53
+      }
54
+      if (id == undefined) {
55
+        return "";
56
+      }
57
+      for (let i = 0; i < this.adminUser.length; i++) {
58
+        if (this.adminUser[i].id == id) {
59
+          return this.adminUser[i].name;
60
+        }
61
+      }
62
+    },
63
+    getTime(value, temp) {
64
+      if (value == 0) {
65
+        return "";
66
+      }
67
+      if (value != undefined) {
68
+        return uParseTime(value, temp);
69
+      }
70
+      return "";
71
+    },
72
+    printThisPage() {
73
+      var ptime = Math.round(new Date().getTime() / 1000);
74
+      this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
75
+
76
+      const style =
77
+        '@media print {.printTitle{font-size: 22px;text-align: center;font-weight: bold;}.infoMain{display: flex;flex-wrap: wrap;padding:0 10px;margin-top:10px;}.infoMain .infoP{width: 33%;}.chargeBox{border: 1px solid #000;}.chargeUl{display:flex;justify-content: space-between;text-align: center;}.chargeUl p{line-height: 1px;}.chargeP{line-height: 1px;padding-bottom:16px;}.moneyBox{display: flex;justify-content: space-between;padding: 0 10px;background: #eeeeee;-webkit-print-color-adjust:exact;-moz-print-color-adjust:exact;-ms-print-color-adjust:exact;print-color-adjust:exact;height: 40px;align-items: center;border:1px solid #000; border-top:none}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;}.actionBar div{width:150px;}}';
78
+        const style1 = "@media print{#prescription-print{font-size:14px;}.title{text-align: center;font-size: 22px;font-weight: bold;}.row{display: flex;justify-content: space-between;}.under_line{border-bottom: 1px solid #999;width: 95%;text-align: center;margin-left: 2px;display: inline-block;}.inline_block{display: inline-block;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;}.print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 14px;padding: 5px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; /* 解决边框冲突 */border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid;text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}}"
79
+        printJS({
80
+            printable: "prescription-print",
81
+            type: "html",
82
+            style: style1,
83
+            scanStyles: false
84
+        });
85
+
86
+      // if (this.org_template_info.template_id == 1) {
87
+      //   printJS({
88
+      //     printable: "dialysis-print-box",
89
+      //     type: "html",
90
+      //     style: style,
91
+      //     scanStyles: false
92
+      //   });
93
+      // }
94
+    },
95
+    getAllDoctorList(){
96
+      getAllDoctorList().then(response=>{
97
+        if(response.data.state == 1){
98
+               var doctor =  response.data.data.doctor
99
+
100
+               this.doctorList = doctor
101
+             }
102
+         })
103
+     },
104
+    getAllHisPatientList(){
105
+         const params = {
106
+           record_date:this.record_date
107
+         }
108
+      getAllHisPatientList(params).then(response=>{
109
+         if(response.data.state == 1){
110
+            this.patientTableData = response.data.data.list
111
+            this.patientTableDataTwo = response.data.data.list
112
+
113
+            console.log('222', this.patientTableData)
114
+            let cal_one = 0
115
+            let cal_two = 0
116
+            for (let i = 0; i < response.data.data.list.length; i++) {
117
+              if (response.data.data.list[i].prescription == null || response.data.data.list[i].prescription.length == 0) {
118
+                cal_one = cal_one + 1
119
+              }
120
+              if (response.data.data.list[i].prescription != null && response.data.data.list[i].prescription.length > 0) {
121
+                cal_two = cal_two + 1
122
+              }
123
+            }
124
+            // this.$refs.tab.setCurrentRow(this.patientTableData[0])
125
+            // console.log(this.patientTableData[0])
126
+            // this.choosePatient(this.patientTableData[0])
127
+            this.cal_one = cal_one
128
+            this.cal_two = cal_two
129
+         }
130
+      })
131
+    },
132
+
133
+    changePatient(row){
134
+      console.log("row",row)
135
+      this.patient_id = row.patient_id
136
+      this.record_date = this.record_date
137
+      this.prescription_id = this.prescription_id
138
+      //   var params = {
139
+      //     patient_id:row.patient_id,
140
+      //     record_date:this.record_date,
141
+      //     prescription_id:this.prescription_id,
142
+      //   }
143
+      // getPrescriptionPrint(params).then(response=>{
144
+      //     if(response.data.state == 1){
145
+      //       var advicePrint =  response.data.data.advicePrint
146
+      //       console.log("adviceprint",advicePrint)
147
+      //       this.advicePrint = advicePrint
148
+      //       // var hisPatient =  response.data.data.hisPatient
149
+      //       // console.log("hispatient",hisPatient)
150
+      //       // this.hisPatient = hisPatient
151
+      //       var patient =  response.data.data.patient
152
+      //       console.log("patient",patient)
153
+      //       this.patient = patient
154
+      //       var doctorPorject = response.data.data.doctorPorject
155
+      //       console.log("doctorporject",doctorPorject)
156
+      //     }
157
+      // })
158
+    },
159
+    searchAction(){
160
+
161
+    },
162
+    getInfo(order_id) {
163
+      if (this.$store.getters.xt_user.org_id == 3877 || this.$store.getters.xt_user.org_id == 9919 ||  this.$store.getters.xt_user.org_id == 9671 ||  this.$store.getters.xt_user.org_id == 9674 ||  this.$store.getters.xt_user.org_id == 10106  ||  this.$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9990 || this.$store.getters.xt_user.org_id == 0) {
164
+
165
+        var that = this
166
+
167
+        axios.get('http://127.0.0.1:9532/api/settle/query', {
168
+          params: {
169
+            order_id: order_id,
170
+            admin_user_id:this.$store.getters.xt_user.user.id,
171
+
172
+          }
173
+        })
174
+          .then(function (response) {
175
+            if (response.data.state == 0) {
176
+              this.$message.error(response.data.msg)
177
+              return false
178
+            } else {
179
+              console.log("logloglog")
180
+
181
+              console.log(response.data.data.info)
182
+              that.info = response.data.data.info
183
+              console.log(that.info)
184
+
185
+              that.info['bed_cost_total'] = response.data.data.bedCostTotal
186
+              that.info['bed_cost_self_total'] = response.data.data.bedCostSelfTotal
187
+              that.info['bed_cost_part_self_total'] = response.data.data.bedCostPartSelfTotal
188
+
189
+              that.info['operation_cost_total'] = response.data.data.operationCostTotal
190
+              that.info['operation_cost_self_total'] = response.data.data.operationCostSelfTotal
191
+              that.info['operation_cost_part_self_total'] = response.data.data.operationCostPartSelfTotal
192
+
193
+              that.info['other_cost_total'] = response.data.data.otherCostTotal
194
+              that.info['other_cost_self_total'] = response.data.data.otherCostSelfTotal
195
+              that.info['other_cost_part_self_total'] = response.data.data.otherCostPartSelfTotal
196
+
197
+              that.info['material_cost_total'] = response.data.data.materialCostTotal
198
+              that.info['material_cost_self_total'] = response.data.data.materialCostSelfTotal
199
+              that.info['material_cost_part_self_total'] = response.data.data.materialCostPartSelfTotal
200
+
201
+              that.info['western_medicine_cost_total'] = response.data.data.westernMedicineCostTotal
202
+              that.info['western_medicine_cost_self_total'] = response.data.data.westernMedicineCostSelfTotal
203
+              that.info['western_medicine_cost_part_self_total'] = response.data.data.westernMedicineCostPartSelfTotal
204
+
205
+              that.info['chinese_traditional_medicine_cost_total'] = response.data.data.chineseTraditionalMedicineCostTotal
206
+              that.info['chinese_traditional_medicine_cost_self_total'] = response.data.data.chineseTraditionalMedicineCostSelfTotal
207
+              that.info['chinese_traditional_medicine_cost_part_self_total'] = response.data.data.chineseTraditionalMedicineCostPartSelfTotal
208
+
209
+
210
+              that.info['check_cost_total'] = response.data.data.checkCostTotal
211
+              that.info['check_cost_self_total'] = response.data.data.checkCostSelfTotal
212
+              that.info['check_cost_part_self_total'] = response.data.data.checkCostPartSelfTotal
213
+
214
+
215
+              that.info['laboratory_cost_total'] = response.data.data.laboratoryCostTotal
216
+              that.info['laboratory_cost_self_total'] = response.data.data.laboratoryCostSelfTotal
217
+              that.info['laboratory_cost_part_self_total'] = response.data.data.laboratoryCostPartSelfTotal
218
+
219
+              that.info['treat_cost_total'] = response.data.data.treatCostTotal
220
+              that.info['treat_cost_self_total'] = response.data.data.treatCostSelfTotal
221
+              that.info['treat_cost_part_self_total'] = response.data.data.treatCostPartSelfTotal
222
+              that.info['date'] =  response.data.data.date
223
+              that.info['number'] =  response.data.data.number
224
+              that.info['order_infos'] =  response.data.data.order_infos
225
+              that.info['diagnosis'] =  response.data.data.diagnosis
226
+
227
+            }
228
+          })
229
+          .catch(function (error) {
230
+
231
+          });
232
+      }
233
+    }
234
+  },
235
+  created() {
236
+    this.getInfo(this.paramsObj.order_id)
237
+    this.org_id = this.$store.getters.xt_user.org_id
238
+  },
239
+  watch:{
240
+    paramsObj:{//深度监听,可监听到对象、数组的变化
241
+      handler(val, oldVal){
242
+        this.paramsObj = val
243
+        this.getInfo(this.paramsObj.order_id)
244
+
245
+      },
246
+      deep:true
247
+    }
248
+  }
249
+};
250
+</script>
251
+
252
+<style lang="scss" scoped>
253
+.printTitle{
254
+    font-size: 22px;
255
+    text-align: center;
256
+    font-weight: bold;
257
+}
258
+.infoMain{
259
+    display: flex;
260
+    flex-wrap: wrap;
261
+    border-bottom: 2px solid #000;
262
+    padding:0 10px;
263
+}
264
+.infoMain .infoP{
265
+    width: 33%;
266
+    line-height: 24px;
267
+}
268
+.prescriptionBox{
269
+    padding:0 10px;
270
+    height:600px;
271
+}
272
+.Rp{
273
+    font-size: 22px;
274
+    font-weight: bold;
275
+}
276
+.drugsBox{
277
+    padding-left: 40px;
278
+    margin-bottom: 10px;
279
+}
280
+.drugsBox p{
281
+    line-height: 30px;
282
+}
283
+.drugsOne{
284
+    line-height: 24px;
285
+}
286
+.drugsOne span{
287
+    margin-right: 20px;
288
+}
289
+.doctorBox{
290
+    display: flex;
291
+    justify-content: space-between;
292
+    padding:0 10px;
293
+    line-height: 24px;
294
+    border-bottom: 2px solid #000;
295
+}
296
+.actionBar{
297
+    display: flex;
298
+    justify-content: space-between; 
299
+    line-height: 24px;
300
+    padding:0 10px;
301
+}
302
+.actionBar p{
303
+    width:150px;
304
+}
305
+</style>

+ 900 - 0
src/xt_pages/outpatientCharges/settlementTemplate/printOne.vue Ver arquivo

@@ -0,0 +1,900 @@
1
+<template>
2
+    <div id="prescription-print" class="print_page_main_content">
3
+        <div class="title">广东省社会医疗保障基金结算清单</div>
4
+        <div style="text-align:right;">清单流水号 <div style="width:120px;" class="under_line"></div></div>
5
+        <div class="row">
6
+            <div>定点医疗机构名称<div style="width:120px;" class="under_line">{{info.fixmedins_name}}</div></div>
7
+            <div>定点医疗机构代码<div style="width:120px;" class="under_line">{{info.fixmedins_code}}</div></div>
8
+            <div>医保结算等级
9
+                <div style="width:120px;" class="under_line">
10
+                    <span v-if="info.hosp_lv == '1'">三级特等</span>
11
+                    <span v-if="info.hosp_lv == '2'">三级甲等</span>
12
+                    <span v-if="info.hosp_lv == '3'">三级乙等</span>
13
+                    <span v-if="info.hosp_lv == '4'">三级丙等</span>
14
+                    <span v-if="info.hosp_lv == '5'">二级甲等</span>
15
+                    <span v-if="info.hosp_lv == '6'">二级乙等</span>
16
+                    <span v-if="info.hosp_lv == '7'">二级丙等</span>
17
+                    <span v-if="info.hosp_lv == '8'">一级甲等</span>
18
+                    <span v-if="info.hosp_lv == '9'">一级乙等</span>
19
+                    <span v-if="info.hosp_lv == '10'">一级丙等</span>
20
+                    <span v-if="info.hosp_lv == '11'">无等级</span>
21
+                    <span v-else></span>
22
+                </div>
23
+            </div>
24
+        </div>
25
+        <div class="row">
26
+            <div>医保编号<div style="width:120px;" class="under_line"></div></div>
27
+            <div>病案号<div style="width:120px;" class="under_line">{{info.psn_no}}</div></div>
28
+            <div>申报时间
29
+                <div style="width:40px;" class="under_line"></div>年
30
+                <div style="width:40px;" class="under_line"></div>月
31
+                <div style="width:40px;" class="under_line"></div>日
32
+            </div>
33
+        </div>
34
+        <div>
35
+            <table class="proj_table">
36
+                <tbody>
37
+                    <tr>
38
+                        <td style="letter-spacing:5px;text-align:center;font-weight:520;font-size:16px;padding: 6px 8px;line-height: 30px;">
39
+                            一、基本信息
40
+                        </td>
41
+                    </tr>
42
+                    <tr>
43
+                        <td>
44
+                            <div class="row">
45
+                                <div class="inline_block">姓名
46
+                                    <div style="width:80px;" class="under_line">{{info.psn_name}}</div>
47
+                                </div>
48
+                                <div class="inline_block">性别
49
+                                    <label-box :isChecked="info.gend == '1'" showValue="男"></label-box>
50
+                                    <label-box :isChecked="info.gend == '2'" showValue="女"></label-box>
51
+                                </div>
52
+                                <div class="inline_block">出生日期
53
+                                    <!-- <div style="width:40px;" class="under_line">{{info.brdy.slice(0,4)}}</div>年
54
+                                    <div style="width:40px;" class="under_line">{{ info.brdy.slice(5,7) }}</div>月
55
+                                    <div style="width:40px;" class="under_line">{{ info.brdy.slice(8,11) }}</div>日 -->
56
+                                </div>
57
+                                <div class="inline_block">年龄
58
+                                    <div style="width:80px;" class="under_line"></div>岁
59
+                                </div>
60
+                                <div class="inline_block">国籍
61
+                                    <div style="width:80px;" class="under_line"></div>
62
+                                </div>
63
+                            </div>
64
+                            <div class="row">
65
+                                <div class="inline_block">(年龄不足1周岁)年龄
66
+                                    <div style="width:80px;" class="under_line"></div>天
67
+                                </div>
68
+                                <div class="inline_block">民族
69
+                                    <div style="width:80px;" class="under_line"></div>
70
+                                </div>
71
+                                <div class="inline_block">患者证件类别
72
+                                    <div style="width:80px;" class="under_line">身份证</div>
73
+                                </div>
74
+                                <div class="inline_block">患者证件号码
75
+                                    <div style="width:140px;" class="under_line">{{info.certno}}</div>
76
+                                </div>
77
+                            </div>
78
+                            <div>
79
+                                <div class="inline_block">职业
80
+                                    <div style="width:80px;" class="under_line"></div>
81
+                                </div>
82
+                                <div class="inline_block" style="width:80px;"></div>
83
+                                <div class="inline_block">现住址
84
+                                    <div style="width:80px;" class="under_line"></div>省(区、市)
85
+                                    <div style="width:80px;" class="under_line"></div>市
86
+                                    <div style="width:80px;" class="under_line"></div>县
87
+                                    <div style="width:140px;" class="under_line"></div>
88
+                                </div>
89
+                            </div>
90
+                            <div class="row">
91
+                                <div class="inline_block">工作单位名称
92
+                                    <div style="width:80px;" class="under_line">{{info.emp_name}}</div>
93
+                                </div>
94
+                                <div class="inline_block">工作单位地址
95
+                                    <div style="width:160px;" class="under_line"></div>
96
+                                </div>
97
+                                <div class="inline_block">单位电话
98
+                                    <div style="width:120px;" class="under_line"></div>
99
+                                </div>
100
+                                <div class="inline_block">邮编
101
+                                    <div style="width:120px;" class="under_line"></div>
102
+                                </div>
103
+                            </div>
104
+                            <div class="row">
105
+                                <div class="inline_block">联系人姓名
106
+                                    <div style="width:80px;" class="under_line"></div>
107
+                                </div>
108
+                                <div class="inline_block">关系
109
+                                    <div style="width:80px;" class="under_line"></div>
110
+                                </div>
111
+                                <div class="inline_block">地址
112
+                                    <div style="width:80px;" class="under_line"></div>省(区、市)
113
+                                    <div style="width:80px;" class="under_line"></div>市
114
+                                    <div style="width:80px;" class="under_line"></div>县
115
+                                    <div style="width:140px;" class="under_line"></div>
116
+                                </div>
117
+                                <div class="inline_block">电话
118
+                                    <div style="width:80px;" class="under_line"></div>
119
+                                </div>
120
+                            </div>
121
+                            <div class="row">
122
+                                <div style="width:33%;">医保类型<div style="width:120px;" class="under_line"></div></div>
123
+                                <div style="width:33%;">特殊人员类型<div style="width:120px;" class="under_line"></div></div>
124
+                                <div style="width:33%;">参保地<div style="width:120px;" class="under_line"></div></div>
125
+                            </div>
126
+                            <div class="row">
127
+                                <div style="width:33%;">新生儿入院类型<div style="width:120px;" class="under_line"></div></div>
128
+                                <div style="width:33%;">新生儿出生体重<div style="width:120px;" class="under_line"></div>克</div>
129
+                                <div style="width:33%;">新生儿入院体重<div style="width:120px;" class="under_line"></div>克</div>
130
+                            </div>
131
+                        </td>
132
+                    </tr>
133
+                    <tr>
134
+                        <td style="letter-spacing:5px;text-align:center;font-weight:520;font-size:16px;padding: 6px 8px;line-height: 30px;">
135
+                            二、门诊慢特病诊疗信息
136
+                        </td>
137
+                    </tr>
138
+                    <tr>
139
+                        <td>
140
+                            <div class="row">
141
+                                <div class="inline_block">诊断科别
142
+                                    <div style="width:100px;" class="under_line"></div>
143
+                                </div>
144
+                                <div class="inline_block">就诊日期
145
+                                    <div style="width:100px;" class="under_line"></div>
146
+                                </div>
147
+                            </div>
148
+                        </td>
149
+                    </tr>
150
+                    <tr>
151
+                        <td style="padding:0;line-height:30px;height:30px;">
152
+                            <table class="inside_table">
153
+                                <tbody>
154
+                                    <tr>
155
+                                        <td style="width:25%;">诊断名称</td>
156
+                                        <td style="width:25%;">诊断代码</td>
157
+                                        <td style="width:25%;">手术及操作名称</td>
158
+                                        <td style="width:25%;">手术及操作代码</td>
159
+                                    </tr>
160
+                                    <tr v-for="item in 6">
161
+                                        <td>&nbsp;</td>
162
+                                        <td>&nbsp;</td>
163
+                                        <td>&nbsp;</td>
164
+                                        <td>&nbsp;</td>
165
+                                    </tr>
166
+                                </tbody>
167
+                            </table>
168
+                        </td>
169
+                    </tr>
170
+                    <tr>
171
+                        <td style="letter-spacing:5px;text-align:center;font-weight:520;font-size:16px;padding: 6px 8px;line-height: 30px;">
172
+                            三、住院诊疗信息
173
+                        </td>
174
+                    </tr>
175
+                    <tr>
176
+                        <td>
177
+                            <div class="inline_block">住院医疗类型
178
+                                <label-box :isChecked="false" showValue="1.住院"></label-box>
179
+                                <label-box :isChecked="false" showValue="2.日间手术"></label-box>
180
+                            </div>
181
+                        </td>
182
+                    </tr>
183
+                    <tr>
184
+                        <td>
185
+                            <div>
186
+                                <div class="inline_block">入院途径
187
+                                    <label-box :isChecked="false" showValue="1.急诊"></label-box>
188
+                                    <label-box :isChecked="false" showValue="2.门诊"></label-box>
189
+                                    <label-box :isChecked="false" showValue="3.其他医疗机构转入"></label-box>
190
+                                    <label-box :isChecked="false" showValue="9.其他"></label-box>
191
+                                </div>
192
+                            </div>
193
+                        </td>
194
+                    </tr>
195
+                    <tr>
196
+                        <td>
197
+                            <div>
198
+                                <div class="inline_block">治疗类别
199
+                                    <label-box :isChecked="false" showValue="1.西医"></label-box>
200
+                                    <label-box :isChecked="false" showValue="2.中医"></label-box>
201
+                                    (
202
+                                    <label-box :isChecked="false" showValue="2.1 中医"></label-box>
203
+                                    <label-box :isChecked="false" showValue="2.2 民族医"></label-box>
204
+                                    )
205
+                                    <label-box :isChecked="false" showValue="3.中西医"></label-box>
206
+                                </div>
207
+                            </div>
208
+                        </td>
209
+                    </tr>
210
+                    <tr>
211
+                        <td>
212
+                            <div class="row">
213
+                                <div style="width:40%" class="inline_block">入院时间
214
+                                    <div style="width:40px;" class="under_line"></div>年
215
+                                    <div style="width:40px;" class="under_line"></div>月
216
+                                    <div style="width:40px;" class="under_line"></div>日
217
+                                    <div style="width:40px;" class="under_line"></div>时
218
+                                </div>
219
+                                <div style="width:30%" class="inline_block">入院科别
220
+                                    <div style="width:80px;" class="under_line"></div>
221
+                                </div>
222
+                                <div style="width:30%" class="inline_block">转科科别
223
+                                    <div style="width:80px;" class="under_line"></div>
224
+                                </div>
225
+                            </div>
226
+                        </td>
227
+                    </tr>
228
+                    <tr>
229
+                        <td>
230
+                            <div class="row">
231
+                                <div style="width:40%" class="inline_block">出院时间
232
+                                    <div style="width:40px;" class="under_line"></div>年
233
+                                    <div style="width:40px;" class="under_line"></div>月
234
+                                    <div style="width:40px;" class="under_line"></div>日
235
+                                    <div style="width:40px;" class="under_line"></div>时
236
+                                </div>
237
+                                <div style="width:30%" class="inline_block">出院科别
238
+                                    <div style="width:80px;" class="under_line"></div>
239
+                                </div>
240
+                                <div style="width:30%" class="inline_block">实际住院
241
+                                    <div style="width:80px;" class="under_line"></div>天
242
+                                </div>
243
+                            </div>
244
+                        </td>
245
+                    </tr>
246
+                    <tr>
247
+                        <td>
248
+                            <div class="row">
249
+                                <div style="width:40%" class="inline_block">门(急)诊诊断(西医诊断)
250
+                                    <div style="width:80px;" class="under_line"></div>
251
+                                </div>
252
+                                <div style="width:30%" class="inline_block">疾病代码
253
+                                    <div style="width:80px;" class="under_line"></div>
254
+                                </div>
255
+                                <div style="width:30%" class="inline_block">
256
+                                </div>
257
+                            </div>
258
+                            <div class="row">
259
+                                <div style="width:40%" class="inline_block">门(急)诊诊断(中医诊断)
260
+                                    <div style="width:80px;" class="under_line"></div>
261
+                                </div>
262
+                                <div style="width:30%" class="inline_block">疾病代码
263
+                                    <div style="width:80px;" class="under_line"></div>
264
+                                </div>
265
+                                <div style="width:30%" class="inline_block">
266
+                                </div>
267
+                            </div>
268
+                        </td>
269
+                    </tr>
270
+                    <tr>
271
+                        <td style="padding:0;line-height:30px;height:30px;">
272
+                            <table class="inside_table">
273
+                                <tbody>
274
+                                    <tr>
275
+                                        <td style="width:20%;">出院西医诊断</td>
276
+                                        <td style="width:15%;">疾病代码</td>
277
+                                        <td style="width:15%;">入院病情</td>
278
+                                        <td style="width:20%;">出院中医诊断</td>
279
+                                        <td style="width:15%;">疾病代码</td>
280
+                                        <td style="width:15%;">入院病情</td>
281
+                                    </tr>
282
+                                    <tr>
283
+                                        <td style="text-align:left;">&nbsp;主要诊断:</td>
284
+                                        <td>&nbsp;</td>
285
+                                        <td>&nbsp;</td>
286
+                                        <td style="text-align:left;">&nbsp;主病:</td>
287
+                                        <td>&nbsp;</td>
288
+                                        <td>&nbsp;</td>
289
+                                    </tr>
290
+                                    <tr>
291
+                                        <td style="text-align:left;">&nbsp;其他诊断:</td>
292
+                                        <td>&nbsp;</td>
293
+                                        <td>&nbsp;</td>
294
+                                        <td style="text-align:left;">&nbsp;主证:</td>
295
+                                        <td>&nbsp;</td>
296
+                                        <td>&nbsp;</td>
297
+                                    </tr>
298
+                                    <tr v-for="item in 7">
299
+                                        <td>&nbsp;</td>
300
+                                        <td>&nbsp;</td>
301
+                                        <td>&nbsp;</td>
302
+                                        <td>&nbsp;</td>
303
+                                        <td>&nbsp;</td>
304
+                                        <td>&nbsp;</td>
305
+                                    </tr>
306
+                                </tbody>
307
+                            </table>
308
+                        </td>
309
+                    </tr>
310
+                    <tr>
311
+                        <td>
312
+                            <div class="inline_block">诊断代码计数
313
+                                <div style="width:80px;" class="under_line"></div>
314
+                            </div>
315
+                        </td>
316
+                    </tr>
317
+                    <tr>
318
+                        <td style="padding:0;line-height:30px;height:30px;">
319
+                            <table class="inside_table">
320
+                                <tbody>
321
+                                    <tr>
322
+                                        <td style="width:20%;">手术及操作名称</td>
323
+                                        <td style="width:20%;">手术及操作代码</td>
324
+                                        <td style="width:10%;">手术及操作日期</td>
325
+                                        <td style="width:10%;">麻醉方式*</td>
326
+                                        <td style="width:10%;">术者医师姓名</td>
327
+                                        <td style="width:10%;">术者医师代码</td>
328
+                                        <td style="width:10%;">麻醉医师姓名</td>
329
+                                        <td style="width:10%;">麻醉医师代码</td>
330
+                                    </tr>
331
+                                    <tr>
332
+                                        <td style="text-align:left;">&nbsp;主要:</td>
333
+                                        <td>&nbsp;</td>
334
+                                        <td>&nbsp;</td>
335
+                                        <td>&nbsp;</td>
336
+                                        <td>&nbsp;</td>
337
+                                        <td>&nbsp;</td>
338
+                                        <td>&nbsp;</td>
339
+                                        <td>&nbsp;</td>
340
+                                    </tr>
341
+                                    <tr>
342
+                                        <td style="text-align:left;">&nbsp;其他:</td>
343
+                                        <td>&nbsp;</td>
344
+                                        <td>&nbsp;</td>
345
+                                        <td>&nbsp;</td>
346
+                                        <td>&nbsp;</td>
347
+                                        <td>&nbsp;</td>
348
+                                        <td>&nbsp;</td>
349
+                                        <td>&nbsp;</td>
350
+                                    </tr>
351
+                                    <tr v-for="item in 8">
352
+                                        <td>&nbsp;</td>
353
+                                        <td>&nbsp;</td>
354
+                                        <td>&nbsp;</td>
355
+                                        <td>&nbsp;</td>
356
+                                        <td>&nbsp;</td>
357
+                                        <td>&nbsp;</td>
358
+                                        <td>&nbsp;</td>
359
+                                        <td>&nbsp;</td>
360
+                                    </tr>
361
+                                </tbody>
362
+                            </table>
363
+                        </td>
364
+                    </tr>
365
+                    <tr>
366
+                        <td>
367
+                            <div class="inline_block">手术及操作代码计数
368
+                                <div style="width:80px;" class="under_line"></div>
369
+                            </div>
370
+                        </td>
371
+                    </tr>
372
+                    <tr>
373
+                        <td>
374
+                            <div class="inline_block">呼吸机使用时间
375
+                                <div style="width:40px;" class="under_line"></div>天
376
+                                <div style="width:40px;" class="under_line"></div>小时
377
+                                <div style="width:40px;" class="under_line"></div>分钟
378
+                            </div>
379
+                        </td>
380
+                    </tr>
381
+                    <tr>
382
+                        <td>
383
+                            <div>
384
+                                <div class="inline_block">颅脑损伤患者昏迷时间:
385
+                                    入院前<div style="width:40px;" class="under_line"></div>
386
+
387
+                                    天<div style="width:40px;" class="under_line"></div>
388
+                                    
389
+                                    小时<div style="width:40px;" class="under_line"></div>分钟
390
+                                </div>
391
+                            </div>
392
+                            <div>
393
+                                <div class="inline_block"><span style="visibility: hidden;">颅脑损伤患者昏迷时间:</span>
394
+                                    入院前<div style="width:40px;" class="under_line"></div>
395
+
396
+                                    天<div style="width:40px;" class="under_line"></div>
397
+                                    
398
+                                    小时<div style="width:40px;" class="under_line"></div>分钟
399
+                                </div>
400
+                            </div>
401
+                        </td>
402
+                    </tr>
403
+                    <tr>
404
+                        <td style="padding:0;line-height:30px;height:30px;">
405
+                            <table class="inside_table">
406
+                                <tbody>
407
+                                    <tr>
408
+                                        <td style="width:30%;">重症监护病房类型(CCU、NICU、EICU、SICU、PICU、RICU、其他)</td>
409
+                                        <td style="width:25%;">进重症监护室时间(_年_月_日_时_分)</td>
410
+                                        <td style="width:25%;">出重症监护室时间(_年_月_日_时_分)</td>
411
+                                        <td style="width:20%;">合计(小时)</td>
412
+                                    </tr>
413
+                                    <tr v-for="item in 3">
414
+                                        <td>&nbsp;</td>
415
+                                        <td>&nbsp;</td>
416
+                                        <td>&nbsp;</td>
417
+                                        <td>&nbsp;</td>
418
+                                    </tr>
419
+                                </tbody>
420
+                            </table>
421
+                        </td>
422
+                    </tr>
423
+                    <tr>
424
+                        <td>
425
+                            <div class="inline_block">输血品种
426
+                                <div style="width:80px;" class="under_line"></div>
427
+                            </div>
428
+                            <div style="width:80px;" class="inline_block"></div>
429
+                            <div class="inline_block">输血量
430
+                                <div style="width:80px;" class="under_line"></div>
431
+                            </div>
432
+                            <div style="width:80px;" class="inline_block"></div>
433
+                            <div class="inline_block">输血计量单位
434
+                                <div style="width:80px;" class="under_line"></div>
435
+                            </div>
436
+                        </td>
437
+                    </tr>
438
+                    <tr>
439
+                        <td>
440
+                            <div class="inline_block">特级护理天数*
441
+                                <div style="width:80px;" class="under_line"></div>
442
+                            </div>
443
+                            <div style="width:80px;" class="inline_block"></div>
444
+                            <div class="inline_block">一级护理天数*
445
+                                <div style="width:80px;" class="under_line"></div>
446
+                            </div>
447
+                            <div style="width:80px;" class="inline_block"></div>
448
+                            <div class="inline_block">二级护理天数*
449
+                                <div style="width:80px;" class="under_line"></div>
450
+                            </div>
451
+                            <div style="width:80px;" class="inline_block"></div>
452
+                            <div class="inline_block">三级护理天数*
453
+                                <div style="width:80px;" class="under_line"></div>
454
+                            </div>
455
+                        </td>
456
+                    </tr>
457
+                    <tr>
458
+                        <td>
459
+                            <div>离院方式
460
+                                <label-box :isChecked="false" showValue="1.医嘱离院"></label-box>
461
+                                <label-box :isChecked="false" showValue="2.医嘱转院,拟接受机构名称"></label-box>
462
+                                <div style="width:80px;" class="under_line"></div>
463
+                                拟接收机构代码
464
+                                <div style="width:80px;" class="under_line"></div>
465
+                            </div>
466
+                            <div>
467
+                                <label-box :isChecked="false" showValue="3.转社区,转卫生院机构,拟接收机构名称"></label-box> 
468
+                                <div style="width:80px;" class="under_line"></div>
469
+                                拟接收机构代码
470
+                                <div style="width:80px;" class="under_line"></div>
471
+                                <label-box :isChecked="false" showValue="4.非医嘱离院"></label-box>
472
+                                <label-box :isChecked="false" showValue="5.死亡"></label-box>
473
+                                <label-box :isChecked="false" showValue="9.其他"></label-box>
474
+                            </div>
475
+                        </td>
476
+                    </tr>
477
+                    <tr>
478
+                        <td>
479
+                            <div>
480
+                                是否有出院31天内再住院计划
481
+                                <label-box :isChecked="false" showValue="1.无"></label-box>
482
+                                <label-box :isChecked="false" showValue="2.有"></label-box>
483
+                                目的<div style="width:80px;" class="under_line"></div>
484
+                            </div>
485
+                        </td>
486
+                    </tr>
487
+                    <tr>
488
+                        <td>
489
+                            <div class="inline_block" style="width:50%">
490
+                                主诊医师姓名*
491
+                                <div style="width:80px;" class="under_line"></div>
492
+                            </div>
493
+                            <div class="inline_block">
494
+                                主诊医师代码*
495
+                                <div style="width:80px;" class="under_line"></div>
496
+                            </div>
497
+                        </td>
498
+                    </tr>
499
+                    <tr>
500
+                        <td style="letter-spacing:5px;text-align:center;font-weight:520;font-size:16px;padding: 6px 8px;line-height: 30px;">
501
+                            四、医疗收费信息
502
+                        </td>
503
+                    </tr>
504
+                    <tr>
505
+                        <td>
506
+                            <table class="inside_table">
507
+                                <tbody>
508
+                                    <tr>
509
+                                        <td style="width:20%;text-align:left;">
510
+                                            <div>
511
+                                                业务流水号:
512
+                                                <div style="width:80px;" class="under_line"></div>
513
+                                            </div>
514
+                                            <div>
515
+                                                票据代码:
516
+                                                <div style="width:80px;" class="under_line"></div>
517
+                                            </div>
518
+                                            <div>
519
+                                                票据号码:
520
+                                                <div style="width:80px;" class="under_line"></div>
521
+                                            </div>
522
+                                        </td>
523
+                                        <td style="width:80%;">
524
+                                            <div>
525
+                                                结算期间:
526
+                                                <div class="inline_block">
527
+                                                    <div style="width:40px;" class="under_line"></div>年
528
+                                                    <div style="width:40px;" class="under_line"></div>月
529
+                                                    <div style="width:40px;" class="under_line"></div>日
530
+                                                </div>——
531
+                                                <div class="inline_block">
532
+                                                    <div style="width:40px;" class="under_line"></div>年
533
+                                                    <div style="width:40px;" class="under_line"></div>月
534
+                                                    <div style="width:40px;" class="under_line"></div>日
535
+                                                </div>
536
+                                            </div>
537
+                                        </td>
538
+                                    </tr>
539
+                                </tbody>
540
+                            </table>
541
+                        </td>
542
+                    </tr>
543
+                    <tr>
544
+                        <td style="padding:0;line-height:30px;height:30px;">
545
+                            <table class="inside_table">
546
+                                <tbody>
547
+                                    <tr>
548
+                                        <td style="width:20%;">项目名称</td>
549
+                                        <td style="width:16%;">金额</td>
550
+                                        <td style="width:16%;">甲类</td>
551
+                                        <td style="width:16%;">乙类</td>
552
+                                        <td style="width:16%;">自费</td>
553
+                                        <td style="width:16%;">其他</td>
554
+                                    </tr>
555
+                                    <tr>
556
+                                        <td>床位费</td>
557
+                                        <td>&nbsp;{{info.bed_cost_total}}</td>
558
+                                        <td>&nbsp;</td>
559
+                                        <td>&nbsp;</td>
560
+                                        <td>&nbsp;{{info.bed_cost_self_total}}</td>
561
+                                        <td>&nbsp;</td>
562
+                                    </tr>
563
+                                    <tr>
564
+                                        <td>诊察费</td>
565
+                                        <td>&nbsp;</td>
566
+                                        <td>&nbsp;</td>
567
+                                        <td>&nbsp;</td>
568
+                                        <td>&nbsp;</td>
569
+                                        <td>&nbsp;</td>
570
+                                    </tr>
571
+                                    <tr>
572
+                                        <td>检查费</td>
573
+                                        <td>&nbsp;{{info.check_cost_total}}</td>
574
+                                        <td>&nbsp;</td>
575
+                                        <td>&nbsp;</td>
576
+                                        <td>&nbsp;{{info.check_cost_self_total}}</td>
577
+                                        <td>&nbsp;</td>
578
+                                    </tr>
579
+                                    <tr>
580
+                                        <td>化验费</td>
581
+                                        <td>&nbsp;{{info.laboratory_cost_total}}</td>
582
+                                        <td>&nbsp;</td>
583
+                                        <td>&nbsp;</td>
584
+                                        <td>&nbsp;{{info.laboratory_cost_self_total}}</td>
585
+                                        <td>&nbsp;</td>
586
+                                    </tr>
587
+                                    <tr>
588
+                                        <td>治疗费</td>
589
+                                        <td>&nbsp;{{info.treat_cost_total}}</td>
590
+                                        <td>&nbsp;</td>
591
+                                        <td>&nbsp;</td>
592
+                                        <td>&nbsp;{{info.treat_cost_self_total}}</td>
593
+                                        <td>&nbsp;</td>
594
+                                    </tr>
595
+                                    <tr>
596
+                                        <td>手术费</td>
597
+                                        <td>&nbsp;{{info.operation_cost_total}}</td>
598
+                                        <td>&nbsp;</td>
599
+                                        <td>&nbsp;</td>
600
+                                        <td>&nbsp;{{info.operation_cost_self_total}}</td>
601
+                                        <td>&nbsp;</td>
602
+                                    </tr>
603
+                                    <tr>
604
+                                        <td>护理费</td>
605
+                                        <td>&nbsp;</td>
606
+                                        <td>&nbsp;</td>
607
+                                        <td>&nbsp;</td>
608
+                                        <td>&nbsp;</td>
609
+                                        <td>&nbsp;</td>
610
+                                    </tr>
611
+                                    <tr>
612
+                                        <td>卫生材料费</td>
613
+                                        <td>&nbsp;{{info.material_cost_total}}</td>
614
+                                        <td>&nbsp;</td>
615
+                                        <td>&nbsp;</td>
616
+                                        <td>&nbsp;{{info.material_cost_self_total}}</td>
617
+                                        <td>&nbsp;</td>
618
+                                    </tr>
619
+                                    <tr>
620
+                                        <td>西药费</td>
621
+                                        <td>&nbsp;{{info.western_medicine_cost_total}}</td>
622
+                                        <td>&nbsp;</td>
623
+                                        <td>&nbsp;</td>
624
+                                        <td>&nbsp;{{info.western_medicine_cost_self_total}}</td>
625
+                                        <td>&nbsp;</td>
626
+                                    </tr>
627
+                                    <tr>
628
+                                        <td>中药饮片费</td>
629
+                                        <td>&nbsp;</td>
630
+                                        <td>&nbsp;</td>
631
+                                        <td>&nbsp;</td>
632
+                                        <td>&nbsp;</td>
633
+                                        <td>&nbsp;</td>
634
+                                    </tr>
635
+                                    <tr>
636
+                                        <td>中成药费</td>
637
+                                        <td>&nbsp;{{info.chinese_traditional_medicine_cost_total}}</td>
638
+                                        <td>&nbsp;</td>
639
+                                        <td>&nbsp;</td>
640
+                                        <td>&nbsp;{{info.chinese_traditional_medicine_cost_self_total}}</td>
641
+                                        <td>&nbsp;</td>
642
+                                    </tr>
643
+                                    <tr>
644
+                                        <td>一般诊疗费</td>
645
+                                        <td>&nbsp;</td>
646
+                                        <td>&nbsp;</td>
647
+                                        <td>&nbsp;</td>
648
+                                        <td>&nbsp;</td>
649
+                                        <td>&nbsp;</td>
650
+                                    </tr>
651
+                                    <tr>
652
+                                        <td>挂号费</td>
653
+                                        <td>&nbsp;</td>
654
+                                        <td>&nbsp;</td>
655
+                                        <td>&nbsp;</td>
656
+                                        <td>&nbsp;</td>
657
+                                        <td>&nbsp;</td>
658
+                                    </tr>
659
+                                    <tr>
660
+                                        <td>其他费</td>
661
+                                        <td>&nbsp;</td>
662
+                                        <td>&nbsp;</td>
663
+                                        <td>&nbsp;</td>
664
+                                        <td>&nbsp;</td>
665
+                                        <td>&nbsp;</td>
666
+                                    </tr>
667
+                                    <tr>
668
+                                        <td>金额合计</td>
669
+                                        <td>&nbsp;</td>
670
+                                        <td>&nbsp;</td>
671
+                                        <td>&nbsp;</td>
672
+                                        <td>&nbsp;</td>
673
+                                        <td>&nbsp;</td>
674
+                                    </tr>
675
+                                </tbody>
676
+                            </table>
677
+                        </td>
678
+                    </tr>
679
+                    <tr>
680
+                        <td style="padding:0;line-height:30px;height:30px;">
681
+                            <div style="display:flex;">
682
+                                <div style="width:52%">
683
+                                    <table class="inside_table">
684
+                                        <tbody>
685
+                                            <tr>
686
+                                                <td rowspan="10" style="width:4%;">基金支付</td>
687
+                                                <td style="width:34%">基金支付类型</td>
688
+                                                <td style="width:62%;">金额</td>
689
+                                            </tr>
690
+                                            <tr>
691
+                                                <td>医保统筹基金支付</td>
692
+                                                <td>&nbsp;{{info.hifp_pay}}</td>
693
+                                            </tr>
694
+                                            <tr>
695
+                                                <td>其他支付:</td>
696
+                                                <td>&nbsp;</td>
697
+                                            </tr>
698
+                                            <tr>
699
+                                                <td>大病保险</td>
700
+                                                <td>&nbsp;{{info.hifes_pay}}</td>
701
+                                            </tr>
702
+                                            <tr>
703
+                                                <td>医疗救助</td>
704
+                                                <td>&nbsp;{{info.maf_pay}}</td>
705
+                                            </tr>
706
+                                            <tr>
707
+                                                <td>公务员医疗补助</td>
708
+                                                <td>&nbsp;{{info.cvlserv_pay}}</td>
709
+                                            </tr>
710
+                                            <tr>
711
+                                                <td>大额补充</td>
712
+                                                <td>&nbsp;</td>
713
+                                            </tr>
714
+                                            <tr>
715
+                                                <td>企业补充</td>
716
+                                                <td>&nbsp;</td>
717
+                                            </tr>
718
+                                            <tr>
719
+                                                <td>......</td>
720
+                                                <td>&nbsp;</td>
721
+                                            </tr>
722
+                                            <tr>
723
+                                                <td>......</td>
724
+                                                <td>&nbsp;</td>
725
+                                            </tr>
726
+                                            
727
+                                        </tbody>
728
+                                    </table>
729
+                                </div>
730
+                                <div style="width:48%">
731
+                                    <table class="inside_table" style="height:100% !important;border-left:1px solid #000;">
732
+                                        <tbody>
733
+                                            <tr>
734
+                                                <td rowspan="4" style="width:4%;">个人支付</td>
735
+                                                <td style="width:36%">个人自付</td>
736
+                                                <td>{{info.psn_pay}}</td>
737
+                                            </tr>
738
+                                            <tr>
739
+                                                <td style="width:36%">个人自费</td>
740
+                                                <td>&nbsp;</td>
741
+                                            </tr>
742
+                                            <tr>
743
+                                                <td style="width:36%">个人账户支付</td>
744
+                                                <td>&nbsp;</td>
745
+                                            </tr>
746
+                                            <tr>
747
+                                                <td style="width:36%">个人现金支付</td>
748
+                                                <td>&nbsp;</td>
749
+                                            </tr>
750
+                                            
751
+                                        </tbody>
752
+                                    </table>
753
+                                </div>
754
+                            </div>
755
+                        </td>
756
+                    </tr>
757
+                    <tr>
758
+                        <td>
759
+                            <div>
760
+                                医保支付方式
761
+                                <label-box :isChecked="false" showValue="1.按项目"></label-box>
762
+                                <label-box :isChecked="false" showValue="2.单病种"></label-box>
763
+                                <label-box :isChecked="false" showValue="3.按病种分值"></label-box>
764
+                                <label-box :isChecked="false" showValue="4.疾病诊断相关分组(DRG)"></label-box>
765
+                                <label-box :isChecked="false" showValue="5.按床日"></label-box>
766
+                                <label-box :isChecked="false" showValue="6.按人头......"></label-box>
767
+                            </div>
768
+                        </td>
769
+                    </tr>
770
+                </tbody>
771
+            </table>
772
+            <div class="row">
773
+                <div style="width:50%">
774
+                    医疗机构填报部门
775
+                    <div style="width:80px;" class="under_line"></div>
776
+                </div>
777
+                <div style="width:50%">
778
+                    医疗机构接收部门
779
+                    <div style="width:80px;" class="under_line"></div>
780
+                </div>
781
+            </div>
782
+            <div class="row">
783
+                <div style="width:50%">
784
+                    医疗机构填报人
785
+                    <div style="width:80px;" class="under_line"></div>
786
+                </div>
787
+                <div style="width:50%">
788
+                    医疗机构接收人
789
+                    <div style="width:80px;" class="under_line"></div>
790
+                </div>
791
+            </div>
792
+            <div style="font-weight:bold;">(注:“*” 代表选填数据项)</div>
793
+        </div>
794
+    </div>
795
+</template>
796
+
797
+<script>
798
+import LabelBox from '../../dialysis/printItem/LabelBox'
799
+export default {
800
+    components:{
801
+        LabelBox
802
+    },
803
+    props: {
804
+      info: {
805
+        type: Object,
806
+        default: function() {
807
+          return {}
808
+        }
809
+      }, p_admin: {
810
+        type: Object,
811
+        default: function() {
812
+          return {}
813
+        }
814
+      }, charge_admin: {
815
+        type: Object,
816
+        default: function() {
817
+          return {}
818
+        }
819
+      }
820
+    },
821
+    data(){
822
+        return{
823
+
824
+        }
825
+    },
826
+    methods:{
827
+      getNowTime: function () {
828
+        let dateTime
829
+        let yy = new Date().getFullYear()
830
+        let mm = new Date().getMonth() + 1
831
+        let dd = new Date().getDate()
832
+        let hh = new Date().getHours()
833
+        let mf = new Date().getMinutes() < 10 ? '0' + new Date().getMinutes()
834
+          :
835
+          new Date().getMinutes()
836
+        let ss = new Date().getSeconds() < 10 ? '0' + new Date().getSeconds()
837
+          :
838
+          new Date().getSeconds()
839
+        dateTime = yy + '-' + mm + '-' + dd + ' ' + hh + ':' + mf + ':' + ss
840
+        return dateTime
841
+      },
842
+
843
+    }
844
+}
845
+</script>
846
+
847
+
848
+
849
+<style lang="scss" scoped>
850
+.title{
851
+    text-align: center;
852
+    font-size: 22px;
853
+    font-weight: bold;
854
+}
855
+.row{
856
+    display: flex;
857
+    justify-content: space-between;
858
+}
859
+.under_line{
860
+    border-bottom: 1px solid #999;
861
+    width: 95%;
862
+    text-align: center;
863
+    margin-left: 2px;
864
+    display: inline-block;
865
+}
866
+.inline_block{
867
+    display: inline-block;
868
+}
869
+// #prescription-print{
870
+//     width: 960px;
871
+// }
872
+.print_page_main_content .proj_table {
873
+  width: 100%;
874
+  border: 1px solid;
875
+  border-collapse: collapse;
876
+  padding: 2px;
877
+}
878
+
879
+.print_page_main_content .proj_table tbody tr td {
880
+  border: 1px solid;
881
+  /* text-align: center; */
882
+  font-size: 16px;
883
+  padding: 5px 8px;
884
+  line-height: 30px;
885
+}
886
+
887
+.print_page_main_content .proj_table .inside_table {
888
+  width: 100%;
889
+  border: hidden; /* 解决边框冲突 */
890
+  border-collapse: collapse;
891
+}
892
+
893
+.print_page_main_content .proj_table .inside_table tr td {
894
+  border: 1px solid;
895
+  text-align: center;
896
+  font-size: 14px;
897
+  padding: 6px 5px;
898
+  line-height: 16px;
899
+}
900
+</style>

+ 7 - 3
src/xt_pages/outpatientCharges/statementPrint.vue Ver arquivo

@@ -13,8 +13,8 @@
13 13
       </template>
14 14
 
15 15
       <div class='dialysisPage' style="padding-top:40px;">
16
-        <printOne :info="info" v-if="org_id != 0"></printOne>
17
-        <printTwo  v-if="org_id == 0"></printTwo>
16
+        <printOne :info="info" v-if="org_id != 9990"></printOne>
17
+        <printTwo  :info="info" v-if="org_id == 9990"></printTwo>
18 18
       </div>
19 19
   </div>
20 20
 </template>
@@ -213,7 +213,11 @@ export default {
213 213
               that.info['treat_cost_total'] = response.data.data.treatCostTotal
214 214
               that.info['treat_cost_self_total'] = response.data.data.treatCostSelfTotal
215 215
               that.info['treat_cost_part_self_total'] = response.data.data.treatCostPartSelfTotal
216
-              console.log(this.info)
216
+              that.info['date'] =  response.data.data.date
217
+              that.info['number'] =  response.data.data.number
218
+              that.info['order_infos'] =  response.data.data.order_infos
219
+              that.info['diagnosis'] =  response.data.data.diagnosis
220
+
217 221
             }
218 222
           })
219 223
           .catch(function (error) {

+ 108 - 56
src/xt_pages/outpatientCharges/statementTemplate/printTwo.vue Ver arquivo

@@ -1,102 +1,154 @@
1 1
 <template>
2 2
   <div id="statement-print" class="statement-print">
3
-    <div class="statementTitle">珠海市职工基本医疗保险门慢就医结算单</div>
3
+    <div class="statementTitle" v-if="info.insutype == '310'">珠海市职工基本医疗保险门慢就医结算单</div>
4
+    <div class="statementTitle" v-if="info.insutype == '390'">珠海市城乡居民基本医疗保险门慢就医结算单</div>
5
+
4 6
     <div style="display:flex">
5
-        <div style="width:70%">医疗机构名称:</div>
6
-        <div style="width:30%">医院等级:</div>
7
+      <div style="width:70%">医疗机构名称:{{info.fixmedins_name}}</div>
8
+      <div style="width:30%" v-if="info.hosp_lv == '1'">医院等级:三级特等</div>
9
+      <div style="width:30%" v-if="info.hosp_lv == '2'">医院等级:三级甲等</div>
10
+      <div style="width:30%" v-if="info.hosp_lv == '3'">医院等级:三级乙等</div>
11
+      <div style="width:30%" v-if="info.hosp_lv == '4'">医院等级:三级丙等</div>
12
+      <div style="width:30%" v-if="info.hosp_lv == '5'">医院等级:二级甲等</div>
13
+      <div style="width:30%" v-if="info.hosp_lv == '6'">医院等级:二级乙等</div>
14
+      <div style="width:30%" v-if="info.hosp_lv == '7'">医院等级:二级丙等</div>
15
+      <div style="width:30%" v-if="info.hosp_lv == '8'">医院等级:一级甲等</div>
16
+      <div style="width:30%" v-if="info.hosp_lv == '9'">医院等级:一级乙等</div>
17
+      <div style="width:30%" v-if="info.hosp_lv == '10'">医院等级:一级丙等</div>
18
+      <div style="width:30%" v-if="info.hosp_lv == '11'">医院等级:无等级</div>
19
+
7 20
     </div>
8 21
     <div style="display:flex;justify-content: space-between;border-bottom:1px solid #000;padding-bottom:10px;">
9
-        <div style="flex:1;">单据编码:</div>
10
-        <div style="width:33%">就诊时间:</div>
11
-        <div>金额单位:</div>
22
+      <div style="flex:1;">单据编码:{{info.number}}</div>
23
+      <div style="width:33%">就诊时间:{{getTime(info.date)}}</div>
24
+      <div>金额单位:</div>
12 25
     </div>
13 26
     <div style="display:flex">
14
-        <div style="width:50%">姓名:</div>
15
-        <div style="width:50%">个人电脑号: </div>
27
+      <div style="width:50%">姓名:{{info.psn_name}}</div>
28
+      <div style="width:50%">个人电脑号:{{info.psn_no}}</div>
16 29
     </div>
17 30
     <div style="display:flex">
18
-        <div style="width:50%">社保卡号</div>
19
-        <div style="width:50%">诊断: </div>
31
+      <div style="width:50%">社保卡号</div>
32
+      <div style="width:50%">诊断:{{info.diagnosis}}</div>
20 33
     </div>
21 34
     <div style="display:flex">
22
-        <div style="width:50%">人员类别:</div>
23
-        <div style="width:50%">待遇类别: </div>
35
+      <div style="width:50%" v-if="info.psn_type == '11'">人员类别:在职</div>
36
+      <div style="width:50%" v-if="info.psn_type == '1101'">人员类别:职工在职</div>
37
+      <div style="width:50%" v-if="info.psn_type == '1102'">人员类别:公务员在职</div>
38
+      <div style="width:50%" v-if="info.psn_type == '1103'">人员类别:灵活就业人员在职</div>
39
+      <div style="width:50%" v-if="info.psn_type == '1160'">人员类别:地方其他扩展人员</div>
40
+      <div style="width:50%" v-if="info.psn_type == '12'">人员类别:退休人员</div>
41
+      <div style="width:50%" v-if="info.psn_type == '1201'">人员类别:职工退休</div>
42
+      <div style="width:50%" v-if="info.psn_type == '1202'">人员类别:公务员退休</div>
43
+      <div style="width:50%" v-if="info.psn_type == '1203'">人员类别:灵活就业人员退休</div>
44
+      <div style="width:50%" v-if="info.psn_type == '1260'">人员类别:地方其他扩展人员</div>
45
+      <div style="width:50%" v-if="info.psn_type == '13'">人员类别:离休</div>
46
+      <div style="width:50%" v-if="info.psn_type == '1300'">人员类别:离休人员</div>
47
+      <div style="width:50%" v-if="info.psn_type == '1360'">人员类别:地方其他扩展人员</div>
48
+      <div style="width:50%" v-if="info.psn_type == '14'">人员类别:居民(未成年)</div>
49
+      <div style="width:50%" v-if="info.psn_type == '1401'">人员类别:新生儿</div>
50
+      <div style="width:50%" v-if="info.psn_type == '1402'">人员类别:学龄前儿童</div>
51
+      <div style="width:50%" v-if="info.psn_type == '1403'">人员类别:中小学生</div>
52
+      <div style="width:50%" v-if="info.psn_type == '1404'">人员类别:大学生</div>
53
+      <div style="width:50%" v-if="info.psn_type == '1405'">人员类别:未成年(未入学)</div>
54
+      <div style="width:50%" v-if="info.psn_type == '15'">人员类别:居民(成年)</div>
55
+      <div style="width:50%" v-if="info.psn_type == '1501'">人员类别:普通居民(成年)</div>
56
+      <div style="width:50%" v-if="info.psn_type == '1560'">人员类别:地方其他扩展身份</div>
57
+      <div style="width:50%" v-if="info.psn_type == '16'">人员类别:居民(老年)</div>
58
+
59
+
60
+      <div style="width:50%">待遇类别:</div>
24 61
     </div>
25 62
     <div style="display:flex;padding:10px 0;border-top:1px solid #000;border-bottom:1px solid #000;">
26
-        <div style="width:50%;text-align:center;">项目名称</div>
27
-        <div style="width:10%;text-align:center;">单价</div>
28
-        <div style="width:10%;text-align:center;">数量</div>
29
-        <div style="width:10%;text-align:center;">金额</div>
30
-        <div style="width:10%;text-align:center;">门诊目录</div>
31
-        <div style="width:10%;text-align:center;">医保目录</div>
63
+      <div style="width:50%;text-align:center;">项目名称</div>
64
+      <div style="width:10%;text-align:center;">单价</div>
65
+      <div style="width:10%;text-align:center;">数量</div>
66
+      <div style="width:10%;text-align:center;">金额</div>
67
+      <div style="width:10%;text-align:center;">门诊目录</div>
68
+      <div style="width:10%;text-align:center;">医保目录</div>
32 69
     </div>
33
-    <div style="border-bottom:1px solid #000;padding:10px 0;display:flex;">
34
-        <div style="width:50%;text-align:center;">1</div>
35
-        <div style="width:10%;text-align:center;">2</div>
36
-        <div style="width:10%;text-align:center;">3</div>
37
-        <div style="width:10%;text-align:center;">4</div>
38
-        <div style="width:10%;text-align:center;">5</div>
39
-        <div style="width:10%;text-align:center;">6</div>
70
+    <div style="border-bottom:1px solid #000;padding:10px 0;display:flex;" v-for="(item,index) in info.order_infos"
71
+         :key="index">
72
+      <div style="width:50%;text-align:center;" v-if="item.advice_id > 0">{{item.advice.drug.drug_name}}</div>
73
+      <div style="width:50%;text-align:center;" v-if="item.project_id > 0">{{item.project.project.project_name}}</div>
74
+
75
+      <div style="width:10%;text-align:center;">{{item.pric}}</div>
76
+      <div style="width:10%;text-align:center;">{{item.cnt}}</div>
77
+      <div style="width:10%;text-align:center;">{{item.det_item_fee_sumamt}}</div>
78
+      <div style="width:10%;text-align:center;">是</div>
79
+      <div style="width:10%;text-align:center;">是</div>
40 80
     </div>
41 81
     <div style="display:flex;border-bottom:1px solid #000;padding:20px 0 10px;">
42
-        <div style="width:70%;">合计:</div>
43
-        <div style="width:10%;text-align:center;">4</div>
44
-        <div style="width:20%;"></div>
82
+      <div style="width:70%;">合计:</div>
83
+      <div style="width:10%;text-align:center;">{{info.medfee_sumamt}}</div>
84
+      <div style="width:20%;"></div>
45 85
     </div>
46
-    <div>医保基金支付金额:</div>
47
-    <div>个人现金支付金额:</div>
86
+    <div>医保基金支付金额:{{info.fund_pay_sumamt?info.fund_pay_sumamt:''}}</div>
87
+    <div>个人现金支付金额:{{info.psn_pay?info.psn_pay:''}}</div>
48 88
     <div>其中</div>
49 89
     <div style="display:flex;border-bottom:1px solid #000;padding-bottom:10px;">
50
-        <div>个人自付:</div>
51
-        <div>其中:1.乙类自付    </div>
52
-        <div>2.自费    </div>
90
+      <div>个人自付:</div>
91
+      <div>其中:1.乙类自付 {{info.preselfpay_amt?info.preselfpay_amt:''}}</div>
92
+      <div>2.自费 {{info.overlmt_selfpay?info.overlmt_selfpay:''}}</div>
53 93
     </div>
54 94
     <div style="display:flex;padding-top:10px;">
55
-        <div style="width:33%">参保人签名:</div>
56
-        <div style="width:33%">审核人: </div>
57
-        <div style="width:33%">医院盖章: </div>
95
+      <div style="width:33%">参保人签名:</div>
96
+      <div style="width:33%">审核人:</div>
97
+      <div style="width:33%">医院盖章:</div>
58 98
     </div>
59
-    
99
+
60 100
   </div>
61 101
 </template>
62 102
 <script>
103
+  import {uParseTime} from '@/utils/tools'
63 104
   export default {
64 105
     props: {
65 106
       info: {
66 107
         type: Object,
67
-        default: function() {
108
+        default: function () {
68 109
           return {}
69 110
         }
70 111
       }, p_admin: {
71 112
         type: Object,
72
-        default: function() {
113
+        default: function () {
73 114
           return {}
74 115
         }
75 116
       }, charge_admin: {
76 117
         type: Object,
77
-        default: function() {
118
+        default: function () {
78 119
           return {}
79 120
         }
80 121
       }
81
-    },methods:{
82
-      getNowTime: function () {
83
-        let dateTime
84
-        let yy = new Date().getFullYear()
85
-        let mm = new Date().getMonth() + 1
86
-        let dd = new Date().getDate()
87
-        let hh = new Date().getHours()
88
-        let mf = new Date().getMinutes() < 10 ? '0' + new Date().getMinutes()
89
-          :
90
-          new Date().getMinutes()
91
-        let ss = new Date().getSeconds() < 10 ? '0' + new Date().getSeconds()
92
-          :
93
-          new Date().getSeconds()
94
-        dateTime = yy + '-' + mm + '-' + dd + ' ' + hh + ':' + mf + ':' + ss
95
-        return dateTime
122
+    }, methods: {
123
+      getTime(val) {
124
+        if (val < 0) {
125
+          return ""
126
+        }
127
+        if (val == "") {
128
+          return ""
129
+        } else {
130
+          return uParseTime(val, '{y}-{m}-{d}')
131
+        }
96 132
       },
133
+        getNowTime: function () {
134
+          let dateTime
135
+          let yy = new Date().getFullYear()
136
+          let mm = new Date().getMonth() + 1
137
+          let dd = new Date().getDate()
138
+          let hh = new Date().getHours()
139
+          let mf = new Date().getMinutes() < 10 ? '0' + new Date().getMinutes()
140
+            :
141
+            new Date().getMinutes()
142
+          let ss = new Date().getSeconds() < 10 ? '0' + new Date().getSeconds()
143
+            :
144
+            new Date().getSeconds()
145
+          dateTime = yy + '-' + mm + '-' + dd + ' ' + hh + ':' + mf + ':' + ss
146
+          return dateTime
147
+        }
148
+      ,
97 149
 
150
+      }
98 151
     }
99
-  }
100 152
 
101 153
 
102 154
 </script>

+ 21 - 3
src/xt_pages/outpatientCharges/summary.vue Ver arquivo

@@ -103,6 +103,7 @@
103 103
                                    v-if="(scope.row.order_status == 2 && $store.getters.xt_user.org_id == 9504) || (scope.row.order_status == 2 && $store.getters.xt_user.org_id == 9919) ||  ($store.getters.xt_user.org_id == 10106) ||  (scope.row.order_status == 2 && $store.getters.xt_user.org_id == 4)">
104 104
                             结算单
105 105
                         </el-button>
106
+                        <el-button size="mini" type="primary" v-if="scope.row.order_status == 2" @click="settlementPrint(scope.row)">结算单</el-button>
106 107
                         <el-button size="mini" type="primary" @click="toRefund(scope.row)" v-if="(scope.row.order_status == 2 && $store.getters.xt_user.org_id == 10106)">
107 108
                             退费
108 109
                         </el-button>
@@ -164,7 +165,13 @@
164 165
                 :visible.sync="invoiceVisible">
165 166
             <invoice-print ref="print" :invoiceParams='invoiceParams'></invoice-print>
166 167
         </el-dialog>
167
-
168
+        <el-dialog
169
+                class="centerDialog"
170
+                width="1200px"
171
+                title="打印"
172
+                :visible.sync="settlementVisible">
173
+            <settlement-print ref="print" :paramsObj='settlementObj'></settlement-print>
174
+        </el-dialog>
168 175
 
169 176
     </div>
170 177
 </template>
@@ -181,6 +188,7 @@
181 188
   import { fetchAllAdminUsers } from '@/api/doctor'
182 189
   import axios from 'axios'
183 190
   import invoicePrint from './invoicePrint'
191
+  import settlementPrint from './settlementPrint'
184 192
 
185 193
   export default {
186 194
     components: {
@@ -189,7 +197,8 @@
189 197
       BreadCrumb,
190 198
       listPrint,
191 199
       allListPrint,
192
-      invoicePrint
200
+      invoicePrint,
201
+      settlementPrint
193 202
     },
194 203
     data() {
195 204
       return {
@@ -215,7 +224,9 @@
215 224
         adminUserOptions:[],
216 225
         invoiceVisible:false,
217 226
         paramsObj:{},
218
-        invoiceParams:{}
227
+        invoiceParams:{},
228
+        settlementVisible:false,
229
+        settlementObj:{}
219 230
 
220 231
       }
221 232
     },
@@ -315,6 +326,13 @@
315 326
         }
316 327
 
317 328
       },
329
+      settlementPrint(row){
330
+        this.settlementVisible = true
331
+        let obj = {
332
+          order_id: row.id
333
+        }
334
+        this.settlementObj = obj
335
+      },
318 336
       export_detail() {
319 337
         let params = {
320 338
           start_time: this.start_time,

+ 18 - 5
src/xt_pages/outpatientDoctorStation/components/prescriptionTable.vue Ver arquivo

@@ -10,7 +10,7 @@
10 10
       <el-table-column align="center" prop="single_dose" width="90" label="单次用量">
11 11
         <template slot-scope="scope">
12 12
           <div style="display:flex;align-items:center;">
13
-            <el-input v-model="scope.row.single_dose" style="width:65%;"></el-input>
13
+            <el-input v-model="scope.row.single_dose" @input="getSingleDose(scope)" style="width:65%;"></el-input>
14 14
             <div>{{scope.row.single_dose_unit}}</div>
15 15
           </div>
16 16
         </template>
@@ -43,7 +43,7 @@
43 43
 
44 44
       <el-table-column align="center" prop="day" width="50" label="天数">
45 45
         <template slot-scope="scope">
46
-          <el-input v-model="scope.row.day" placeholder=""></el-input>
46
+          <el-input v-model="scope.row.day" @input="getDay(scope)" placeholder=""></el-input>
47 47
           <div>{{'天'}}</div>
48 48
 
49 49
         </template>
@@ -87,7 +87,7 @@
87 87
       </el-table-column>
88 88
       <el-table-column align="center" prop="single_dose" width="80" label="单次用量">
89 89
         <template slot-scope="scope">
90
-          <el-input v-model="scope.row.single_dose" placeholder=""></el-input>
90
+          <el-input v-model="scope.row.single_dose" @input="getProjectSingleDose(scope)" placeholder=""></el-input>
91 91
           <div>{{scope.row.unit}}</div>
92 92
 
93 93
         </template>
@@ -110,7 +110,7 @@
110 110
       </el-table-column>
111 111
       <el-table-column align="center" prop="number_days" width="50" label="天数">
112 112
         <template slot-scope="scope">
113
-          <el-input v-model="scope.row.number_days" placeholder=""></el-input>
113
+          <el-input v-model="scope.row.number_days" @input="getProjectDay(scope)" placeholder=""></el-input>
114 114
           <div>{{'天'}}</div>
115 115
         </template>
116 116
       </el-table-column>
@@ -377,6 +377,18 @@
377 377
           .catch(() => {});
378 378
 
379 379
       },
380
+      getSingleDose(scope){
381
+        // this.prescription.advices[scope.$index].prescribing_number = scope.row.single_dose * scope.row.day
382
+      },
383
+      getDay(scope){
384
+        // this.prescription.advices[scope.$index].prescribing_number = scope.row.single_dose * scope.row.day
385
+      },
386
+      getProjectSingleDose(scope){
387
+        // this.prescription.project[scope.$index].total = scope.row.single_dose * scope.row.number_days
388
+      },
389
+      getProjectDay(scope){
390
+        // this.prescription.project[scope.$index].total = scope.row.single_dose * scope.row.number_days
391
+      }
380 392
     },mounted(){
381 393
       this.getInitData()
382 394
      
@@ -385,11 +397,12 @@
385 397
       // "prescription.advices":{
386 398
       //   handler(newVal,oldVal){
387 399
       //     newVal.map(item => {
388
-      //       // item.prescribing_number = item.single_dose * item.day
400
+      //       item.prescribing_number = item.single_dose * item.day
389 401
       //       if(item.single_dose != oldVal[index].single_dose || item.number_days != oldVal[index].number_days){
390 402
       //         item.total = item.single_dose * item.number_days
391 403
       //       }
392 404
             
405
+            
393 406
       //     })
394 407
       //   },
395 408
       //   deep:true

+ 52 - 52
src/xt_pages/outpatientRegistration/index.vue Ver arquivo

@@ -688,7 +688,7 @@
688 688
             cb([])
689 689
           }
690 690
         })
691
-      }, 
691
+      },
692 692
       readingSZ() {
693 693
         var that = this
694 694
         if (this.form.id_card_type.length == 0 || this.form.id_card_type == 0) {
@@ -1000,7 +1000,7 @@
1000 1000
                 .catch(function(error) {
1001 1001
 
1002 1002
                 })
1003
-            } else if (this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 10106 || this.$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9538 || this.$store.getters.xt_user.org_id == 9990) {
1003
+            } else if (this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 10106 || this.$store.getters.xt_user.org_id == 9538 || this.$store.getters.xt_user.org_id == 9990) {
1004 1004
               var that = this
1005 1005
 
1006 1006
               axios.get('http://127.0.0.1:9532/api/register/get', {
@@ -1055,35 +1055,36 @@
1055 1055
 
1056 1056
                 })
1057 1057
             } else {
1058
+              var that = this
1058 1059
               saveHisPatient(params).then(response => {
1059 1060
                 if (response.data.state == 1) {
1060 1061
                   var patient = response.data.data.patient
1061 1062
                   this.getTodaySchedulePatient()
1062
-                  that.$message({ message: '挂号成功', type: 'success' })
1063
-                  that.form.settlementValue = ''
1064
-                  that.form.medicalInsuranceCard = ''
1065
-                  that.form.name = ''
1066
-                  that.form.sex = ''
1067
-                  that.form.certificates = ''
1068
-                  that.form.medicalCare = ''
1069
-                  that.form.birthday = ''
1070
-                  that.form.age = ''
1071
-                  that.form.idCard = ''
1072
-                  that.form.register = ''
1073
-                  that.form.doctor = ''
1074
-                  that.form.department = ''
1075
-                  that.form.costChecked = false
1076
-                  that.form.registrationFee = ''
1077
-                  that.form.medicalExpenses = ''
1078
-                  that.form.cost = ''
1079
-                  that.form.total = ''
1080
-                  that.form.phone = ''
1081
-                  that.form.social_type = ''
1082
-                  that.loadingone = false
1083
-
1084
-                  that.form.p_type = 14
1085
-                  that.form.sick_type = that.sick[0].id
1086
-                  that.form.diagnosis = that.diagnoses[0].id
1063
+                  this.$message({ message: '挂号成功', type: 'success' })
1064
+                  this.form.settlementValue = ''
1065
+                  this.form.medicalInsuranceCard = ''
1066
+                  this.form.name = ''
1067
+                  this.form.sex = ''
1068
+                  this.form.certificates = ''
1069
+                  this.form.medicalCare = ''
1070
+                  this.form.birthday = ''
1071
+                  this.form.age = ''
1072
+                  this.form.idCard = ''
1073
+                  this.form.register = ''
1074
+                  this.form.doctor = ''
1075
+                  this.form.department = ''
1076
+                  this.form.costChecked = false
1077
+                  this.form.registrationFee = ''
1078
+                  this.form.medicalExpenses = ''
1079
+                  this.form.cost = ''
1080
+                  this.form.total = ''
1081
+                  this.form.phone = ''
1082
+                  this.form.social_type = ''
1083
+                  this.loadingone = false
1084
+
1085
+                  this.form.p_type = 14
1086
+                  this.form.sick_type = this.sick[0].id
1087
+                  this.form.diagnosis = this.diagnoses[0].id
1087 1088
 
1088 1089
                 } else {
1089 1090
                   this.$message.error('今日患者已挂号!')
@@ -1313,31 +1314,30 @@
1313 1314
                 if (response.data.state == 1) {
1314 1315
                   var patient = response.data.data.patient
1315 1316
                   this.getTodaySchedulePatient()
1316
-                  that.$message({ message: '挂号成功', type: 'success' })
1317
-                  that.form.settlementValue = ''
1318
-                  that.form.medicalInsuranceCard = ''
1319
-                  that.form.name = ''
1320
-                  that.form.sex = ''
1321
-                  that.form.certificates = ''
1322
-                  that.form.medicalCare = ''
1323
-                  that.form.birthday = ''
1324
-                  that.form.age = ''
1325
-                  that.form.idCard = ''
1326
-                  that.form.register = ''
1327
-                  that.form.doctor = ''
1328
-                  that.form.department = ''
1329
-                  that.form.costChecked = false
1330
-                  that.form.registrationFee = ''
1331
-                  that.form.medicalExpenses = ''
1332
-                  that.form.cost = ''
1333
-                  that.form.total = ''
1334
-                  that.form.phone = ''
1335
-                  that.form.social_type = ''
1336
-                  that.loadingone = false
1337
-
1338
-                  that.form.p_type = 14
1339
-                  that.form.sick_type = that.sick[0].id
1340
-                  that.form.diagnosis = that.diagnoses[0].id
1317
+                  this.$message({ message: '挂号成功', type: 'success' })
1318
+                  this.form.settlementValue = ''
1319
+                  this.form.medicalInsuranceCard = ''
1320
+                  this.form.name = ''
1321
+                  this.form.sex = ''
1322
+                  this.form.certificates = ''
1323
+                  this.form.medicalCare = ''
1324
+                  this.form.birthday = ''
1325
+                  this.form.age = ''
1326
+                  this.form.idCard = ''
1327
+                  this.form.register = ''
1328
+                  this.form.doctor = ''
1329
+                  this.form.department = ''
1330
+                  this.form.costChecked = false
1331
+                  this.form.registrationFee = ''
1332
+                  this.form.medicalExpenses = ''
1333
+                  this.form.cost = ''
1334
+                  this.form.total = ''
1335
+                  this.form.phone = ''
1336
+                  this.form.social_type = ''
1337
+                  this.loadingone = false
1338
+                  this.form.p_type = 14
1339
+                  this.form.sick_type = this.sick[0].id
1340
+                  this.form.diagnosis = this.diagnoses[0].id
1341 1341
                 } else {
1342 1342
                   this.$message.error('今日患者已挂号!')
1343 1343
                 }

+ 1 - 1
src/xt_pages/outpatientRegistration/registrationHistory.vue Ver arquivo

@@ -758,7 +758,7 @@
758 758
           let params = {
759 759
             'id':row.id,
760 760
             'patient_id': row.patient_id,
761
-            'record_time': row.record_date,
761
+            'record_time': this.getTime(row.record_date, '{y}-{m}-{d}'),
762 762
             'admin_user_id': this.$store.getters.xt_user.user.id
763 763
           }
764 764
           axios.get('http://127.0.0.1:9532/api/refundnumber/post', {