haoxuan
2024-04-10 74e98e5e0d58bb20cf9c12d58df96e578b9a8c67
src/views/productManage/productRegisterForm/addProductRegisterPage.vue
@@ -653,7 +653,6 @@
      }
    },
    changeTableInput(form){
      debugger
      let string=''
      for(let i in this.tableData){
        if(this.tableData[i].carNumber==form.carNumber){
@@ -800,7 +799,7 @@
    saveClickOne(formName) {
      this.$refs[formName].validate((valid) => {
        if (valid) {
          let form = JSON.parse(JSON.stringify(this.form));
          let form = JSON.parse(JSON.stringify(this.ruleForm));
          // params.workshopGroup=Number(params.workshopGroup)
          this.isAddloading = true;
          delete form.circleTwo;
@@ -815,8 +814,8 @@
            ...form,
          };
          // 编辑
          if (this.inspectID) {
            params.ID = this.form.ID ? this.form.ID : Number(this.inspectID);
          if (this.productRegisterId) {
            params.id = this.ruleForm.id ? this.ruleForm.id : Number(this.productRegisterId);
          }
          saveYieldRegister(params)
            .then((res) => {