diff --git a/src/api/wms/detailed.js b/src/api/wms/detailed.js new file mode 100644 index 0000000..e42ad4b --- /dev/null +++ b/src/api/wms/detailed.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询成品库存明细列表 +export function listDetailed(query) { + return request({ + url: '/wms/detailed/list', + method: 'get', + params: query + }); +} + +// 查询成品库存明细详细 +export function getDetailed(storageId) { + return request({ + url: '/wms/detailed/' + storageId, + method: 'get' + }); +} + +// 新增成品库存明细 +export function addDetailed(data) { + return request({ + url: '/wms/detailed', + method: 'post', + data: data + }); +} + +// 修改成品库存明细 +export function updateDetailed(data) { + return request({ + url: '/wms/detailed', + method: 'put', + data: data + }); +} + +// 删除成品库存明细 +export function delDetailed(storageId) { + return request({ + url: '/wms/detailed/' + storageId, + method: 'delete' + }); +} diff --git a/src/api/wms/major.js b/src/api/wms/major.js new file mode 100644 index 0000000..873ed37 --- /dev/null +++ b/src/api/wms/major.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询成品库存主表列表 +export function listMajor(query) { + return request({ + url: '/wms/major/list', + method: 'get', + params: query + }); +} + +// 查询成品库存主表详细 +export function getMajor(storageId) { + return request({ + url: '/wms/major/' + storageId, + method: 'get' + }); +} + +// 新增成品库存主表 +export function addMajor(data) { + return request({ + url: '/wms/major', + method: 'post', + data: data + }); +} + +// 修改成品库存主表 +export function updateMajor(data) { + return request({ + url: '/wms/major', + method: 'put', + data: data + }); +} + +// 删除成品库存主表 +export function delMajor(storageId) { + return request({ + url: '/wms/major/' + storageId, + method: 'delete' + }); +} diff --git a/src/api/wms/productputrecords.js b/src/api/wms/productputrecords.js new file mode 100644 index 0000000..e357811 --- /dev/null +++ b/src/api/wms/productputrecords.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询成品生产入库记录报列表 +export function listProductputrecords(query) { + return request({ + url: '/wms/productputrecords/list', + method: 'get', + params: query + }); +} + +// 查询成品生产入库记录报详细 +export function getProductputrecords(id) { + return request({ + url: '/wms/productputrecords/' + id, + method: 'get' + }); +} + +// 新增成品生产入库记录报 +export function addProductputrecords(data) { + return request({ + url: '/wms/productputrecords', + method: 'post', + data: data + }); +} + +// 修改成品生产入库记录报 +export function updateProductputrecords(data) { + return request({ + url: '/wms/productputrecords', + method: 'put', + data: data + }); +} + +// 删除成品生产入库记录报 +export function delProductputrecords(id) { + return request({ + url: '/wms/productputrecords/' + id, + method: 'delete' + }); +} diff --git a/src/views/wms/detailed/index.vue b/src/views/wms/detailed/index.vue new file mode 100644 index 0000000..5207605 --- /dev/null +++ b/src/views/wms/detailed/index.vue @@ -0,0 +1,600 @@ + + + diff --git a/src/views/wms/major/index.vue b/src/views/wms/major/index.vue new file mode 100644 index 0000000..f4d80cd --- /dev/null +++ b/src/views/wms/major/index.vue @@ -0,0 +1,706 @@ + + + diff --git a/src/views/wms/productputrecords/index.vue b/src/views/wms/productputrecords/index.vue new file mode 100644 index 0000000..8707183 --- /dev/null +++ b/src/views/wms/productputrecords/index.vue @@ -0,0 +1,431 @@ + + + diff --git a/src/views/wms/put/index.vue b/src/views/wms/put/index.vue index 67ae7e9..db83387 100644 --- a/src/views/wms/put/index.vue +++ b/src/views/wms/put/index.vue @@ -1,6 +1,14 @@