From 009935dad6c9f18a7ffb3c8c14b511c612fa699c Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期五, 07 十一月 2025 15:21:16 +0800
Subject: [PATCH] 报工新增、修改时,报工时间限制改为13个月
---
north-glass-erp/northglass-erp/src/components/pp/PrintProcess.vue | 1 +
north-glass-erp/northglass-erp/src/lang/en.js | 2 +-
north-glass-erp/northglass-erp/src/lang/ar.js | 2 +-
north-glass-erp/northglass-erp/src/lang/ru.js | 2 +-
north-glass-erp/northglass-erp/src/lang/zh.js | 2 +-
north-glass-erp/northglass-erp/src/lang/kr.js | 2 +-
north-glass-erp/northglass-erp/src/views/pp/reportingWorks/AddReportingWork.vue | 2 +-
7 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/north-glass-erp/northglass-erp/src/components/pp/PrintProcess.vue b/north-glass-erp/northglass-erp/src/components/pp/PrintProcess.vue
index 29e5774..b03bf4f 100644
--- a/north-glass-erp/northglass-erp/src/components/pp/PrintProcess.vue
+++ b/north-glass-erp/northglass-erp/src/components/pp/PrintProcess.vue
@@ -329,6 +329,7 @@
<td rowspan='2'>鍥惧彿</td>
<td rowspan='2'>缂栧彿</td>
<td rowspan="2">灏忕墖椤哄簭</td>
+ <td v-if="name=='娴欐睙宸ㄦ槦鍢夋嘲鏂版潗鏂欐湁闄愬叕鍙�'" rowspan='2' style="width: 90px">瀹�(寮ч暱)脳楂�</td>
<td rowspan='2' style="width: 90px">瀹�*楂�</td>
<td rowspan='2' >鏁伴噺</td>
<td rowspan='2'>闈㈢Н</td>
diff --git a/north-glass-erp/northglass-erp/src/lang/ar.js b/north-glass-erp/northglass-erp/src/lang/ar.js
index 178217f..9223cf8 100644
--- a/north-glass-erp/northglass-erp/src/lang/ar.js
+++ b/north-glass-erp/northglass-erp/src/lang/ar.js
@@ -680,7 +680,7 @@
hiddenVal:'闅愯棌',
futureTime:'鎶ュ伐鏃堕棿涓嶈兘澶т簬褰撳墠鏃堕棿',
- longTime:'鎶ュ伐鏃堕棿涓庡綋鍓嶆椂闂磋秴杩�15澶�',
+ longTime:'鎶ュ伐鏃堕棿涓庡綋鍓嶆椂闂磋秴杩�13涓湀',
selectResponsibleTeam:'丕賱乇噩丕亍 丕禺鬲賷丕乇 丕賱賮乇賷賯 丕賱賲爻丐賵賱',
selectWorkReportingTeam:'丕賱乇噩丕亍 丕禺鬲賷丕乇 丕賱賮乇賷賯 丕賱賲爻丐賵賱',
successfulModificationOfWorkApplication:'鬲賲 鬲毓丿賷賱 丕賱鬲賯乇賷乇 亘賳噩丕丨',
diff --git a/north-glass-erp/northglass-erp/src/lang/en.js b/north-glass-erp/northglass-erp/src/lang/en.js
index 8d49493..63e31f9 100644
--- a/north-glass-erp/northglass-erp/src/lang/en.js
+++ b/north-glass-erp/northglass-erp/src/lang/en.js
@@ -680,7 +680,7 @@
hiddenVal:'闅愯棌',
futureTime:'鎶ュ伐鏃堕棿涓嶈兘澶т簬褰撳墠鏃堕棿',
- longTime:'鎶ュ伐鏃堕棿涓庡綋鍓嶆椂闂磋秴杩�15澶�',
+ longTime:'鎶ュ伐鏃堕棿涓庡綋鍓嶆椂闂磋秴杩�13涓湀',
selectResponsibleTeam:'Please select a responsible team',
selectWorkReportingTeam:'Please select a responsible team',
successfulModificationOfWorkApplication:'Report modification succeeded',
diff --git a/north-glass-erp/northglass-erp/src/lang/kr.js b/north-glass-erp/northglass-erp/src/lang/kr.js
index 1be845b..f3161aa 100644
--- a/north-glass-erp/northglass-erp/src/lang/kr.js
+++ b/north-glass-erp/northglass-erp/src/lang/kr.js
@@ -680,7 +680,7 @@
hiddenVal:'闅愯棌',
futureTime:'鎶ュ伐鏃堕棿涓嶈兘澶т簬褰撳墠鏃堕棿',
- longTime:'鎶ュ伐鏃堕棿涓庡綋鍓嶆椂闂磋秴杩�15澶�',
+ longTime:'鎶ュ伐鏃堕棿涓庡綋鍓嶆椂闂磋秴杩�13涓湀',
selectResponsibleTeam:'雼措嫻 韺�鞚� 靹犿儩頃� 欤检劯鞖�.',
selectWorkReportingTeam:'雼措嫻 韺�鞚� 靹犿儩頃� 欤检劯鞖�.',
successfulModificationOfWorkApplication:'鞛戩梾 氤搓碃 靾橃爼 靹标车',
diff --git a/north-glass-erp/northglass-erp/src/lang/ru.js b/north-glass-erp/northglass-erp/src/lang/ru.js
index 507d7aa..61cfca7 100644
--- a/north-glass-erp/northglass-erp/src/lang/ru.js
+++ b/north-glass-erp/northglass-erp/src/lang/ru.js
@@ -680,7 +680,7 @@
hiddenVal:'闅愯棌',
futureTime:'鎶ュ伐鏃堕棿涓嶈兘澶т簬褰撳墠鏃堕棿',
- longTime:'鎶ュ伐鏃堕棿涓庡綋鍓嶆椂闂磋秴杩�15澶�',
+ longTime:'鎶ュ伐鏃堕棿涓庡綋鍓嶆椂闂磋秴杩�13涓湀',
selectResponsibleTeam:'袩芯卸邪谢褍泄褋褌邪, 胁褘斜械褉懈褌械 谐褉褍锌锌褍 芯褌胁械褌褋褌胁械薪薪芯褋褌懈.',
selectWorkReportingTeam:'袩芯卸邪谢褍泄褋褌邪, 胁褘斜械褉懈褌械 谐褉褍锌锌褍 芯褌胁械褌褋褌胁械薪薪芯褋褌懈.',
successfulModificationOfWorkApplication:'袠蟹屑械薪械薪懈械 芯斜褉邪褌薪芯泄 褋胁褟蟹懈 褍褋锌械褕薪芯',
diff --git a/north-glass-erp/northglass-erp/src/lang/zh.js b/north-glass-erp/northglass-erp/src/lang/zh.js
index b9937c6..b1a4969 100644
--- a/north-glass-erp/northglass-erp/src/lang/zh.js
+++ b/north-glass-erp/northglass-erp/src/lang/zh.js
@@ -680,7 +680,7 @@
hiddenVal:'闅愯棌',
futureTime:'鎶ュ伐鏃堕棿涓嶈兘澶т簬褰撳墠鏃堕棿',
- longTime:'鎶ュ伐鏃堕棿涓庡綋鍓嶆椂闂磋秴杩�15澶�',
+ longTime:'鎶ュ伐鏃堕棿涓庡綋鍓嶆椂闂磋秴杩�13涓湀',
selectResponsibleTeam:'璇烽�夋嫨璐d换鐝粍',
selectWorkReportingTeam:'璇烽�夋嫨璐d换鐝粍',
successfulModificationOfWorkApplication:'鎶ュ伐淇敼鎴愬姛',
diff --git a/north-glass-erp/northglass-erp/src/views/pp/reportingWorks/AddReportingWork.vue b/north-glass-erp/northglass-erp/src/views/pp/reportingWorks/AddReportingWork.vue
index 72fc670..1798af3 100644
--- a/north-glass-erp/northglass-erp/src/views/pp/reportingWorks/AddReportingWork.vue
+++ b/north-glass-erp/northglass-erp/src/views/pp/reportingWorks/AddReportingWork.vue
@@ -1038,7 +1038,7 @@
const diffMs = currentTime - targetTime
// 杞崲涓哄ぉ鏁�
const diffDays = diffMs / (1000 * 60 * 60 * 24)
- if (diffDays > 90 && saveType!="update") {
+ if (diffDays > 396 && saveType!="update") {
ElMessage.error(t('reportingWorks.longTime'))
return
}
--
Gitblit v1.8.0