diff --git a/mes-ui/mes-ui-admin-vue3/src/views/heli/purchaseorderno/managementdetail.vue b/mes-ui/mes-ui-admin-vue3/src/views/heli/purchaseorderno/managementdetail.vue index 1e8e1bb..d4d6dd8 100644 --- a/mes-ui/mes-ui-admin-vue3/src/views/heli/purchaseorderno/managementdetail.vue +++ b/mes-ui/mes-ui-admin-vue3/src/views/heli/purchaseorderno/managementdetail.vue @@ -80,17 +80,28 @@
订单编号:{{ printData.purchaseNo }} - 订单日期:{{ formatDate(printData.ordDate) }} + 订单日期:{{ formatDate(printData.ordDate) }} 供应商:{{ printData.supplierName }}
- 联系人:{{ printData.contactName }} + 联系人:{{ printData.contactName }} 电话:{{ printData.contactMobile }}
+ + + + + + + + + + + @@ -105,26 +116,27 @@ - - - - - - - - - - - - + + + + + + + + + + + + +
- 交货地址: + 交货地址:{{ printData.deliveryAddress }}
- 邮编: + 邮编:{{ printData.postalCode }} 接收人:{{ printData.username }} 电话:{{ printData.userMobile }}
@@ -133,7 +145,7 @@
- 买方: + 买方:{{ printData.buyer }} 签字/盖章
@@ -281,7 +293,7 @@ function doPrint() { body { font-family: Arial, sans-serif; margin: 10px; - font-size: 14px; + font-size: 12px; } .print-content { width: 100%; @@ -316,6 +328,8 @@ function doPrint() { border: 1px solid #ddd; padding: 5px; text-align: center; + height: 20px; /* 设置固定高度 */ + line-height: 20px; /* 垂直居中 */ } .print-table th { background-color: #f5f5f5; @@ -344,6 +358,11 @@ function doPrint() { } } + +function limitTo20Chars(input) { + if (typeof input !== 'string') return ''; + return input.length > 20 ? input.slice(0, 20) : input; +} const printLoading = ref(false) const isPrint = async () => { @@ -434,6 +453,8 @@ const getList = async () => { padding: 6px 8px; text-align: center; font-size: 13px !important; + height: 30px; /* 设置固定高度 */ + line-height: 30px; /* 垂直居中 */ } diff --git a/mes-ui/mini-app/src/pages/messageNotification/components/dataItem.vue b/mes-ui/mini-app/src/pages/messageNotification/components/dataItem.vue index 07b655d..928c077 100644 --- a/mes-ui/mini-app/src/pages/messageNotification/components/dataItem.vue +++ b/mes-ui/mini-app/src/pages/messageNotification/components/dataItem.vue @@ -206,8 +206,6 @@ const onRefresherrefresh = async () => { .statusLabel { font-size: 28rpx; - font-weight: 500; - color: #333333; margin-right: 20rpx; } .read-btn { diff --git a/mes-ui/mini-app/src/services/constants.ts b/mes-ui/mini-app/src/services/constants.ts index 63ce0a9..5415a46 100644 --- a/mes-ui/mini-app/src/services/constants.ts +++ b/mes-ui/mini-app/src/services/constants.ts @@ -9,5 +9,5 @@ // export const serviceDomain = 'https://nxhs.cjyx.cc' // export const serviceDomain = 'https://star.hz-hl.com' // export const serviceDomain = 'http://222.71.165.187:9010' - export const serviceDomain = 'http://localhost:8080' -// export const serviceDomain = 'https://nxhs.cjyx.cc' + // export const serviceDomain = 'http://localhost:8080' +export const serviceDomain = 'https://nxhs.cjyx.cc'