From ca8dfc8a7dd8ba9b84d9a58c3c2a6d52a0c98a74 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 28 五月 2026 09:48:59 +0800
Subject: [PATCH] 中兴实强new 1.生产订单补料时如果库存不足可以提交采购申请单
---
src/layout/components/NotificationCenter/index.vue | 26 +++++++++++++++++---------
1 files changed, 17 insertions(+), 9 deletions(-)
diff --git a/src/layout/components/NotificationCenter/index.vue b/src/layout/components/NotificationCenter/index.vue
index 2517c22..2d3df05 100644
--- a/src/layout/components/NotificationCenter/index.vue
+++ b/src/layout/components/NotificationCenter/index.vue
@@ -190,6 +190,13 @@
});
}
+ // 濡傛灉鏄噰璐敵璇锋彁閱掞紝鏍规嵁purchaseContractNumber鏌ヨ
+ if (item.noticeTitle === "閲囪喘鐢宠鎻愰啋" && query.purchaseContractNumber) {
+ query = {
+ purchaseContractNumber: query.purchaseContractNumber,
+ };
+ }
+
// 璺宠浆鍒版寚瀹氶〉闈�
router.push({
path: path,
@@ -255,6 +262,7 @@
flex-direction: column;
width: 500px;
padding: 16px;
+ background: rgba(255, 255, 255, 0.92);
}
.popover-header {
@@ -264,12 +272,12 @@
width: 100%;
margin-bottom: 16px;
padding-bottom: 12px;
- border-bottom: 1px solid #f0f0f0;
+ border-bottom: 1px solid var(--surface-border);
.popover-title {
font-size: 18px;
font-weight: 500;
- color: #303133;
+ color: var(--text-primary);
}
}
@@ -315,11 +323,11 @@
.notification-item {
display: flex;
padding: 12px 0;
- border-bottom: 1px solid #f0f0f0;
+ border-bottom: 1px solid rgba(148, 163, 184, 0.18);
transition: background-color 0.3s;
&:hover {
- background-color: #f5f7fa;
+ background-color: #f8fbff;
}
&.read {
@@ -333,7 +341,7 @@
display: flex;
align-items: center;
justify-content: center;
- background-color: #f0f9ff;
+ background-color: rgba(59, 130, 246, 0.12);
border-radius: 50%;
margin-right: 12px;
}
@@ -345,13 +353,13 @@
.notification-title {
font-size: 14px;
font-weight: 500;
- color: #303133;
+ color: var(--text-primary);
margin-bottom: 8px;
}
.notification-detail {
font-size: 13px;
- color: #606266;
+ color: var(--text-secondary);
line-height: 1.5;
margin-bottom: 8px;
word-break: break-all;
@@ -359,7 +367,7 @@
.notification-time {
font-size: 12px;
- color: #909399;
+ color: var(--text-tertiary);
}
}
@@ -375,7 +383,7 @@
.pagination-wrapper {
margin-top: 16px;
padding-top: 16px;
- border-top: 1px solid #f0f0f0;
+ border-top: 1px solid var(--surface-border);
display: flex;
justify-content: center;
padding-left: 0;
--
Gitblit v1.9.3