浏览代码

修改数据请求的bug

695593266@qq.com 1 年之前
父节点
当前提交
3e58c041f1

+ 7 - 2
src/views/inspectionPlan/components/baseInfo.vue

@@ -463,6 +463,7 @@
       'form.qualityMode': {
         handler(newVal) {
           console.log(321321);
+          console.log(this.form.qualityMode);
           // if (newVal && !this.isInfoChangeModel) {
           //   this.$emit('changeModel', newVal);
           //   console.log(45464646464);
@@ -719,6 +720,7 @@
         this.form.productId = val.id;
         this.form.netWeight = val.netWeight; //净重
         // console.log(this.form.type)
+        console.log('----------------->>>>');
         this.getProductDetails(this.form.productId);
         this.$emit('changesMainNumberModal', this.form.productNumber);
         if (this.form.type != 3) {
@@ -752,6 +754,7 @@
         this.form.inspectionStandards = val.inspectionStandards; //检验标准
         this.form.productId = val.categoryId;
         this.form.batchNo = val.batchNo; //批次号
+        console.log('----------------->>');
         this.getProductDetails(this.form.productId);
         this.$emit('changesStokledgerNumberModal', list, dimension);
         if (this.form.type != 3) {
@@ -817,6 +820,7 @@
             val.supplierMark
           );
         }
+        console.log('-----------------');
         this.getProductDetails(
           this.form.productId,
           batchNo,
@@ -839,7 +843,7 @@
         const qmsData = data.categoryQms;
 
         // *** 新增 批次号,来源单据 字段传递
-        console.log(this.categoryInfo.measureType);
+        console.log(this.categoryInfo.measureType, 'getProductDetails');
         this.form.inspectionStandards = this.categoryInfo.measureType;
         this.form.qualityMode = qmsData.checkFormula || 1;
         data.category.batchNo = batchNo;
@@ -858,7 +862,8 @@
       changeInspectionType() {
         this.isInfoChangeType = false;
       },
-      changeQualityMode() {
+      changeQualityMode(val) {
+        console.log(val, 'isInfoChangeModel');
         this.isInfoChangeModel = false;
       }
     }

+ 19 - 7
src/views/inspectionPlan/components/edit.vue

@@ -591,21 +591,26 @@
       // 分页后的样品列表
       paginatedSampleList() {
         if (this.rowIds && this.isOrder) {
+          console.log(this.sampleList, 'sampleList');
           return this.sampleList;
         }
         const { currentPage, pageSize } = this.samplePagination;
         const start = (currentPage - 1) * pageSize;
         const end = start + pageSize;
+        console.log('fafafaf');
         return this.sampleList.slice(start, end);
       },
       // 分页后的质检方案列表
       paginatedSchemeList() {
         if (this.rowIds && this.isScheme) {
+          console.log('101010');
+          console.log(this.schemeList, 'test');
           return this.schemeList;
         }
         const { currentPage, pageSize } = this.schemePagination;
         const start = (currentPage - 1) * pageSize;
         const end = start + pageSize;
+        console.log('131314');
         return this.schemeList.slice(start, end);
       }
     },
@@ -704,6 +709,7 @@
           this.baseForm.inspectionStandards
         ) {
           this.isFormNumber = false;
+          console.log('+++++++++2');
           this.handleSampleList();
         }
         console.log(this.baseForm, 'form --');
@@ -738,6 +744,7 @@
         console.log(1313322);
         if (this.btnType == 'edit' && !this.isOnce) {
           this.isOrder = false;
+          console.log('98989898');
           this.handleSampleList();
         }
         this.isOnce = false;
@@ -815,11 +822,11 @@
             if (this.baseForm.type) {
               this.$refs.baseInfoRefs.typeChange(this.baseForm.type);
             }
-            if (this.baseForm.productId) {
-              this.$refs.baseInfoRefs.getProductDetails(
-                this.baseForm.productId
-              );
-            }
+            // if (this.baseForm.productId) {
+            //   this.$refs.baseInfoRefs.getProductDetails(
+            //     this.baseForm.productId
+            //   );
+            // }
           }
         });
 
@@ -982,6 +989,7 @@
             this.baseForm.productNumber = _arr2[0].measureQuantity;
           }
           //处理样品清单
