- 机具设备有偿使用费结算协议书
+ {{ dialogTitle || '机具设备' }}有偿使用费结算协议书
@@ -203,7 +203,7 @@
部门负责人:
-
![]()
@@ -337,7 +337,8 @@ export default {
reductionCost: '', // 减免费用
costAll: '', // 合计费用
costAllUpper: '' // 合计费用大写
- }
+ },
+ dialogTitle: ''
}
},
created() {
@@ -495,6 +496,7 @@ export default {
},
async openPrintDialog(row) {
+ this.dialogTitle = row.settlementType == 2 ? '安全工器具' : '机具设备'
row.enableQuerySltData = true
this.openPrint = true
try {
@@ -980,7 +982,7 @@ export default {
// 判断path前四位是否为http 如果是则直接返回 如果不是则是base64
if (path.startsWith('http')) {
return path; // 是http开头,直接返回
- } else {
+ } else if (!path.startsWith('data:image')) {
return `data:image/png;base64,${path}`; // 不是则拼接base64前缀(假设为png格式,可根据实际调整)
}
}
diff --git a/src/views/material/cost/component/reportHome.vue b/src/views/material/cost/component/reportHome.vue
index 48b78798..c6331992 100644
--- a/src/views/material/cost/component/reportHome.vue
+++ b/src/views/material/cost/component/reportHome.vue
@@ -162,7 +162,7 @@
-
+
@@ -263,11 +263,11 @@
-
-
+
{{ scope.row.costType === 'lease' ? (scope.row.leaseDate || '-') : '-' }}
@@ -763,7 +763,7 @@ export default {
{ key: 'unit', title: '单位' },
{ key: 'unitPrice', title: '单价(元)' },
{ key: 'quantity', title: '数量' },
- { key: 'returnQuantity', title: '归还数量' },
+ // { key: 'returnQuantity', title: '归还数量' },
{ key: 'leaseDate', title: '租赁日期' },
{ key: 'returnDate', title: '退还日期' },
{ key: 'days', title: '天数' },
@@ -812,7 +812,7 @@ export default {
{ key: 'unit', title: '单位' },
{ key: 'unitPrice', title: '单价(元)' },
{ key: 'quantity', title: '数量' },
- { key: 'returnQuantity', title: '归还数量' },
+ // { key: 'returnQuantity', title: '归还数量' },
{ key: 'leaseDate', title: '租赁日期' },
{ key: 'returnDate', title: '退还日期' },
{ key: 'days', title: '天数' },