Browse Source

系统DVP 添加备注相关修改

zhangzheng 4 months ago
parent
commit
05a27c4c9f
1 changed files with 28 additions and 5 deletions
  1. 28 5
      src/views/systemDVP/dvpPlan/index.vue

+ 28 - 5
src/views/systemDVP/dvpPlan/index.vue

@@ -229,21 +229,33 @@
               />
             </a-form-item>
           </a-col>
+          <!-- 备注 -->
+          <a-col :lg="16" :md="24" :sm="24" :xl="12" :xs="24">
+            <a-form-item :label="$t('dvp.full.vehicle.dvp.notes')">
+              <a-input
+                  allowClear
+                  v-model="editParam.remark"
+                  :placeholder="$t('global-btn.please-enter') + $t('dvp.full.vehicle.dvp.notes')"
+              />
+            </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')">
+            <a-form-item required :label="$t('base.info.development-objective-requirements')">
               <a-input
+                allowClear
                 v-model="editParam.targetRequire"
-                :disabled="true"
+                :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')">
+            <a-form-item required :label="$t('base.info.Test-standards')">
               <a-input
+                allowClear
                 v-model="editParam.testStandard"
-                :disabled="true"
+                :placeholder="$t('global-btn.please-enter') + $t('base.info.Test-standards')"
               />
             </a-form-item>
           </a-col>
@@ -550,6 +562,14 @@ export default {
           align: 'center',
           ellipsis: true
         },
+        // 备注
+        {
+          title: this.$t('dvp.full.vehicle.dvp.notes'),
+          width: 180,
+          dataIndex: 'remark',
+          align: 'center',
+          ellipsis: true
+        },
         //开发目标要求(接受标准)
         {
           title: this.$t('base.info.development-objective-requirements (acceptance criteria)'),
@@ -1036,7 +1056,10 @@ export default {
        sampleType: this.editParam.sampleType,
        planStartTime: this.editParam.planStartTime,
        planEndTime: this.editParam.planEndTime,
-       assets: this.editParam.assets
+       assets: this.editParam.assets,
+       targetRequire: this.editParam.targetRequire,
+       testStandard: this.editParam.testStandard,
+       remark: this.editParam.remark,
      };
       this.$api.editTest(data).then(res => {
         if (!res.flag) {