王震
2023-09-15 5c76f242b20281b51d01ce2266e8beaafe8ae5a6
src/components/view/finishedProductInspectionUp.vue
@@ -322,13 +322,19 @@
            this.$axios.post(this.$api.url.finishedInspectUpdateFinishInspectsById, {
                id: this.detailId
            }).then(res => {
                console.log(res);
                if (res.code == 200) {
                    if(res.message==='项目未检验完!'){
                        this.$message({
                        message: res.message,
                        type: 'warning'
                    });
                    return
                    }
                    this.$message({
                        message: '上报成功',
                        type: 'success'
                    });
                    this.$refs.comBackMain()
                    this.$refs.comBackMain(true)
                } else {
                    this.$message({
                        message: res.message,
@@ -336,6 +342,7 @@
                    });
                }
            })
        },
        changeOptionsSamplename(){
            let id=this.processInspectVo.material.split("-")[0]