From ec1e242a994c78399f8911e1bb8d4200ab7f7b35 Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Fri, 18 Apr 2025 16:25:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E7=9B=98=E7=82=B9=E7=AE=A1?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yxt-as-ui/src/api/storage/stocktaking.js | 36 ++++-------------------- 1 file changed, 6 insertions(+), 30 deletions(-) diff --git a/yxt-as-ui/src/api/storage/stocktaking.js b/yxt-as-ui/src/api/storage/stocktaking.js index 088d025d7a..d1759d873d 100644 --- a/yxt-as-ui/src/api/storage/stocktaking.js +++ b/yxt-as-ui/src/api/storage/stocktaking.js @@ -1,24 +1,20 @@ import request from '@/utils/request' export default { - // 生成盘点点 createBill: function(data) { return request({ - // baseURL: "http://127.0.0.1:4523/m1/4061550-0-default", url: '/wms/v1/wmsinventorycheckbill/save', method: 'post', data: data, headers: { 'Content-Type': 'application/json' } - }); + }) }, - // 查询分页列表 listPage: function(params) { return request({ - // baseURL: "http://127.0.0.1:4523/m1/4061550-0-default", url: '/wms/v1/wmsinventorycheckbill/listPage', method: 'post', data: params, @@ -27,24 +23,20 @@ export default { } }) }, - // 生成盘点报告 billCreateReport: function(data) { return request({ - // baseURL: "http://127.0.0.1:4523/m1/4061550-0-default", url: '/wms/v1/wmsinventorycheckbill/createReport', method: 'post', params: data, headers: { 'Content-Type': 'application/json' } - }); + }) }, - // 盘点单详情 billDetail: function(params) { return request({ - // baseURL: "http://127.0.0.1:4523/m1/4061550-0-default", url: '/wms/v1/wmsinventorycheckbill/detailGoodPageList', method: 'post', data: params, @@ -53,11 +45,9 @@ export default { } }) }, - // 盘库列表 billStocktak: function(params) { return request({ - // baseURL: "http://127.0.0.1:4523/m1/4061550-0-default", url: '/wms/v1/wmsinventorycheckbill/detailRackPageList', method: 'post', data: params, @@ -70,7 +60,6 @@ export default { // 库位盘点明细列表 billRackCodeDetail: function(params) { return request({ - // baseURL: "http://127.0.0.1:4523/m1/4061550-0-default", url: '/wms/v1/wmsinventorycheckbill/detailRackGoodPageList', method: 'post', data: params, @@ -79,34 +68,28 @@ export default { } }) }, - // 初始化盘库报告 init: function(data) { return request({ - // baseURL: "http://127.0.0.1:4523/m1/4061550-0-default", url: '/wms/v1/wmsinventorycheckbill/viewReport', method: 'post', params: data, headers: { 'Content-Type': 'application/json' } - }); + }) }, - // 保存盘点报告 saveReport: function(data) { return request({ - // baseURL: "http://127.0.0.1:4523/m1/4061550-0-default", url: '/wms/v1/wmsinventorycheckbill/saveReport', method: 'post', params: data, headers: { 'Content-Type': 'application/json' } - }); + }) }, - - // 查询所有商品 getWarehousesGoods: function(params) { return request({ @@ -118,12 +101,10 @@ export default { } }) }, - // 盘点 submitReport: function(params) { return request({ - // baseURL: "http://127.0.0.1:4523/m1/4061550-0-default", - url: '/wms/v1/wmsinventorycheckbill/submitReport', + url: '/wms/v1/wmsinventorycheckbill/submitApply', method: 'post', data: params, headers: { @@ -131,10 +112,8 @@ export default { } }) }, - downloadExcel: function(params) { return request({ - // baseURL: "http://127.0.0.1:4523/m1/4061550-0-default", url: '/wms/v1/wmsinventorycheckbill/downloadExcel', method: 'post', params: params, @@ -144,10 +123,8 @@ export default { } }) }, - downloadPDF: function(params) { return request({ - // baseURL: "http://127.0.0.1:4523/m1/4061550-0-default", url: '/wms/v1/wmsinventorycheckbill/createPdf', method: 'post', params: params, @@ -155,6 +132,5 @@ export default { 'Content-Type': 'application/json' } }) - }, - + } }