From 499c14e03099b307503ec7165807d3115ff5bfd1 Mon Sep 17 00:00:00 2001 From: lideqin <694785430@qq.com> Date: Fri, 26 Apr 2024 18:08:24 +0800 Subject: [PATCH] =?UTF-8?q?[update]=20=E4=BC=81=E6=A0=87=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E6=A0=87=E5=87=86=E5=8F=B7placeholder=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/lang/enterpriseStandardLibrary/zh.js | 4 +++- .../standard/modules/EnterpriseStandardModal.vue | 5 +++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/common/lang/enterpriseStandardLibrary/zh.js b/src/common/lang/enterpriseStandardLibrary/zh.js index 520fa56b..0b421c89 100644 --- a/src/common/lang/enterpriseStandardLibrary/zh.js +++ b/src/common/lang/enterpriseStandardLibrary/zh.js @@ -36,7 +36,9 @@ module.exports = { authorizationDate: '授权日期', authorizationStandard: '授权企标', confirmCancelAuthor: '确认解除授权?', - viewAll: '查看全部' + viewAll: '查看全部', + inputExample: '输入示例:', + nullAutoCreate: '不填自动生成' }, // 评审会记录 reviewMeeting: { diff --git a/src/views/enterpriseStandardLibrary/standard/modules/EnterpriseStandardModal.vue b/src/views/enterpriseStandardLibrary/standard/modules/EnterpriseStandardModal.vue index 296610d0..f21c867c 100644 --- a/src/views/enterpriseStandardLibrary/standard/modules/EnterpriseStandardModal.vue +++ b/src/views/enterpriseStandardLibrary/standard/modules/EnterpriseStandardModal.vue @@ -19,6 +19,7 @@ :disabledFieldList="disabledFieldList" :selectStandardCanUpdateTypeField="['reference_standard']" :hiddenFieldList="hiddenFieldList" + :special-placeholder="specialPlaceholder" :get-form-func="getFormFunc" :get-document-info-func="getDocumentInfoFunc" :exclude-standard-fields="['substitute_standard_number', 'reference_standard']" @@ -138,6 +139,10 @@ export default { ], dataSource: [], type: '', // 是新增还是编辑 + // 特殊的placeholder + specialPlaceholder: { + standard_number_temp: `${this.$t('enterpriseStandardLibrary.standard.inputExample')}7258,${this.$t('enterpriseStandardLibrary.standard.nullAutoCreate')}` + }, url: { add: '/laws/standard/enterprise/commonAdd', edit: '/laws/standard/enterprise/commonEdit'