前端最新版本同步
This commit is contained in:
@@ -72,7 +72,8 @@
|
||||
"coordinateSync": false,
|
||||
"widthHeightSync": false,
|
||||
"fontSize": 9,
|
||||
"qrCodeLevel": 0
|
||||
"qrCodeLevel": 0,
|
||||
"field": "timeRange"
|
||||
},
|
||||
"printElementType": {
|
||||
"title": "文本",
|
||||
@@ -85,7 +86,7 @@
|
||||
"top": 58.5,
|
||||
"height": 13.5,
|
||||
"width": 145.5,
|
||||
"title": "机构名称:长春大学医院",
|
||||
"title": "机构名称:医院",
|
||||
"coordinateSync": false,
|
||||
"widthHeightSync": false,
|
||||
"fontSize": 9,
|
||||
@@ -1369,10 +1370,90 @@
|
||||
"type": "text"
|
||||
}
|
||||
},
|
||||
{
|
||||
"options": {
|
||||
"left": 19,
|
||||
"top": 368.5,
|
||||
"height": 13.5,
|
||||
"width": 76.5,
|
||||
"title": "省医保总额",
|
||||
"coordinateSync": false,
|
||||
"widthHeightSync": false,
|
||||
"fontSize": 9,
|
||||
"qrCodeLevel": 0,
|
||||
"field": "1"
|
||||
},
|
||||
"printElementType": {
|
||||
"title": "文本",
|
||||
"type": "text"
|
||||
}
|
||||
},
|
||||
{
|
||||
"options": {
|
||||
"left": 81.5,
|
||||
"top": 369.5,
|
||||
"height": 13.5,
|
||||
"width": 75,
|
||||
"title": "文本",
|
||||
"coordinateSync": false,
|
||||
"widthHeightSync": false,
|
||||
"fontSize": 9,
|
||||
"qrCodeLevel": 0,
|
||||
"field": "provinceYbTotal",
|
||||
"textAlign": "right",
|
||||
"testData": "20000.00",
|
||||
"hideTitle": true,
|
||||
"formatter": "function(title,value,options,templateData,target,paperNo){\n return value ? value.toFixed(2) + ' 元' : '0.00' + ' 元'\n}"
|
||||
},
|
||||
"printElementType": {
|
||||
"title": "文本",
|
||||
"type": "text"
|
||||
}
|
||||
},
|
||||
{
|
||||
"options": {
|
||||
"left": 164,
|
||||
"top": 369.5,
|
||||
"height": 13.5,
|
||||
"width": 64.5,
|
||||
"title": "市医保总额",
|
||||
"coordinateSync": false,
|
||||
"widthHeightSync": false,
|
||||
"fontSize": 9,
|
||||
"qrCodeLevel": 0,
|
||||
"field": "1"
|
||||
},
|
||||
"printElementType": {
|
||||
"title": "文本",
|
||||
"type": "text"
|
||||
}
|
||||
},
|
||||
{
|
||||
"options": {
|
||||
"left": 220.5,
|
||||
"top": 370.5,
|
||||
"height": 13.5,
|
||||
"width": 75,
|
||||
"title": "文本",
|
||||
"coordinateSync": false,
|
||||
"widthHeightSync": false,
|
||||
"fontSize": 9,
|
||||
"qrCodeLevel": 0,
|
||||
"field": "municipalYbTotal",
|
||||
"textAlign": "right",
|
||||
"testData": "20000.00",
|
||||
"hideTitle": true,
|
||||
"formatter": "function(title,value,options,templateData,target,paperNo){\n return value ? value.toFixed(2) + ' 元' : '0.00' + ' 元'\n}"
|
||||
},
|
||||
"printElementType": {
|
||||
"title": "文本",
|
||||
"type": "text"
|
||||
}
|
||||
},
|
||||
{
|
||||
"options": {
|
||||
"left": 15,
|
||||
"top": 369,
|
||||
"top": 397.5,
|
||||
"height": 9,
|
||||
"width": 567,
|
||||
"borderWidth": "1.5",
|
||||
@@ -1387,7 +1468,7 @@
|
||||
{
|
||||
"options": {
|
||||
"left": 162,
|
||||
"top": 382.5,
|
||||
"top": 411,
|
||||
"height": 13.5,
|
||||
"width": 76.5,
|
||||
"title": "制表人",
|
||||
@@ -1405,7 +1486,7 @@
|
||||
{
|
||||
"options": {
|
||||
"left": 216,
|
||||
"top": 382.5,
|
||||
"top": 411,
|
||||
"height": 13.5,
|
||||
"width": 75,
|
||||
"title": "文本",
|
||||
@@ -1425,8 +1506,8 @@
|
||||
},
|
||||
{
|
||||
"options": {
|
||||
"left": 298.5,
|
||||
"top": 382.5,
|
||||
"left": 333,
|
||||
"top": 411,
|
||||
"height": 13.5,
|
||||
"width": 76.5,
|
||||
"title": "制表时间",
|
||||
@@ -1443,10 +1524,10 @@
|
||||
},
|
||||
{
|
||||
"options": {
|
||||
"left": 370.5,
|
||||
"top": 382.5,
|
||||
"left": 390,
|
||||
"top": 411,
|
||||
"height": 13.5,
|
||||
"width": 148.5,
|
||||
"width": 129,
|
||||
"title": "文本",
|
||||
"coordinateSync": false,
|
||||
"widthHeightSync": false,
|
||||
|
||||
@@ -357,7 +357,7 @@ async function print() {
|
||||
...reportValue.value, // 将 reportValue.value 中的所有属性展开到 result 中
|
||||
nickName: userStore.nickName,
|
||||
orgName: userStore.orgName,
|
||||
fixmedinsName: '长春大学医院',
|
||||
fixmedinsName: '医院',
|
||||
queryTime: queryTime.value[0] + '~' + queryTime.value[1],
|
||||
zfAmount: new Decimal(reportValue.value.zhSum || 0).add(reportValue.value.fundSum || 0),
|
||||
feeAmount: new Decimal(reportValue.value.DIAGNOSTIC_FEE || 0)
|
||||
|
||||
@@ -92,7 +92,7 @@
|
||||
</el-col>
|
||||
<el-col :span="5">
|
||||
<span class="label">机构:</span>
|
||||
<span class="value">{{ '长春大学医院' }}</span>
|
||||
<span class="value">{{ '医院' }}</span>
|
||||
</el-col>
|
||||
<el-col :span="7">
|
||||
<span class="label">时间:</span>
|
||||
@@ -155,15 +155,15 @@
|
||||
</el-col> -->
|
||||
<el-col :span="5">
|
||||
<span class="label">微信:</span>
|
||||
<span class="value">{{ formatValue(reportValue.vxCashSum) }}</span>
|
||||
<span class="value">{{ formatValue(reportValue['0000cash']) }}</span>
|
||||
</el-col>
|
||||
<el-col :span="5">
|
||||
<span class="label">支付宝:</span>
|
||||
<span class="value">{{ formatValue(reportValue.aliCashSum) }}</span>
|
||||
<span class="value">{{ '0.00 元' }}</span>
|
||||
</el-col>
|
||||
<el-col :span="5">
|
||||
<span class="label">网银:</span>
|
||||
<span class="value">{{ formatValue(reportValue.aliCashSum) }}</span>
|
||||
<span class="value">{{ '0.00 元' }}</span>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<!-- <el-row
|
||||
@@ -301,11 +301,15 @@
|
||||
>
|
||||
<el-col :span="5">
|
||||
<span class="label">省医保总额:</span>
|
||||
<span class="value">{{ formatValue((reportValue['229900cash'] || 0 + reportValue['229900tcSum'] || 0 + reportValue['229900zhSum'] || 0 + reportValue['229900fundSum'] || 0)) }}</span>
|
||||
<span class="value">{{
|
||||
formatValue((reportValue['229900fundSum'] || 0) + (reportValue['229900zhSum'] || 0))
|
||||
}}</span>
|
||||
</el-col>
|
||||
<el-col :span="5">
|
||||
<span class="label">省医保总额:</span>
|
||||
<span class="value">{{ formatValue((reportValue['220100cash'] || 0 + reportValue['220100tcSum'] || 0 + reportValue['220100zhSum'] || 0 + reportValue['220100fundSum'] || 0)) }}</span>
|
||||
<span class="label">市医保总额:</span>
|
||||
<span class="value">{{
|
||||
formatValue((reportValue['220100fundSum'] || 0) + (reportValue['220100zhSum'] || 0))
|
||||
}}</span>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</div>
|
||||
@@ -407,10 +411,10 @@ async function print() {
|
||||
...reportValue.value, // 将 reportValue.value 中的所有属性展开到 result 中
|
||||
nickName: userStore.nickName,
|
||||
orgName: userStore.orgName,
|
||||
fixmedinsName: '长春大学医院',
|
||||
fixmedinsName: '医院',
|
||||
createTime: formatDateStr(new Date(), 'YYYY-MM-DD HH:mm:ss'),
|
||||
scheduler: userStore.nickName,
|
||||
queryTime: queryTime.value[0] + '~' + queryTime.value[1],
|
||||
timeRange: queryTime.value[0] + '~' + queryTime.value[1],
|
||||
zfAmount: new Decimal(reportValue.value.zhSum || 0).add(reportValue.value.fundSum || 0),
|
||||
feeAmount: new Decimal(reportValue.value.DIAGNOSTIC_FEE || 0)
|
||||
.add(reportValue.value.CHECK_FEE || 0)
|
||||
@@ -423,6 +427,10 @@ async function print() {
|
||||
.add(reportValue.value.REGISTRATION_FEE || 0)
|
||||
.add(reportValue.value.OTHER_FEE || 0)
|
||||
.add(reportValue.value.SANITARY_MATERIALS_FEE || 0),
|
||||
provinceYbTotal:
|
||||
(reportValue.value['229900zhSum'] || 0) + (reportValue.value['229900fundSum'] || 0),
|
||||
municipalYbTotal:
|
||||
(reportValue.value['220100zhSum'] || 0) + (reportValue.value['220100fundSum'] || 0),
|
||||
},
|
||||
],
|
||||
};
|
||||
@@ -466,7 +474,7 @@ function getPrintFileName(value) {
|
||||
}
|
||||
|
||||
function formatValue(value) {
|
||||
return value == null || value == undefined || value == NaN ? '0.00 元' : value.toFixed(2) + ' 元';
|
||||
return value == null || value == undefined || value == NaN ? '0.00 元' : value.toFixed(2) + ' 元';
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
|
||||
Reference in New Issue
Block a user