From 448d5be4e40258741da97eeda36033d2803690cf Mon Sep 17 00:00:00 2001 From: mengjiao <3338049200@qq,com> Date: Tue, 9 Apr 2024 16:38:16 +0800 Subject: [PATCH] =?UTF-8?q?wms=E6=88=90=E5=93=81=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/ruturn.js | 44 ++ src/api/wms/sellout.js | 44 ++ src/views/wms/productputrecords/index.vue | 102 ++-- src/views/wms/ruturn/index.vue | 587 ++++++++++++++++++++++ 4 files changed, 726 insertions(+), 51 deletions(-) create mode 100644 src/api/wms/ruturn.js create mode 100644 src/api/wms/sellout.js create mode 100644 src/views/wms/ruturn/index.vue 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 @@