|
|
|
@ -1747,7 +1747,7 @@ if (uni.restoreGlobal) {
|
|
|
|
|
}; |
|
|
|
|
}; |
|
|
|
|
const Base64$1 = new Base64(); |
|
|
|
|
const devhost = "http://192.168.10.200:13000/"; |
|
|
|
|
const devhost = "http://192.168.10.57:13000/"; |
|
|
|
|
const imghost = ""; |
|
|
|
|
const host = devhost; |
|
|
|
|
const APPKEY = "h5u:h5u_secret"; |
|
|
|
@ -20845,6 +20845,8 @@ This will fail in production if not fixed.`);
|
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
async function scandata() { |
|
|
|
|
if (Number(details.planNum) === Number(details.scanNum)) |
|
|
|
|
return utils.handleToast("该客户已齐套"); |
|
|
|
|
if (Number(details.status) !== 0) |
|
|
|
|
return; |
|
|
|
|
let data = { |
|
|
|
@ -20858,7 +20860,7 @@ This will fail in production if not fixed.`);
|
|
|
|
|
typeService: details.typeService |
|
|
|
|
}; |
|
|
|
|
let res = await distributionStockupstockupScan(data); |
|
|
|
|
formatAppLog("log", "at pagesHome/pages/StockUplistScandetails/StockUplistScandetails.vue:302", res); |
|
|
|
|
formatAppLog("log", "at pagesHome/pages/StockUplistScandetails/StockUplistScandetails.vue:304", res); |
|
|
|
|
if (res.code == 200) { |
|
|
|
|
details.isscan = true; |
|
|
|
|
basicContainer.value.startPullDownRefresh(); |
|
|
|
@ -20883,7 +20885,7 @@ This will fail in production if not fixed.`);
|
|
|
|
|
let response = await distributionStockuporderInfo(data); |
|
|
|
|
if (response.code !== 200) |
|
|
|
|
return; |
|
|
|
|
formatAppLog("log", "at pagesHome/pages/StockUplistScandetails/StockUplistScandetails.vue:327", response); |
|
|
|
|
formatAppLog("log", "at pagesHome/pages/StockUplistScandetails/StockUplistScandetails.vue:329", response); |
|
|
|
|
details.dataList = response.data.packageList; |
|
|
|
|
details.customer = response.data.customer; |
|
|
|
|
details.stockupArea = response.data.stockupArea; |
|
|
|
@ -20893,7 +20895,7 @@ This will fail in production if not fixed.`);
|
|
|
|
|
details.warehouseArea = response.data.warehouseArea; |
|
|
|
|
details.address = response.data.address; |
|
|
|
|
if (Number(details.scanNum) > 0 && details.isscan) { |
|
|
|
|
utils.ttsspke("扫描" + details.scanNum + "件"); |
|
|
|
|
utils.ttsspke(details.scanNum + "件"); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
const { dataList } = vue.toRefs(details); |
|
|
|
@ -26278,7 +26280,7 @@ This will fail in production if not fixed.`);
|
|
|
|
|
uni.$off("scancodedate"); |
|
|
|
|
uni.$on("scancodedate", function(code2) { |
|
|
|
|
if (code2) { |
|
|
|
|
formatAppLog("log", "at pagesHome/pages/signOrderScan/signOrderScan.vue:255", code2); |
|
|
|
|
formatAppLog("log", "at pagesHome/pages/signOrderScan/signOrderScan.vue:256", code2); |
|
|
|
|
details.scancode = code2; |
|
|
|
|
scandata(); |
|
|
|
|
} |
|
|
|
@ -26314,8 +26316,8 @@ This will fail in production if not fixed.`);
|
|
|
|
|
return; |
|
|
|
|
if (response1.data) |
|
|
|
|
details.stockArr = response1.data.records || []; |
|
|
|
|
formatAppLog("log", "at pagesHome/pages/signOrderScan/signOrderScan.vue:296", "response :>> ", response); |
|
|
|
|
formatAppLog("log", "at pagesHome/pages/signOrderScan/signOrderScan.vue:297", "response1 :>> ", response1); |
|
|
|
|
formatAppLog("log", "at pagesHome/pages/signOrderScan/signOrderScan.vue:297", "response :>> ", response); |
|
|
|
|
formatAppLog("log", "at pagesHome/pages/signOrderScan/signOrderScan.vue:298", "response1 :>> ", response1); |
|
|
|
|
if (details.orderStatus === 1) |
|
|
|
|
details.datalist = details.orderArr; |
|
|
|
|
else if (details.orderStatus === 2) |
|
|
|
@ -26323,13 +26325,13 @@ This will fail in production if not fixed.`);
|
|
|
|
|
else |
|
|
|
|
details.datalist = details.stockArr; |
|
|
|
|
} catch (err) { |
|
|
|
|
formatAppLog("log", "at pagesHome/pages/signOrderScan/signOrderScan.vue:305", "err :>> ", err); |
|
|
|
|
formatAppLog("log", "at pagesHome/pages/signOrderScan/signOrderScan.vue:306", "err :>> ", err); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
vue.onMounted(async () => { |
|
|
|
|
await vue.nextTick(); |
|
|
|
|
utils2.getViewDistanceFormTop(".scve").then((res) => { |
|
|
|
|
formatAppLog("log", "at pagesHome/pages/signOrderScan/signOrderScan.vue:317", "res :>> ", res); |
|
|
|
|
formatAppLog("log", "at pagesHome/pages/signOrderScan/signOrderScan.vue:318", "res :>> ", res); |
|
|
|
|
details.scrollHeight = res; |
|
|
|
|
}); |
|
|
|
|
}); |
|
|
|
@ -26346,6 +26348,7 @@ This will fail in production if not fixed.`);
|
|
|
|
|
}, 500); |
|
|
|
|
}); |
|
|
|
|
async function scandata() { |
|
|
|
|
details.listcheckindex = -1; |
|
|
|
|
let data = { |
|
|
|
|
barcode: details.scancode, |
|
|
|
|
deliveryId: details.deliveryId, |
|
|
|
@ -26353,7 +26356,7 @@ This will fail in production if not fixed.`);
|
|
|
|
|
}; |
|
|
|
|
if (Number(details.orderStatus) == 1) { |
|
|
|
|
let response = await signforsignfor(data); |
|
|
|
|
formatAppLog("log", "at pagesHome/pages/signOrderScan/signOrderScan.vue:346", response); |
|
|
|
|
formatAppLog("log", "at pagesHome/pages/signOrderScan/signOrderScan.vue:349", response); |
|
|
|
|
if (response.code === 200) |
|
|
|
|
; |
|
|
|
|
else if (response.code == 3006) { |
|
|
|
@ -26369,7 +26372,7 @@ This will fail in production if not fixed.`);
|
|
|
|
|
let response2 = await signforsignforcontinue(data2); |
|
|
|
|
if (response2.code !== 200) |
|
|
|
|
return; |
|
|
|
|
formatAppLog("log", "at pagesHome/pages/signOrderScan/signOrderScan.vue:365", response2); |
|
|
|
|
formatAppLog("log", "at pagesHome/pages/signOrderScan/signOrderScan.vue:368", response2); |
|
|
|
|
uni.showToast({ |
|
|
|
|
title: response2.msg, |
|
|
|
|
icon: "none" |
|
|
|
@ -26391,7 +26394,7 @@ This will fail in production if not fixed.`);
|
|
|
|
|
} |
|
|
|
|
} else if (Number(details.orderStatus) === 3) { |
|
|
|
|
let response = await signforsignforIn(data); |
|
|
|
|
formatAppLog("log", "at pagesHome/pages/signOrderScan/signOrderScan.vue:388", response); |
|
|
|
|
formatAppLog("log", "at pagesHome/pages/signOrderScan/signOrderScan.vue:391", response); |
|
|
|
|
if (response.code == 3006) { |
|
|
|
|
tip.value.setdetails({ |
|
|
|
|
isshow: true, |
|
|
|
@ -26403,7 +26406,7 @@ This will fail in production if not fixed.`);
|
|
|
|
|
reservationId: details.id |
|
|
|
|
}; |
|
|
|
|
let response2 = await signforsignforcontinue(data2); |
|
|
|
|
formatAppLog("log", "at pagesHome/pages/signOrderScan/signOrderScan.vue:400", response2); |
|
|
|
|
formatAppLog("log", "at pagesHome/pages/signOrderScan/signOrderScan.vue:403", response2); |
|
|
|
|
if (response2.code !== 200) |
|
|
|
|
return; |
|
|
|
|
uni.showToast({ |
|
|
|
@ -26486,7 +26489,7 @@ This will fail in production if not fixed.`);
|
|
|
|
|
if (value.isAbnormalLoading === 1) |
|
|
|
|
val.abnormalLoading += 1; |
|
|
|
|
}); |
|
|
|
|
formatAppLog("log", "at pagesHome/pages/signOrderScan/signOrderScan.vue:496", "val :>> ", val); |
|
|
|
|
formatAppLog("log", "at pagesHome/pages/signOrderScan/signOrderScan.vue:499", "val :>> ", val); |
|
|
|
|
details.orderArr.push(val); |
|
|
|
|
}); |
|
|
|
|
} else if (details.orderStatus == 3) { |
|
|
|
@ -26523,7 +26526,7 @@ This will fail in production if not fixed.`);
|
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
function checkphon(item, index2) { |
|
|
|
|
formatAppLog("log", "at pagesHome/pages/signOrderScan/signOrderScan.vue:537", "item :>> ", item); |
|
|
|
|
formatAppLog("log", "at pagesHome/pages/signOrderScan/signOrderScan.vue:540", "item :>> ", item); |
|
|
|
|
if (item.isZero === "1") { |
|
|
|
|
const inpList = item.distributionParcelNumberVOS.map((val) => { |
|
|
|
|
return { |
|
|
|
@ -26565,7 +26568,7 @@ This will fail in production if not fixed.`);
|
|
|
|
|
parcelListDTOS: [] |
|
|
|
|
}; |
|
|
|
|
data.parcelListDTOS = deta.inpList.map((val) => { |
|
|
|
|
formatAppLog("log", "at pagesHome/pages/signOrderScan/signOrderScan.vue:581", "val :>> ", val); |
|
|
|
|
formatAppLog("log", "at pagesHome/pages/signOrderScan/signOrderScan.vue:584", "val :>> ", val); |
|
|
|
|
return { |
|
|
|
|
parcelListId: val.id, |
|
|
|
|
stockArticleId: val.stockArticleId, |
|
|
|
@ -26580,7 +26583,7 @@ This will fail in production if not fixed.`);
|
|
|
|
|
} |
|
|
|
|
initpage(); |
|
|
|
|
} catch (err) { |
|
|
|
|
formatAppLog("log", "at pagesHome/pages/signOrderScan/signOrderScan.vue:598", "err :>> ", err); |
|
|
|
|
formatAppLog("log", "at pagesHome/pages/signOrderScan/signOrderScan.vue:601", "err :>> ", err); |
|
|
|
|
} finally { |
|
|
|
|
uni.hideLoading(); |
|
|
|
|
tiplists.value.setdetails({ isshow: false }); |
|
|
|
@ -26918,23 +26921,19 @@ This will fail in production if not fixed.`);
|
|
|
|
|
class: vue.normalizeClass({ "active": Number(ite.isAbnormalLoading) === 1 || Number(ite.isAbnnormalSigning) === 1 }) |
|
|
|
|
}, { |
|
|
|
|
default: vue.withCtx(() => [ |
|
|
|
|
vue.createVNode( |
|
|
|
|
_component_uni_td, |
|
|
|
|
null, |
|
|
|
|
{ |
|
|
|
|
default: vue.withCtx(() => [ |
|
|
|
|
vue.createTextVNode( |
|
|
|
|
vue.toDisplayString(ite.orderPackageCode), |
|
|
|
|
1 |
|
|
|
|
/* TEXT */ |
|
|
|
|
) |
|
|
|
|
]), |
|
|
|
|
_: 2 |
|
|
|
|
/* DYNAMIC */ |
|
|
|
|
}, |
|
|
|
|
1024 |
|
|
|
|
/* DYNAMIC_SLOTS */ |
|
|
|
|
), |
|
|
|
|
vue.createVNode(_component_uni_td, { |
|
|
|
|
class: vue.normalizeClass({ "isScan": ite.orderPackageStatus === "70" }) |
|
|
|
|
}, { |
|
|
|
|
default: vue.withCtx(() => [ |
|
|
|
|
vue.createTextVNode( |
|
|
|
|
vue.toDisplayString(ite.orderPackageCode), |
|
|
|
|
1 |
|
|
|
|
/* TEXT */ |
|
|
|
|
) |
|
|
|
|
]), |
|
|
|
|
_: 2 |
|
|
|
|
/* DYNAMIC */ |
|
|
|
|
}, 1032, ["class"]), |
|
|
|
|
vue.createVNode( |
|
|
|
|
_component_uni_td, |
|
|
|
|
null, |
|
|
|
@ -32986,7 +32985,7 @@ This will fail in production if not fixed.`);
|
|
|
|
|
if (response.code !== 200) |
|
|
|
|
return; |
|
|
|
|
details.list = response.data.parcelList; |
|
|
|
|
details.detaobj = response.data; |
|
|
|
|
details.detaobj = response.data || []; |
|
|
|
|
let set2 = /* @__PURE__ */ new Set(); |
|
|
|
|
response.data.parcelList.map((item) => { |
|
|
|
|
set2.add(item.trayName); |
|
|
|
|