ysy 1 год назад
Родитель
Сommit
d1de6372c2

+ 1 - 1
src/enum/dict.js

@@ -6,7 +6,7 @@ export default {
   流程分类: 'processCategory',
   角度: 'angle',
   质检标准类型: 'quality_testing_code',
-  质检方式: 'quality_method_code',
+  取样类型: 'quality_method_code',
   质检项标准单位:'quality_inspection_standard_unit',
   数学字符:'mathematical_symbol',
   质检类型:'inspection_type',

+ 2 - 2
src/views/inspectionPlan/components/edit.vue

@@ -44,9 +44,9 @@
           </el-form-item>
         </el-col>
         <el-col :span="8">
-          <el-form-item label="质检方式:" prop="qualityMode">
+          <el-form-item label="取样类型:" prop="qualityMode">
             <DictSelection
-              dictName="质检方式"
+              dictName="取样类型"
               v-model="form.qualityMode"
               clearable
               :disabled="type == 'detail' || type == 'issued'"

+ 3 - 3
src/views/inspectionPlan/index.vue

@@ -19,7 +19,7 @@
           {{ getDictValue('质检计划类型', row.type) }}
         </template>
         <template v-slot:qualityMode="{ row }">
-          {{ getDictValue('质检方式', row.qualityMode) }}
+          {{ getDictValue('取样类型', row.qualityMode) }}
         </template>
         <template v-slot:accessory="scope">
           <el-link
@@ -114,7 +114,7 @@ export default {
 
         },
         {
-          label: '质检方式',
+          label: '取样类型',
           prop: 'qualityMode',
           slot: 'qualityMode',
           width: 120
@@ -201,7 +201,7 @@ export default {
   },
   created() {
     this.requestDict('质检计划类型');
-    this.requestDict('质检方式');
+    this.requestDict('取样类型');
   },
   methods: {
     datasource({ page, where, limit }) {

+ 3 - 3
src/views/inspectionWork/components/edit.vue

@@ -36,15 +36,15 @@
           </el-form-item>
         </el-col>
         <el-col :span="8">
-          <el-form-item label="质检方式:" prop="qualityMode">
+          <el-form-item label="取样类型:" prop="qualityMode">
             <DictSelection
-              dictName="质检方式"
+              dictName="取样类型"
               v-model="form.qualityMode"
               clearable
               v-if="title != '详情'"
             ></DictSelection>
             <el-input
-              :value="getDictValue('质检方式', form.qualityMode)"
+              :value="getDictValue('取样类型', form.qualityMode)"
               disabled
               v-if="title == '详情'"
             />

+ 3 - 3
src/views/inspectionWork/index.vue

@@ -52,7 +52,7 @@
           {{ getDictValue('质检计划类型', row.qualityType) }}
         </template>
         <template v-slot:qualityMode="{ row }">
-          {{ getDictValue('质检方式', row.qualityMode) }}
+          {{ getDictValue('取样类型', row.qualityMode) }}
         </template>
         <template v-slot:accessory="scope">
           <el-link
@@ -183,7 +183,7 @@
             width: 120
           },
           {
-            label: '质检方式',
+            label: '取样类型',
             showOverflowTooltip: true,
             prop: 'qualityMode',
             slot: 'qualityMode',
@@ -289,7 +289,7 @@
     created() {
       this.requestDict('质检计划类型');
       this.requestDict('不良品处理类型');
-      this.requestDict('质检方式');
+      this.requestDict('取样类型');
     },
     methods: {
       datasource({ page, where, limit }) {