Fixiaobai
2023-09-14 1ca2c8371a7e6b1aa9bc25517efb67574347f9a5
	modified:   src/components/view/finishedProductInspection.vue
modified: src/components/view/finishedProductInspectionUp.vue
modified: src/components/view/processInspection.vue
modified: src/components/view/processInspectionUpdate.vue
modified: src/components/view/rawInsDetail.vue
modified: src/components/view/rawUnqualified/raw.vue
modified: src/components/view/unqualifiedManagement.vue
已修改7个文件
23 ■■■■ 文件已修改
src/components/view/finishedProductInspection.vue 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/view/finishedProductInspectionUp.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/view/processInspection.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/view/processInspectionUpdate.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/view/rawInsDetail.vue 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/view/rawUnqualified/raw.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/view/unqualifiedManagement.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/view/finishedProductInspection.vue
@@ -367,12 +367,15 @@
            // this.usernameOptions = data
        },
        comBackMain(){
        comBackMain(val){
            this.showAdd=false
            this.showLook=false
            this.showUp=false
        this.init()
        this.getInspectionTableData()
        if(val){
            this.$parent.removeAllTab()
        }
        }
    }
src/components/view/finishedProductInspectionUp.vue
@@ -322,13 +322,12 @@
            this.$axios.post(this.$api.url.finishedInspectUpdateFinishInspectsById, {
                id: this.detailId
            }).then(res => {
                console.log(res);
                if (res.code == 200) {
                    this.$message({
                        message: '上报成功',
                        type: 'success'
                    });
                    this.$refs.comBackMain()
                    this.$refs.comBackMain(true)
                } else {
                    this.$message({
                        message: res.message,
@@ -336,6 +335,7 @@
                    });
                }
            })
        },
        changeOptionsSamplename(){
            let id=this.processInspectVo.material.split("-")[0]
src/components/view/processInspection.vue
@@ -359,9 +359,13 @@
      this.rowInfp=row
      this.showUp=true
    },
    combackMain(){
    combackMain(val){
      this.showUp=false
      this.showLook=false
      this.defaultInitializationTable(); // 初始化表格数据
      if(val){
            this.$parent.removeAllTab()
        }
    },
    searchPro(){
      this.search.countSize=this.pageSize
src/components/view/processInspectionUpdate.vue
@@ -329,12 +329,14 @@
                        message: '上报成功',
                        type: 'success'
                    });
                    this.$parent.combackMain(true)
                } else {
                    this.$message({
                        message: res.message,
                        type: 'warning'
                    });
                }
            })
        },
        handleClick() { },
src/components/view/rawInsDetail.vue
@@ -484,9 +484,11 @@
    async submitSave() {
      const res = await this.$axios.post(
        this.$api.url.updateRawInspectsById + `${this.detailId}`
      );
      ).then(res=>{
        this.$parent.removeAllTab()
      this.$message.success("提交成功");
      this.getDetailInfo();
      });
    },
    // 获取设备树内容
    getOptions() {
src/components/view/rawUnqualified/raw.vue
@@ -247,6 +247,7 @@
        .then(res => {
          this.unqualifiedTable = [];
          this.getDetailInfo();
          this.$parent.removeAllTab()
        });
    }
  }
src/components/view/unqualifiedManagement.vue
@@ -243,6 +243,7 @@
        .then(res => {
          this.unqualifiedTable = [];
          this.getDetailInfo();
          this.$parent.removeAllTab()
        });
    }
  }