Prechádzať zdrojové kódy

零部件DVP试验项目、开发目标要求长度限制增加至500

zhangzheng 5 mesiacov pred
rodič
commit
b0b8e233ba

+ 1 - 1
src/views/componentsDVP/dvpPlan/edit.vue

@@ -55,7 +55,7 @@
             <!--开发目标要求-->
             <a-col :xl='6' :lg='8' :md='24' :sm='24' :xs='24'>
               <a-form-item :label="$t('base.info.development-objective-requirements')">
-                <a-input allowClear :maxLength='50' v-model.trim="formData.targetRequire" :placeholder="$t('global-btn.please-enter') + $t('base.info.development-objective-requirements')"/>
+                <a-input allowClear :maxLength='500' v-model.trim="formData.targetRequire" :placeholder="$t('global-btn.please-enter') + $t('base.info.development-objective-requirements')"/>
               </a-form-item>
             </a-col>
             <span v-show="advanceExpand">

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

@@ -36,7 +36,7 @@
               v-else-if="index === 1"
               v-model.trim="record.changeDesc"
               :disabled="dataSource && dataSource !== '0'"
-              :maxLength='100'
+              :maxLength='500'
               allowClear
               :placeholder="$t('global-btn.please-enter') + $t('base.info.development-objective-requirements')"/>
             <!--试验标准-->

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

@@ -45,13 +45,13 @@
         <!--试验项目-->
         <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='100' allowClear :placeholder="$t('global-btn.please-enter') + $t('plan.dvp.test-project')"/>
+            <a-input v-model.trim="editParam.testProject" :maxLength='500' 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='100' allowClear :placeholder="$t('global-btn.please-enter') + $t('base.info.development-objective-requirements')"/>
+            <a-input v-model.trim="editParam.targetRequire" :maxLength='500' allowClear :placeholder="$t('global-btn.please-enter') + $t('base.info.development-objective-requirements')"/>
           </a-form-item>
         </a-col>
         <!--试验标准-->

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

@@ -51,7 +51,7 @@
             <a-input
               v-model.trim="editParam.testProject"
               :disabled="dataSource && dataSource !== '0'"
-              :maxLength='100' allowClear
+              :maxLength='500' allowClear
               :placeholder="$t('global-btn.please-enter') + $t('plan.dvp.test-project')"/>
           </a-form-item>
         </a-col>
@@ -61,7 +61,7 @@
             <a-input
               v-model.trim="editParam.targetRequire"
               :disabled="dataSource && dataSource !== '0'"
-              :maxLength='100'
+              :maxLength='500'
               allowClear
               :placeholder="$t('global-btn.please-enter') + $t('base.info.development-objective-requirements')"/>
           </a-form-item>

+ 1 - 1
src/views/componentsDVP/dvpPlan/editModal/historyDvpEdit.vue

@@ -29,7 +29,7 @@
         <!--试验项目-->
         <a-col :lg='8' :md='24' :sm='24' :xl='8' :xs='24'>
           <a-form-item :label="$t('plan.dvp.test-project')">
-            <a-input v-model.trim="formData.testProject" :maxLength='128' :placeholder="$t('global-btn.please-enter') + $t('plan.dvp.test-project')" allowClear/>
+            <a-input v-model.trim="formData.testProject" :maxLength='500' :placeholder="$t('global-btn.please-enter') + $t('plan.dvp.test-project')" allowClear/>
           </a-form-item>
         </a-col>
       </a-row>

+ 1 - 1
src/views/componentsDVP/dvpPlan/editModal/templateEdit.vue

@@ -17,7 +17,7 @@
         <!--试验项目-->
         <a-col :lg='8' :md='24' :sm='24' :xl='8' :xs='24'>
           <a-form-item :label="$t('plan.dvp.test-project')">
-            <a-input v-model.trim="formData.testProject" :maxLength='128' :placeholder="$t('global-btn.please-enter') + $t('plan.dvp.test-project')" allowClear/>
+            <a-input v-model.trim="formData.testProject" :maxLength='500' :placeholder="$t('global-btn.please-enter') + $t('plan.dvp.test-project')" allowClear/>
           </a-form-item>
         </a-col>
         <!--创建者-->