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
| | |
| | | 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' |
| | |
| | | <!-- 点击返回,当前页面值为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> |
| | |
| | | > --> |
| | | </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> |
| | |
| | | this.rowInfp=row |
| | | this.showLook=true |
| | | }, |
| | | combackIndex(){ |
| | | this.showAddPage=false |
| | | this.defaultInitializationTable() |
| | | }, |
| | | updateInsInfo(row){ |
| | | this.rowInfp=row |
| | | this.showUp=true |
| | |
| | | > --> |
| | | </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> |
| | |
| | | > --> |
| | | </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> |
| | |
| | | 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' |
| | |
| | | <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> |
| | |
| | | id:this.compiledata.id |
| | | }).then( res =>{ |
| | | this.$message.success('编制完成') |
| | | }) |
| | | this.getTechnicalTableData() |
| | | }) |
| | | }, |
| | | |
| | | async showDetails(row){ |