Browse Source

小票修改文字

‘chenzhilei’ 2 months ago
parent
commit
1e239f9633

+ 1 - 1
src/main/resources/static/js/mz/toll_administration.js

@@ -2435,7 +2435,7 @@ function prn1PrintAndQRCode(patientId, times,serialNo,name,fee,doctorName) {
     postAjaxJsonHttpRequst("/thmz/getMzChargeDetailByBillItem",params,true,function (res) {
             if(res.code == 0){
                 res.data.forEach((item,index)=>{
-                    var html = '<div style="font-size:15px;line-height:15px;float:left;width:150px;"><span style="width:105px;display:inline-block;overflow:hidden;white-space: nowrap;" id="printProjectName'+(index+1)+'">'+item.tcName+'</span><span style="margin-left: 5px;line-height:15px;" id="printProjectFee'+(index+1)+'">'+item.amount+'</span><br /></div>'
+                    var html = '<div style="font-size:12px;line-height:12px;float:left;width:170px;"><span style="width:125px;display:inline-block;overflow:hidden;" id="printProjectName'+(index+1)+'">'+item.tcName+'</span><span style="margin-left: 5px;line-height:15px;" id="printProjectFee'+(index+1)+'">'+item.amount+'</span><br /></div>'
                     $('#printProjectName').append(html);
                 })
 

+ 1 - 1
src/main/resources/templates/mz/toll_administration.html

@@ -810,7 +810,7 @@
                         <span style="width:105px;display:inline-block;overflow:hidden;white-space: nowrap;line-height:15px;" >项目名称</span><span style="margin-left: 5px;line-height:15px;">金额</span><br />
                     </div>
                 </div>
-                <div style="font-size:15px;float:left;width:300px;" id="printProjectName">
+                <div style="font-size:12px;float:left;width:340px;" id="printProjectName">
 
                 </div>
 <!--                <div style="font-size:15px;float:left;width:300px;">-->