Fixiaobai
2023-09-14 4c821ffe5879d5acd06190f49dee5b1f86ab6e3b
src/components/view/processInspectionUpdate.vue
@@ -103,7 +103,7 @@
            > -->
                </el-col>
            </el-row>
            <el-table :data="inspectionItems" max-height="420" :span-method="handleSpanMethod" height="calc(100vh - 550px)"
            <el-table border :data="inspectionItems" max-height="420" :span-method="handleSpanMethod" height="calc(100vh - 550px)"
                style="width: 100%">
                <el-table-column type="index" label="序号" width="60"></el-table-column>
                <el-table-column label="项目" prop="father"></el-table-column>
@@ -323,8 +323,14 @@
            this.$axios.post(this.$api.url.processInspectUpdateProcessInspectsById, {
                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'