diff --git a/src/api/wms/ruturn.js b/src/api/wms/ruturn.js new file mode 100644 index 00000000..3126c085 --- /dev/null +++ b/src/api/wms/ruturn.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询成品退货入库列表 +export function listRuturn(query) { + return request({ + url: '/wms/ruturn/list', + method: 'get', + params: query + }); +} + +// 查询成品退货入库详细 +export function getRuturn(id) { + return request({ + url: '/wms/ruturn/' + id, + method: 'get' + }); +} + +// 新增成品退货入库 +export function addRuturn(data) { + return request({ + url: '/wms/ruturn', + method: 'post', + data: data + }); +} + +// 修改成品退货入库 +export function updateRuturn(data) { + return request({ + url: '/wms/ruturn', + method: 'put', + data: data + }); +} + +// 删除成品退货入库 +export function delRuturn(id) { + return request({ + url: '/wms/ruturn/' + id, + method: 'delete' + }); +} diff --git a/src/api/wms/sellout.js b/src/api/wms/sellout.js new file mode 100644 index 00000000..37d2b364 --- /dev/null +++ b/src/api/wms/sellout.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询成品销售出库列表 +export function listSellout(query) { + return request({ + url: '/wms/sellout/list', + method: 'get', + params: query + }); +} + +// 查询成品销售出库详细 +export function getSellout(id) { + return request({ + url: '/wms/sellout/' + id, + method: 'get' + }); +} + +// 新增成品销售出库 +export function addSellout(data) { + return request({ + url: '/wms/sellout', + method: 'post', + data: data + }); +} + +// 修改成品销售出库 +export function updateSellout(data) { + return request({ + url: '/wms/sellout', + method: 'put', + data: data + }); +} + +// 删除成品销售出库 +export function delSellout(id) { + return request({ + url: '/wms/sellout/' + id, + method: 'delete' + }); +} diff --git a/src/views/wms/productputrecords/index.vue b/src/views/wms/productputrecords/index.vue index 87071837..70e30b72 100644 --- a/src/views/wms/productputrecords/index.vue +++ b/src/views/wms/productputrecords/index.vue @@ -1,7 +1,7 @@