Browse Source

DVP-试验标准 字符长度限制更改为500

zhangzheng 8 months ago
parent
commit
53f54387bc

+ 3 - 3
src/views/componentsDVP/dvpPlan/editModal/applyForChange.vue

@@ -27,11 +27,11 @@
             <!--试验来源-->
             <a-select v-else-if="index === 1" v-model="record.changeDesc" :options="testSourceList" :filter-option="handleFilterDataList" allowClear :placeholder="$t('global-btn.please-select') + $t('plan.dvp.test-source')" style="width: 100%"></a-select>
             <!--试验项目-->
-            <a-input v-else-if="index === 2" v-model.trim="record.changeDesc" :maxLength='128' allowClear :placeholder="$t('global-btn.please-enter') + $t('plan.dvp.test-project')"/>
+            <a-input v-else-if="index === 2" v-model.trim="record.changeDesc" :maxLength='100' allowClear :placeholder="$t('global-btn.please-enter') + $t('plan.dvp.test-project')"/>
             <!--开发目标要求-->
-            <a-input v-else-if="index === 3" v-model.trim="record.changeDesc" :maxLength='500' allowClear :placeholder="$t('global-btn.please-enter') + $t('base.info.development-objective-requirements')"/>
+            <a-input v-else-if="index === 3" v-model.trim="record.changeDesc" :maxLength='100' allowClear :placeholder="$t('global-btn.please-enter') + $t('base.info.development-objective-requirements')"/>
             <!--试验标准-->
-            <a-input v-else-if="index === 4" v-model.trim="record.changeDesc" :maxLength='50' allowClear :placeholder="$t('global-btn.please-enter') + $t('base.info.Test-standards')"/>
+            <a-input v-else-if="index === 4" v-model.trim="record.changeDesc" :maxLength='500' allowClear :placeholder="$t('global-btn.please-enter') + $t('base.info.Test-standards')"/>
             <!--等效实验报告编号-->
             <a-select v-else-if="index === 5" v-model="record.changeDesc" :options="equivalentList" :filter-option="handleFilterDataList" allowClear :placeholder="$t('global-btn.please-select') + $t('plan.dvp.equivalent-experiment-report-number')" style="width: 100%"></a-select>
             <!--测试地点-->

+ 3 - 3
src/views/componentsDVP/dvpPlan/editModal/editDvp.vue

@@ -45,19 +45,19 @@
         <!--试验项目-->
         <a-col :lg="16" :md="24" :sm="24" :xl="12" :xs="24">
           <a-form-item :label="$t('plan.dvp.test-project')" required>
-            <a-input v-model.trim="editParam.testProject" :maxLength='128' allowClear :placeholder="$t('global-btn.please-enter') + $t('plan.dvp.test-project')"/>
+            <a-input v-model.trim="editParam.testProject" :maxLength='100' allowClear :placeholder="$t('global-btn.please-enter') + $t('plan.dvp.test-project')"/>
           </a-form-item>
         </a-col>
         <!--开发目标要求-->
         <a-col :lg="16" :md="24" :sm="24" :xl="12" :xs="24">
           <a-form-item :label="$t('base.info.development-objective-requirements')" required>
-            <a-input v-model.trim="editParam.targetRequire" :maxLength='500' allowClear :placeholder="$t('global-btn.please-enter') + $t('base.info.development-objective-requirements')"/>
+            <a-input v-model.trim="editParam.targetRequire" :maxLength='100' allowClear :placeholder="$t('global-btn.please-enter') + $t('base.info.development-objective-requirements')"/>
           </a-form-item>
         </a-col>
         <!--试验标准-->
         <a-col :lg="16" :md="24" :sm="24" :xl="12" :xs="24">
           <a-form-item :label="$t('base.info.Test-standards')" required>
-            <a-input v-model.trim="editParam.testStandard" :maxLength='50' allowClear :placeholder="$t('global-btn.please-enter') + $t('base.info.Test-standards')"/>
+            <a-input v-model.trim="editParam.testStandard" :maxLength='500' allowClear :placeholder="$t('global-btn.please-enter') + $t('base.info.Test-standards')"/>
           </a-form-item>
         </a-col>
         <!--等效/非等效-->

+ 3 - 3
src/views/componentsDVP/dvpPlan/editModal/editTableRow.vue

@@ -47,19 +47,19 @@
         <!--试验项目-->
         <a-col :lg="16" :md="24" :sm="24" :xl="12" :xs="24">
           <a-form-item :label="$t('plan.dvp.test-project')" required>
-            <a-input v-model.trim="editParam.testProject" :maxLength='128' allowClear :placeholder="$t('global-btn.please-enter') + $t('plan.dvp.test-project')"/>
+            <a-input v-model.trim="editParam.testProject" :maxLength='100' allowClear :placeholder="$t('global-btn.please-enter') + $t('plan.dvp.test-project')"/>
           </a-form-item>
         </a-col>
         <!--开发目标要求-->
         <a-col :lg="16" :md="24" :sm="24" :xl="12" :xs="24">
           <a-form-item :label="$t('base.info.development-objective-requirements')" required>
-            <a-input v-model.trim="editParam.targetRequire" :maxLength='500' allowClear :placeholder="$t('global-btn.please-enter') + $t('base.info.development-objective-requirements')"/>
+            <a-input v-model.trim="editParam.targetRequire" :maxLength='100' allowClear :placeholder="$t('global-btn.please-enter') + $t('base.info.development-objective-requirements')"/>
           </a-form-item>
         </a-col>
         <!--试验标准-->
         <a-col :lg="16" :md="24" :sm="24" :xl="12" :xs="24" >
           <a-form-item :label="$t('base.info.Test-standards')" required>
-            <a-input v-model.trim="editParam.testStandard" :maxLength='50' allowClear :placeholder="$t('global-btn.please-enter') + $t('base.info.Test-standards')"/>
+            <a-input v-model.trim="editParam.testStandard" :maxLength='500' allowClear :placeholder="$t('global-btn.please-enter') + $t('base.info.Test-standards')"/>
           </a-form-item>
         </a-col>
         <!--等效/非等效-->