This commit is contained in:
bb_pan 2025-11-19 16:04:51 +08:00
parent d2b8915ebe
commit 91a8785075
1 changed files with 6 additions and 4 deletions

View File

@ -126,7 +126,7 @@
<div style="height: 600px; overflow-y: scroll"> <div style="height: 600px; overflow-y: scroll">
<vue-easy-print tableShow ref="remarksPrintRef" class="print"> <vue-easy-print tableShow ref="remarksPrintRef" class="print">
<div style="text-align: center; font-weight: 600; font-size: 16px"> <div style="text-align: center; font-weight: 600; font-size: 16px">
机具设备有偿使用费结算协议书 {{ dialogTitle || '机具设备' }}有偿使用费结算协议书
</div> </div>
<div class="info" style="margin-top: 10px; display: flex; flex-wrap: wrap"> <div class="info" style="margin-top: 10px; display: flex; flex-wrap: wrap">
<div class="item" style="width: 65%; flex-shrink: 0; margin-bottom: 5px; font-size: 14px"></div> <div class="item" style="width: 65%; flex-shrink: 0; margin-bottom: 5px; font-size: 14px"></div>
@ -202,7 +202,7 @@
<span>部门负责人</span> <span>部门负责人</span>
<img :src="initImgPath(agreementContent.auditorSignUrl)" <img v-if="agreementContent.auditorSignUrl" :src="initImgPath(agreementContent.auditorSignUrl)"
style="width: 40px; height: 90px;margin-left: 20px; max-width: 100%;" style="width: 40px; height: 90px;margin-left: 20px; max-width: 100%;"
:style="{ transform: agreementContent.signType == 0 ? 'rotate(-90deg)' : '' }" alt="" /> :style="{ transform: agreementContent.signType == 0 ? 'rotate(-90deg)' : '' }" alt="" />
@ -336,7 +336,8 @@ export default {
reductionCost: '', // reductionCost: '', //
costAll: '', // costAll: '', //
costAllUpper: '' // costAllUpper: '' //
} },
dialogTitle: ''
} }
}, },
created() { created() {
@ -494,6 +495,7 @@ export default {
}, },
async openPrintDialog(row) { async openPrintDialog(row) {
this.dialogTitle = row.settlementType == 2 ? '安全工器具' : '机具设备'
row.enableQuerySltData = true row.enableQuerySltData = true
this.openPrint = true this.openPrint = true
try { try {
@ -979,7 +981,7 @@ export default {
// pathhttp base64 // pathhttp base64
if (path.startsWith('http')) { if (path.startsWith('http')) {
return path; // http return path; // http
} else { } else if (!path.startsWith('data:image')) {
return `data:image/png;base64,${path}`; // base64png return `data:image/png;base64,${path}`; // base64png
} }
} }