Quellcode durchsuchen

数据池管理-重点园区项目-添加字段:总投资金额

Sanmu8 vor 1 Jahr
Ursprung
Commit
99a5e03648
2 geänderte Dateien mit 20 neuen und 0 gelöschten Zeilen
  1. 11 0
      src/views/ARTICLE/edit.vue
  2. 9 0
      src/views/ARTICLE/index.vue

+ 11 - 0
src/views/ARTICLE/edit.vue

@@ -31,6 +31,14 @@
           placeholder="请输入建设内容"
         ></el-input>
       </el-form-item>
+      <el-form-item label="总投资金额(万)" prop="totalPlan">
+        <el-input
+          type="number"
+          v-model="form.totalPlan"
+          placeholder="请输入总投资金额"
+          style="width: 50%"
+        ></el-input>
+      </el-form-item>
       <el-form-item label="年度投资计划(万)" prop="plan">
         <el-input
           type="number"
@@ -92,6 +100,9 @@ export default {
         plan: [
           { required: true, message: "年度投资计划不能为空", trigger: "blur" },
         ],
+        totalPlan: [
+          { required: true, message: "总投资金额不能为空", trigger: "blur" },
+        ],
         reality: [
           {
             required: true,

+ 9 - 0
src/views/ARTICLE/index.vue

@@ -121,6 +121,15 @@
         </template>
       </el-table-column>
       <el-table-column
+        label="总投资金额(万)"
+        align="center"
+        prop="totalPlan"
+      >
+        <template slot-scope="scope">
+          {{ scope.row.totalPlan }}
+        </template>
+      </el-table-column>
+      <el-table-column
         label="实际完成投资额(万)"
         align="center"
         prop="reality"