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'