diff --git a/src/api/excel.js b/src/api/excel.js index be7ee30..8765f86 100644 --- a/src/api/excel.js +++ b/src/api/excel.js @@ -33,6 +33,15 @@ const uploadExcelGoods = (data) => { }) } +const uploadStationConfig = (data) => { + return request({ + url: '/excel/uploadStationConfig', + method: 'post', + data: data, + timeout: 100000 + }) +} + const uploadExcelDbs = (data) => { return request({ url: '/excel/uploadDbs', @@ -155,5 +164,6 @@ export { downloadInRecordExcel, downloadOutRecordExcel, downloadInventoryRecordExcel, - downloadLocationsExcel + downloadLocationsExcel, + uploadStationConfig } \ No newline at end of file diff --git a/src/api/goods.js b/src/api/goods.js index 5ee2e95..fd64579 100644 --- a/src/api/goods.js +++ b/src/api/goods.js @@ -1,66 +1,13 @@ import request from "@/http/request"; -const getAllGoods = () => { +const getGoodsInfoByPage = (params) => { return request({ - url: '/goods/getAllGoods', - method: 'get' - }) -} - -const getPartInfo = (params) => { - return request({ - url: '/goods/getPartInfo', - method: 'post', - data: params - }) -} - -const updateGoodsInfo = (params) => { - return request({ - url: '/goods/updateGoodsInfo', - method: 'post', - data: params - }) -} - -const queryPartInfoByPartNo = (params) => { - return request({ - url: '/goods/queryPartInfoByPartNo', - method: 'post', - data: params - }) -} - -const updatePartInfo = (params) => { - return request({ - url: '/goods/updatePartInfo', - method: 'post', - data: params - }) -} - -const queryPartNo = (params) => { - return request({ - url: '/goods/queryPartNo', - method: 'post', - data: params - }) -} - -const deleteCurrentPartInfo = (params) => { - return request({ - url: '/goods/deletePartInfo', + url: '/goods/getGoodsInfoByPage', method: 'post', data: params }) } export { - getAllGoods, - updateGoodsInfo, - queryPartInfoByPartNo, - getPartInfo, - updatePartInfo, - queryPartNo, - deleteCurrentPartInfo + getGoodsInfoByPage } \ No newline at end of file diff --git a/src/excel/UploadExcelStationConfig.vue b/src/excel/UploadExcelStationConfig.vue new file mode 100644 index 0000000..a495ea6 --- /dev/null +++ b/src/excel/UploadExcelStationConfig.vue @@ -0,0 +1,80 @@ + + + \ No newline at end of file diff --git a/src/http/request.js b/src/http/request.js index f931042..140e628 100644 --- a/src/http/request.js +++ b/src/http/request.js @@ -1,7 +1,7 @@ import axios from 'axios' const request = axios.create({ - baseURL: 'http://localhost:12315/wms', + baseURL: 'http://10.90.36.70:443/wmsServer/wms', timeout: 5000 }) diff --git a/src/layout/goods.vue b/src/layout/goods.vue index 69126ae..32bcb68 100644 --- a/src/layout/goods.vue +++ b/src/layout/goods.vue @@ -4,19 +4,22 @@ + + + - + 搜索 重置 导出信息
- @@ -176,12 +179,14 @@