diff --git a/src/views/mailManagement/PrintPage.vue b/src/views/mailManagement/PrintPage.vue
index aa9befa..e0ae13f 100644
--- a/src/views/mailManagement/PrintPage.vue
+++ b/src/views/mailManagement/PrintPage.vue
@@ -2,7 +2,6 @@
-
{{ userInfo.realname }}
{{ userInfo.phone }}
@@ -27,6 +26,13 @@
{{ mailDetail.postalCode }}
+
+
{{ userInfo.realname }}
+
{{ currentTime }}
+
+
{{isContract ? '合同' : '发票'}}
+
+
@@ -36,15 +42,19 @@
import Vue from 'vue'
import { USER_INFO } from '../../store/mutation-types'
import { getPrintPostContactByMailId } from '../../api/incomePaymentsApi'
+import AImg from './bg.jpg'
export default {
name: 'PrintPage',
data() {
return {
+ AImg,
// 邮寄项目信息
mailDetail: {},
// 用户信息
userInfo: {},
+ // 当前时间 8 寄件人签署 处需要
+ currentTime: `${new Date().getFullYear()} ${new Date().getMonth() + 1} ${new Date().getDate()}`,
sendCompanyName: '',
sendAddress: '',
sendPostCode: '',
@@ -94,17 +104,19 @@ export default {
// 将整体dom替换为需要打印的部分
window.document.body.innerHTML = printDom
// 调用页面的打印方法打印整个页面
- window.print()
+ // window.print()
// 恢复原页面显示
- window.document.body.innerHTML = oldDom
+ // window.document.body.innerHTML = oldDom
// 关闭本标签页
- window.close()
+ // window.close()
}
}
}