Fixiaobai
2023-09-14 4c821ffe5879d5acd06190f49dee5b1f86ab6e3b
	modified:   src/components/view/finishedProductInspectionUp.vue
modified: src/components/view/processInspection.vue
modified: src/components/view/processInspectionLook.vue
modified: src/components/view/processInspectionUpdate.vue
modified: src/components/view/technical.vue
已修改5个文件
31 ■■■■ 文件已修改
src/components/view/finishedProductInspectionUp.vue 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/view/processInspection.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/view/processInspectionLook.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/view/processInspectionUpdate.vue 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/view/technical.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/view/finishedProductInspectionUp.vue
@@ -323,6 +323,13 @@
                id: this.detailId
            }).then(res => {
                if (res.code == 200) {
                    if(res.message==='项目未检验完!'){
                        this.$message({
                        message: res.message,
                        type: 'warning'
                    });
                    return
                    }
                    this.$message({
                        message: '上报成功',
                        type: 'success'
src/components/view/processInspection.vue
@@ -81,7 +81,7 @@
            <!-- 点击返回,当前页面值为false -->
            <el-button type="primary" size="mini" style="background: #004EA2; "
              icon="el-icon-circle-plus-outline">新增</el-button>
            <el-button @click="showAddPage = false" type="primary" size="mini" icon="el-icon-back"
            <el-button @click="combackIndex" type="primary" size="mini" icon="el-icon-back"
              style="background: #004EA2; ">返回</el-button>
          </el-col>
        </el-row>
@@ -171,7 +171,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>
@@ -355,6 +355,10 @@
      this.rowInfp=row
      this.showLook=true
    },
    combackIndex(){
      this.showAddPage=false
      this.defaultInitializationTable()
    },
    updateInsInfo(row){
      this.rowInfp=row
      this.showUp=true
src/components/view/processInspectionLook.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>
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'
src/components/view/technical.vue
@@ -99,7 +99,7 @@
              <template slot-scope="scope">
                <!-- <el-button type="text" size="small" @click="showDetails(scope.row)">查看详情</el-button>
                <el-button type="text" size="small">编辑附件</el-button> -->
                <el-button type="text" size="small" @click="authorizedstrength(scope.row)">编制</el-button>
                <el-button v-if="scope.row.type===0" type="text" size="small" @click="authorizedstrength(scope.row)">编制</el-button>
              </template>
            </el-table-column>
      </el-table>
@@ -262,8 +262,8 @@
              id:this.compiledata.id
        }).then( res =>{
        this.$message.success('编制完成')
      })
        this.getTechnicalTableData()
      })
      },
      async showDetails(row){