diff --git a/src/api/eam/sparePartsOutLocationRecordDetail/sparePartsOutLocationDetailRecord.js b/src/api/eam/sparePartsOutLocationRecordDetail/sparePartsOutLocationDetailRecord.js index 680825ba5..4e84a9429 100644 --- a/src/api/eam/sparePartsOutLocationRecordDetail/sparePartsOutLocationDetailRecord.js +++ b/src/api/eam/sparePartsOutLocationRecordDetail/sparePartsOutLocationDetailRecord.js @@ -1,4 +1,4 @@ -import request from '@/utils/request' +import request from '@/config/axios' // 创建领用出库记录子 export function createSparePartsOutLocationRecordDetail(data) { diff --git a/src/views/eam/SparePartsOutLocationRecord/index.vue b/src/views/eam/SparePartsOutLocationRecord/index.vue index 61719219e..72ea2dd4f 100644 --- a/src/views/eam/SparePartsOutLocationRecord/index.vue +++ b/src/views/eam/SparePartsOutLocationRecord/index.vue @@ -95,7 +95,7 @@ import { SparePartsOutLocationRecordMainRules, SparePartsOutLocationRecordDetail, SparePartsOutLocationRecordDetailRules -} from '.SparePartsOutLocationRecord.data' +} from './SparePartsOutLocationRecord.data' import * as SparePartsOutLocationRecordMainApi from '@/api/eam/sparePartsOutLocationRecordMain/index' import * as SparePartsOutLocationRecordDetailApi from '@/api/eam/sparePartsOutLocationRecordDetail/sparePartsOutLocationDetailRecord.js' import * as defaultButtons from '@/utils/disposition/defaultButtons'