From 7f5ac0e242eb4b2389fd939c65c302b1bdd61108 Mon Sep 17 00:00:00 2001 From: qb <1191961160@qq.com> Date: Fri, 22 Dec 2023 14:42:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=AE=B0=E5=BD=95=E6=9C=AC?= =?UTF-8?q?=E4=BB=93=E6=89=80=E6=9C=89=E5=BA=93=E4=BD=8D=E7=A0=81,=20?= =?UTF-8?q?=E6=A0=B9=E6=8D=AE=E6=98=AF=E5=90=A6=E4=B8=BA=E5=BA=93=E4=BD=8D?= =?UTF-8?q?=E7=A0=81=E6=9B=B4=E6=8D=A2=E6=89=AB=E6=8F=8F=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/user.js | 2151 +++++++++-------- pages/index/index.vue | 16 +- pages/login/login.vue | 4 + pagesHome/pages/DownGoods/DownGoods.vue | 5 +- pagesHome/pages/PeopleScanUp/PeopleScanUp.vue | 14 +- pagesHome/pages/Relocation/Relocation.vue | 86 +- pagesHome/pages/ScanUp/ScanUp.vue | 221 +- store/useStorageStore.js | 60 + unpackage/dist/dev/app-plus/app-service.js | 1437 +++++------ .../pagesHome/pages/Relocation/Relocation.css | 190 +- 10 files changed, 2192 insertions(+), 1992 deletions(-) create mode 100644 store/useStorageStore.js diff --git a/api/user.js b/api/user.js index ddd206f..1fd08ed 100644 --- a/api/user.js +++ b/api/user.js @@ -4,14 +4,14 @@ import request from "@/utils/request.js"; * 登录 * @param {Object} data */ -export function oauthtoken(data, loadingObj={}) { +export function oauthtoken(data, loadingObj = {}) { return request({ - url: `blade-auth/oauth/token`, - method: "post", - data - }, - loadingObj + url: `blade-auth/oauth/token`, + method: "post", + data + }, + loadingObj ); } @@ -19,14 +19,14 @@ export function oauthtoken(data, loadingObj={}) { * 修改密码 * @param {Object} data */ -export function editPassword(data, loadingObj={}) { +export function editPassword(data, loadingObj = {}) { return request({ - url: `blade-system/user/update-password?oldPassword=${data.oldPassword}&newPassword=${data.newPassword}&newPassword1=${data.newPassword1}`, - method: "post", - data - }, - loadingObj + url: `blade-system/user/update-password?oldPassword=${data.oldPassword}&newPassword=${data.newPassword}&newPassword1=${data.newPassword1}`, + method: "post", + data + }, + loadingObj ); } @@ -34,14 +34,29 @@ export function editPassword(data, loadingObj={}) { * 整托备货 * @param {Object} data */ -export function distributionStockupscanningCode(data, loadingObj={}) { +export function distributionStockupscanningCode(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/distributionStockup/scanningCode`, - method: "post", - data - }, - loadingObj + url: `logpm-distribution/app/distributionStockup/scanningCode`, + method: "post", + data + }, + loadingObj + ); +} + +/** + * 查询本仓库位信息 + * @param {Object} data + */ +export function postFindAllAllocationId(loadingObj = {}) { + + return request({ + url: `logpm-warehouse-zhy/api/warehouseUpdownType/findAllAllocationId`, + method: "post", + data: {} + }, + loadingObj ); } @@ -49,14 +64,14 @@ export function distributionStockupscanningCode(data, loadingObj={}) { * 货位查询接口 * @param {Object} data */ -export function distributionInspectStockUpArea(data, loadingObj={}) { +export function distributionInspectStockUpArea(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/distributionStockup/inspectStockUpArea`, - method: "get", - data - }, - loadingObj + url: `logpm-distribution/app/distributionStockup/inspectStockUpArea`, + method: "get", + data + }, + loadingObj ); } @@ -64,14 +79,14 @@ export function distributionInspectStockUpArea(data, loadingObj={}) { * 扫描库位接口 * @param {Object} data */ -export function distributionScanStockUpArea(data, loadingObj={}) { +export function distributionScanStockUpArea(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/distributionStockup/scanStockUpArea`, - method: "get", - data - }, - loadingObj + url: `logpm-distribution/app/distributionStockup/scanStockUpArea`, + method: "get", + data + }, + loadingObj ); } @@ -79,112 +94,112 @@ export function distributionScanStockUpArea(data, loadingObj={}) { * 整托备货 * @param {Object} data */ -export function distributionStockupupdateStockArea(data, loadingObj={}) { +export function distributionStockupupdateStockArea(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/distributionStockup/updateStockArea`, - method: "put", - data - }, - loadingObj + url: `logpm-distribution/app/distributionStockup/updateStockArea`, + method: "put", + data + }, + loadingObj ); } /** * 查看备货区 * @param {Object} data */ -export function distributionStockupgetStockupArea(data, loadingObj={}) { +export function distributionStockupgetStockupArea(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/distributionStockup/getStockupArea`, - method: "post", - data - }, - loadingObj + url: `logpm-distribution/app/distributionStockup/getStockupArea`, + method: "post", + data + }, + loadingObj ); } /** * 备货信息列表 * @param {Object} data */ -export function distributionStockuppageList(data, loadingObj={}) { +export function distributionStockuppageList(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/distributionStockup/pageList`, - method: "post", - data - }, - loadingObj + url: `logpm-distribution/app/distributionStockup/pageList`, + method: "post", + data + }, + loadingObj ); } /** * 客户信息列表 * @param {Object} data */ -export function distributionStockuppageListClient(data, loadingObj={}) { +export function distributionStockuppageListClient(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/distributionStockup/pageListClient`, - method: "post", - data - }, - loadingObj + url: `logpm-distribution/app/distributionStockup/pageListClient`, + method: "post", + data + }, + loadingObj ); } /** * 备货客户列表 * @param {Object} data */ -export function distributionStockuporderList(data, loadingObj={}) { +export function distributionStockuporderList(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/distributionStockup/orderList`, - method: "post", - data - }, - loadingObj + url: `logpm-distribution/app/distributionStockup/orderList`, + method: "post", + data + }, + loadingObj ); } /** * 备货客户订单明细 * @param {Object} data */ -export function distributionStockuporderInfo(data, loadingObj={}) { +export function distributionStockuporderInfo(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/distributionStockup/orderInfo`, - method: "post", - data - }, - loadingObj + url: `logpm-distribution/app/distributionStockup/orderInfo`, + method: "post", + data + }, + loadingObj ); } /** * 备货扫码 * @param {Object} data */ -export function distributionStockupstockupScan(data, loadingObj={}) { +export function distributionStockupstockupScan(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/distributionStockup/stockupScan`, - method: "post", - data - }, - loadingObj + url: `logpm-distribution/app/distributionStockup/stockupScan`, + method: "post", + data + }, + loadingObj ); } /** * 备货扫码检查 * @param {Object} data */ -export function distributionStockupstockupScanCheck(data, loadingObj={}) { +export function distributionStockupstockupScanCheck(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/distributionStockup/stockupScanCheck`, - method: "post", - data - }, - loadingObj + url: `logpm-distribution/app/distributionStockup/stockupScanCheck`, + method: "post", + data + }, + loadingObj ); } @@ -192,14 +207,14 @@ export function distributionStockupstockupScanCheck(data, loadingObj={}) { * 切换批次号 * @param {Object} data */ -export function distributionStockupstockupUpdateStockup(data, loadingObj={}) { +export function distributionStockupstockupUpdateStockup(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/distributionStockup/updateStockup`, - method: "post", - data - }, - loadingObj + url: `logpm-distribution/app/distributionStockup/updateStockup`, + method: "post", + data + }, + loadingObj ); } @@ -208,238 +223,238 @@ export function distributionStockupstockupUpdateStockup(data, loadingObj={}) { * 备货扫码列表 * @param {Object} data */ -export function stockConfigList(data, loadingObj={}) { +export function stockConfigList(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/distributionStockup/stockConfigList`, - method: "post", - data - }, - loadingObj + url: `logpm-distribution/app/distributionStockup/stockConfigList`, + method: "post", + data + }, + loadingObj ); } /** * 自提信息列表 * @param {Object} data */ -export function billLadingpageList(data, loadingObj={}) { +export function billLadingpageList(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/billLading/pageList`, - method: "post", - data - }, - loadingObj + url: `logpm-distribution/app/billLading/pageList`, + method: "post", + data + }, + loadingObj ); } /** * 添加自提签收图片 * @param {Object} data */ -export function billLadingAddReceivedImage(data, loadingObj={}) { +export function billLadingAddReceivedImage(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/billLading/addReceivedImage`, - method: "post", - data - }, - loadingObj + url: `logpm-distribution/app/billLading/addReceivedImage`, + method: "post", + data + }, + loadingObj ); } /** * 查询自提单签收图片 * @param {Object} data */ -export function billLadingGetReceivedImage(data, loadingObj={}) { +export function billLadingGetReceivedImage(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/billLading/getReceivedImage`, - method: "get", - data - }, - loadingObj + url: `logpm-distribution/app/billLading/getReceivedImage`, + method: "get", + data + }, + loadingObj ); } /** * 自提订单列表 * @param {Object} data */ -export function billLadingorderList(data, loadingObj={}) { +export function billLadingorderList(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/billLading/orderList`, - method: "post", - data - }, - loadingObj + url: `logpm-distribution/app/billLading/orderList`, + method: "post", + data + }, + loadingObj ); } /** * 自提订单详情 * @param {Object} data */ -export function billLadingdetailList(data, loadingObj={}) { +export function billLadingdetailList(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/billLading/detailList`, - method: "post", - data - }, - loadingObj + url: `logpm-distribution/app/billLading/detailList`, + method: "post", + data + }, + loadingObj ); } /** * 自提零订单详情 * @param {Object} data */ -export function billLadingzeroBillData(data, loadingObj={}) { +export function billLadingzeroBillData(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/billLading/zeroBillPackData`, - method: "post", - data - }, - loadingObj + url: `logpm-distribution/app/billLading/zeroBillPackData`, + method: "post", + data + }, + loadingObj ); } /** * 自提零订单 -- 订单提交 * @param {Object} data */ -export function billLadingzeroBillBatch(data, loadingObj={}) { +export function billLadingzeroBillBatch(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/billLading/zeroBillBatch`, - method: "post", - data - }, - loadingObj + url: `logpm-distribution/app/billLading/zeroBillBatch`, + method: "post", + data + }, + loadingObj ); } /** * 生成库存品包条码 * @param {Object} data */ -export function distributionStockupstockupStockListPackageCode(data, loadingObj={}) { +export function distributionStockupstockupStockListPackageCode(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/distributionStockup/stockupStockListPackageCode`, - method: "post", - data - }, - loadingObj + url: `logpm-distribution/app/distributionStockup/stockupStockListPackageCode`, + method: "post", + data + }, + loadingObj ); } /** * 装车扫描 * @param {Object} data */ -export function deliverypage(data, loadingObj={}) { +export function deliverypage(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/delivery/page`, - method: "get", - data - }, - loadingObj + url: `logpm-distribution/app/delivery/page`, + method: "get", + data + }, + loadingObj ); } /** * 配送客户列表 * @param {Object} data */ -export function deliverycustom(data, loadingObj={}) { +export function deliverycustom(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/delivery/custom`, - method: "get", - data - }, - loadingObj + url: `logpm-distribution/app/delivery/custom`, + method: "get", + data + }, + loadingObj ); } /** * 客户订单扫描 * @param {Object} data */ -export function deliveryorder(data, loadingObj={}) { +export function deliveryorder(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/delivery/order`, - method: "get", - data - }, - loadingObj + url: `logpm-distribution/app/delivery/order`, + method: "get", + data + }, + loadingObj ); } /** * 客户订单扫描 -- 提交零担 * @param {Object} data */ -export function deliveryZeroLoading(data, loadingObj={}) { +export function deliveryZeroLoading(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/delivery/zeroLoading`, - method: "post", - data - }, - loadingObj + url: `logpm-distribution/app/delivery/zeroLoading`, + method: "post", + data + }, + loadingObj ); } /** * 配车明细包条扫描 * @param {Object} data */ -export function deliverywrap(data, loadingObj={}) { +export function deliverywrap(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/delivery/wrap`, - method: "get", - data - }, - loadingObj + url: `logpm-distribution/app/delivery/wrap`, + method: "get", + data + }, + loadingObj ); } /** * 选择车辆 * @param {Object} data */ -export function deliveryvehicle(data, loadingObj={}) { +export function deliveryvehicle(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/delivery/vehicle`, - method: "get", - data - }, - loadingObj + url: `logpm-distribution/app/delivery/vehicle`, + method: "get", + data + }, + loadingObj ); } /** * 确认发车 * @param {Object} data */ -export function deliverystart(data, loadingObj={}) { +export function deliverystart(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/delivery/start`, - method: "post", - data - }, - loadingObj + url: `logpm-distribution/app/delivery/start`, + method: "post", + data + }, + loadingObj ); } /** * 查看库存品详情 * @param {Object} data */ -export function deliverywrapIn(data, loadingObj={}) { +export function deliverywrapIn(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/delivery/wrapIn`, - method: "get", - data - }, - loadingObj + url: `logpm-distribution/app/delivery/wrapIn`, + method: "get", + data + }, + loadingObj ); } @@ -447,1344 +462,1344 @@ export function deliverywrapIn(data, loadingObj={}) { * 配送扫描 * @param {Object} data */ -export function deliveryloadingscan(data, loadingObj={}) { +export function deliveryloadingscan(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/delivery/loadingscan`, - method: "post", - data - }, - loadingObj + url: `logpm-distribution/app/delivery/loadingscan`, + method: "post", + data + }, + loadingObj ); } /** * 签收列表 * @param {Object} data */ -export function signforpage(data, loadingObj={}) { +export function signforpage(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/signfor/page`, - method: "get", - data - }, - loadingObj + url: `logpm-distribution/app/signfor/page`, + method: "get", + data + }, + loadingObj ); } /** * 签收数据 * @param {Object} data */ -export function signforSignNum(data, loadingObj={}) { +export function signforSignNum(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/signfor/signNum`, - method: "get", - data - }, - loadingObj + url: `logpm-distribution/app/signfor/signNum`, + method: "get", + data + }, + loadingObj ); } /** * 客户列表 * @param {Object} data */ -export function signforcustom(data, loadingObj={}) { +export function signforcustom(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/signfor/custom`, - method: "get", - data - }, - loadingObj + url: `logpm-distribution/app/signfor/custom`, + method: "get", + data + }, + loadingObj ); } /** * 签收订单列表 * @param {Object} data */ -export function signfororder(data, loadingObj={}) { +export function signfororder(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/signfor/order`, - method: "get", - data - }, - loadingObj + url: `logpm-distribution/app/signfor/order`, + method: "get", + data + }, + loadingObj ); } /** * 签收订单列表 -- 零担签收 * @param {Object} data */ -export function signforZeroSignfor(data, loadingObj={}) { +export function signforZeroSignfor(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/signfor/zeroSignfor`, - method: "post", - data - }, - loadingObj + url: `logpm-distribution/app/signfor/zeroSignfor`, + method: "post", + data + }, + loadingObj ); } /** * 签收订制品详情 * @param {Object} data */ -export function signforwrap(data, loadingObj={}) { +export function signforwrap(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/signfor/wrap`, - method: "get", - data - }, - loadingObj + url: `logpm-distribution/app/signfor/wrap`, + method: "get", + data + }, + loadingObj ); } /** * 签收库存品详情 * @param {Object} data */ -export function signforwrapIn(data, loadingObj={}) { +export function signforwrapIn(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/signfor/wrapIn`, - method: "get", - data - }, - loadingObj + url: `logpm-distribution/app/signfor/wrapIn`, + method: "get", + data + }, + loadingObj ); } /** * 客户查看库存品 * @param {Object} data */ -export function signforinventory(data, loadingObj={}) { +export function signforinventory(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/signfor/inventory`, - method: "get", - data - }, - loadingObj + url: `logpm-distribution/app/signfor/inventory`, + method: "get", + data + }, + loadingObj ); } /** * 客户查看库存品 * @param {Object} data */ -export function deliveryInventory(data, loadingObj={}) { +export function deliveryInventory(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/delivery/inventory`, - method: "get", - data - }, - loadingObj + url: `logpm-distribution/app/delivery/inventory`, + method: "get", + data + }, + loadingObj ); } /** * 一键装车 * @param {Object} data */ -export function deliveryoneloading(data, loadingObj={}) { +export function deliveryoneloading(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/delivery/oneloading`, - method: "post", - data - }, - loadingObj + url: `logpm-distribution/app/delivery/oneloading`, + method: "post", + data + }, + loadingObj ); } /** * 库存品扫描 * @param {Object} data */ -export function deliveryloadinginventory(data, loadingObj={}) { +export function deliveryloadinginventory(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/delivery/loadinginventory`, - method: "post", - data - }, - loadingObj + url: `logpm-distribution/app/delivery/loadinginventory`, + method: "post", + data + }, + loadingObj ); } /** * 客户签收订制品扫描 * @param {Object} data */ -export function signforsignfor(data, loadingObj={}) { +export function signforsignfor(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/signfor/signfor`, - method: "post", - data - }, - loadingObj + url: `logpm-distribution/app/signfor/signfor`, + method: "post", + data + }, + loadingObj ); } /** * 客户签收库存品扫描 * @param {Object} data */ -export function signforsignforIn(data, loadingObj={}) { +export function signforsignforIn(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/signfor/signforIn`, - method: "post", - data - }, - loadingObj + url: `logpm-distribution/app/signfor/signforIn`, + method: "post", + data + }, + loadingObj ); } /** * 不在配送单签收 * @param {Object} data */ -export function signforsignforcontinue(data, loadingObj={}) { +export function signforsignforcontinue(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/signfor/signforcontinue`, - method: "post", - data - }, - loadingObj + url: `logpm-distribution/app/signfor/signforcontinue`, + method: "post", + data + }, + loadingObj ); } /** * 司机确认签收 * @param {Object} data */ -export function signforsignforack(data, loadingObj={}) { +export function signforsignforack(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/signfor/signforack`, - method: "post", - data - }, - loadingObj + url: `logpm-distribution/app/signfor/signforack`, + method: "post", + data + }, + loadingObj ); } /** * 司机签收修改 * @param {Object} data */ -export function signforUpdatePicture(data, loadingObj={}) { +export function signforUpdatePicture(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/signfor/updatePicture`, - method: "put", - data - }, - loadingObj + url: `logpm-distribution/app/signfor/updatePicture`, + method: "put", + data + }, + loadingObj ); } /** * 定位打卡 * @param {Object} data */ -export function signforpositioning(data, loadingObj={}) { +export function signforpositioning(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/signfor/positioning`, - method: "post", - data - }, - loadingObj + url: `logpm-distribution/app/signfor/positioning`, + method: "post", + data + }, + loadingObj ); } /** * 司机批量签收 * @param {Object} data */ -export function signforoneclick(data, loadingObj={}) { +export function signforoneclick(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/signfor/oneclick`, - method: "post", - data - }, - loadingObj + url: `logpm-distribution/app/signfor/oneclick`, + method: "post", + data + }, + loadingObj ); } /** * 自提列表库存品 * @param {Object} data */ -export function billLadinggetInventory(data, loadingObj={}) { +export function billLadinggetInventory(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/billLading/getInventory`, - method: "get", - data - }, - loadingObj + url: `logpm-distribution/app/billLading/getInventory`, + method: "get", + data + }, + loadingObj ); } /** * 自提零担订单提交 * @param {Object} data */ -export function billLadinggetZeroBillPack(data, loadingObj={}) { +export function billLadinggetZeroBillPack(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/billLading/zeroBillPack`, - method: "post", - data - }, - loadingObj + url: `logpm-distribution/app/billLading/zeroBillPack`, + method: "post", + data + }, + loadingObj ); } /** * 自提详情库存品 * @param {Object} data */ -export function billLadinggetInventoryNum(data, loadingObj={}) { +export function billLadinggetInventoryNum(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/billLading/getInventoryNum`, - method: "get", - data - }, - loadingObj + url: `logpm-distribution/app/billLading/getInventoryNum`, + method: "get", + data + }, + loadingObj ); } /** * 自提扫描 * @param {Object} data */ -export function billLadingscan(data, loadingObj={}) { +export function billLadingscan(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/billLading/scan`, - method: "get", - data - }, - loadingObj + url: `logpm-distribution/app/billLading/scan`, + method: "get", + data + }, + loadingObj ); } /** * 自提扫描 -- 零担订单列表的数据 * @param {Object} data */ -export function billLadingZeroBillOrderData(data, loadingObj={}) { +export function billLadingZeroBillOrderData(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/billLading//zeroBillOrderData`, - method: "post", - data - }, - loadingObj + url: `logpm-distribution/app/billLading//zeroBillOrderData`, + method: "post", + data + }, + loadingObj ); } /** * 订单分拣列表 * @param {Object} data */ -export function warehouseTrayTypeorderPageList(data, loadingObj={}) { +export function warehouseTrayTypeorderPageList(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseTrayType/orderPageList`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseTrayType/orderPageList`, + method: "post", + data + }, + loadingObj ); } /** * 订单扫描托盘码 * @param {Object} data */ -export function warehouseTrayTypeorderScanTrayCode(data, loadingObj={}) { +export function warehouseTrayTypeorderScanTrayCode(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseTrayType/orderScanTrayCode`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseTrayType/orderScanTrayCode`, + method: "post", + data + }, + loadingObj ); } /** * 订单扫描包条码 * @param {Object} data */ -export function warehouseTrayTypeorderScanOrderPackageCode(data, loadingObj={}) { +export function warehouseTrayTypeorderScanOrderPackageCode(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseTrayType/orderScanOrderPackageCode`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseTrayType/orderScanOrderPackageCode`, + method: "post", + data + }, + loadingObj ); } /** * 删除包件与托盘的绑定 * @param {Object} data */ -export function warehouseTrayTypedeleteScanOrderPackageCode(data, loadingObj={}) { +export function warehouseTrayTypedeleteScanOrderPackageCode(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseTrayType/deleteScanOrderPackageCode`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseTrayType/deleteScanOrderPackageCode`, + method: "post", + data + }, + loadingObj ); } /** * 人工分拣列表 * @param {Object} data */ -export function warehouseTrayTypezeroPageList(data, loadingObj={}) { +export function warehouseTrayTypezeroPageList(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseTrayType/zeroPageList`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseTrayType/zeroPageList`, + method: "post", + data + }, + loadingObj ); } /** * 人工分拣扫描托盘码 * @param {Object} data */ -export function warehouseTrayTypezeroScanTrayCode(data, loadingObj={}) { +export function warehouseTrayTypezeroScanTrayCode(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseTrayType/zeroScanTrayCode`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseTrayType/zeroScanTrayCode`, + method: "post", + data + }, + loadingObj ); } /** * 获取零担订单列表 * @param {Object} data */ -export function warehouseTrayTypegetZeroOrderByWaybillCode(data, loadingObj={}) { +export function warehouseTrayTypegetZeroOrderByWaybillCode(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseTrayType/getZeroOrderByWaybillCode`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseTrayType/getZeroOrderByWaybillCode`, + method: "post", + data + }, + loadingObj ); } /** * 录入零担订单绑定托盘 * @param {Object} data */ -export function warehouseTrayenterZeroOrderByTrayCode(data, loadingObj={}) { +export function warehouseTrayenterZeroOrderByTrayCode(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseTrayType/enterZeroOrderByTrayCode`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseTrayType/enterZeroOrderByTrayCode`, + method: "post", + data + }, + loadingObj ); } /** * 零担订单备注 * @param {Object} data */ -export function warehouseTrayTypezeroOrderUpdateRemark(data, loadingObj={}) { +export function warehouseTrayTypezeroOrderUpdateRemark(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseTrayType/zeroOrderUpdateRemark`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseTrayType/zeroOrderUpdateRemark`, + method: "post", + data + }, + loadingObj ); } /** * 获取工作台图标 * @param {Object} data */ -export function appMenuroutes(data, loadingObj={}) { +export function appMenuroutes(data, loadingObj = {}) { return request({ - url: `blade-system/app/routes`, - method: "get", - data - }, - loadingObj + url: `blade-system/app/routes`, + method: "get", + data + }, + loadingObj ); } /** * 按钮权限 * @param {Object} data */ -export function appbuttons(data, loadingObj={}) { +export function appbuttons(data, loadingObj = {}) { return request({ - url: `blade-system/app/buttons`, - method: "get", - data - }, - loadingObj + url: `blade-system/app/buttons`, + method: "get", + data + }, + loadingObj ); } /** * 库存品分拣列表 * @param {Object} data */ -export function warehouseTrayTypestockPageList(data, loadingObj={}) { +export function warehouseTrayTypestockPageList(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseTrayType/stockPageList`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseTrayType/stockPageList`, + method: "post", + data + }, + loadingObj ); } /** * 订单详情 * @param {Object} data */ -export function warehouseTrayTypeorderDetail(data, loadingObj={}) { +export function warehouseTrayTypeorderDetail(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseTrayType/orderDetail`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseTrayType/orderDetail`, + method: "post", + data + }, + loadingObj ); } /** * 删除零担订单绑定托盘 * @param {Object} data */ -export function warehouseTrayTypedeleteZeroOrderByTrayCode(data, loadingObj={}) { +export function warehouseTrayTypedeleteZeroOrderByTrayCode(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseTrayType/deleteZeroOrderByTrayCode`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseTrayType/deleteZeroOrderByTrayCode`, + method: "post", + data + }, + loadingObj ); } /** * 删除订单与托盘码的绑定 * @param {Object} data */ -export function warehouseTrayTypedeleteOrderCode(data, loadingObj={}) { +export function warehouseTrayTypedeleteOrderCode(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseTrayType/deleteOrderCode`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseTrayType/deleteOrderCode`, + method: "post", + data + }, + loadingObj ); } /** * 库存品扫码托盘 * @param {Object} data */ -export function warehouseTrayTypestockScanTrayCode(data, loadingObj={}) { +export function warehouseTrayTypestockScanTrayCode(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseTrayType/stockScanTrayCode`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseTrayType/stockScanTrayCode`, + method: "post", + data + }, + loadingObj ); } /** * 库存品包件码扫码 * @param {Object} data */ -export function warehouseTrayTypescanStockOrderPackageCode(data, loadingObj={}) { +export function warehouseTrayTypescanStockOrderPackageCode(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseTrayType/scanStockOrderPackageCode`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseTrayType/scanStockOrderPackageCode`, + method: "post", + data + }, + loadingObj ); } /** * 无数据库存品分拣列表 * @param {Object} data */ -export function warehouseTrayTypestockNoDataPageList(data, loadingObj={}) { +export function warehouseTrayTypestockNoDataPageList(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseTrayType/stockNoDataPageList`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseTrayType/stockNoDataPageList`, + method: "post", + data + }, + loadingObj ); } /** * 无数据库存品扫描托盘 * @param {Object} data */ -export function warehouseTrayTypestockNoDataScanTrayCode(data, loadingObj={}) { +export function warehouseTrayTypestockNoDataScanTrayCode(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseTrayType/stockNoDataScanTrayCode`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseTrayType/stockNoDataScanTrayCode`, + method: "post", + data + }, + loadingObj ); } /** * 无数据库存品获取当前仓库所有库存品商家 * @param {Object} data */ -export function warehouseTrayTypefindAllMarket(data, loadingObj={}) { +export function warehouseTrayTypefindAllMarket(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseTrayType/findAllMarket`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseTrayType/findAllMarket`, + method: "post", + data + }, + loadingObj ); } /** * 无数据库存品搜索当前仓库物料 * @param {Object} data */ -export function warehouseTrayTypeselectStockByMaterialCodeAndMarketId(data, loadingObj={}) { +export function warehouseTrayTypeselectStockByMaterialCodeAndMarketId(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseTrayType/selectStockByMaterialCodeAndMarketId`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseTrayType/selectStockByMaterialCodeAndMarketId`, + method: "post", + data + }, + loadingObj ); } /** * 无数据库存品搜索当前仓库物料 * @param {Object} data */ -export function warehouseTrayTypeenterStockNoDataMaterialCode(data, loadingObj={}) { +export function warehouseTrayTypeenterStockNoDataMaterialCode(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseTrayType/enterStockNoDataMaterialCode`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseTrayType/enterStockNoDataMaterialCode`, + method: "post", + data + }, + loadingObj ); } /** * 删除库存品绑定关系 * @param {Object} data */ -export function warehouseTrayTypedeleteStockByTrayGoodsId(data, loadingObj={}) { +export function warehouseTrayTypedeleteStockByTrayGoodsId(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseTrayType/deleteStockByTrayGoodsId`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseTrayType/deleteStockByTrayGoodsId`, + method: "post", + data + }, + loadingObj ); } /** * 上架扫码货物 * @param {Object} data */ -export function warehouseUpdownTypeupShelfScanGoods(data, loadingObj={}) { +export function warehouseUpdownTypeupShelfScanGoods(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseUpdownType/upShelfScanGoods`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseUpdownType/upShelfScanGoods`, + method: "post", + data + }, + loadingObj ); } /** * 上架扫描库位 * @param {Object} data */ -export function warehouseUpdownTypeupShelfScanAllocation(data, loadingObj={}) { +export function warehouseUpdownTypeupShelfScanAllocation(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseUpdownType/upShelfScanAllocation`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseUpdownType/upShelfScanAllocation`, + method: "post", + data + }, + loadingObj ); } /** * 上架托盘维度 * @param {Object} data */ -export function warehouseUpdownTypeupShelfTray(data, loadingObj={}) { +export function warehouseUpdownTypeupShelfTray(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseUpdownType/upShelfTray`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseUpdownType/upShelfTray`, + method: "post", + data + }, + loadingObj ); } /** * 上架包件维度 * @param {Object} data */ -export function warehouseUpdownTypeupShelfPackage(data, loadingObj={}) { +export function warehouseUpdownTypeupShelfPackage(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseUpdownType/upShelfPackage`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseUpdownType/upShelfPackage`, + method: "post", + data + }, + loadingObj ); } /** * 上架订单维度 * @param {Object} data */ -export function warehouseUpdownTypeupShelfOrder(data, loadingObj={}) { +export function warehouseUpdownTypeupShelfOrder(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseUpdownType/upShelfOrder`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseUpdownType/upShelfOrder`, + method: "post", + data + }, + loadingObj ); } /** * 获取零担订单数据 * @param {Object} data */ -export function warehouseUpdownTypegetZeroOrderByCode(data, loadingObj={}) { +export function warehouseUpdownTypegetZeroOrderByCode(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseUpdownType/getZeroOrderByCode`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseUpdownType/getZeroOrderByCode`, + method: "post", + data + }, + loadingObj ); } /** * 上架零担订单维度 * @param {Object} data */ -export function warehouseUpdownTypeupShelfZeroOrder(data, loadingObj={}) { +export function warehouseUpdownTypeupShelfZeroOrder(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseUpdownType/upShelfZeroOrder`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseUpdownType/upShelfZeroOrder`, + method: "post", + data + }, + loadingObj ); } /** * 获取库存品数据 * @param {Object} data */ -export function warehouseUpdownTypegetStockByParam(data, loadingObj={}) { +export function warehouseUpdownTypegetStockByParam(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseUpdownType/getStockByParam`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseUpdownType/getStockByParam`, + method: "post", + data + }, + loadingObj ); } /** * 上架库存品维度 * @param {Object} data */ -export function warehouseUpdownTypeupShelfStockList(data, loadingObj={}) { +export function warehouseUpdownTypeupShelfStockList(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseUpdownType/upShelfStockList`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseUpdownType/upShelfStockList`, + method: "post", + data + }, + loadingObj ); } /** * 移库扫描移动的目标库位 * @param {Object} data */ -export function warehouseUpdownTypemoveAllocationScanTarget(data, loadingObj={}) { +export function warehouseUpdownTypemoveAllocationScanTarget(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseUpdownType/moveAllocationScanTarget`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseUpdownType/moveAllocationScanTarget`, + method: "post", + data + }, + loadingObj ); } /** * 移库扫码包件 * @param {Object} data */ -export function warehouseUpdownTypemoveAllocationScanPackage(data, loadingObj={}) { +export function warehouseUpdownTypemoveAllocationScanPackage(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseUpdownType/moveAllocationScanPackage`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseUpdownType/moveAllocationScanPackage`, + method: "post", + data + }, + loadingObj ); } /** * 确认移库包件列表 * @param {Object} data */ -export function warehouseUpdownTypemoveAllocationPackageList(data, loadingObj={}) { +export function warehouseUpdownTypemoveAllocationPackageList(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseUpdownType/moveAllocationPackageList`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseUpdownType/moveAllocationPackageList`, + method: "post", + data + }, + loadingObj ); } /** * 确认移库托盘 * @param {Object} data */ -export function warehouseUpdownTypemoveAllocationByTrayCode(data, loadingObj={}) { +export function warehouseUpdownTypemoveAllocationByTrayCode(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseUpdownType/moveAllocationByTrayCode`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseUpdownType/moveAllocationByTrayCode`, + method: "post", + data + }, + loadingObj ); } /** * 移库扫描托盘码 * @param {Object} data */ -export function warehouseUpdownTypemoveAllocationScanTrayCode(data, loadingObj={}) { +export function warehouseUpdownTypemoveAllocationScanTrayCode(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseUpdownType/moveAllocationScanTrayCode`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseUpdownType/moveAllocationScanTrayCode`, + method: "post", + data + }, + loadingObj ); } /** * 滞留包件列表 * @param {Object} data */ -export function warehouseRetentionretentionPackageList(data, loadingObj={}) { +export function warehouseRetentionretentionPackageList(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseRetention/retentionPackageList`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseRetention/retentionPackageList`, + method: "post", + data + }, + loadingObj ); } /** * 滞留扫描包件码 * @param {Object} data */ -export function warehouseRetentionretentionScanPackage(data, loadingObj={}) { +export function warehouseRetentionretentionScanPackage(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseRetention/retentionScanPackage`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseRetention/retentionScanPackage`, + method: "post", + data + }, + loadingObj ); } /** * 下架扫描包件 * @param {Object} data */ -export function warehouseUpdownTypedownScanPackage(data, loadingObj={}) { +export function warehouseUpdownTypedownScanPackage(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseUpdownType/downScanPackage`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseUpdownType/downScanPackage`, + method: "post", + data + }, + loadingObj ); } /** * 下架扫描包件 * @param {Object} data */ -export function warehouseUpdownTypedownDownAllocation(data, loadingObj={}) { +export function warehouseUpdownTypedownDownAllocation(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseUpdownType/downAllocation`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseUpdownType/downAllocation`, + method: "post", + data + }, + loadingObj ); } /** * 扫描来源托盘 * @param {Object} data */ -export function warehouseTrayTypescanSourceTrayCode(data, loadingObj={}) { +export function warehouseTrayTypescanSourceTrayCode(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseTrayType/scanSourceTrayCode`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseTrayType/scanSourceTrayCode`, + method: "post", + data + }, + loadingObj ); } /** * 扫描目标托盘 * @param {Object} data */ -export function warehouseTrayTypescanTargetTrayCode(data, loadingObj={}) { +export function warehouseTrayTypescanTargetTrayCode(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseTrayType/scanTargetTrayCode`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseTrayType/scanTargetTrayCode`, + method: "post", + data + }, + loadingObj ); } /** * 确认合托 * @param {Object} data */ -export function warehouseTrayTypemergeTray(data, loadingObj={}) { +export function warehouseTrayTypemergeTray(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseTrayType/mergeTray`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseTrayType/mergeTray`, + method: "post", + data + }, + loadingObj ); } /** * 下架包件 * @param {Object} data */ -export function warehouseUpdownTypedownPackage(data, loadingObj={}) { +export function warehouseUpdownTypedownPackage(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseUpdownType/downPackage`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseUpdownType/downPackage`, + method: "post", + data + }, + loadingObj ); } /** * 下架托盘 * @param {Object} data */ -export function warehouseUpdownTypedownTrayCode(data, loadingObj={}) { +export function warehouseUpdownTypedownTrayCode(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseUpdownType/downTrayCode`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseUpdownType/downTrayCode`, + method: "post", + data + }, + loadingObj ); } /** * 下架库存品 * @param {Object} data */ -export function warehouseUpdownTypedownStock(data, loadingObj={}) { +export function warehouseUpdownTypedownStock(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseUpdownType/downStock`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseUpdownType/downStock`, + method: "post", + data + }, + loadingObj ); } /** * 下架零担 * @param {Object} data */ -export function warehouseUpdownTypedownZeroOrder(data, loadingObj={}) { +export function warehouseUpdownTypedownZeroOrder(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseUpdownType/downZeroOrder`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseUpdownType/downZeroOrder`, + method: "post", + data + }, + loadingObj ); } /** * 下架录入零担 * @param {Object} data */ -export function warehouseUpdownTypedownEnterZeroOrder(data, loadingObj={}) { +export function warehouseUpdownTypedownEnterZeroOrder(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseUpdownType/downEnterZeroOrder`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseUpdownType/downEnterZeroOrder`, + method: "post", + data + }, + loadingObj ); } /** * 下架录入库存品信息 * @param {Object} data */ -export function warehouseUpdownTypedownEnterStock(data, loadingObj={}) { +export function warehouseUpdownTypedownEnterStock(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseUpdownType/downEnterStock`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseUpdownType/downEnterStock`, + method: "post", + data + }, + loadingObj ); } /** * 下架录入库存品信息 * @param {Object} data */ -export function warehouseUpdownTypedownScanTrayCode(data, loadingObj={}) { +export function warehouseUpdownTypedownScanTrayCode(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseUpdownType/downScanTrayCode`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseUpdownType/downScanTrayCode`, + method: "post", + data + }, + loadingObj ); } /** * 客户签收图片回显 * @param {Object} data */ -export function signforprices(data, loadingObj={}) { +export function signforprices(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/signfor/prices`, - method: "post", - data - }, - loadingObj + url: `logpm-distribution/app/signfor/prices`, + method: "post", + data + }, + loadingObj ); } /** * 托盘空置扫描托盘 * @param {Object} data */ -export function warehouseTrayTypetrayToNullScanTrayCode(data, loadingObj={}) { +export function warehouseTrayTypetrayToNullScanTrayCode(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseTrayType/trayToNullScanTrayCode`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseTrayType/trayToNullScanTrayCode`, + method: "post", + data + }, + loadingObj ); } /** * 托盘空置 * @param {Object} data */ -export function warehouseTrayTypetrayToNull(data, loadingObj={}) { +export function warehouseTrayTypetrayToNull(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseTrayType/trayToNull`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseTrayType/trayToNull`, + method: "post", + data + }, + loadingObj ); } /** * 复核订单 * @param {Object} data */ -export function warehouseInventorycheckGoodsByOrder(data, loadingObj={}) { +export function warehouseInventorycheckGoodsByOrder(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseInventory/checkGoodsByOrder`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseInventory/checkGoodsByOrder`, + method: "post", + data + }, + loadingObj ); } /** * 复核托盘 * @param {Object} data */ -export function warehouseInventorycheckGoodsByTray(data, loadingObj={}) { +export function warehouseInventorycheckGoodsByTray(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseInventory/checkGoodsByTray`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseInventory/checkGoodsByTray`, + method: "post", + data + }, + loadingObj ); } /** * 复核库位 * @param {Object} data */ -export function warehouseInventorycheckGoodsByAllocation(data, loadingObj={}) { +export function warehouseInventorycheckGoodsByAllocation(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseInventory/checkGoodsByAllocation`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseInventory/checkGoodsByAllocation`, + method: "post", + data + }, + loadingObj ); } /** * 获取仓库列表 * @param {Object} data */ -export function getMyWarehouseList(data, loadingObj={}) { +export function getMyWarehouseList(data, loadingObj = {}) { return request({ - url: `logpm-basicdata/warehouse/getMyWarehouseList`, - method: "get", - data - }, - loadingObj + url: `logpm-basicdata/warehouse/getMyWarehouseList`, + method: "get", + data + }, + loadingObj ); } /** * 切换选中仓库 * @param {Object} data */ -export function preserveCurrentWarehouse(data, loadingObj={}) { +export function preserveCurrentWarehouse(data, loadingObj = {}) { return request({ - url: `logpm-basicdata/warehouse/preserveCurrentWarehouse`, - method: "post", - data - }, - loadingObj + url: `logpm-basicdata/warehouse/preserveCurrentWarehouse`, + method: "post", + data + }, + loadingObj ); } /** * APP检测更新 * @param {Object} data */ -export function AppPdaversiondetail(data, loadingObj={}) { +export function AppPdaversiondetail(data, loadingObj = {}) { return request({ - url: `blade-system/AppPdaversion/detail`, - method: "post", - data - }, - loadingObj + url: `blade-system/AppPdaversion/detail`, + method: "post", + data + }, + loadingObj ); } /** * 增值服务列表 * @param {Object} data */ -export function addvalueaddvalueInfo(data, loadingObj={}) { +export function addvalueaddvalueInfo(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/addvalue/addvalueInfo`, - method: "post", - data - }, - loadingObj + url: `logpm-distribution/app/addvalue/addvalueInfo`, + method: "post", + data + }, + loadingObj ); } /** * 增值服务增加 * @param {Object} data */ -export function addvaluesaveAddvalueInfo(data, loadingObj={}) { +export function addvaluesaveAddvalueInfo(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/addvalue/saveAddvalueInfo`, - method: "post", - data - }, - loadingObj + url: `logpm-distribution/app/addvalue/saveAddvalueInfo`, + method: "post", + data + }, + loadingObj ); } /** * 扫描包件 * @param {Object} data */ -export function addvaluescanAddvaluePackage(data, loadingObj={}) { +export function addvaluescanAddvaluePackage(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/addvalue/scanAddvaluePackage`, - method: "post", - data - }, - loadingObj + url: `logpm-distribution/app/addvalue/scanAddvaluePackage`, + method: "post", + data + }, + loadingObj ); } /** * 所有包件 * @param {Object} data */ -export function addvaluegetAllPackageList(data, loadingObj={}) { +export function addvaluegetAllPackageList(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/addvalue/getAllPackageList`, - method: "post", - data - }, - loadingObj + url: `logpm-distribution/app/addvalue/getAllPackageList`, + method: "post", + data + }, + loadingObj ); } /** * 编辑增值服务项 * @param {Object} data */ -export function addvalueeditAddvalueInfo(data, loadingObj={}) { +export function addvalueeditAddvalueInfo(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/addvalue/editAddvalueInfo`, - method: "post", - data - }, - loadingObj + url: `logpm-distribution/app/addvalue/editAddvalueInfo`, + method: "post", + data + }, + loadingObj ); } /** * 编辑保存 * @param {Object} data */ -export function addvalueupdateAddvalueInfo(data, loadingObj={}) { +export function addvalueupdateAddvalueInfo(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/addvalue/updateAddvalueInfo`, - method: "post", - data - }, - loadingObj + url: `logpm-distribution/app/addvalue/updateAddvalueInfo`, + method: "post", + data + }, + loadingObj ); } /** * 获取包条列表 * @param {Object} data */ -export function distributionStockuplocationSelection(data, loadingObj={}) { +export function distributionStockuplocationSelection(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/distributionStockup/locationSelection`, - method: "post", - data - }, - loadingObj + url: `logpm-distribution/app/distributionStockup/locationSelection`, + method: "post", + data + }, + loadingObj ); } /** * 移库目标库位 * @param {Object} data */ -export function warehouseUpdownTypemoveAllocationScanAllocation(data, loadingObj={}) { +export function warehouseUpdownTypemoveAllocationScanAllocation(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseUpdownType/moveAllocationScanAllocation`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseUpdownType/moveAllocationScanAllocation`, + method: "post", + data + }, + loadingObj ); } /** * 移库被移库位 * @param {Object} data */ -export function warehouseUpdownTypemoveAllocationScanSourceAllocation(data, loadingObj={}) { +export function warehouseUpdownTypemoveAllocationScanSourceAllocation(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseUpdownType/moveAllocationScanSourceAllocation`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseUpdownType/moveAllocationScanSourceAllocation`, + method: "post", + data + }, + loadingObj ); } /** * 移库库位 * @param {Object} data */ -export function warehouseUpdownTypemoveAllocationByAllocation(data, loadingObj={}) { +export function warehouseUpdownTypemoveAllocationByAllocation(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseUpdownType/moveAllocationByAllocation`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseUpdownType/moveAllocationByAllocation`, + method: "post", + data + }, + loadingObj ); } /** * 查看订单详情 * @param {Object} data */ -export function warehouseUpdownTypeorderUpshelfDetail(data, loadingObj={}) { +export function warehouseUpdownTypeorderUpshelfDetail(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseUpdownType/orderUpshelfDetail`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseUpdownType/orderUpshelfDetail`, + method: "post", + data + }, + loadingObj ); } /** * 查看订单详情 * @param {Object} data */ -export function dictbizdictionary(data, loadingObj={}) { +export function dictbizdictionary(data, loadingObj = {}) { return request({ - url: `blade-system/dict-biz/dictionary`, - method: "get", - data - }, - loadingObj + url: `blade-system/dict-biz/dictionary`, + method: "get", + data + }, + loadingObj ); } @@ -1792,14 +1807,14 @@ export function dictbizdictionary(data, loadingObj={}) { * 配送订单模糊查询 * @param {Object} data */ -export function distributionOrderInFuzzyQuery(data, loadingObj={}) { +export function distributionOrderInFuzzyQuery(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/distributionInQuery/fuzzy`, - method: "post", - data - }, - loadingObj + url: `logpm-distribution/app/distributionInQuery/fuzzy`, + method: "post", + data + }, + loadingObj ); } @@ -1807,14 +1822,14 @@ export function distributionOrderInFuzzyQuery(data, loadingObj={}) { * 订单详情查询 * @param {Object} data */ -export function distributionOrderInfoInQuery(data, loadingObj={}) { +export function distributionOrderInfoInQuery(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/distributionInQuery/order`, - method: "post", - data - }, - loadingObj + url: `logpm-distribution/app/distributionInQuery/order`, + method: "post", + data + }, + loadingObj ); } @@ -1822,14 +1837,14 @@ export function distributionOrderInfoInQuery(data, loadingObj={}) { * 批量打印包件 * @param {Object} ids */ -export function BatchPrintPackages(data, loadingObj={}) { +export function BatchPrintPackages(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/distributionInQuery/template?ids=${data}`, - method: "post", - data: {} - }, - loadingObj + url: `logpm-distribution/app/distributionInQuery/template?ids=${data}`, + method: "post", + data: {} + }, + loadingObj ); } @@ -1838,14 +1853,14 @@ export function BatchPrintPackages(data, loadingObj={}) { * 查看托盘详情 * @param {Object} reservationId 客户id */ -export function distributionTrayDetail(data, loadingObj={}) { +export function distributionTrayDetail(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/delivery/trays`, - method: "get", - data - }, - loadingObj + url: `logpm-distribution/app/delivery/trays`, + method: "get", + data + }, + loadingObj ); } @@ -1853,14 +1868,14 @@ export function distributionTrayDetail(data, loadingObj={}) { * 异常装车 * @param {Object} data */ -export function postAbnormalTruckLoading(data, loadingObj={}) { +export function postAbnormalTruckLoading(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/delivery/abnormalLoading`, - method: "post", - data - }, - loadingObj + url: `logpm-distribution/app/delivery/abnormalLoading`, + method: "post", + data + }, + loadingObj ); } @@ -1868,14 +1883,14 @@ export function postAbnormalTruckLoading(data, loadingObj={}) { * 获取零担订单物料详情 * @param {Object} data */ -export function postZeroStockUpData(data, loadingObj={}) { +export function postZeroStockUpData(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/distributionStockup/zeroStockUpData`, - method: "post", - data - }, - loadingObj + url: `logpm-distribution/app/distributionStockup/zeroStockUpData`, + method: "post", + data + }, + loadingObj ); } @@ -1883,14 +1898,14 @@ export function postZeroStockUpData(data, loadingObj={}) { * 零担备货提交 * @param {Object} data */ -export function postZeroStockUp(data, loadingObj={}) { +export function postZeroStockUp(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/distributionStockup/zeroStockUp`, - method: "post", - data - }, - loadingObj + url: `logpm-distribution/app/distributionStockup/zeroStockUp`, + method: "post", + data + }, + loadingObj ); } @@ -1898,14 +1913,14 @@ export function postZeroStockUp(data, loadingObj={}) { * 查询盘点任务列表 * @param {Object} data */ -export function getWarehouseTask(data, loadingObj={}) { +export function getWarehouseTask(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/WarehouseTask/page`, - method: "get", - data - }, - loadingObj + url: `logpm-warehouse/api/WarehouseTask/page`, + method: "get", + data + }, + loadingObj ); } @@ -1913,14 +1928,14 @@ export function getWarehouseTask(data, loadingObj={}) { * 查询盘点数据详情 * @param {Object} data */ -export function getWarehouseTaskgetTaskConInfo(data, loadingObj={}) { +export function getWarehouseTaskgetTaskConInfo(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/WarehouseTask/getTaskConInfo`, - method: "get", - data - }, - loadingObj + url: `logpm-warehouse/api/WarehouseTask/getTaskConInfo`, + method: "get", + data + }, + loadingObj ); } @@ -1928,14 +1943,14 @@ export function getWarehouseTaskgetTaskConInfo(data, loadingObj={}) { * 查询盘点数据详情 * @param {Object} data */ -export function getWarehouseTaskDeleteQuestChild(data, loadingObj={}) { +export function getWarehouseTaskDeleteQuestChild(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/WarehouseTask/deleteQuestChild`, - method: "delete", - data - }, - loadingObj + url: `logpm-warehouse/api/WarehouseTask/deleteQuestChild`, + method: "delete", + data + }, + loadingObj ); } @@ -1944,14 +1959,14 @@ export function getWarehouseTaskDeleteQuestChild(data, loadingObj={}) { * 库位盘点库位详情信息 * @param {Object} data */ -export function getWarehouseTaskAllocationList(data, loadingObj={}) { +export function getWarehouseTaskAllocationList(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/WarehouseTask/allocationList`, - method: "get", - data - }, - loadingObj + url: `logpm-warehouse/api/WarehouseTask/allocationList`, + method: "get", + data + }, + loadingObj ); } @@ -1959,14 +1974,14 @@ export function getWarehouseTaskAllocationList(data, loadingObj={}) { * 库位盘点详情 -- 定制品 * @param {Object} data */ -export function getWarehouseTaskAllocationDetailByStrip(data, loadingObj={}) { +export function getWarehouseTaskAllocationDetailByStrip(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/WarehouseTask/allocationDetailByPackage`, - method: "get", - data - }, - loadingObj + url: `logpm-warehouse/api/WarehouseTask/allocationDetailByPackage`, + method: "get", + data + }, + loadingObj ); } @@ -1974,14 +1989,14 @@ export function getWarehouseTaskAllocationDetailByStrip(data, loadingObj={}) { * 获取托盘盘点任务列表 * @param {Object} data */ -export function getWarehouseTrayList(data, loadingObj={}) { +export function getWarehouseTrayList(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/WarehouseTask/trayList`, - method: "get", - data - }, - loadingObj + url: `logpm-warehouse/api/WarehouseTask/trayList`, + method: "get", + data + }, + loadingObj ); } @@ -1989,14 +2004,14 @@ export function getWarehouseTrayList(data, loadingObj={}) { * 获取托盘详情信息 * @param {Object} data */ -export function getWarehousetrayListInfo(data, loadingObj={}) { +export function getWarehousetrayListInfo(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/WarehouseTask/trayListInfo`, - method: "get", - data - }, - loadingObj + url: `logpm-warehouse/api/WarehouseTask/trayListInfo`, + method: "get", + data + }, + loadingObj ); } @@ -2004,41 +2019,41 @@ export function getWarehousetrayListInfo(data, loadingObj={}) { * 托盘盘点 -- 修改状态 * @param {Object} data */ -export function getWarehouseUpdateQuestDetail(data, loadingObj={}) { +export function getWarehouseUpdateQuestDetail(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/WarehouseTask/updateQuestDetail`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/WarehouseTask/updateQuestDetail`, + method: "post", + data + }, + loadingObj ); } /** * 盘点 -- 批量删除 */ -export function getWarehouseDeleteQuestDetail(data, loadingObj={}) { +export function getWarehouseDeleteQuestDetail(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/WarehouseTask/deleteQuestDetail`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/WarehouseTask/deleteQuestDetail`, + method: "post", + data + }, + loadingObj ); } /** * 盘点 -- 添加 */ -export function getWarehouseSaveNewQuestDetail(data, loadingObj={}) { +export function getWarehouseSaveNewQuestDetail(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/WarehouseTask/saveNewQuestDetail`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/WarehouseTask/saveNewQuestDetail`, + method: "post", + data + }, + loadingObj ); } @@ -2047,13 +2062,13 @@ export function getWarehouseSaveNewQuestDetail(data, loadingObj={}) { * 获取托盘盘点任务列表零担 * @param {Object} data */ -export function getallocationDetailByZeroWaList(data, loadingObj={}) { +export function getallocationDetailByZeroWaList(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/WarehouseTask/allocationDetailByZero`, - method: "get", - data - }, - loadingObj + url: `logpm-warehouse/api/WarehouseTask/allocationDetailByZero`, + method: "get", + data + }, + loadingObj ); } @@ -2061,13 +2076,13 @@ export function getallocationDetailByZeroWaList(data, loadingObj={}) { * 获取托盘盘点任务列表库存品 * @param {Object} data */ -export function getallocationDetailByStockList(data, loadingObj={}) { +export function getallocationDetailByStockList(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/WarehouseTask/allocationDetailByStock`, - method: "get", - data - }, - loadingObj + url: `logpm-warehouse/api/WarehouseTask/allocationDetailByStock`, + method: "get", + data + }, + loadingObj ); } @@ -2077,13 +2092,13 @@ export function getallocationDetailByStockList(data, loadingObj={}) { * 合同盘点 * @param {Object} data */ -export function postqueryContractList(data, loadingObj={}) { +export function postqueryContractList(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/WarehouseTask/queryContract`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/WarehouseTask/queryContract`, + method: "post", + data + }, + loadingObj ); } @@ -2091,13 +2106,13 @@ export function postqueryContractList(data, loadingObj={}) { * 模糊搜索物料 * @param {Object} data */ -export function postqueryfindMaterialList(data, loadingObj={}) { +export function postqueryfindMaterialList(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/WarehouseTask/findMaterialList`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/WarehouseTask/findMaterialList`, + method: "post", + data + }, + loadingObj ); } @@ -2105,13 +2120,13 @@ export function postqueryfindMaterialList(data, loadingObj={}) { * 上架 * @param {Object} data */ -export function postqueryupdateQuestDetailAllocation(data, loadingObj={}) { +export function postqueryupdateQuestDetailAllocation(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/WarehouseTask/updateQuestDetailAllocation`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/WarehouseTask/updateQuestDetailAllocation`, + method: "post", + data + }, + loadingObj ); } @@ -2119,13 +2134,13 @@ export function postqueryupdateQuestDetailAllocation(data, loadingObj={}) { * 盘点 -- 查看库位信息 * @param {Object} data */ -export function postWarehouseTaskQuestDetailAllocation(data, loadingObj={}) { +export function postWarehouseTaskQuestDetailAllocation(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/WarehouseTask/questScanAllcation`, - method: "get", - data - }, - loadingObj + url: `logpm-warehouse/api/WarehouseTask/questScanAllcation`, + method: "get", + data + }, + loadingObj ); } @@ -2133,13 +2148,13 @@ export function postWarehouseTaskQuestDetailAllocation(data, loadingObj={}) { * 盘点 -- 提交盘点 * @param {Object} data */ -export function postWarehouseTaskAddDataInfo(data, loadingObj={}) { +export function postWarehouseTaskAddDataInfo(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/WarehouseTask/addDataInfo`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/WarehouseTask/addDataInfo`, + method: "post", + data + }, + loadingObj ); } @@ -2148,13 +2163,13 @@ export function postWarehouseTaskAddDataInfo(data, loadingObj={}) { * 合同盘点详情信息 * @param {Object} data */ -export function pcontractQuestDetailList(data, loadingObj={}) { +export function pcontractQuestDetailList(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/WarehouseTask/contractQuestDetail`, - method: "get", - data - }, - loadingObj + url: `logpm-warehouse/api/WarehouseTask/contractQuestDetail`, + method: "get", + data + }, + loadingObj ); } @@ -2162,13 +2177,13 @@ export function pcontractQuestDetailList(data, loadingObj={}) { * 合同盘点页面初始化 * @param {Object} data */ -export function pgetContractList(data, loadingObj={}) { +export function pgetContractList(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/WarehouseTask/contractList`, - method: "get", - data - }, - loadingObj + url: `logpm-warehouse/api/WarehouseTask/contractList`, + method: "get", + data + }, + loadingObj ); } @@ -2176,13 +2191,13 @@ export function pgetContractList(data, loadingObj={}) { * 获取商城 * @param {Object} data */ -export function pgetgetMaterialName(data, loadingObj={}) { +export function pgetgetMaterialName(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/WarehouseTask/getMaterialName`, - method: "get", - data - }, - loadingObj + url: `logpm-warehouse/api/WarehouseTask/getMaterialName`, + method: "get", + data + }, + loadingObj ); } @@ -2190,13 +2205,13 @@ export function pgetgetMaterialName(data, loadingObj={}) { * 合同盘点页面初始化 * @param {Object} data */ -export function postWarehouseTaskSelectPackageInfo(data, loadingObj={}) { +export function postWarehouseTaskSelectPackageInfo(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/WarehouseTask/selectPackageInfo`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/WarehouseTask/selectPackageInfo`, + method: "post", + data + }, + loadingObj ); } @@ -2204,13 +2219,13 @@ export function postWarehouseTaskSelectPackageInfo(data, loadingObj={}) { * 滞留页面初始化 * @param {Object} data */ -export function $_initRetentionList(data, loadingObj={}) { +export function $_initRetentionList(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseRetention/initRetentionList`, - method: "get", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseRetention/initRetentionList`, + method: "get", + data + }, + loadingObj ); } @@ -2218,13 +2233,13 @@ export function $_initRetentionList(data, loadingObj={}) { * 滞留页面扫描数据 * @param {Object} data */ -export function $_retentionScan(data, loadingObj={}) { +export function $_retentionScan(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/delivery/retentionScan`, - method: "post", - data - }, - loadingObj + url: `logpm-distribution/app/delivery/retentionScan`, + method: "post", + data + }, + loadingObj ); } @@ -2232,26 +2247,26 @@ export function $_retentionScan(data, loadingObj={}) { * 滞留页面保存数据 * @param {Object} data */ -export function $_saveRetentionList(data, loadingObj={}) { +export function $_saveRetentionList(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseRetention/saveRetentionList`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseRetention/saveRetentionList`, + method: "post", + data + }, + loadingObj ); } /** * 滞留页面更新数据 * @param {Object} data */ -export function $_updateRetentionList(data, loadingObj={}) { +export function $_updateRetentionList(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseRetention/updateRetentionList`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseRetention/updateRetentionList`, + method: "post", + data + }, + loadingObj ); } @@ -2259,13 +2274,13 @@ export function $_updateRetentionList(data, loadingObj={}) { * 滞留页面托盘数据 * @param {Object} data */ -export function $_retentionTrayScan(data, loadingObj={}) { +export function $_retentionTrayScan(data, loadingObj = {}) { return request({ - url: `logpm-distribution/app/delivery/retentionTrayScan`, - method: "post", - data - }, - loadingObj + url: `logpm-distribution/app/delivery/retentionTrayScan`, + method: "post", + data + }, + loadingObj ); } @@ -2273,13 +2288,13 @@ export function $_retentionTrayScan(data, loadingObj={}) { * 配载列表 * @param {Object} data */ -export function postCarsLoadPageList(data, loadingObj={}) { +export function postCarsLoadPageList(data, loadingObj = {}) { return request({ - url: `logpm-trunkline/api/carsLoad/carsLoadPageList`, - method: "post", - data - }, - loadingObj + url: `logpm-trunkline/api/carsLoad/carsLoadPageList`, + method: "post", + data + }, + loadingObj ); } @@ -2287,13 +2302,13 @@ export function postCarsLoadPageList(data, loadingObj={}) { * 配载列表详情 * @param {Object} data */ -export function postFindCarsLoadingDetail(data, loadingObj={}) { +export function postFindCarsLoadingDetail(data, loadingObj = {}) { return request({ - url: `logpm-trunkline/api/carsLoad/findCarsLoadingDetail`, - method: "post", - data - }, - loadingObj + url: `logpm-trunkline/api/carsLoad/findCarsLoadingDetail`, + method: "post", + data + }, + loadingObj ); } @@ -2301,13 +2316,13 @@ export function postFindCarsLoadingDetail(data, loadingObj={}) { * 查询零担品类列表及数量 * @param {Object} data */ -export function postFindLoadScanWaybillDetailList(data, loadingObj={}) { +export function postFindLoadScanWaybillDetailList(data, loadingObj = {}) { return request({ - url: `logpm-trunkline/api/carsLoad/findLoadScanWaybillDetailList`, - method: "post", - data - }, - loadingObj + url: `logpm-trunkline/api/carsLoad/findLoadScanWaybillDetailList`, + method: "post", + data + }, + loadingObj ); } @@ -2315,13 +2330,13 @@ export function postFindLoadScanWaybillDetailList(data, loadingObj={}) { * 查询定制品和零担详情 * @param {Object} data */ -export function postFindCarsLoadingOrderDetail(data, loadingObj={}) { +export function postFindCarsLoadingOrderDetail(data, loadingObj = {}) { return request({ - url: `logpm-trunkline/api/carsLoad/findCarsLoadingOrderDetail`, - method: "post", - data - }, - loadingObj + url: `logpm-trunkline/api/carsLoad/findCarsLoadingOrderDetail`, + method: "post", + data + }, + loadingObj ); } @@ -2329,13 +2344,13 @@ export function postFindCarsLoadingOrderDetail(data, loadingObj={}) { * 按件装车扫描 -- 包件 * @param {Object} data */ -export function postLoadingScan(data, loadingObj={}) { +export function postLoadingScan(data, loadingObj = {}) { return request({ - url: `logpm-trunkline/api/carsLoad/loadingScan`, - method: "post", - data - }, - loadingObj + url: `logpm-trunkline/api/carsLoad/loadingScan`, + method: "post", + data + }, + loadingObj ); } @@ -2343,13 +2358,13 @@ export function postLoadingScan(data, loadingObj={}) { * 按件装车扫描 -- 托盘 * @param {Object} data */ -export function postLoadingTrayInfo(data, loadingObj={}) { +export function postLoadingTrayInfo(data, loadingObj = {}) { return request({ - url: `logpm-trunkline/api/carsLoad/loadingTrayInfo`, - method: "post", - data - }, - loadingObj + url: `logpm-trunkline/api/carsLoad/loadingTrayInfo`, + method: "post", + data + }, + loadingObj ); } @@ -2357,13 +2372,13 @@ export function postLoadingTrayInfo(data, loadingObj={}) { * 按件装车删除 * @param {Object} data */ -export function postRemoveCarsLoadScan(data, loadingObj={}) { +export function postRemoveCarsLoadScan(data, loadingObj = {}) { return request({ - url: `logpm-trunkline/api/carsLoad/removeCarsLoadScan`, - method: "post", - data - }, - loadingObj + url: `logpm-trunkline/api/carsLoad/removeCarsLoadScan`, + method: "post", + data + }, + loadingObj ); } @@ -2371,13 +2386,13 @@ export function postRemoveCarsLoadScan(data, loadingObj={}) { * 零担装车 * @param {Object} data */ -export function postLoadingZero(data, loadingObj={}) { +export function postLoadingZero(data, loadingObj = {}) { return request({ - url: `logpm-trunkline/api/carsLoad/loadingZero`, - method: "post", - data - }, - loadingObj + url: `logpm-trunkline/api/carsLoad/loadingZero`, + method: "post", + data + }, + loadingObj ); } @@ -2385,13 +2400,13 @@ export function postLoadingZero(data, loadingObj={}) { * 配载整托装车 * @param {Object} data */ -export function postLoadingTray(data, loadingObj={}) { +export function postLoadingTray(data, loadingObj = {}) { return request({ - url: `logpm-trunkline/api/carsLoad/loadingTray`, - method: "post", - data - }, - loadingObj + url: `logpm-trunkline/api/carsLoad/loadingTray`, + method: "post", + data + }, + loadingObj ); } @@ -2399,13 +2414,13 @@ export function postLoadingTray(data, loadingObj={}) { * 到车列表 * @param {Object} data */ -export function postArriveUnloadPageList(data, loadingObj={}) { +export function postArriveUnloadPageList(data, loadingObj = {}) { return request({ - url: `logpm-trunkline/api/carsLoad/arriveUnloadPageList`, - method: "post", - data - }, - loadingObj + url: `logpm-trunkline/api/carsLoad/arriveUnloadPageList`, + method: "post", + data + }, + loadingObj ); } @@ -2413,13 +2428,13 @@ export function postArriveUnloadPageList(data, loadingObj={}) { * 到车列表 * @param {Object} data */ -export function postArriveUnloadCarsDetail(data, loadingObj={}) { +export function postArriveUnloadCarsDetail(data, loadingObj = {}) { return request({ - url: `logpm-trunkline/api/carsLoad/unloadCarsDetail`, - method: "post", - data - }, - loadingObj + url: `logpm-trunkline/api/carsLoad/unloadCarsDetail`, + method: "post", + data + }, + loadingObj ); } @@ -2427,13 +2442,13 @@ export function postArriveUnloadCarsDetail(data, loadingObj={}) { * 包件卸车扫描 * @param {Object} data */ -export function postCarsLoadUnloadPackage(data, loadingObj={}) { +export function postCarsLoadUnloadPackage(data, loadingObj = {}) { return request({ - url: `logpm-trunkline/api/carsLoad/unloadPackage`, - method: "post", - data - }, - loadingObj + url: `logpm-trunkline/api/carsLoad/unloadPackage`, + method: "post", + data + }, + loadingObj ); } @@ -2441,13 +2456,13 @@ export function postCarsLoadUnloadPackage(data, loadingObj={}) { * 零担卸车 * @param {Object} data */ -export function postCarsLoadUnloadZero(data, loadingObj={}) { +export function postCarsLoadUnloadZero(data, loadingObj = {}) { return request({ - url: `logpm-trunkline/api/carsLoad/unloadZero`, - method: "post", - data - }, - loadingObj + url: `logpm-trunkline/api/carsLoad/unloadZero`, + method: "post", + data + }, + loadingObj ); } @@ -2455,13 +2470,13 @@ export function postCarsLoadUnloadZero(data, loadingObj={}) { * 托盘中 整托到车数据 * @param {Object} data */ -export function postFindUnloadTrayGoodsList(data, loadingObj={}) { +export function postFindUnloadTrayGoodsList(data, loadingObj = {}) { return request({ - url: `logpm-trunkline/api/carsLoad/findUnloadTrayGoodsList`, - method: "post", - data - }, - loadingObj + url: `logpm-trunkline/api/carsLoad/findUnloadTrayGoodsList`, + method: "post", + data + }, + loadingObj ); } @@ -2469,13 +2484,13 @@ export function postFindUnloadTrayGoodsList(data, loadingObj={}) { * 整托卸车 * @param {Object} data */ -export function postUnloadTray(data, loadingObj={}) { +export function postUnloadTray(data, loadingObj = {}) { return request({ - url: `logpm-trunkline/api/carsLoad/unloadTray`, - method: "post", - data - }, - loadingObj + url: `logpm-trunkline/api/carsLoad/unloadTray`, + method: "post", + data + }, + loadingObj ); } @@ -2483,13 +2498,13 @@ export function postUnloadTray(data, loadingObj={}) { * 查询同步托盘数据 * @param {Object} data */ -export function postFindSyncTrayData(data, loadingObj={}) { +export function postFindSyncTrayData(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseTrayType/findSyncTrayData`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseTrayType/findSyncTrayData`, + method: "post", + data + }, + loadingObj ); } @@ -2497,13 +2512,13 @@ export function postFindSyncTrayData(data, loadingObj={}) { * 获取老系统托盘数据 * @param {Object} data */ -export function postFindSyncOldTrayData(data, loadingObj={}) { +export function postFindSyncOldTrayData(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseTrayType/findSyncOldTrayData`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseTrayType/findSyncOldTrayData`, + method: "post", + data + }, + loadingObj ); } @@ -2511,12 +2526,12 @@ export function postFindSyncOldTrayData(data, loadingObj={}) { * 提交同步老系统托盘数据 * @param {Object} data */ -export function postSyncOldTrayData(data, loadingObj={}) { +export function postSyncOldTrayData(data, loadingObj = {}) { return request({ - url: `logpm-warehouse/api/warehouseTrayType/syncOldTrayData`, - method: "post", - data - }, - loadingObj + url: `logpm-warehouse/api/warehouseTrayType/syncOldTrayData`, + method: "post", + data + }, + loadingObj ); } \ No newline at end of file diff --git a/pages/index/index.vue b/pages/index/index.vue index dff2a54..2c92e88 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -32,7 +32,16 @@ import { listtype } from '@/interfaces/home/index' // import Tabber from '@/compoment/Tabber/Tabber.vue' import { inject, reactive, toRefs, watchEffect, ref } from "vue"; - import utils from '../../utils/utils'; + import utils from '@/utils/utils'; + import useStorageStore from '@/store/useStorageStore'; + import { storeToRefs } from 'pinia'; + const storageStore = useStorageStore() + const { HANDLE_GETSTORAGEINFO } = storageStore + const { storageArr } = storeToRefs(storageStore) + + // 初始化请求本仓库位信息 + HANDLE_GETSTORAGEINFO() + const tip = ref(null) // let details = reactive({ tablist: [] }); let details = reactive({ @@ -340,9 +349,12 @@ // #endif init() + + // 获取按钮权限 initbuts() - // print() + // 获取本仓库位信息 + if (storageArr.value.length === 0) HANDLE_GETSTORAGEINFO() }) onLoad(() => { diff --git a/pages/login/login.vue b/pages/login/login.vue index 6e7f3fd..0af634f 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -72,6 +72,8 @@ // 引入pinia仓库 import { useUserStore } from '@/store/uaeUserStore'; import useBluetoothStore from '@/store/useBluetoothStore.js'; + import useStorageStore from '@/store/useStorageStore'; + const { HANDLE_CLEARSTORAGE } = useStorageStore() const { HANDLE_INITBLUETOOTH } = useBluetoothStore() // import { storeToRefs } from 'pinia'; const userStore = useUserStore() @@ -105,6 +107,8 @@ }) onShow(() => { const timer = setTimeout(() => { + // 清除Pinia中存储的本仓库位信息 + HANDLE_CLEARSTORAGE() settips() clearTimeout(timer) }, 2000) diff --git a/pagesHome/pages/DownGoods/DownGoods.vue b/pagesHome/pages/DownGoods/DownGoods.vue index 2408a2d..44e74a7 100644 --- a/pagesHome/pages/DownGoods/DownGoods.vue +++ b/pagesHome/pages/DownGoods/DownGoods.vue @@ -294,9 +294,12 @@ import utils from '@/utils/utils'; import useSystemSettingsStore from '@/store/useSystemSettingsStore'; import { storeToRefs } from 'pinia'; + const { scanState } = storeToRefs(useSystemSettingsStore()) + const tiplists = ref(null) const tip = ref(null) + const details = reactive({ scantype: 1, scancode: '', @@ -423,7 +426,7 @@ details.scandataList.push(_scancode) try { uni.showLoading({ - mask:true + mask: true }) let res = null let data = null; diff --git a/pagesHome/pages/PeopleScanUp/PeopleScanUp.vue b/pagesHome/pages/PeopleScanUp/PeopleScanUp.vue index 380d7ba..714e3bf 100644 --- a/pagesHome/pages/PeopleScanUp/PeopleScanUp.vue +++ b/pagesHome/pages/PeopleScanUp/PeopleScanUp.vue @@ -358,12 +358,18 @@ onPullDownRefresh } from '@dcloudio/uni-app' import { reactive, ref, toRefs, watchEffect } from "vue"; - import utils from '../../../utils/utils'; + import utils from '@/utils/utils'; import useSystemSettingsStore from '@/store/useSystemSettingsStore'; + import useStorageStore from '@/store/useStorageStore.js'; import { storeToRefs } from 'pinia'; + const { scanState } = storeToRefs(useSystemSettingsStore()) + const { HANDLE_ISSTORAGECODE } = useStorageStore() + + // 组件实例 const tip = ref(null) const tiplists = ref(null) + let details = reactive({ checkstate: 1, upshelfScanType: '', @@ -562,7 +568,8 @@ // if (Number(details.upshelfScanType) == 1 || Number(details.upshelfScanType) == 2) { // } - if (details.scancode[0] === 'T') { + const { scancode } = details + if (!HANDLE_ISSTORAGECODE(scancode)) { uni.showToast({ title: '请扫描库位码', icon: 'none' @@ -572,8 +579,9 @@ // #endif return } + let data = { - allocationId: details.scancode, + allocationId: scancode, } let res = await warehouseUpdownTypeupShelfScanAllocation(data) console.log(res); diff --git a/pagesHome/pages/Relocation/Relocation.vue b/pagesHome/pages/Relocation/Relocation.vue index c5cd957..0efaf3a 100644 --- a/pagesHome/pages/Relocation/Relocation.vue +++ b/pagesHome/pages/Relocation/Relocation.vue @@ -272,8 +272,15 @@ import utils from '@/utils/utils'; import useSystemSettingsStore from '@/store/useSystemSettingsStore'; import { storeToRefs } from 'pinia'; + import useStorageStore from '@/store/useStorageStore'; + + const { HANDLE_ISSTORAGECODE } = useStorageStore() + const { scanState } = storeToRefs(useSystemSettingsStore()) + + // 组件实例 const tip = ref(null) + let details = reactive({ scancode: '', pagetype: '', @@ -287,11 +294,13 @@ // 当前正在请求的包条码 scancodeList: [] }) + onLoad((op) => { details.pagetype = op.type utils.ttsspke(`当前移库方式为${op.pageName}, 请先扫描库位码`) }) + onShow(() => { // #ifdef APP uni.$off('scancodedate') @@ -347,44 +356,37 @@ }) console.log(details.codenumer); }) - async function scandata() { - let res = null - // 先扫库位码, 后扫描托盘码 - if (!details.allocationId) { - if (details.scancode[0] === 'T') { - uni.showToast({ - title: '请扫描库位码', - icon: 'none' - }) - // #ifdef APP - utils.ttsspke('请扫描库位码') - // #endif - return - } - let data = { - allocationId: details.scancode - } - res = await warehouseUpdownTypemoveAllocationScanTarget(data) - console.log('res1 :>> ', res); - if (res.code == 200) { - details.dtilobj = res.data - details.allocationId = res.data.allocationId - details.scancode = '' - if (details.pagetype === '1') { - if (details.dtilobj.trayCode) { - utils.ttsspke('该库位已绑托盘') - // 刷新页面 - return uni.startPullDownRefresh({}) - } - utils.ttsspke('扫描成功, 请扫描需要移动的托盘') + /** 扫描库位 */ + const scanStorage = async (scancode : string) => { + let data = { + allocationId: scancode + } + const res = await warehouseUpdownTypemoveAllocationScanTarget(data) + console.log('res1 :>> ', res); + if (res.code == 200) { + details.dtilobj = res.data + details.allocationId = res.data.allocationId + details.scancode = '' + if (details.pagetype === '1') { + if (details.dtilobj.trayCode) { + utils.ttsspke('该库位已绑托盘') + // 刷新页面 + return uni.startPullDownRefresh({}) } - else if (details.pagetype === '2') utils.ttsspke('扫描成功, 请扫描需要移动的包条') + + utils.ttsspke('扫描成功, 请扫描需要移动的托盘') } - return + else if (details.pagetype === '2') utils.ttsspke('扫描成功, 请扫描需要移动的包条') } + } + + /** 扫描库位 */ + const scanOther = async (scancode : string) => { + let res = null + // 检测是否重复请求 - if (details.scancodeList.includes(details.scancode)) { + if (details.scancodeList.includes(scancode)) { // #ifdef APP utils.ttsspke('重复扫描') // #endif @@ -394,17 +396,16 @@ }) return } - details.scancodeList.push(details.scancode) try { if (details.pagetype == '1') { let data = { - trayCode: details.scancode, + trayCode: scancode, } res = await warehouseUpdownTypemoveAllocationScanTrayCode(data) console.log('res :>> ', res); if (res.code !== 200) return - details.trayCode = details.scancode + details.trayCode = scancode details.scanlist = res.data.list // #ifdef APP utils.ttsspke('当前托盘' + details.scanlist.reduce((curr, item) => curr + item.shelfNum, 0) + '件') @@ -413,7 +414,7 @@ } else if (details.pagetype == '2') { let data = { allocationId: details.allocationId, - orderPackageCode: details.scancode, + orderPackageCode: scancode, } res = await warehouseUpdownTypemoveAllocationScanPackage(data) console.log('res :>> ', res); @@ -425,11 +426,20 @@ // #endif } } + details.scancodeList.push(scancode) } catch (err) { //TODO handle the exception console.log('err :>> ', err); } } + + async function scandata() { + const { scancode } = details + + if (HANDLE_ISSTORAGECODE(scancode)) return scanStorage(scancode) + else scanOther(scancode) + + } async function uplist() { let res = null uni.showLoading({ @@ -506,7 +516,7 @@ } = toRefs(details) -