| | |
| | | import { |
| | | getRawMaterialList, |
| | | addInspect, |
| | | selectInspectsListById, |
| | | selectUser, |
| | | selectEquipment, |
| | | deleteMaterial, |
| | | addMaterial, |
| | | getMaterielName, |
| | |
| | | getChooseVersion, |
| | | lookProByVer |
| | | } from '@/api/inspection/rawmaterial' |
| | | import ItemVue from '@/layout/components/Sidebar/Item.vue' |
| | | export default { |
| | | data() { |
| | | return { |
| | |
| | | "name": val.materialName, |
| | | "num": val.quantity, |
| | | "specifications": val.specificationsModels, |
| | | "specificationsId": val.specificationsId, |
| | | "specificationId": val.specificationsId, |
| | | "startTime": dateArr[0], |
| | | "supplier": val.supplierName, |
| | | "type": val.type, |
| | |
| | | this.$message.success('报检成功') |
| | | this.$router.push(`/experiment/Viewdetails/${res.data}`) |
| | | }).catch(error =>{ |
| | | this.$message.error('报检失败') |
| | | this.$message.error(error.message) |
| | | }); |
| | | }, |
| | | // 获取分页列表数据 |