Browse Source

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

XMLWAN 2 years ago
parent
commit
7d385f484a

+ 3 - 2
src/xt_pages/hospitalStation/components/deskPrescription.vue View File

@@ -2989,16 +2989,17 @@ export default {
2989 2989
                 price: temp2[b].price,
2990 2990
                 remark: '',
2991 2991
                 medical_code: temp2[b].medical_code,
2992
-                unit: temp2[b].unit,
2993 2992
                 type: temp2[b].type
2994 2993
               }
2995 2994
 
2996 2995
               if (temp2[b].type == 2) {
2997 2996
                 obj['project'] = temp2[b].project
2997
+                obj['unit'] = temp2[b].project.unit
2998 2998
 
2999 2999
               } else if (temp2[b].type == 3) {
3000
-
3001 3000
                 obj['good_info'] = temp2[b].good_info
3001
+                obj['unit'] = temp2[b].good_info.packing_unit
3002
+
3002 3003
 
3003 3004
               }
3004 3005
               if (temp2[b].team_id == undefined) {

+ 6 - 8
src/xt_pages/hospitalStation/invoiceTemplate/printThree.vue View File

@@ -184,22 +184,20 @@
184 184
           {{list.order.hifmi_pay?list.order.hifmi_pay:''}}
185 185
         </div> -->
186 186
         <!-- 其他基金支付 -->
187
-        <!-- <div style="position: absolute;top:340px;left:560px">
188
-
189
-          {{list.order.oth_pay?list.order.oth_pay:''}}
190
-
191
-        </div> -->
187
+        <div style="position: absolute;top:340px;left:560px">
188
+          预交押金:{{parseInt(pre_pay_money) + parseInt(list.order.decimal)}}
189
+        </div>
192 190
         <div style="position: absolute;top:370px;left:40px">
193 191
             <!-- 预交款合计 -->
194
-            预交款合计:{{pre_pay_money}}
192
+          押金支付:{{list.order.decimal}}
195 193
         </div>
196 194
         <div style="position: absolute;top:370px;left:250px">
197 195
             <!-- 补交款 -->
198
-            补交款:0.00
196
+          实付:{{parseInt(list.order.psn_cash_pay) - parseInt(list.order.decimal)}}
199 197
         </div>
200 198
         <div style="position: absolute;top:370px;left:480px">
201 199
             <!-- 应退款 -->
202
-            应退款:0.00
200
+            应退款:{{list.refund_sum}}
203 201
         </div>
204 202
         <div>
205 203
             <div style="position: absolute;top:400px;left:40px">

+ 4 - 2
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue View File

@@ -2968,7 +2968,6 @@
2968 2968
                   price: temp2[b].price,
2969 2969
                   remark: '',
2970 2970
                   medical_code: temp2[b].medical_code,
2971
-                  unit: temp2[b].unit,
2972 2971
                   type: temp2[b].type,
2973 2972
                   execution_state:2,
2974 2973
 
@@ -2976,10 +2975,13 @@
2976 2975
 
2977 2976
                 if (temp2[b].type == 2){
2978 2977
                   obj['project'] = temp2[b].project
2978
+                  obj['unit'] = temp2[b].project.unit
2979 2979
 
2980
-                }else if(temp2[b].type == 3){
2981 2980
 
2981
+                }else if(temp2[b].type == 3){
2982 2982
                   obj['good_info'] = temp2[b].good_info
2983
+                  obj['unit'] = temp2[b].good_info.packing_unit
2984
+
2983 2985
 
2984 2986
                 }
2985 2987
                 if (temp2[b].team_id == undefined) {

+ 2 - 4
src/xt_pages/outpatientDoctorStation/prescriptionTemplatedetail.vue View File

@@ -1548,7 +1548,6 @@
1548 1548
                   price: temp2[b].price,
1549 1549
                   remark: '',
1550 1550
                   medical_code: temp2[b].medical_code,
1551
-                  unit: temp2[b].unit,
1552 1551
                   type: temp2[b].type,
1553 1552
                   frequency_type: 1,
1554 1553
                   day_count: 0,
@@ -1556,11 +1555,10 @@
1556 1555
                 }
1557 1556
                 if (temp2[b].type == 2) {
1558 1557
                   obj['project'] = temp2[b].project
1559
-
1558
+                  obj['unit'] = temp2[b].project.unit
1560 1559
                 } else if (temp2[b].type == 3) {
1561
-
1562 1560
                   obj['good_info'] = temp2[b].good_info
1563
-
1561
+                  obj['unit'] = temp2[b].good_info.packing_unit
1564 1562
                 }
1565 1563
                 if (obj.total == 0 || obj.total == undefined) {
1566 1564
                   obj.total = 1