项目部委托书

This commit is contained in:
bb_pan 2025-07-08 10:13:32 +08:00
parent d6f8591d85
commit 58b61102b1
1 changed files with 16 additions and 6 deletions

View File

@ -321,21 +321,22 @@
<div>特此委托证明</div>
<div>
<span>被授权人姓名</span>
<span v-for="(item, index) in authorizeData.detailsList" :key="index">
<span v-if="authorizeData.detailsList && authorizeData.detailsList.length > 0">
<img
v-if="item.signName"
:src="item.signName"
v-if="authorizeData.detailsList[0].signName"
:src="authorizeData.detailsList[0].signName"
alt=""
width="100px"
height="50px;"
style="margin-right: 10px"
:style="{ transform: authorizeData.detailsList[0].signType == 0 ? 'rotate(-90deg)' : 'none' }"
/>
</span>
</div>
<div style="margin-left: 62%; margin-bottom: 20px">
<div>委托单位{{ authorizeData.leaseUnit }}</div>
<div>授权人{{ authorizeData.userName }}</div>
<div>授权时间{{ authorizeData.authorizeTime }}</div>
<div>授权时间{{ authorizeData.createTime }}</div>
</div>
<div
@ -466,7 +467,7 @@ export default {
leaseProject: '',
detailsList: [],
userName: '',
authorizeTime: ''
createTime: ''
}
}
},
@ -958,12 +959,21 @@ export default {
const res = await getAuthInfo(params)
this.authorizeData = res.data
const date = new Date()
this.authorizeData.authorizeTime = `${date.getFullYear()}${date.getMonth() + 1}${date.getDate()}`
const time = `${date.getFullYear()}${date.getMonth() + 1}${date.getDate()}`
this.authorizeData.createTime = res.data.createTime ? this.formatTime(res.data.createTime) : time
this.authorizeVisible = true
} catch (error) {
console.log('🚀 ~ handleAuthorize ~ error:', error)
}
},
//
formatTime(time) {
const date = new Date(time)
const year = date.getFullYear()
const month = date.getMonth() + 1
const day = date.getDate()
return `${year}${month}${day}`
},
//
authorizePrint() {
this.$refs.remarksPrintRef.print()