lcmxs 1 жил өмнө
parent
commit
c55c42ec3f

+ 13 - 7
src/views/GARDENBASEDATA/index.vue

@@ -138,7 +138,13 @@
       </el-table-column>
       </el-table-column>
       <el-table-column label="经营范围 " align="center" prop="jyfw" show-overflow-tooltip>
       <el-table-column label="经营范围 " align="center" prop="jyfw" show-overflow-tooltip>
       </el-table-column>
       </el-table-column>
-      <el-table-column label="企业信用 " align="center" prop="grade">
+      <el-table-column label="外汇等级 " align="center" prop="grade">
+        <template slot-scope="scope">
+          <span v-if="scope.row.grade == 1">A</span>
+          <span v-if="scope.row.grade == 2">B</span>
+          <span v-if="scope.row.grade == 3">C</span>
+          <span v-if="scope.row.grade == 4">D</span>
+        </template>
       </el-table-column>
       </el-table-column>
       <el-table-column label="企业结构 " align="center" prop="enterpriseStructure">
       <el-table-column label="企业结构 " align="center" prop="enterpriseStructure">
         <template slot-scope="scope">
         <template slot-scope="scope">
@@ -318,7 +324,7 @@
                 </el-form-item>
                 </el-form-item>
               </el-col>
               </el-col>
               <el-col :span="12">
               <el-col :span="12">
-                <el-form-item label="信用等级" prop="grade">
+                <el-form-item label="外汇等级" prop="grade">
                   <el-select v-model="form.grade" placeholder="请选择" style="width: 100%">
                   <el-select v-model="form.grade" placeholder="请选择" style="width: 100%">
                     <el-option
                     <el-option
                       v-for="item in options"
                       v-for="item in options"
@@ -710,7 +716,7 @@ export default {
           },
           },
         ],
         ],
         grade: [
         grade: [
-          { required: true, message: "信用等级 不能为空", trigger: "blur" },
+          { required: true, message: "外汇等级 不能为空", trigger: "blur" },
         ],
         ],
         enterpriseStructure: [
         enterpriseStructure: [
           { required: true, message: "企业结构 不能为空", trigger: "blur" },
           { required: true, message: "企业结构 不能为空", trigger: "blur" },
@@ -718,16 +724,16 @@ export default {
       },
       },
       options: [{
       options: [{
         value: '1',
         value: '1',
-        label: '1'
+        label: 'A'
       }, {
       }, {
         value: '2',
         value: '2',
-        label: '2'
+        label: 'B'
       }, {
       }, {
         value: '3',
         value: '3',
-        label: '3'
+        label: 'C'
       }, {
       }, {
         value: '4',
         value: '4',
-        label: '4'
+        label: 'D'
       }],
       }],
       value: ''
       value: ''
     };
     };