199 lines
9.1 KiB
JSON
Executable File
199 lines
9.1 KiB
JSON
Executable File
{
|
|
"panels": [
|
|
{
|
|
"index": 0,
|
|
"name": 1,
|
|
"paperType": "A5",
|
|
"height": 148,
|
|
"width": 210,
|
|
"paperList": {
|
|
"type": "A5",
|
|
"width": 210,
|
|
"height": 148
|
|
},
|
|
"paperHeader": 0,
|
|
"paperFooter": 419.53,
|
|
"paperNumberDisabled": true,
|
|
"paperNumberContinue": true,
|
|
"panelAngle": 0,
|
|
"overPrintOptions": {
|
|
"content": "",
|
|
"opacity": 0.01,
|
|
"type": 1
|
|
},
|
|
"watermarkOptions": {
|
|
"content": "",
|
|
"fillStyle": "rgba(87, 13, 248, 0.5)",
|
|
"fontSize": "10px",
|
|
"rotate": 0,
|
|
"width": 100,
|
|
"height": 100,
|
|
"timestamp": false,
|
|
"format": "YYYY-MM-DD HH:mm"
|
|
},
|
|
"panelLayoutOptions": {
|
|
"layoutType": "column",
|
|
"layoutRowGap": 0,
|
|
"layoutColumnGap": 0
|
|
},
|
|
"printElements": [
|
|
{
|
|
"options": {
|
|
"left": 505.5,
|
|
"top": 20,
|
|
"height": 20,
|
|
"width": 60,
|
|
"title": " ",
|
|
"field": "reprintTag",
|
|
"hideTitle": true,
|
|
"customClass": "reprint-tag",
|
|
"coordinateSync": false,
|
|
"widthHeightSync": false,
|
|
"textAlign": "center",
|
|
"textContentVerticalAlign": "middle",
|
|
"fontSize": 9,
|
|
"color": "#ff0000",
|
|
"fontWeight": "bold",
|
|
"borderLeft": "solid",
|
|
"borderRight": "solid",
|
|
"borderTop": "solid",
|
|
"borderBottom": "solid",
|
|
"borderColor": "#ff0000",
|
|
"borderWidth": 1.5,
|
|
"qrCodeLevel": 0,
|
|
"fixed": true,
|
|
"styler": "function(value, options, target, templateData, paperNo) { if (!value || value.trim() === '') { return { display: 'none' }; } return {}; }"
|
|
},
|
|
"printElementType": {
|
|
"title": "文本",
|
|
"type": "text"
|
|
}
|
|
},
|
|
{
|
|
"options": {
|
|
"left": 30,
|
|
"top": 20,
|
|
"height": 30,
|
|
"width": 535.5,
|
|
"title": "{{hospitalName}}",
|
|
"coordinateSync": false,
|
|
"widthHeightSync": false,
|
|
"textAlign": "center",
|
|
"fontWeight": "bold",
|
|
"fontSize": 19.5,
|
|
"fontFamily": "SimSun",
|
|
"letterSpacing": 5,
|
|
"color": "#000000",
|
|
"fixed": true
|
|
},
|
|
"printElementType": {
|
|
"title": "文本",
|
|
"type": "text"
|
|
}
|
|
},
|
|
{
|
|
"options": {
|
|
"left": 30,
|
|
"top": 52,
|
|
"height": 20,
|
|
"width": 535.5,
|
|
"title": "住院预缴金收据(收执联)",
|
|
"coordinateSync": false,
|
|
"widthHeightSync": false,
|
|
"textAlign": "center",
|
|
"fontSize": 12,
|
|
"fontFamily": "SimSun",
|
|
"fontWeight": "normal",
|
|
"letterSpacing": 2,
|
|
"color": "#000000",
|
|
"fixed": true
|
|
},
|
|
"printElementType": {
|
|
"title": "文本",
|
|
"type": "text"
|
|
}
|
|
},
|
|
{
|
|
"options": {
|
|
"left": 30,
|
|
"top": 78,
|
|
"height": 15,
|
|
"width": 250,
|
|
"title": "收据号:{{receiptNo}}",
|
|
"fontSize": 9,
|
|
"color": "#000000",
|
|
"fixed": true
|
|
},
|
|
"printElementType": {
|
|
"title": "文本",
|
|
"type": "text"
|
|
}
|
|
},
|
|
{
|
|
"options": {
|
|
"left": 288.35,
|
|
"top": 78,
|
|
"height": 15,
|
|
"width": 277.15,
|
|
"title": "收款日期:{{currentTime}}",
|
|
"textAlign": "right",
|
|
"fontSize": 9,
|
|
"color": "#000000",
|
|
"fixed": true
|
|
},
|
|
"printElementType": {
|
|
"title": "文本",
|
|
"type": "text"
|
|
}
|
|
},
|
|
{
|
|
"options": {
|
|
"left": 14.17,
|
|
"top": 96.38,
|
|
"width": 566.92,
|
|
"height": 230,
|
|
"title": "<table style='width:100%; border-collapse:collapse; border:1px solid #000000; table-layout:fixed; font-family:SimSun, serif; font-size:11px; color:#000000;'><tr style='height:28px;'><td style='border:1px solid #000; background:#F5F5F5; text-align:center; width:65px; font-weight:bold; color:#000000;'>住院号</td><td style='border:1px solid #000; padding:0 4px; width:130px; white-space:normal; word-break:break-all; color:#000000;'>{{encounterNosd}}</td><td style='border:1px solid #000; background:#F5F5F5; text-align:center; width:50px; font-weight:bold; color:#000000;'>姓名</td><td style='border:1px solid #000; padding:0 4px; width:110px; white-space:normal; word-break:break-all; color:#000000;'>{{patientName}}</td><td style='border:1px solid #000; background:#F5F5F5; text-align:center; width:50px; font-weight:bold; color:#000000;'>性别</td><td style='border:1px solid #000; text-align:center; width:50px; white-space:normal; word-break:break-all; color:#000000;'>{{gender}}</td><td style='border:1px solid #000; background:#F5F5F5; text-align:center; width:60px; font-weight:bold; color:#000000;'>年龄</td><td style='border:1px solid #000; text-align:center; width:51.92px; white-space:normal; word-break:break-all; color:#000000;'>{{age}}</td></tr><tr style='height:28px;'><td style='border:1px solid #000; background:#F5F5F5; text-align:center; font-weight:bold; color:#000000;'>病区/科室</td><td style='border:1px solid #000; padding:0 4px; white-space:normal; word-break:break-all; color:#000000;' colspan='3'>{{inHospitalOrgName}}</td><td style='border:1px solid #000; background:#F5F5F5; text-align:center; font-weight:bold; color:#000000;'>床号</td><td style='border:1px solid #000; text-align:center; white-space:normal; word-break:break-all; color:#000000;'>{{bedName}}</td><td style='border:1px solid #000; background:#F5F5F5; text-align:center; font-weight:bold; color:#000000;'>医保类型</td><td style='border:1px solid #000; text-align:center; white-space:normal; word-break:break-all; color:#000000;'>{{contractName}}</td></tr><tr style='height:28px;'><td style='border:1px solid #000; background:#F5F5F5; text-align:center; font-weight:bold; color:#000000;'>收费项目</td><td style='border:1px solid #000; padding:0 4px; white-space:normal; word-break:break-all; color:#000000;' colspan='7'>住院预缴款</td></tr><tr style='height:28px;'><td style='border:1px solid #000; background:#F5F5F5; text-align:center; font-weight:bold; color:#000000;'>支付方式</td><td style='border:1px solid #000; padding:0 4px; white-space:normal; word-break:break-all; color:#000000;' colspan='7'>{{paymentMethod}}</td></tr><tr style='height:28px;'><td style='border:1px solid #000; background:#F5F5F5; text-align:center; font-weight:bold; color:#000000;'>金额(大写)</td><td style='border:1px solid #000; padding:0 4px; font-weight:normal; white-space:normal; word-break:break-all; color:#000000;' colspan='7'>{{amountInWords}}</td></tr><tr style='height:28px;'><td style='border:1px solid #000; background:#F5F5F5; text-align:center; font-weight:bold; color:#000000;'>金额(小写)</td><td style='border:1px solid #000; padding:0 4px; font-weight:normal; white-space:normal; word-break:break-all; color:#000000;' colspan='7'>{{balanceAmount}}</td></tr><tr><td style='border:1px solid #000; text-align:center; vertical-align:middle; padding: 10px 0;' colspan='2'><img src='{{qrcodeUrl}}' style='width:50px; height:50px; display:block; margin:0 auto 4px auto;' /><span style='font-size:9px; color:#000000; display:block;'>扫码查验电子票据</span></td><td style='border:1px solid #000; padding:6px 10px; text-align:left; vertical-align:top; font-family:SimSun; font-size:10px; line-height:1.4; color:#000000;' colspan='6'><strong>说明/备注:</strong><br/>1. 本收据为预收款凭证,非最终医疗自费/统筹消费发票。<br/>2. 患者出院结算时,须凭此收据联原表退回换取正式的住院发票。<br/>3. 请妥善保管此收据。如若遗失,请及时前往收费处办理挂失及证明审核。</td></tr></table>",
|
|
"fixed": true
|
|
},
|
|
"printElementType": {
|
|
"title": "HTML表格",
|
|
"type": "text"
|
|
}
|
|
},
|
|
{
|
|
"options": {
|
|
"left": 14.17,
|
|
"top": 342.0,
|
|
"height": 17.01,
|
|
"width": 320.0,
|
|
"title": "收款单位:{{hospitalName}}财务结算专用章(电子印章)",
|
|
"fontSize": 9,
|
|
"color": "#000000",
|
|
"fixed": true
|
|
},
|
|
"printElementType": {
|
|
"title": "文本",
|
|
"type": "text"
|
|
}
|
|
},
|
|
{
|
|
"options": {
|
|
"left": 330.0,
|
|
"top": 342.0,
|
|
"height": 17.01,
|
|
"width": 251.1,
|
|
"title": "收款员:{{cashier}}",
|
|
"textAlign": "right",
|
|
"fontSize": 9,
|
|
"color": "#000000",
|
|
"fixed": true
|
|
},
|
|
"printElementType": {
|
|
"title": "文本",
|
|
"type": "text"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |