|
|
|
@ -1712,7 +1712,7 @@ if (uni.restoreGlobal) {
|
|
|
|
|
}; |
|
|
|
|
}; |
|
|
|
|
const base64 = new Base64(); |
|
|
|
|
const devhost = "http://192.168.10.48:13000/"; |
|
|
|
|
const devhost = "http://192.168.10.25:13000/"; |
|
|
|
|
const imghost = ""; |
|
|
|
|
const host = devhost; |
|
|
|
|
const APPKEY = "h5u:h5u_secret"; |
|
|
|
@ -7738,7 +7738,156 @@ This will fail in production if not fixed.`);
|
|
|
|
|
__name: "index", |
|
|
|
|
setup(__props) { |
|
|
|
|
const tip = vue.ref(null); |
|
|
|
|
let details = vue.reactive({ tablist: [] }); |
|
|
|
|
let details = vue.reactive({ |
|
|
|
|
tablist: [ |
|
|
|
|
{ |
|
|
|
|
type: 1, |
|
|
|
|
name: "工作台", |
|
|
|
|
minilist: [ |
|
|
|
|
{ |
|
|
|
|
icon: "http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png", |
|
|
|
|
name: "订单查询", |
|
|
|
|
router: "/pagesHome/pages/orderInquiry/orderInquiry" |
|
|
|
|
} |
|
|
|
|
] |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
type: 1, |
|
|
|
|
name: "入库", |
|
|
|
|
minilist: [ |
|
|
|
|
{ |
|
|
|
|
icon: "http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png", |
|
|
|
|
name: "码板打托", |
|
|
|
|
router: "/pagesHome/pages/codePlateBracket/codePlateBracket" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
icon: "http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png", |
|
|
|
|
name: "入库扫描", |
|
|
|
|
router: "/pagesHome/pages/orderInquiry/orderInquiry" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
icon: "http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png", |
|
|
|
|
name: "到车入库", |
|
|
|
|
router: "/pagesHome/pages/ArrivalList/ArrivalList" |
|
|
|
|
} |
|
|
|
|
] |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
type: 1, |
|
|
|
|
name: "库内", |
|
|
|
|
minilist: [ |
|
|
|
|
{ |
|
|
|
|
icon: "http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png", |
|
|
|
|
name: "分拣打托", |
|
|
|
|
router: "/pagesHome/pages/scansorting/scansorting" |
|
|
|
|
}, |
|
|
|
|
// {
|
|
|
|
|
// icon: 'http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png',
|
|
|
|
|
// name: '订单分拣',
|
|
|
|
|
// router: '/pagesHome/pages/ordersorting/ordersorting',
|
|
|
|
|
// },
|
|
|
|
|
// {
|
|
|
|
|
// icon: 'http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png',
|
|
|
|
|
// name: '库存品分拣',
|
|
|
|
|
// router: '/pagesHome/pages/lnventorysorting/lnventorysorting',
|
|
|
|
|
// },
|
|
|
|
|
{ |
|
|
|
|
icon: "http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png", |
|
|
|
|
name: "扫码上架", |
|
|
|
|
router: "/pagesHome/pages/ScanUpType/ScanUpType" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
icon: "http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png", |
|
|
|
|
name: "手动上架", |
|
|
|
|
router: "/pagesHome/pages/PeopleScanUpType/PeopleScanUpType" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
icon: "http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png", |
|
|
|
|
name: "移库", |
|
|
|
|
router: "/pagesHome/pages/RelocationType/RelocationType" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
icon: "http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png", |
|
|
|
|
name: "滞留", |
|
|
|
|
router: "/pagesHome/pages/Retention/Retention" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
icon: "http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png", |
|
|
|
|
name: "合托", |
|
|
|
|
router: "/pagesHome/pages/MergeTray/MergeTray" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
icon: "http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png", |
|
|
|
|
name: "下架", |
|
|
|
|
router: "/pagesHome/pages/DownGoodsType/DownGoodsType" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
icon: "http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png", |
|
|
|
|
name: "空置托盘", |
|
|
|
|
router: "/pagesHome/pages/RemoveTray/RemoveTray" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
icon: "http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png", |
|
|
|
|
name: "复核", |
|
|
|
|
router: "/pagesHome/pages/Check/Check" |
|
|
|
|
} |
|
|
|
|
] |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
type: 1, |
|
|
|
|
name: "出库", |
|
|
|
|
minilist: [ |
|
|
|
|
{ |
|
|
|
|
icon: "http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png", |
|
|
|
|
name: "拣货扫描", |
|
|
|
|
router: "/pagesHome/pages/pickingScan/pickingScan" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
icon: "http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png", |
|
|
|
|
name: "自提扫描", |
|
|
|
|
router: "/pagesHome/pages/SelfPickupScan/SelfPickupScan" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
icon: "http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png", |
|
|
|
|
name: "配载装车", |
|
|
|
|
router: "/pagesHome/pages/StowageList/StowageList" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
icon: "http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png", |
|
|
|
|
name: "中转装车", |
|
|
|
|
router: "/pagesHome/pages/RelayScanList/RelayScanList" |
|
|
|
|
} |
|
|
|
|
] |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
type: 1, |
|
|
|
|
name: "配送", |
|
|
|
|
minilist: [ |
|
|
|
|
{ |
|
|
|
|
icon: "http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png", |
|
|
|
|
name: "装车扫描", |
|
|
|
|
router: "/pagesHome/pages/LoadingScan/LoadingScan" |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
icon: "http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png", |
|
|
|
|
name: "签收扫描", |
|
|
|
|
router: "/pagesHome/pages/signinScan/signinScan" |
|
|
|
|
} |
|
|
|
|
] |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
type: 1, |
|
|
|
|
name: "离线上传", |
|
|
|
|
minilist: [ |
|
|
|
|
{ |
|
|
|
|
icon: "http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png", |
|
|
|
|
name: "离线上传", |
|
|
|
|
router: "/pagesHome/pages/OfflineUpload/OfflineUpload" |
|
|
|
|
} |
|
|
|
|
] |
|
|
|
|
} |
|
|
|
|
] |
|
|
|
|
}); |
|
|
|
|
function gopathpage(path) { |
|
|
|
|
uni.navigateTo({ |
|
|
|
|
url: path |
|
|
|
@ -8027,9 +8176,11 @@ This will fail in production if not fixed.`);
|
|
|
|
|
uni.navigateTo({ |
|
|
|
|
url: "/pagesUser/pages/securitySettings/securitySettings" |
|
|
|
|
}); |
|
|
|
|
} else if (item.type == 5) |
|
|
|
|
; |
|
|
|
|
else if (item.type == 6) { |
|
|
|
|
} else if (item.type == 5) { |
|
|
|
|
uni.navigateTo({ |
|
|
|
|
url: "/pagesUser/pages/about/about" |
|
|
|
|
}); |
|
|
|
|
} else if (item.type == 6) { |
|
|
|
|
updateApp(); |
|
|
|
|
} else if (item.type == 8) { |
|
|
|
|
gologin(); |
|
|
|
@ -13862,7 +14013,7 @@ This will fail in production if not fixed.`);
|
|
|
|
|
uni.$off("scancodedate"); |
|
|
|
|
uni.$on("scancodedate", function(code2) { |
|
|
|
|
if (code2) { |
|
|
|
|
formatAppLog("log", "at pagesHome/pages/VehicleArrivalDetails/VehicleArrivalDetails.vue:368", "code", code2); |
|
|
|
|
formatAppLog("log", "at pagesHome/pages/VehicleArrivalDetails/VehicleArrivalDetails.vue:370", "code", code2); |
|
|
|
|
details.scancode = code2; |
|
|
|
|
details.isscan = true; |
|
|
|
|
scandata(); |
|
|
|
@ -13897,7 +14048,7 @@ This will fail in production if not fixed.`);
|
|
|
|
|
loadId: details.loadId |
|
|
|
|
}); |
|
|
|
|
const { code: code2, data } = response; |
|
|
|
|
formatAppLog("log", "at pagesHome/pages/VehicleArrivalDetails/VehicleArrivalDetails.vue:412", "response :>> ", response); |
|
|
|
|
formatAppLog("log", "at pagesHome/pages/VehicleArrivalDetails/VehicleArrivalDetails.vue:414", "response :>> ", response); |
|
|
|
|
if (code2 === 200) { |
|
|
|
|
details.pageInfo = data; |
|
|
|
|
details.datalist = details.orderStatus === 1 ? details.pageInfo.unloadScanOrderList : details.orderStatus === 2 ? details.pageInfo.unloadZeroList : details.pageInfo.exceptionList; |
|
|
|
@ -13911,8 +14062,9 @@ This will fail in production if not fixed.`);
|
|
|
|
|
try { |
|
|
|
|
const res = await initPageByOrder(); |
|
|
|
|
} catch (err) { |
|
|
|
|
formatAppLog("log", "at pagesHome/pages/VehicleArrivalDetails/VehicleArrivalDetails.vue:435", "err :>> ", err); |
|
|
|
|
formatAppLog("log", "at pagesHome/pages/VehicleArrivalDetails/VehicleArrivalDetails.vue:437", "err :>> ", err); |
|
|
|
|
} finally { |
|
|
|
|
formatAppLog("log", "at pagesHome/pages/VehicleArrivalDetails/VehicleArrivalDetails.vue:440", "details.datalist :>> ", details.datalist); |
|
|
|
|
return null; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -13921,7 +14073,7 @@ This will fail in production if not fixed.`);
|
|
|
|
|
return; |
|
|
|
|
details.orderStatus = state; |
|
|
|
|
details.datalist = details.orderStatus === 1 ? details.pageInfo.unloadScanOrderList : details.orderStatus === 2 ? details.pageInfo.unloadZeroList : details.pageInfo.exceptionList; |
|
|
|
|
formatAppLog("log", "at pagesHome/pages/VehicleArrivalDetails/VehicleArrivalDetails.vue:468", "details.datalist :>> ", details.datalist); |
|
|
|
|
formatAppLog("log", "at pagesHome/pages/VehicleArrivalDetails/VehicleArrivalDetails.vue:477", "details.datalist :>> ", details.datalist); |
|
|
|
|
} |
|
|
|
|
const handleOrderStowage = async (_scanCode) => { |
|
|
|
|
try { |
|
|
|
@ -13935,7 +14087,7 @@ This will fail in production if not fixed.`);
|
|
|
|
|
const res = await postCarsLoadUnloadPackage(submitData); |
|
|
|
|
return res; |
|
|
|
|
} catch (err) { |
|
|
|
|
formatAppLog("log", "at pagesHome/pages/VehicleArrivalDetails/VehicleArrivalDetails.vue:485", "err :>> ", err); |
|
|
|
|
formatAppLog("log", "at pagesHome/pages/VehicleArrivalDetails/VehicleArrivalDetails.vue:494", "err :>> ", err); |
|
|
|
|
} finally { |
|
|
|
|
uni.hideLoading(); |
|
|
|
|
basicContainer.value.startPullDownRefresh(); |
|
|
|
@ -13987,7 +14139,7 @@ This will fail in production if not fixed.`);
|
|
|
|
|
const res = await postCarsLoadUnloadPackage(submitData); |
|
|
|
|
return res; |
|
|
|
|
} catch (err) { |
|
|
|
|
formatAppLog("log", "at pagesHome/pages/VehicleArrivalDetails/VehicleArrivalDetails.vue:553", "err :>> ", err); |
|
|
|
|
formatAppLog("log", "at pagesHome/pages/VehicleArrivalDetails/VehicleArrivalDetails.vue:562", "err :>> ", err); |
|
|
|
|
} finally { |
|
|
|
|
OrderStowage.value.details.showPopUp = false; |
|
|
|
|
basicContainer.value.startPullDownRefresh(); |
|
|
|
@ -14080,7 +14232,7 @@ This will fail in production if not fixed.`);
|
|
|
|
|
title: "零担卸车", |
|
|
|
|
showPopUp: true, |
|
|
|
|
success() { |
|
|
|
|
formatAppLog("log", "at pagesHome/pages/VehicleArrivalDetails/VehicleArrivalDetails.vue:670", "details.zeroInfo :>> ", details.zeroInfo); |
|
|
|
|
formatAppLog("log", "at pagesHome/pages/VehicleArrivalDetails/VehicleArrivalDetails.vue:679", "details.zeroInfo :>> ", details.zeroInfo); |
|
|
|
|
const submitData = { |
|
|
|
|
loadId: details.loadId, |
|
|
|
|
waybillNo: details.zeroInfo.waybillNo, |
|
|
|
@ -14311,6 +14463,7 @@ This will fail in production if not fixed.`);
|
|
|
|
|
ref_for: true, |
|
|
|
|
ref: item.orderCode |
|
|
|
|
}, [ |
|
|
|
|
vue.createTextVNode(" 11 "), |
|
|
|
|
Number(vue.unref(orderStatus)) !== 3 ? (vue.openBlock(), vue.createBlock( |
|
|
|
|
_component_PullDownBox, |
|
|
|
|
{ key: 0 }, |
|
|
|
@ -42040,13 +42193,6 @@ This will fail in production if not fixed.`);
|
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
const handleMaterialReplenishment = () => { |
|
|
|
|
const idsArr = []; |
|
|
|
|
packageList.value.forEach((item) => { |
|
|
|
|
if (item.isChecked) |
|
|
|
|
idsArr.push(item.id); |
|
|
|
|
}); |
|
|
|
|
}; |
|
|
|
|
return (_ctx, _cache) => { |
|
|
|
|
const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4); |
|
|
|
|
const _component_u_checkbox = resolveEasycom(vue.resolveDynamicComponent("u-checkbox"), __easycom_1); |
|
|
|
@ -42274,10 +42420,7 @@ This will fail in production if not fixed.`);
|
|
|
|
|
class: "batchOperationBtn", |
|
|
|
|
onClick: batchPrint |
|
|
|
|
}, "打印"), |
|
|
|
|
vue.createElementVNode("view", { |
|
|
|
|
class: "batchOperationBtn", |
|
|
|
|
onClick: handleMaterialReplenishment |
|
|
|
|
}, "物料补充") |
|
|
|
|
vue.createCommentVNode(' <view class="batchOperationBtn" @click="handleMaterialReplenishment">物料补充</view> ') |
|
|
|
|
])), |
|
|
|
|
vue.createVNode(_component_u_checkbox_group, { |
|
|
|
|
modelValue: vue.unref(checkboxValue), |
|
|
|
|