+          console.log('+++++++++3');
           await this.handleSampleList();
         } else {
           console.log('数据99999');
@@ -1453,7 +1461,6 @@
         console.log(this.baseForm.type, this.baseForm.planSource);
         // this.baseForm.isUnpack = val.categoryWms.isUnpack;
         console.log(val, '产品信息');
-
         if (this.baseForm.type == 2 && this.baseForm.planSource == '4') {
           if (val.category.id) {
             const res1 = await getProductSteup(val.category.id);
@@ -1480,11 +1487,13 @@
             this.netWeight = val.category.netWeight;
             this.productItem = val.category;
 
+            console.log('+++++++++');
             this.handleSampleList();
             return;
           }
         }
 
+        console.log('+++++++++9');
         this.isConsumable = val.category.isConsumable;
         this.netWeight = val.category.netWeight;
         this.productItem = val.category; //产品信息
@@ -1737,13 +1746,15 @@
         });
       },
       table1() {
-        console.log('数据44444');
         this.$refs.table12.setData([]);
         this.schemeList = [];
       },
       table2() {
         this.$nextTick(() => {
+          // if (this.btnType == 'edit' && !this.isOnce) {
+          //   this.isOrder = false;
           this.sampleList = [];
+          // }
         });
       },
       resetForm() {
@@ -1951,6 +1962,7 @@
         );
 
         if (this.baseForm.qualityMode == 1) {
+          console.log('+++++++++1');
           this.handleSampleList();
         } else {
           this.sampleList = [];

+ 269 - 291
src/views/inspectionWork/components/baseInfo.vue

@@ -3,12 +3,7 @@
     <el-row>
       <el-col :span="6">
         <el-form-item label="编码:">
-          <el-input
-            :maxlength="20"
-            v-model="form.code"
-            disabled
-            placeholder="请输入"
-          />
+          <el-input :maxlength="20" v-model="form.code" disabled placeholder="请输入" />
         </el-form-item>
       </el-col>
       <!-- <el-col :span="6">
@@ -70,18 +65,15 @@
       </el-col>
       <el-col :span="6">
         <el-form-item label="总数量:" prop="total">
-          <el-input
-            type="number"
-            v-model="form.total"
-            @input="inputTotal"
-            disabled
-          />
+          <el-input type="number" v-model="form.total" @input="inputTotal" disabled />
         </el-form-item>
       </el-col>
     </el-row>
-    <div style="text-align: right; margin-bottom: 22px">
+    <div style="text-align: right;margin-bottom: 22px;">
       <div @click="toggleExpand">
-        <div v-if="isExpanded"> <i class="el-icon-arrow-up"></i>收起 </div>
+        <div v-if="isExpanded">
+          <i class="el-icon-arrow-up"></i>收起
+        </div>
         <div v-if="!isExpanded">
           <i class="el-icon-arrow-down"></i>展开更多
         </div>
@@ -131,10 +123,7 @@
         </el-col>
         <el-col :span="6">
           <el-form-item label="工时(h):" prop="hours">
-            <el-input
-              v-model="form.hours"
-              :disabled="btnType == 'detail'"
-            ></el-input>
+            <el-input v-model="form.hours" :disabled="btnType == 'detail'"></el-input>
           </el-form-item>
         </el-col>
       </el-row>
@@ -179,11 +168,7 @@
       <el-row>
         <el-col :span="6">
           <el-form-item label="总重量:" prop="totalWeight">
-            <el-input
-              type="number"
-              :disabled="btnType == 'detail'"
-              v-model="form.totalWeight"
-            />
+            <el-input type="number" :disabled="btnType == 'detail'" v-model="form.totalWeight" />
           </el-form-item>
         </el-col>
         <el-col :span="6">
@@ -193,9 +178,7 @@
               style="width: 100%"
               v-model="form.inspectionStandards"
               placeholder="请选择"
-              :disabled="
-                parseInt(qualityType1) == 1 || parseInt(qualityType1) == 3
-              "
+              :disabled="parseInt(qualityType1) == 1 || parseInt(qualityType1) == 3"
             >
               <el-option
                 v-for="item in inspectionStandardsList"
@@ -213,9 +196,7 @@
               style="width: 100%"
               v-model="form.qualityMode"
               placeholder="请选择"
-              :disabled="
-                parseInt(qualityType1) == 1 || parseInt(qualityType1) == 3
-              "
+              :disabled="parseInt(qualityType1) == 1 || parseInt(qualityType1) == 3"
             >
               <el-option
                 v-for="item in qualityModeList"
@@ -309,14 +290,14 @@
           </el-form-item>
         </el-col> -->
         <el-col :span="6">
-          <el-form-item label="质检类型:" prop="qualityType">
-            <DictSelection
-              dictName="质检计划类型"
-              v-model="form.qualityType"
-              disabled
-            ></DictSelection>
-          </el-form-item>
-        </el-col>
+        <el-form-item label="质检类型:" prop="qualityType">
+          <DictSelection
+            dictName="质检计划类型"
+            v-model="form.qualityType"
+            disabled
+          ></DictSelection>
+        </el-form-item>
+      </el-col>
         <el-col :span="6">
           <!-- <el-form-item label="质检结果:" prop="qualityResults" v-if="form.qualityMode == 2"> -->
           <el-form-item label="质检结果:" prop="qualityResults">
@@ -343,10 +324,7 @@
         </el-col>
         <el-col :span="8">
           <el-form-item label="附件:" prop="accessory">
-            <fileUpload
-              v-model="form.accessory"
-              :type="btnType == 'detail' ? 'view' : ''"
-            />
+            <fileUpload v-model="form.accessory" :type="btnType == 'detail' ? 'view' : ''" />
           </el-form-item>
         </el-col>
       </el-row>
@@ -356,272 +334,272 @@
   </el-form>
 </template>
 <script>
-  import deptSelect from '@/components/CommomSelect/dept-select.vue';
-  import fileUpload from '@/components/addDoc/index.vue';
+import deptSelect from '@/components/CommomSelect/dept-select.vue';
+import fileUpload from '@/components/addDoc/index.vue';
 
-  import ProductionVersion from './ProductionVersion.vue';
-  import EquipmentDialog from './EquipmentDialog.vue';
-  //接口
-  import { getUserPage } from '@/api/system/organization';
+import ProductionVersion from './ProductionVersion.vue';
+import EquipmentDialog from './EquipmentDialog.vue';
+//接口
+import { getUserPage } from '@/api/system/organization';
 
-  import { getProduceTaskList } from '@/api/aps';
-  import { getByCode } from '@/api/system/dictionary-data';
+import { getProduceTaskList } from '@/api/aps';
+import { getByCode } from '@/api/system/dictionary-data';
 
-  export default {
-    components: {
-      EquipmentDialog,
-      ProductionVersion,
-      deptSelect,
-      fileUpload
+export default {
+  components: {
+    EquipmentDialog,
+    ProductionVersion,
+    deptSelect,
+    fileUpload
+  },
+  props: {
+    form: {
+      type: Object,
+      default: () => {}
     },
-    props: {
-      form: {
-        type: Object,
-        default: () => {}
-      },
-      btnType: {
-        type: String,
-        default: ''
+    btnType: {
+      type: String,
+      default: ''
+    },
+    qualityType1: {
+      type: String,
+      default: ''
+    },
+    sampleList: {
+      type: Array,
+      default: () => []
+    }
+  },
+  watch: {
+    'form.qualityMode': {
+      handler(newVal) {
+        if (newVal) {
+          this.$emit('changeModel', newVal);
+        } else {
+          console.log('清空样品清单');
+          // this.$emit('table2');
+        }
       },
-      qualityType1: {
-        type: String,
-        default: ''
+      immediate: false
+    },
+    'form.inspectionStandards': {
+      handler(newVal) {
+        if (newVal && this.qualityType1 == 2) {
+          this.$emit('changeInspectionStandardsModel', newVal);
+        } else {
+          console.log('清空样品清单');
+          // this.$emit('table2');
+        }
       },
-      sampleList: {
-        type: Array,
-        default: () => []
-      }
+      immediate: false
     },
-    watch: {
-      'form.qualityMode': {
-        handler(newVal) {
-          if (newVal) {
-            this.$emit('changeModel', newVal);
-          } else {
-            console.log('清空样品清单');
-            // this.$emit('table2');
-          }
-        },
-        immediate: false
+    // 新增 *** 监听合格率更改 质检结果
+    'form.qualificationRate': {
+      handler(newVal) {
+        // if (newVal == '100.00%' || newVal == '100%' || newVal == '100.0%') {
+        //   this.$set(this.form, 'qualityResults', 1);
+        // } else {
+        //   this.$set(this.form, 'qualityResults', 2);
+        //   // this.$emit('table2');
+        // }
       },
-      'form.inspectionStandards': {
-        handler(newVal) {
-          if (newVal && this.qualityType1 == 2) {
-            this.$emit('changeInspectionStandardsModel', newVal);
-          } else {
-            console.log('清空样品清单');
-            // this.$emit('table2');
-          }
-        },
-        immediate: false
+      immediate: false,
+      deep: true
+    }
+  },
+  data() {
+    return {
+      executorList: [],
+      sourceList: [],
+      rules: {
+        productName: [
+          { required: true, message: '请选择产品', trigger: 'change' }
+        ],
+        qualifiedNumber: [
+          { required: true, message: '请输入合格数', trigger: 'blur' }
+        ],
+        noQualifiedNumber: [
+          { required: true, message: '请输入不合格数', trigger: 'blur' }
+        ],
+        qualityTime: [
+          { required: true, message: '请选择质检时间', trigger: 'blur' }
+        ],
+        groupId: [
+          { required: true, message: '请选择质检部门', trigger: 'change' }
+        ],
+        qualityId: [
+          { required: true, message: '请选择质检人', trigger: 'change' }
+        ],
+        qualityResults: [
+          { required: true, message: '请选择质检结果', trigger: 'change' }
+        ],
+        inspectionStandards: [
+          { required: true, message: '请选择检验标准', trigger: 'change' }
+        ]
       },
-      // 新增 *** 监听合格率更改 质检结果
-      'form.qualificationRate': {
-        handler(newVal) {
-          // if (newVal == '100.00%' || newVal == '100%' || newVal == '100.0%') {
-          //   this.$set(this.form, 'qualityResults', 1);
-          // } else {
-          //   this.$set(this.form, 'qualityResults', 2);
-          //   // this.$emit('table2');
-          // }
-        },
-        immediate: false,
-        deep: true
+      produceTaskList: [],
+      inspectionStandardsList: [],
+      qualityModeList: [],
+      isExpanded: false
+    };
+  },
+  created() {
+    this.getDictListIqoCode('iqo_code');
+    this.getQualityModeList('quality_method_code');
+  },
+  methods: {
+    // *** 只能输入大于0的数字
+    limitation(val) {
+      this.form[val] =
+        this.form[val].replace(/[^\d]/g, '').replace(/^0+/, '') || '0';
+    },
+    // *** 计算合格数 不合格数
+    quantityCalculation() {
+      let qualifiedNumber = this.form.qualifiedNumber - 0;
+      let noQualifiedNumber = this.form.noQualifiedNumber - 0;
+      let total = qualifiedNumber + noQualifiedNumber;
+      let passRate = ((qualifiedNumber / total) * 100).toFixed(2);
+      let failureRate = ((noQualifiedNumber / total) * 100).toFixed(2);
+      this.form.qualificationRate = passRate + '%';
+      this.form.noQualificationRate = failureRate + '%';
+      if (total != this.form.total) {
+        this.$message.warning('合格数加上不合格数需要等于总数量');
+        return false;
       }
+      return true;
     },
-    data() {
-      return {
-        executorList: [],
-        sourceList: [],
-        rules: {
-          productName: [
-            { required: true, message: '请选择产品', trigger: 'change' }
-          ],
-          qualifiedNumber: [
-            { required: true, message: '请输入合格数', trigger: 'blur' }
-          ],
-          noQualifiedNumber: [
-            { required: true, message: '请输入不合格数', trigger: 'blur' }
-          ],
-          qualityTime: [
-            { required: true, message: '请选择质检时间', trigger: 'blur' }
-          ],
-          groupId: [
-            { required: true, message: '请选择质检部门', trigger: 'change' }
-          ],
-          qualityId: [
-            { required: true, message: '请选择质检人', trigger: 'change' }
-          ],
-          qualityResults: [
-            { required: true, message: '请选择质检结果', trigger: 'change' }
-          ],
-          inspectionStandards: [
-            { required: true, message: '请选择检验标准', trigger: 'change' }
-          ]
-        },
-        produceTaskList: [],
-        inspectionStandardsList: [],
-        qualityModeList: [],
-        isExpanded: false
-      };
+
+    toggleExpand() {
+      this.isExpanded = !this.isExpanded;
     },
-    created() {
-      this.getDictListIqoCode('iqo_code');
-      this.getQualityModeList('quality_method_code');
+    toggleExpand2() {
+      this.isExpanded = true;
+      this.$nextTick(() => {
+        this.$refs.form1.validateField('qualityResults');
+      });
+    },
+    async getDictListIqoCode(code) {
+      let { data: res } = await getByCode(code);
+      this.inspectionStandardsList = res.map((item) => {
+        let values = Object.keys(item);
+        return {
+          value: Number(values[0]),
+          label: item[values[0]]
+        };
+      });
+    },
+    async getQualityModeList(code) {
+      let { data: res } = await getByCode(code);
+      this.qualityModeList = res.map((item) => {
+        let values = Object.keys(item);
+        return {
+          value: Number(values[0]),
+          label: item[values[0]]
+        };
+      });
+    },
+    // 打开工艺路线弹窗
+    openVersion() {
+      this.$refs.versionRefs.open();
+    },
+    //工艺路线回调
+    changeProduct(data) {
+      this.form.produceRoutingId = data.id;
+      this.form.produceRoutingName = data.name;
+      this.form.produceTaskId = '';
+      this.form.produceTaskName = '';
+      this.getTaskList();
+    },
+    // 获取工序数据
+    async getTaskList() {
+      if (!this.form.produceRoutingId) {
+        return;
+      }
+      const res = await getProduceTaskList({
+        isDetail: true,
+        pageNum: 1,
+        routingId: this.form.produceRoutingId,
+        size: -1
+      });
+      this.produceTaskList = res?.list;
+    },
+    // 选择工序
+    produceTaskChange() {
+      if (!this.form.produceTaskId) {
+        return;
+      }
+      this.form.produceTaskName = this.produceTaskList.find(
+        (item) => item.id == this.form.produceTaskId
+      ).name;
+    },
+    // 产品名称
+    addProduct() {
+      this.$refs.equipmentRefs.open();
+    },
+    choose(data) {
+      this.form.productCode = data[0].code;
+      this.form.productName = data[0].name;
+      this.form.specification = data[0].specification;
+      this.form.modelType = data[0].modelType;
+      this.form.brandNo = data[0].brandNum;
     },
-    methods: {
-      // *** 只能输入大于0的数字
-      limitation(val) {
-        this.form[val] =
-          this.form[val].replace(/[^\d]/g, '').replace(/^0+/, '') || '0';
-      },
-      // *** 计算合格数 不合格数
-      quantityCalculation() {
-        let qualifiedNumber = this.form.qualifiedNumber - 0;
-        let noQualifiedNumber = this.form.noQualifiedNumber - 0;
-        let total = qualifiedNumber + noQualifiedNumber;
-        let passRate = ((qualifiedNumber / total) * 100).toFixed(2);
-        let failureRate = ((noQualifiedNumber / total) * 100).toFixed(2);
-        this.form.qualificationRate = passRate + '%';
-        this.form.noQualificationRate = failureRate + '%';
-        if (total != this.form.total) {
-          this.$message.warning('合格数加上不合格数需要等于总数量');
-          return false;
-        }
-        return true;
-      },
-
-      toggleExpand() {
-        this.isExpanded = !this.isExpanded;
-      },
-      toggleExpand2() {
-        this.isExpanded = true;
-        this.$nextTick(() => {
-          this.$refs.form1.validateField('qualityResults');
-        });
-      },
-      async getDictListIqoCode(code) {
-        let { data: res } = await getByCode(code);
-        this.inspectionStandardsList = res.map((item) => {
-          let values = Object.keys(item);
-          return {
-            value: Number(values[0]),
-            label: item[values[0]]
-          };
-        });
-      },
-      async getQualityModeList(code) {
-        let { data: res } = await getByCode(code);
-        this.qualityModeList = res.map((item) => {
-          let values = Object.keys(item);
-          return {
-            value: Number(values[0]),
-            label: item[values[0]]
-          };
-        });
-      },
-      // 打开工艺路线弹窗
-      openVersion() {
-        this.$refs.versionRefs.open();
-      },
-      //工艺路线回调
-      changeProduct(data) {
-        this.form.produceRoutingId = data.id;
-        this.form.produceRoutingName = data.name;
-        this.form.produceTaskId = '';
-        this.form.produceTaskName = '';
-        this.getTaskList();
-      },
-      // 获取工序数据
-      async getTaskList() {
-        if (!this.form.produceRoutingId) {
-          return;
-        }
-        const res = await getProduceTaskList({
-          isDetail: true,
-          pageNum: 1,
-          routingId: this.form.produceRoutingId,
-          size: -1
-        });
-        this.produceTaskList = res?.list;
-      },
-      // 选择工序
-      produceTaskChange() {
-        if (!this.form.produceTaskId) {
-          return;
-        }
-        this.form.produceTaskName = this.produceTaskList.find(
-          (item) => item.id == this.form.produceTaskId
-        ).name;
-      },
-      // 产品名称
-      addProduct() {
-        this.$refs.equipmentRefs.open();
-      },
-      choose(data) {
-        this.form.productCode = data[0].code;
-        this.form.productName = data[0].name;
-        this.form.specification = data[0].specification;
-        this.form.modelType = data[0].modelType;
-        this.form.brandNo = data[0].brandNum;
-      },
 
-      //选择部门(搜索)
-      searchDeptNodeClick(info, row) {
-        if (info) {
-          const params = { groupId: info };
-          this.getUserList(params);
-          this.form.groupName = row.name;
-        } else {
-          this.form.executeGroupId = null;
-        }
-      },
-      // 获取人员
-      async getUserList(params) {
-        try {
-          let data = { pageNum: 1, size: -1 };
-          // 如果传了参数就是获取巡点检人员数据
-          if (params) {
-            data = Object.assign(data, params);
-          }
-          const res = await getUserPage(data);
-          this.executorList = res.list;
-        } catch (error) {}
-      },
-      // 人员选择
-      changeExecutor(val) {
-        if (val) {
-          this.form.executeId = val;
-          this.form.executeName = this.executorList.filter(
-            (item) => item.id === val
-          )[0].name;
-        }
-      },
-      inputTotal(val) {
-        if (val) {
-          this.form.total = val;
-          this.form.qualifiedNumber = val;
+    //选择部门(搜索)
+    searchDeptNodeClick(info, row) {
+      if (info) {
+        const params = { groupId: info };
+        this.getUserList(params);
+        this.form.groupName = row.name;
+      } else {
+        this.form.executeGroupId = null;
+      }
+    },
+    // 获取人员
+    async getUserList(params) {
+      try {
+        let data = { pageNum: 1, size: -1 };
+        // 如果传了参数就是获取巡点检人员数据
+        if (params) {
+          data = Object.assign(data, params);
         }
-      },
-      handleChangeNumber(val) {
-        this.form.sampleNumber = val;
-        console.log(val);
-        this.$emit('changeNumber', val);
-      },
-
-      //更新合格率
-      updateQualificationRate(
-        qualifiedNumber,
-        noQualifiedNumber,
-        qualificationRate,
-        noQualificationRate
-      ) {
-        this.form.qualifiedNumber = qualifiedNumber;
-        this.form.noQualifiedNumber = noQualifiedNumber;
-        this.form.qualificationRate = qualificationRate + '%';
-        this.form.noQualificationRate = noQualificationRate + '%';
+        const res = await getUserPage(data);
+        this.executorList = res.list;
+      } catch (error) {}
+    },
+    // 人员选择
+    changeExecutor(val) {
+      if (val) {
+        this.form.executeId = val;
+        this.form.executeName = this.executorList.filter(
+          (item) => item.id === val
+        )[0].name;
       }
+    },
+    inputTotal(val) {
+      if (val) {
+        this.form.total = val;
+        this.form.qualifiedNumber = val;
+      }
+    },
+    handleChangeNumber(val) {
+      this.form.sampleNumber = val;
+      console.log(val);
+      this.$emit('changeNumber', val);
+    },
+
+    //更新合格率
+    updateQualificationRate(
+      qualifiedNumber,
+      noQualifiedNumber,
+      qualificationRate,
+      noQualificationRate
+    ) {
+      this.form.qualifiedNumber = qualifiedNumber;
+      this.form.noQualifiedNumber = noQualifiedNumber;
+      this.form.qualificationRate = qualificationRate + '%';
+      this.form.noQualificationRate = noQualificationRate + '%';
     }
-  };
+  }
+};
 </script>
 <style lang="scss" scoped></style>