yq1 9 mesi fa
parent
commit
3388e55d2b

+ 2 - 2
src/xt_pages/outpatientCharges/invoiceTemplate/printtwelve.vue Vedi File

@@ -49,7 +49,7 @@
49 49
         <div :style="{position: 'absolute',top:'230px',left:'310px'}"></div>
50 50
       </div>
51 51
       <div style="display: flex;">
52
-        <div :style="{position: 'absolute',top:'250px',left:'75px'}">{{treatCostTotal!=null?treatCostTotal:""}}</div>
52
+        <div :style="{position: 'absolute',top:'250px',left:'75px'}"><span v-if="treatCostTotal!=0">{{treatCostTotal?treatCostTotal:""}}</span></div>
53 53
         <div :style="{position: 'absolute',top:'250px',left:'121px'}"></div>
54 54
         <div :style="{position: 'absolute',top:'250px',left:'270px'}">{{list.materialCostTotal?list.materialCostTotal:""}}</div>
55 55
         <div :style="{position: 'absolute',top:'250px',left:'310px'}"></div>
@@ -104,7 +104,7 @@ export default {
104 104
       org_name:'',
105 105
       pageArr:[],
106 106
       Arr:[],
107
-      treatCostTotal:null,
107
+      treatCostTotal:0,
108 108
       // pageArrs:['西药费','化验费','治疗费','处置费',,'输氧费','其他']
109 109
       // pageArrs:['西药费','化验费','治疗费','处置费','中成药','诊疗费','材料费',
110 110
       //         '护理费','注射费','检查费','输氧费','其他'],