diff --git a/src/api/demandOrder/demandOrder.js b/src/api/demandOrder/demandOrder.js new file mode 100644 index 0000000..fc6df43 --- /dev/null +++ b/src/api/demandOrder/demandOrder.js @@ -0,0 +1,15 @@ +import request from '@/router/axios'; + +export const getList = (current, size, params) => { + return request({ + url: '/smartpark/demandEnd/list', + method: 'get', + params: { + ...params, + pageSize:size, + pageNum:current, + }, + cryptoToken: false, + cryptoData: false + }) +} \ No newline at end of file diff --git a/src/api/firstOrder/inbound.js b/src/api/firstOrder/inbound.js index 84f3845..3e3cbf6 100644 --- a/src/api/firstOrder/inbound.js +++ b/src/api/firstOrder/inbound.js @@ -12,4 +12,43 @@ export const getList = (current, size, params) => { cryptoToken: false, cryptoData: false }) +} +export const getPutPurchaseList = (current, size, params) => { + return request({ + url: '/smartpark/onePutStorage/getPutPurchaseList', + method: 'get', + params: { + ...params, + pageSize:size, + pageNum:current, + }, + cryptoToken: false, + cryptoData: false + }) +} +//下拉采购单数据 +export const getAllQuarter = () => { + return request({ + url: '/smartpark/purchaseEnd/getAllQuarter', + method: 'get', + cryptoToken: false, + cryptoData: false + }) +} +export const getPurchasesByIds = (ids) => { + return request({ + url: '/smartpark/purchaseEnd/getPurchasesByIds', + method: 'get', + params: { ids }, + cryptoToken: false, + cryptoData: false + }) +} +export const getMaterialList = () => { + return request({ + url: '/smartpark/material/getMaterialList', + method: 'get', + cryptoToken: false, + cryptoData: false + }) } \ No newline at end of file diff --git a/src/api/firstOrder/list.js b/src/api/firstOrder/list.js index e22540c..12cf269 100644 --- a/src/api/firstOrder/list.js +++ b/src/api/firstOrder/list.js @@ -13,3 +13,16 @@ export const getList = (current, size, params) => { cryptoData: false }) } +export const recordList = (current, size, params) => { + return request({ + url: '/smartpark/inventoryRecord/list', + method: 'get', + params: { + ...params, + pageSize:size, + pageNum:current, + }, + cryptoToken: false, + cryptoData: false + }) +} \ No newline at end of file diff --git a/src/views/demandOrder/index.vue b/src/views/demandOrder/index.vue index 54a208f..6246e6b 100644 --- a/src/views/demandOrder/index.vue +++ b/src/views/demandOrder/index.vue @@ -13,7 +13,7 @@ diff --git a/src/views/firstOrder/inbound.vue b/src/views/firstOrder/inbound.vue index 9941060..1436e36 100644 --- a/src/views/firstOrder/inbound.vue +++ b/src/views/firstOrder/inbound.vue @@ -1,9 +1,14 @@