zouyu
2024-01-19 8193f3fa3b4e5edaf966ab6115258acc8159b6c6
原材料检验修改
已修改1个文件
14 ■■■■■ 文件已修改
src/views/quality/rawMaterial/rawMaterial-form.vue 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/quality/rawMaterial/rawMaterial-form.vue
@@ -883,12 +883,10 @@
        }
      },
      selectBlur(e){
        console.log(e,"-----");
        console.log(e,e.target.tabIndex);
        console.log(e.target.value);
      },
      changeState(row, index) {
          console.log(row.testValueList);
          return
        this.$nextTick(()=>{
            if(row){
                let isTrue = true
@@ -910,16 +908,12 @@
            if (val === undefined || val === '' || val === null) {
                return
            }
            console.log(val);
            console.log(...row.testValueList);
            let obj = {
              deviceId: row.deviceId,
              rpId: row.rpId,
              testValue: val,
              note: row.note
            }
            console.log(obj);
            return
            updateRawInsProduct(obj).then(res => {
                if (res.data.code == 0) {
                    this.$message.success("更新成功")
@@ -945,7 +939,11 @@
          let childrenIndex = this.list[i].children.findIndex(el =>{
            return el.iid == row.iid
          })
          this.list[i].children.splice(childrenIndex,1)
          if(this.list[i].children.length<2){
            this.list.splice(i,1)
          }else{
              this.list[i].children.splice(childrenIndex,1)
          }
        }
      },
      //添加子项目