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
| | |
| | | // this.usernameOptions = data |
| | | |
| | | }, |
| | | comBackMain(){ |
| | | this.showAdd=false |
| | | this.showLook=false |
| | | this.showUp=false |
| | | comBackMain(val){ |
| | | this.showAdd=false |
| | | this.showLook=false |
| | | this.showUp=false |
| | | this.init() |
| | | this.getInspectionTableData() |
| | | if(val){ |
| | | this.$parent.removeAllTab() |
| | | } |
| | | } |
| | | } |
| | | |
| | |
| | | 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, |
| | |
| | | }); |
| | | } |
| | | }) |
| | | |
| | | }, |
| | | changeOptionsSamplename(){ |
| | | let id=this.processInspectVo.material.split("-")[0] |
| | |
| | | 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 |
| | |
| | | message: '上报成功', |
| | | type: 'success' |
| | | }); |
| | | this.$parent.combackMain(true) |
| | | } else { |
| | | this.$message({ |
| | | message: res.message, |
| | | type: 'warning' |
| | | }); |
| | | } |
| | | |
| | | }) |
| | | }, |
| | | handleClick() { }, |
| | |
| | | async submitSave() { |
| | | const res = await this.$axios.post( |
| | | this.$api.url.updateRawInspectsById + `${this.detailId}` |
| | | ); |
| | | this.$message.success("提交成功"); |
| | | this.getDetailInfo(); |
| | | ).then(res=>{ |
| | | this.$parent.removeAllTab() |
| | | this.$message.success("提交成功"); |
| | | this.getDetailInfo(); |
| | | }); |
| | | }, |
| | | // 获取设备树内容 |
| | | getOptions() { |
| | |
| | | .then(res => { |
| | | this.unqualifiedTable = []; |
| | | this.getDetailInfo(); |
| | | this.$parent.removeAllTab() |
| | | }); |
| | | } |
| | | } |
| | |
| | | .then(res => { |
| | | this.unqualifiedTable = []; |
| | | this.getDetailInfo(); |
| | | this.$parent.removeAllTab() |
| | | }); |
| | | } |
| | | } |