| | |
| | | :disabled="dataForm.rawInsNo==null || (resultVal!=null && resultVal!='')" |
| | | drag |
| | | ref="upload" |
| | | action="/mes/rawInsProduct/upload" |
| | | action="/mes/attachment/upload" |
| | | :auto-upload="true" |
| | | :headers="headers" |
| | | :before-upload="submitUpload" |
| | |
| | | </div> |
| | | </el-upload> |
| | | </div> |
| | | |
| | | <el-table :data="processConfigFileTableData" height="260px"> |
| | | <el-table-column |
| | | prop="rawInsNo" |
| | |
| | | getObj, |
| | | updateRawInsProduct, |
| | | updateRawInspectsById, |
| | | getProcessConfigFiles, |
| | | downloadProcessConfigFile, |
| | | deleteProcessConfigFile, |
| | | updateDeviceById, chooseIFS} from '@/api/quality/rawMaterial' |
| | | import { |
| | | getProcessConfigFiles, |
| | | deleteProcessConfigFile, |
| | | downloadProcessConfigFile |
| | | } from '@/api/quality/attachment' |
| | | import rawMaterialPartDialog from '@/views/common/rawMaterial-part' |
| | | import { getStore } from '@/util/store' |
| | | import qrCodeApp from '@/views/common/qrCodeApp' |
| | |
| | | Authorization: 'Bearer ' + getStore({ name: 'access_token' }) |
| | | }, |
| | | paramData: { |
| | | rawInsNo: '', |
| | | lineNumber: '' |
| | | no: '', |
| | | lineNumber: '', |
| | | type: 0 |
| | | }, |
| | | row: null, |
| | | proIndex: 0, |
| | |
| | | }, |
| | | getConfigFiles() { |
| | | const param = { |
| | | rawInsNo: this.dataForm.rawInsNo, |
| | | lineNumber: this.dataForm.id |
| | | no: this.dataForm.rawInsNo, |
| | | lineNumber: this.dataForm.id, |
| | | type: 0 |
| | | } |
| | | getProcessConfigFiles(param).then((res) => { |
| | | this.processConfigFileTableData = res.data.data |
| | |
| | | }) |
| | | }, |
| | | submitUpload() { |
| | | this.paramData.rawInsNo = this.dataForm.rawInsNo |
| | | this.paramData.no = this.dataForm.rawInsNo |
| | | this.paramData.lineNumber = this.dataForm.id |
| | | this.progrecessFileLoading = true |
| | | }, |