From fd401d5466856990ba58f36540d0ce34e62239b9 Mon Sep 17 00:00:00 2001
From: qb <1191961160@qq.com>
Date: Thu, 21 Dec 2023 10:10:34 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=83=A8=E5=88=86bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
compoment/BasicContainer/BasicContainer.vue | 7 +-
compoment/saomiao2.vue | 41 +-
config/host.js | 4 +-
manifest.json | 4 +-
.../DeliveryCustomerScan.vue | 52 +-
pagesHome/pages/SearchTray/SearchTray.vue | 21 +-
pagesHome/pages/orderInquiry/orderInquiry.vue | 79 +-
.../dynamicCheckDetails.vue | 16 +-
.../OrderSortingDetail/OrderSortingDetail.css | 2 +-
.../pages/PickingScanList/PickingScanList.css | 2 +-
unpackage/dist/dev/app-plus/app-service.js | 2141 ++++++++---------
unpackage/dist/dev/app-plus/app.css | 31 +-
unpackage/dist/dev/app-plus/manifest.json | 4 +-
utils/base64Log.js | 313 +++
utils/handleFile.js | 170 ++
utils/log.js | 205 ++
utils/request.js | 10 +-
17 files changed, 1873 insertions(+), 1229 deletions(-)
create mode 100644 utils/base64Log.js
create mode 100644 utils/handleFile.js
create mode 100644 utils/log.js
diff --git a/compoment/BasicContainer/BasicContainer.vue b/compoment/BasicContainer/BasicContainer.vue
index b876206..0313bb2 100644
--- a/compoment/BasicContainer/BasicContainer.vue
+++ b/compoment/BasicContainer/BasicContainer.vue
@@ -29,6 +29,7 @@
import {
onLoad,
+ onUnload,
onReachBottom,
onPullDownRefresh
} from '@dcloudio/uni-app'
@@ -67,6 +68,10 @@
// uni.startPullDownRefresh()
})
+ onUnload(() => {
+ uni.hideLoading()
+ })
+
// 添加防抖函数
let antiShake : any = null
// 触底加载
@@ -121,7 +126,7 @@
defineExpose({ startPullDownRefresh })
-
\ No newline at end of file
diff --git a/pagesTask/pages/dynamicCheckDetails/dynamicCheckDetails.vue b/pagesTask/pages/dynamicCheckDetails/dynamicCheckDetails.vue
index d7d6bf2..b248ba3 100644
--- a/pagesTask/pages/dynamicCheckDetails/dynamicCheckDetails.vue
+++ b/pagesTask/pages/dynamicCheckDetails/dynamicCheckDetails.vue
@@ -720,10 +720,10 @@
if (_flag || details.pageType === 3) return
try {
- uni.showLoading({
- title: '数据加载中',
- mask: true
- });
+ // uni.showLoading({
+ // title: '数据加载中',
+ // mask: true
+ // });
const queryData = {
code: details.scancode,
@@ -801,7 +801,11 @@
})
return
- } else if (code !== 4000) {
+ }
+ else if(code === 5001){
+ return
+ }
+ else if (code !== 4000) {
details.addInfo.orderCode = ''
details.stopScan = true
// 手动录入新增
@@ -855,7 +859,7 @@
console.log('err :>> ', err);
//TODO handle the exception
} finally {
- uni.hideLoading()
+ // uni.hideLoading()
}
}
diff --git a/unpackage/dist/build/app-plus/pagesHome/pages/OrderSortingDetail/OrderSortingDetail.css b/unpackage/dist/build/app-plus/pagesHome/pages/OrderSortingDetail/OrderSortingDetail.css
index 1eab990..d0f6e68 100644
--- a/unpackage/dist/build/app-plus/pagesHome/pages/OrderSortingDetail/OrderSortingDetail.css
+++ b/unpackage/dist/build/app-plus/pagesHome/pages/OrderSortingDetail/OrderSortingDetail.css
@@ -1 +1 @@
-.u-status-bar[data-v-31491727]{width:100%}uni-view[data-v-5c79ae5e],uni-scroll-view[data-v-5c79ae5e],uni-swiper-item[data-v-5c79ae5e]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}@font-face{font-family:uicon-iconfont;src:url(https://at.alicdn.com/t/font_2225171_8kdcwk4po24.ttf) format("truetype")}.u-icon[data-v-5c79ae5e]{display:flex;align-items:center}.u-icon--left[data-v-5c79ae5e]{flex-direction:row-reverse;align-items:center}.u-icon--right[data-v-5c79ae5e]{flex-direction:row;align-items:center}.u-icon--top[data-v-5c79ae5e]{flex-direction:column-reverse;justify-content:center}.u-icon--bottom[data-v-5c79ae5e]{flex-direction:column;justify-content:center}.u-icon__icon[data-v-5c79ae5e]{font-family:uicon-iconfont;position:relative;display:flex;flex-direction:row;align-items:center}.u-icon__icon--primary[data-v-5c79ae5e]{color:#3c9cff}.u-icon__icon--success[data-v-5c79ae5e]{color:#5ac725}.u-icon__icon--error[data-v-5c79ae5e]{color:#f56c6c}.u-icon__icon--warning[data-v-5c79ae5e]{color:#f9ae3d}.u-icon__icon--info[data-v-5c79ae5e]{color:#909399}.u-icon__img[data-v-5c79ae5e]{height:auto;will-change:transform}.u-icon__label[data-v-5c79ae5e]{line-height:1}uni-view[data-v-917ffc31],uni-scroll-view[data-v-917ffc31],uni-swiper-item[data-v-917ffc31]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-navbar--fixed[data-v-917ffc31]{position:fixed;left:0;right:0;top:0;z-index:11}.u-navbar__content[data-v-917ffc31]{display:flex;flex-direction:row;align-items:center;height:44px;background-color:#9acafc;position:relative;justify-content:center}.u-navbar__content__left[data-v-917ffc31],.u-navbar__content__right[data-v-917ffc31]{padding:0 13px;position:absolute;top:0;bottom:0;display:flex;flex-direction:row;align-items:center}.u-navbar__content__left[data-v-917ffc31]{left:0}.u-navbar__content__left--hover[data-v-917ffc31]{opacity:.7}.u-navbar__content__left__text[data-v-917ffc31]{font-size:15px;margin-left:3px}.u-navbar__content__title[data-v-917ffc31]{text-align:center;font-size:16px;color:#303133}.u-navbar__content__right[data-v-917ffc31]{right:0}.u-navbar__content__right__text[data-v-917ffc31]{font-size:15px;margin-left:3px}.mabxtop{position:relative;width:21.375rem;background:#FFFFFF;border-radius:.625rem;margin:auto;margin-top:.625rem;padding:1.875rem;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center}.mabxtop>uni-view{width:100%;display:flex;align-items:center;justify-content:space-between;margin-bottom:.3125rem}.mabxtop>uni-view:nth-last-child(1){margin-bottom:0}.mabxtop>uni-view>uni-view{display:flex;flex-direction:column;align-items:flex-start}.mabxtop>uni-view>uni-view:nth-of-type(1){width:60%}.mabxtop>uni-view>uni-view:nth-of-type(2){width:40%}.mabxtop>uni-view>uni-view>uni-view:nth-of-type(1){font-size:1rem;font-weight:400;color:#020b18;word-wrap:break-word;word-break:break-all}.mabxtop>uni-view>uni-view>uni-view:nth-of-type(2){font-size:.875rem;font-weight:400;color:#90a0af}.mabxtop .printBtn{background:#d3832a;color:#fff!important;width:3.125rem;padding:.3125rem;text-align:center;border-radius:.15625rem}.bgimg{position:fixed;left:0;top:0;width:100%}.scvmabx{width:21.375rem;height:45vh;margin:auto;margin-top:.625rem}.scvmabx .marketName{display:flex;margin-bottom:.625rem;align-items:center}.scvmabx .maxboxs{width:100%;display:flex;flex-direction:column;align-items:center}.scvmabx .maxboxs .chuanhuo{border:#ff0000}.scvmabx .maxboxs .weiqt,.scvmabx .maxboxs .qitao{position:absolute;right:0;top:0;width:2.1875rem;height:2.1875rem}.scvmabx .maxboxs>.items{width:21.5625rem;display:flex;flex-direction:column;align-items:center;padding:.625rem .9375rem;box-sizing:border-box;background-color:#fff;border-radius:.3125rem;margin-bottom:.9375rem;position:relative}.scvmabx .maxboxs>.items:nth-last-child(1){margin-bottom:.625rem}.scvmabx .maxboxs>.items .tophd{width:100%;display:flex;align-items:flex-start;justify-content:flex-start;padding:.9375rem .625rem .46875rem;box-sizing:border-box;border-bottom:.125rem solid #EEEEEE}.scvmabx .maxboxs>.items .tophd>uni-image{width:1.5rem;height:1.5rem;margin-right:.3125rem;box-sizing:border-box}.scvmabx .maxboxs>.items .tophd>uni-view{font-size:1rem;color:#020b18;font-weight:400;word-wrap:break-word;word-break:break-all}.scvmabx .maxboxs>.items .tophd>uni-view:nth-of-type(1){width:5.625rem}.scvmabx .maxboxs>.items .tophd>uni-view:nth-of-type(2){flex:1}.scvmabx .maxboxs>.items .tophd1{width:100%;display:flex;box-sizing:border-box;padding:.46875rem .625rem;border-bottom:.125rem solid #EEEEEE}.scvmabx .maxboxs>.items .tophd1>uni-view{display:flex;flex:1;align-items:center}.scvmabx .maxboxs>.items .tophd1 uni-image{width:2rem;height:2rem}.scvmabx .maxboxs>.items .numbxvie{width:100%;display:flex;align-items:center;justify-content:space-around;padding:.46875rem .78125rem;box-sizing:border-box}.scvmabx .maxboxs>.items .numbxvie .zhon{color:#d3832a}.scvmabx .maxboxs>.items .numbxvie .yish{color:#1197eb}.scvmabx .maxboxs>.items .numbxvie .weish{color:#020b18}.scvmabx .maxboxs>.items .numbxvie>uni-view{display:flex;flex-direction:column;align-items:center}.scvmabx .maxboxs>.items .numbxvie>uni-view>uni-view:nth-of-type(1){font-size:1.125rem;margin-bottom:.375rem}.scvmabx .maxboxs>.items .numbxvie>uni-view>uni-view:nth-of-type(2){font-size:.875rem}.headtop{width:21.375rem;padding:.625rem;display:flex;align-items:center;justify-content:space-between;background-color:#fff;padding:.625rem .9375rem;box-sizing:border-box;position:relative;margin:auto;border-radius:.625rem;margin-top:.9375rem}.headtop>uni-view{flex:1}.headtop>uni-view>uni-input{flex:1;font-size:.875rem}.hedtopt{display:flex;align-items:center;justify-content:center;flex-direction:column;background-color:#fff;padding:1.125rem 1rem;box-sizing:border-box}.hedtopt .typto{display:flex;align-items:center;justify-content:space-between;width:100%;font-size:.875rem;font-weight:400;color:#092c4d;margin-bottom:.625rem}.hedtopt .typto:nth-last-child(1){margin-bottom:0}.hedtopt .typto>uni-view{flex:1}.tabBar[data-v-1ba623c1]{margin-top:.3125rem;padding:0 .9375rem;display:flex}.tabBar_item[data-v-1ba623c1]{flex:1;flex-basis:0;text-align:center;line-height:2.5rem;background:#fff;position:relative}.tabBar_item[data-v-1ba623c1]:after{content:"";display:block;position:absolute;height:.125rem;background:#d3832a;width:0;left:50%;bottom:0;transition:all .5s}.tabBar_item.active[data-v-1ba623c1]:after{left:0;width:100%}.buts[data-v-1ba623c1]{position:fixed;bottom:.625rem;left:50%;transform:translate(-50%);width:10rem;height:2.75rem;border-radius:.25rem;opacity:1;display:flex;align-items:center;justify-content:center;font-size:1rem;font-weight:700;color:#d3832a;margin:auto;margin-top:.625rem;border:.09375rem solid #d3832a}.tanchuangbg[data-v-1ba623c1]{width:100%;height:100%;position:fixed;z-index:99;left:0;top:0;background-color:rgba(0,0,0,.314);display:flex;align-items:center;justify-content:center;transition:all 1s}.tanchuangbg .tanbx[data-v-1ba623c1]{width:20.9375rem;background-color:#fff;box-sizing:border-box;border-radius:.3125rem;display:flex;flex-direction:column;align-items:center;padding:.9375rem}.tanchuangbg .tanbx .titlran[data-v-1ba623c1]{font-size:1rem;color:#092c4d;margin-bottom:1.25rem}.tanchuangbg .tanbx .textareabx[data-v-1ba623c1]{width:17.5rem;height:7.5rem;background:#F5F5F6;border-radius:.25rem;padding:.625rem 1.25rem;box-sizing:border-box}.tanchuangbg .tanbx .textareabx>uni-textarea[data-v-1ba623c1]{width:100%;height:100%;box-sizing:border-box;font-size:.875rem;font-weight:400}.tanchuangbg .tanbx .btx[data-v-1ba623c1]{display:flex;align-items:center;justify-content:space-around;margin-top:1.5625rem}.tanchuangbg .tanbx .btx>uni-view[data-v-1ba623c1]{display:flex;align-items:center;justify-content:center;width:8.125rem;height:2.75rem;border-radius:.25rem;font-size:1rem}.tanchuangbg .tanbx .btx>.cancel[data-v-1ba623c1]{background-color:#f5f5f6;color:#5a6875;margin-right:.625rem}.tanchuangbg .tanbx .btx>.confirm[data-v-1ba623c1]{background-color:#d3832a;color:#fff}.tanchuangbg .inputbox[data-v-1ba623c1]{width:20.9375rem;background-color:#fff;box-sizing:border-box;border-radius:.3125rem;display:flex;flex-direction:column;align-items:center;padding:.9375rem}.tanchuangbg .inputbox .inputscan[data-v-1ba623c1]{width:100%;display:flex;align-items:center;justify-content:space-around}.tanchuangbg .inputbox .inputscan>uni-input[data-v-1ba623c1]{width:13.75rem;height:2rem;border:.03125rem solid #092C4D30;border-radius:.25rem;font-size:.875rem;padding:0 .625rem;box-sizing:border-box}.tanchuangbg .inputbox .inputscan .scanbt[data-v-1ba623c1]{width:4rem;height:2rem;background:#D3832A;border-radius:.25rem;opacity:1;display:flex;align-items:center;justify-content:center;font-size:.9375rem;font-weight:400;color:#fff}.tanchuangbg .inputbox .scvbw[data-v-1ba623c1]{width:100%;height:14.0625rem;margin-top:.9375rem}.tanchuangbg .inputbox .scvbw .scboxitem[data-v-1ba623c1]{display:flex;flex-direction:column;align-items:center}.tanchuangbg .inputbox .scvbw .scboxitem .items[data-v-1ba623c1]{width:18.4375rem;display:flex;flex-direction:column;box-shadow:0 .0625rem .3125rem #e2e2e3;margin-top:.3125rem;padding:.625rem;box-sizing:border-box;position:relative}.tanchuangbg .inputbox .scvbw .scboxitem .items>.lisbite[data-v-1ba623c1]{width:100%;display:flex;align-items:center;justify-content:center}.tanchuangbg .inputbox .scvbw .scboxitem .items>.lisbite>.itembox[data-v-1ba623c1]{width:100%;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;font-size:.875rem;color:#020b18;border:.03125rem solid #D3832A;padding:.3125rem .625rem;box-sizing:border-box;border-radius:.625rem;color:#d3832a}.tanchuangbg .inputbox .scvbw .scboxitem .items>.lisbite>.itembox>uni-view[data-v-1ba623c1]{word-wrap:break-word;word-break:break-all}.tanchuangbg .inputbox .scvbw .scboxitem .items>.type1s[data-v-1ba623c1]{display:flex;align-items:center;justify-content:space-between;margin-bottom:.625rem}.tanchuangbg .inputbox .scvbw .scboxitem .items>.type1s>uni-view[data-v-1ba623c1]{min-width:50%;display:flex;align-items:center;justify-content:flex-start;font-size:.875rem}.tanchuangbg .inputbox .scvbw .scboxitem .items>.type1s>uni-view>uni-view[data-v-1ba623c1]:nth-of-type(1){color:#90a0af}.tanchuangbg .inputbox .scvbw .scboxitem .items>.type1s>uni-view>uni-view[data-v-1ba623c1]:nth-of-type(2){color:#092c4d}.tanchuangbg .inputbox .scvbw .scboxitem .items .rksu[data-v-1ba623c1]{display:flex;align-items:center;justify-content:space-between;margin-bottom:.625rem}.tanchuangbg .inputbox .scvbw .scboxitem .items .rksu>uni-view[data-v-1ba623c1]{display:flex;align-items:center;justify-content:flex-start;font-size:.875rem}.tanchuangbg .inputbox .scvbw .scboxitem .items .rksu>uni-view>uni-view[data-v-1ba623c1]:nth-of-type(1){color:#90a0af}.tanchuangbg .inputbox .scvbw .scboxitem .items .rksu>uni-view>uni-input[data-v-1ba623c1]{width:6.25rem;padding:0 .46875rem;border:.03125rem solid #00000020}.tanchuangbg .inputbox .btx[data-v-1ba623c1]{display:flex;align-items:center;justify-content:space-around;margin-top:1.5625rem}.tanchuangbg .inputbox .btx>uni-view[data-v-1ba623c1]{display:flex;align-items:center;justify-content:center;width:8.125rem;height:2.375rem;border-radius:.21875rem;font-size:.875rem}.tanchuangbg .inputbox .btx>.cancel[data-v-1ba623c1]{background-color:#f5f5f6;color:#5a6875;margin-right:.625rem}.tanchuangbg .inputbox .btx>.confirm[data-v-1ba623c1]{background-color:#d3832a;color:#fff}
+.u-status-bar[data-v-31491727]{width:100%}uni-view[data-v-5c79ae5e],uni-scroll-view[data-v-5c79ae5e],uni-swiper-item[data-v-5c79ae5e]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}@font-face{font-family:uicon-iconfont;src:url(https://at.alicdn.com/t/font_2225171_8kdcwk4po24.ttf) format("truetype")}.u-icon[data-v-5c79ae5e]{display:flex;align-items:center}.u-icon--left[data-v-5c79ae5e]{flex-direction:row-reverse;align-items:center}.u-icon--right[data-v-5c79ae5e]{flex-direction:row;align-items:center}.u-icon--top[data-v-5c79ae5e]{flex-direction:column-reverse;justify-content:center}.u-icon--bottom[data-v-5c79ae5e]{flex-direction:column;justify-content:center}.u-icon__icon[data-v-5c79ae5e]{font-family:uicon-iconfont;position:relative;display:flex;flex-direction:row;align-items:center}.u-icon__icon--primary[data-v-5c79ae5e]{color:#3c9cff}.u-icon__icon--success[data-v-5c79ae5e]{color:#5ac725}.u-icon__icon--error[data-v-5c79ae5e]{color:#f56c6c}.u-icon__icon--warning[data-v-5c79ae5e]{color:#f9ae3d}.u-icon__icon--info[data-v-5c79ae5e]{color:#909399}.u-icon__img[data-v-5c79ae5e]{height:auto;will-change:transform}.u-icon__label[data-v-5c79ae5e]{line-height:1}uni-view[data-v-917ffc31],uni-scroll-view[data-v-917ffc31],uni-swiper-item[data-v-917ffc31]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-navbar--fixed[data-v-917ffc31]{position:fixed;left:0;right:0;top:0;z-index:11}.u-navbar__content[data-v-917ffc31]{display:flex;flex-direction:row;align-items:center;height:44px;background-color:#9acafc;position:relative;justify-content:center}.u-navbar__content__left[data-v-917ffc31],.u-navbar__content__right[data-v-917ffc31]{padding:0 13px;position:absolute;top:0;bottom:0;display:flex;flex-direction:row;align-items:center}.u-navbar__content__left[data-v-917ffc31]{left:0}.u-navbar__content__left--hover[data-v-917ffc31]{opacity:.7}.u-navbar__content__left__text[data-v-917ffc31]{font-size:15px;margin-left:3px}.u-navbar__content__title[data-v-917ffc31]{text-align:center;font-size:16px;color:#303133}.u-navbar__content__right[data-v-917ffc31]{right:0}.u-navbar__content__right__text[data-v-917ffc31]{font-size:15px;margin-left:3px}.mabxtop{position:relative;width:21.375rem;background:#FFFFFF;border-radius:.625rem;margin:auto;margin-top:.625rem;padding:1.875rem;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center}.mabxtop>uni-view{width:100%;display:flex;align-items:center;justify-content:space-between;margin-bottom:.3125rem}.mabxtop>uni-view:nth-last-child(1){margin-bottom:0}.mabxtop>uni-view>uni-view{display:flex;flex-direction:column;align-items:flex-start}.mabxtop>uni-view>uni-view:nth-of-type(1){width:60%}.mabxtop>uni-view>uni-view:nth-of-type(2){width:40%}.mabxtop>uni-view>uni-view>uni-view:nth-of-type(1){font-size:1rem;font-weight:400;color:#020b18;word-wrap:break-word;word-break:break-all}.mabxtop>uni-view>uni-view>uni-view:nth-of-type(2){font-size:.875rem;font-weight:400;color:#90a0af}.mabxtop .printBtn{background:#d3832a;color:#fff!important;width:3.125rem;padding:.3125rem;text-align:center;border-radius:.15625rem}.bgimg{position:fixed;left:0;top:0;width:100%}.scvmabx{width:21.375rem;height:45vh;margin:auto;margin-top:.625rem}.scvmabx .marketName{display:flex;margin-bottom:.625rem;align-items:center}.scvmabx .maxboxs{width:100%;display:flex;flex-direction:column;align-items:center}.scvmabx .maxboxs .chuanhuo{border:#ff0000}.scvmabx .maxboxs .weiqt,.scvmabx .maxboxs .qitao{position:absolute;right:0;top:0;width:2.1875rem;height:2.1875rem}.scvmabx .maxboxs>.items{width:21.5625rem;display:flex;flex-direction:column;align-items:center;padding:.625rem .9375rem;box-sizing:border-box;background-color:#fff;border-radius:.3125rem;margin-bottom:.9375rem;position:relative}.scvmabx .maxboxs>.items:nth-last-child(1){margin-bottom:.625rem}.scvmabx .maxboxs>.items .tophd{width:100%;display:flex;align-items:flex-start;justify-content:flex-start;padding:.9375rem .625rem .46875rem;box-sizing:border-box;border-bottom:.125rem solid #EEEEEE}.scvmabx .maxboxs>.items .tophd>uni-image{width:1.5rem;height:1.5rem;margin-right:.3125rem;box-sizing:border-box}.scvmabx .maxboxs>.items .tophd>uni-view{font-size:1rem;color:#020b18;font-weight:400;word-wrap:break-word;word-break:break-all}.scvmabx .maxboxs>.items .tophd>uni-view:nth-of-type(1){width:5.625rem}.scvmabx .maxboxs>.items .tophd>uni-view:nth-of-type(2){flex:1}.scvmabx .maxboxs>.items .tophd1{width:100%;display:flex;box-sizing:border-box;padding:.46875rem .625rem;border-bottom:.125rem solid #EEEEEE}.scvmabx .maxboxs>.items .tophd1>uni-view{display:flex;flex:1;align-items:center}.scvmabx .maxboxs>.items .tophd1 uni-image{width:2rem;height:2rem}.scvmabx .maxboxs>.items .numbxvie{width:100%;display:flex;align-items:center;justify-content:space-around;padding:.46875rem .78125rem;box-sizing:border-box}.scvmabx .maxboxs>.items .numbxvie .zhon{color:#d3832a}.scvmabx .maxboxs>.items .numbxvie .yish{color:#1197eb}.scvmabx .maxboxs>.items .numbxvie .weish{color:#020b18}.scvmabx .maxboxs>.items .numbxvie>uni-view{display:flex;flex-direction:column;align-items:center}.scvmabx .maxboxs>.items .numbxvie>uni-view>uni-view:nth-of-type(1){font-size:1.125rem;margin-bottom:.375rem}.scvmabx .maxboxs>.items .numbxvie>uni-view>uni-view:nth-of-type(2){font-size:.875rem}.headtop{width:21.375rem;padding:.625rem;display:flex;align-items:center;justify-content:space-between;background-color:#fff;padding:.625rem .9375rem;box-sizing:border-box;position:relative;margin:auto;border-radius:.625rem;margin-top:.9375rem}.headtop>uni-view{flex:1}.headtop>uni-view>uni-input{flex:1;font-size:.875rem}.hedtopt{display:flex;align-items:center;justify-content:center;flex-direction:column;background-color:#fff;padding:1.125rem 1rem;box-sizing:border-box}.hedtopt .typto{display:flex;align-items:center;justify-content:space-between;width:100%;font-size:.875rem;font-weight:400;color:#092c4d;margin-bottom:.625rem}.hedtopt .typto:nth-last-child(1){margin-bottom:0}.hedtopt .typto>uni-view{flex:1}.tabBar[data-v-849da1a5]{margin-top:.3125rem;padding:0 .9375rem;display:flex}.tabBar_item[data-v-849da1a5]{flex:1;flex-basis:0;text-align:center;line-height:2.5rem;background:#fff;position:relative}.tabBar_item[data-v-849da1a5]:after{content:"";display:block;position:absolute;height:.125rem;background:#d3832a;width:0;left:50%;bottom:0;transition:all .5s}.tabBar_item.active[data-v-849da1a5]:after{left:0;width:100%}.buts[data-v-849da1a5]{position:fixed;bottom:.625rem;left:50%;transform:translate(-50%);width:10rem;height:2.75rem;border-radius:.25rem;opacity:1;display:flex;align-items:center;justify-content:center;font-size:1rem;font-weight:700;color:#d3832a;margin:auto;margin-top:.625rem;border:.09375rem solid #d3832a}.tanchuangbg[data-v-849da1a5]{width:100%;height:100%;position:fixed;z-index:99;left:0;top:0;background-color:rgba(0,0,0,.314);display:flex;align-items:center;justify-content:center;transition:all 1s}.tanchuangbg .tanbx[data-v-849da1a5]{width:20.9375rem;background-color:#fff;box-sizing:border-box;border-radius:.3125rem;display:flex;flex-direction:column;align-items:center;padding:.9375rem}.tanchuangbg .tanbx .titlran[data-v-849da1a5]{font-size:1rem;color:#092c4d;margin-bottom:1.25rem}.tanchuangbg .tanbx .textareabx[data-v-849da1a5]{width:17.5rem;height:7.5rem;background:#F5F5F6;border-radius:.25rem;padding:.625rem 1.25rem;box-sizing:border-box}.tanchuangbg .tanbx .textareabx>uni-textarea[data-v-849da1a5]{width:100%;height:100%;box-sizing:border-box;font-size:.875rem;font-weight:400}.tanchuangbg .tanbx .btx[data-v-849da1a5]{display:flex;align-items:center;justify-content:space-around;margin-top:1.5625rem}.tanchuangbg .tanbx .btx>uni-view[data-v-849da1a5]{display:flex;align-items:center;justify-content:center;width:8.125rem;height:2.75rem;border-radius:.25rem;font-size:1rem}.tanchuangbg .tanbx .btx>.cancel[data-v-849da1a5]{background-color:#f5f5f6;color:#5a6875;margin-right:.625rem}.tanchuangbg .tanbx .btx>.confirm[data-v-849da1a5]{background-color:#d3832a;color:#fff}.tanchuangbg .inputbox[data-v-849da1a5]{width:20.9375rem;background-color:#fff;box-sizing:border-box;border-radius:.3125rem;display:flex;flex-direction:column;align-items:center;padding:.9375rem}.tanchuangbg .inputbox .inputscan[data-v-849da1a5]{width:100%;display:flex;align-items:center;justify-content:space-around}.tanchuangbg .inputbox .inputscan>uni-input[data-v-849da1a5]{width:13.75rem;height:2rem;border:.03125rem solid #092C4D30;border-radius:.25rem;font-size:.875rem;padding:0 .625rem;box-sizing:border-box}.tanchuangbg .inputbox .inputscan .scanbt[data-v-849da1a5]{width:4rem;height:2rem;background:#D3832A;border-radius:.25rem;opacity:1;display:flex;align-items:center;justify-content:center;font-size:.9375rem;font-weight:400;color:#fff}.tanchuangbg .inputbox .scvbw[data-v-849da1a5]{width:100%;height:14.0625rem;margin-top:.9375rem}.tanchuangbg .inputbox .scvbw .scboxitem[data-v-849da1a5]{display:flex;flex-direction:column;align-items:center}.tanchuangbg .inputbox .scvbw .scboxitem .items[data-v-849da1a5]{width:18.4375rem;display:flex;flex-direction:column;box-shadow:0 .0625rem .3125rem #e2e2e3;margin-top:.3125rem;padding:.625rem;box-sizing:border-box;position:relative}.tanchuangbg .inputbox .scvbw .scboxitem .items>.lisbite[data-v-849da1a5]{width:100%;display:flex;align-items:center;justify-content:center}.tanchuangbg .inputbox .scvbw .scboxitem .items>.lisbite>.itembox[data-v-849da1a5]{width:100%;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;font-size:.875rem;color:#020b18;border:.03125rem solid #D3832A;padding:.3125rem .625rem;box-sizing:border-box;border-radius:.625rem;color:#d3832a}.tanchuangbg .inputbox .scvbw .scboxitem .items>.lisbite>.itembox>uni-view[data-v-849da1a5]{word-wrap:break-word;word-break:break-all}.tanchuangbg .inputbox .scvbw .scboxitem .items>.type1s[data-v-849da1a5]{display:flex;align-items:center;justify-content:space-between;margin-bottom:.625rem}.tanchuangbg .inputbox .scvbw .scboxitem .items>.type1s>uni-view[data-v-849da1a5]{min-width:50%;display:flex;align-items:center;justify-content:flex-start;font-size:.875rem}.tanchuangbg .inputbox .scvbw .scboxitem .items>.type1s>uni-view>uni-view[data-v-849da1a5]:nth-of-type(1){color:#90a0af}.tanchuangbg .inputbox .scvbw .scboxitem .items>.type1s>uni-view>uni-view[data-v-849da1a5]:nth-of-type(2){color:#092c4d}.tanchuangbg .inputbox .scvbw .scboxitem .items .rksu[data-v-849da1a5]{display:flex;align-items:center;justify-content:space-between;margin-bottom:.625rem}.tanchuangbg .inputbox .scvbw .scboxitem .items .rksu>uni-view[data-v-849da1a5]{display:flex;align-items:center;justify-content:flex-start;font-size:.875rem}.tanchuangbg .inputbox .scvbw .scboxitem .items .rksu>uni-view>uni-view[data-v-849da1a5]:nth-of-type(1){color:#90a0af}.tanchuangbg .inputbox .scvbw .scboxitem .items .rksu>uni-view>uni-input[data-v-849da1a5]{width:6.25rem;padding:0 .46875rem;border:.03125rem solid #00000020}.tanchuangbg .inputbox .btx[data-v-849da1a5]{display:flex;align-items:center;justify-content:space-around;margin-top:1.5625rem}.tanchuangbg .inputbox .btx>uni-view[data-v-849da1a5]{display:flex;align-items:center;justify-content:center;width:8.125rem;height:2.375rem;border-radius:.21875rem;font-size:.875rem}.tanchuangbg .inputbox .btx>.cancel[data-v-849da1a5]{background-color:#f5f5f6;color:#5a6875;margin-right:.625rem}.tanchuangbg .inputbox .btx>.confirm[data-v-849da1a5]{background-color:#d3832a;color:#fff}
diff --git a/unpackage/dist/build/app-plus/pagesHome/pages/PickingScanList/PickingScanList.css b/unpackage/dist/build/app-plus/pagesHome/pages/PickingScanList/PickingScanList.css
index ca9f595..8309ec6 100644
--- a/unpackage/dist/build/app-plus/pagesHome/pages/PickingScanList/PickingScanList.css
+++ b/unpackage/dist/build/app-plus/pagesHome/pages/PickingScanList/PickingScanList.css
@@ -1 +1 @@
-.topBox[data-v-6d3cc1fa]{width:100%;display:flex;align-items:center;margin-bottom:.3125rem;border-radius:.3125rem}.topBox .searchInput[data-v-6d3cc1fa]{margin-right:.3125rem;background:#eee;padding:.375rem .625rem;flex:1}.button[data-v-6d3cc1fa]{padding:.3125rem 1.25rem;border-radius:.15625rem;background-color:var(--subjectColor);color:#fff}.scoolv[data-v-6d3cc1fa]{width:100%;height:60vh;margin-top:.625rem}.scoolv .minbx[data-v-6d3cc1fa]{display:flex;flex-direction:column;align-items:center}.scoolv .minbx>.its[data-v-6d3cc1fa]{display:flex;flex-direction:column;align-items:center;width:21.4375rem;background:#FFFFFF;border-radius:.25rem;box-sizing:border-box;margin-bottom:.625rem}.scoolv .minbx>.its[data-v-6d3cc1fa]:nth-last-child(1){margin-bottom:0}.scoolv .minbx>.its .titl[data-v-6d3cc1fa]{width:100%;font-size:1rem;font-weight:400;color:#092c4d;border-bottom:.09375rem solid #EEEEEE;padding:.8125rem .75rem;box-sizing:border-box}.scoolv .minbx>.its .bts[data-v-6d3cc1fa]{display:flex;align-items:center;justify-content:center;padding:.625rem 0}.scoolv .minbx>.its .bts>uni-view[data-v-6d3cc1fa]{width:6.375rem;height:2rem;background:#FFFFFF;border-radius:.25rem;opacity:1;border:.0625rem solid #D3832A;font-size:.875rem;color:#d3832a;display:flex;align-items:center;justify-content:center}.scoolv .minbx>.its .contsx[data-v-6d3cc1fa]{width:100%;display:flex;flex-direction:column;padding:1.0625rem .75rem;box-sizing:border-box;border-bottom:.09375rem solid #EEEEEE}.scoolv .minbx>.its .contsx .content[data-v-6d3cc1fa]{width:100%;display:flex;align-items:center;justify-content:space-between;font-size:.875rem;color:#092c4d}.scoolv .minbx>.its .contsx .content>uni-view[data-v-6d3cc1fa]{flex:1}.scoolv .minbx>.its .contsx .total[data-v-6d3cc1fa]{width:100%;display:flex;align-items:center;justify-content:space-around;margin-top:1.375rem}.scoolv .minbx>.its .contsx .total>uni-view[data-v-6d3cc1fa]{display:flex;flex-direction:column;align-items:center;font-size:.875rem;color:#092c4d}.scoolv .minbx>.its .contsx .total>uni-view:nth-of-type(1)>uni-view[data-v-6d3cc1fa]:nth-of-type(2){color:#0086f1}.scoolv .minbx>.its .contsx .total>uni-view:nth-of-type(2)>uni-view[data-v-6d3cc1fa]:nth-of-type(2){color:#3ad8bc}.scoolv .minbx>.its .contsx .total>uni-view:nth-of-type(3)>uni-view[data-v-6d3cc1fa]:nth-of-type(2){color:#fa8c16}.scoolv .minbx>.its .contsx .total>uni-view>uni-view[data-v-6d3cc1fa]:nth-of-type(2){font-size:1.125rem;color:#0086f1;margin-top:.625rem}.hedtopt[data-v-6d3cc1fa]{display:flex;align-items:center;justify-content:center;flex-direction:column;background-color:#fff;padding:1.125rem 1rem;box-sizing:border-box}.hedtopt .typto[data-v-6d3cc1fa]{display:inline-flex;align-items:center;justify-content:space-between;width:100%;font-size:.875rem;font-weight:400;color:#092c4d;margin-bottom:.625rem}.hedtopt .typto .vibx[data-v-6d3cc1fa]{display:inline-block;min-width:3.125rem;height:1.875rem;padding:.3125rem;box-sizing:border-box;border:.03125rem solid #90A0AF;word-wrap:break-word;word-break:break-all}.hedtopt .typto[data-v-6d3cc1fa]:nth-last-child(1){margin-bottom:0}.hedtopt .typto>uni-view[data-v-6d3cc1fa]{flex:1}.hedtopt .kehupeison[data-v-6d3cc1fa]{width:100%;display:flex;align-items:center;justify-content:space-around;margin-top:.625rem}.hedtopt .kehupeison>uni-view[data-v-6d3cc1fa]{display:flex;flex-direction:column;align-items:center;font-size:.875rem;font-weight:400;color:#092c4d}.hedtopt .kehupeison>uni-view:nth-of-type(1)>uni-view[data-v-6d3cc1fa]:nth-of-type(2){color:#092c4d}.hedtopt .kehupeison>uni-view:nth-of-type(2)>uni-view[data-v-6d3cc1fa]:nth-of-type(2){color:#0086f1}.hedtopt .kehupeison>uni-view:nth-of-type(3)>uni-view[data-v-6d3cc1fa]:nth-of-type(2){color:#3ad8bc}.hedtopt .kehupeison>uni-view:nth-of-type(4)>uni-view[data-v-6d3cc1fa]:nth-of-type(2){color:#fa8c16}.hedtopt .kehupeison>uni-view>uni-view[data-v-6d3cc1fa]:nth-of-type(2){font-size:1.125rem;font-weight:400;color:#092c4d;margin-top:.625rem}
+.topBox[data-v-b2ec859f]{width:100%;display:flex;align-items:center;margin-bottom:.3125rem;border-radius:.3125rem}.topBox .searchInput[data-v-b2ec859f]{margin-right:.3125rem;background:#eee;padding:.375rem .625rem;flex:1}.button[data-v-b2ec859f]{padding:.3125rem 1.25rem;border-radius:.15625rem;background-color:var(--subjectColor);color:#fff}.scoolv[data-v-b2ec859f]{width:100%;height:60vh;margin-top:.625rem}.scoolv .minbx[data-v-b2ec859f]{display:flex;flex-direction:column;align-items:center}.scoolv .minbx>.its[data-v-b2ec859f]{display:flex;flex-direction:column;align-items:center;width:21.4375rem;background:#FFFFFF;border-radius:.25rem;box-sizing:border-box;margin-bottom:.625rem}.scoolv .minbx>.its[data-v-b2ec859f]:nth-last-child(1){margin-bottom:0}.scoolv .minbx>.its .titl[data-v-b2ec859f]{width:100%;font-size:1rem;font-weight:400;color:#092c4d;border-bottom:.09375rem solid #EEEEEE;padding:.8125rem .75rem;box-sizing:border-box}.scoolv .minbx>.its .bts[data-v-b2ec859f]{display:flex;align-items:center;justify-content:center;padding:.625rem 0}.scoolv .minbx>.its .bts>uni-view[data-v-b2ec859f]{width:6.375rem;height:2rem;background:#FFFFFF;border-radius:.25rem;opacity:1;border:.0625rem solid #D3832A;font-size:.875rem;color:#d3832a;display:flex;align-items:center;justify-content:center}.scoolv .minbx>.its .contsx[data-v-b2ec859f]{width:100%;display:flex;flex-direction:column;padding:1.0625rem .75rem;box-sizing:border-box;border-bottom:.09375rem solid #EEEEEE}.scoolv .minbx>.its .contsx .content[data-v-b2ec859f]{width:100%;display:flex;align-items:center;justify-content:space-between;font-size:.875rem;color:#092c4d}.scoolv .minbx>.its .contsx .content>uni-view[data-v-b2ec859f]{flex:1}.scoolv .minbx>.its .contsx .total[data-v-b2ec859f]{width:100%;display:flex;align-items:center;justify-content:space-around;margin-top:1.375rem}.scoolv .minbx>.its .contsx .total>uni-view[data-v-b2ec859f]{display:flex;flex-direction:column;align-items:center;font-size:.875rem;color:#092c4d}.scoolv .minbx>.its .contsx .total>uni-view:nth-of-type(1)>uni-view[data-v-b2ec859f]:nth-of-type(2){color:#0086f1}.scoolv .minbx>.its .contsx .total>uni-view:nth-of-type(2)>uni-view[data-v-b2ec859f]:nth-of-type(2){color:#3ad8bc}.scoolv .minbx>.its .contsx .total>uni-view:nth-of-type(3)>uni-view[data-v-b2ec859f]:nth-of-type(2){color:#fa8c16}.scoolv .minbx>.its .contsx .total>uni-view>uni-view[data-v-b2ec859f]:nth-of-type(2){font-size:1.125rem;color:#0086f1;margin-top:.625rem}.hedtopt[data-v-b2ec859f]{display:flex;align-items:center;justify-content:center;flex-direction:column;background-color:#fff;padding:1.125rem 1rem;box-sizing:border-box}.hedtopt .typto[data-v-b2ec859f]{display:inline-flex;align-items:center;justify-content:space-between;width:100%;font-size:.875rem;font-weight:400;color:#092c4d;margin-bottom:.625rem}.hedtopt .typto .vibx[data-v-b2ec859f]{display:inline-block;min-width:3.125rem;height:1.875rem;padding:.3125rem;box-sizing:border-box;border:.03125rem solid #90A0AF;word-wrap:break-word;word-break:break-all}.hedtopt .typto[data-v-b2ec859f]:nth-last-child(1){margin-bottom:0}.hedtopt .typto>uni-view[data-v-b2ec859f]{flex:1}.hedtopt .kehupeison[data-v-b2ec859f]{width:100%;display:flex;align-items:center;justify-content:space-around;margin-top:.625rem}.hedtopt .kehupeison>uni-view[data-v-b2ec859f]{display:flex;flex-direction:column;align-items:center;font-size:.875rem;font-weight:400;color:#092c4d}.hedtopt .kehupeison>uni-view:nth-of-type(1)>uni-view[data-v-b2ec859f]:nth-of-type(2){color:#092c4d}.hedtopt .kehupeison>uni-view:nth-of-type(2)>uni-view[data-v-b2ec859f]:nth-of-type(2){color:#0086f1}.hedtopt .kehupeison>uni-view:nth-of-type(3)>uni-view[data-v-b2ec859f]:nth-of-type(2){color:#3ad8bc}.hedtopt .kehupeison>uni-view:nth-of-type(4)>uni-view[data-v-b2ec859f]:nth-of-type(2){color:#fa8c16}.hedtopt .kehupeison>uni-view>uni-view[data-v-b2ec859f]:nth-of-type(2){font-size:1.125rem;font-weight:400;color:#092c4d;margin-top:.625rem}
diff --git a/unpackage/dist/dev/app-plus/app-service.js b/unpackage/dist/dev/app-plus/app-service.js
index b621010..ffe197e 100644
--- a/unpackage/dist/dev/app-plus/app-service.js
+++ b/unpackage/dist/dev/app-plus/app-service.js
@@ -1446,10 +1446,10 @@ if (uni.restoreGlobal) {
});
},
//执行下载更新(apk和wgt都可以)
- updatefile: (file) => {
+ updatefile: (file2) => {
const downloadTask = uni.downloadFile({
//执行下载
- url: file,
+ url: file2,
//下载地址
success: (downloadResult) => {
if (downloadResult.statusCode == 200) {
@@ -1484,10 +1484,10 @@ if (uni.restoreGlobal) {
});
},
//执行下载更新(无感)(wgt)
- updatefile1: (file) => {
+ updatefile1: (file2) => {
uni.downloadFile({
//执行下载
- url: file,
+ url: file2,
//下载地址
success: (downloadResult) => {
if (downloadResult.statusCode == 200) {
@@ -1735,7 +1735,7 @@ if (uni.restoreGlobal) {
return string2;
};
};
- const base64 = new Base64();
+ const Base64$1 = new Base64();
const devhost = "https://h5uapi.huitongys.com/";
const imghost = "";
const host = devhost;
@@ -1771,8 +1771,8 @@ if (uni.restoreGlobal) {
}
return obj;
},
- upfile: (file) => {
- formatAppLog("log", "at utils/functions.js:48", "file", file);
+ upfile: (file2) => {
+ formatAppLog("log", "at utils/functions.js:48", "file", file2);
return new Promise((relove, reject) => {
uni.showLoading({
title: "上传中"
@@ -1780,10 +1780,10 @@ if (uni.restoreGlobal) {
let header = {};
let token = uni.getStorageSync("access_token");
header["Blade-Auth"] = `bearer ${token}`;
- header.Authorization = `Basic ${base64.encode(APPKEY)}`;
+ header.Authorization = `Basic ${Base64$1.encode(APPKEY)}`;
uni.uploadFile({
url: `${host}blade-resource/oss/endpoint/put-file`,
- filePath: file,
+ filePath: file2,
name: "file",
header,
success: (uploadFileRes) => {
@@ -2020,7 +2020,7 @@ if (uni.restoreGlobal) {
}
const HandleRefreshToken = (header, urlhd, refresh_token, user) => {
_isRefreshToken._isRefreshToken = new Promise((resolve, reject) => {
- formatAppLog("log", "at utils/request.js:19", "user :>> ", user);
+ formatAppLog("log", "at utils/request.js:21", "user :>> ", user);
const data = {
"grant_type": "refresh_token",
"scope": "all",
@@ -2036,7 +2036,7 @@ if (uni.restoreGlobal) {
method: "post",
header
}).then((res) => {
- formatAppLog("log", "at utils/request.js:35", "请求res :>> ", res);
+ formatAppLog("log", "at utils/request.js:37", "请求res :>> ", res);
if (res.statusCode === 200) {
const userinfo = res.data;
uni.setStorageSync("access_token", userinfo.access_token);
@@ -2102,7 +2102,7 @@ if (uni.restoreGlobal) {
if (!token && params.url.indexOf("oauth/token") == -1)
;
}
- header.Authorization = `Basic ${base64.encode(APPKEY)}`;
+ header.Authorization = `Basic ${Base64$1.encode(APPKEY)}`;
if (params.url.indexOf("blade-auth/oauth/token") != -1) {
header["Content-Type"] = "application/x-www-form-urlencoded";
header["Tenant-Id"] = params.data.tenantId;
@@ -2146,7 +2146,7 @@ if (uni.restoreGlobal) {
};
const request = uni.request(submitData);
request.then((res) => {
- formatAppLog("log", "at utils/request.js:168", "请求res :>> ", res);
+ formatAppLog("log", "at utils/request.js:170", "请求res :>> ", res);
if (res.statusCode == 200) {
let data = res.data;
utils.ttsspke(data.audio || "");
@@ -2192,15 +2192,15 @@ if (uni.restoreGlobal) {
}
if (_isRefreshToken._isRefreshToken) {
_isRefreshToken._isRefreshToken.then(() => {
- HandleRequest(requestObj[key], key).then((res2) => {
+ HandleRequest(requestObj[key], key, loadingObj).then((res2) => {
relove(res2);
});
});
} else {
- formatAppLog("log", "at utils/request.js:232", "header :>> ", header);
+ formatAppLog("log", "at utils/request.js:234", "header :>> ", header);
const refreshFn = HandleRefreshToken(header, urlhd, refresh_token, user);
refreshFn.then((res2) => {
- HandleRequest(requestObj[key], key).then((res3) => {
+ HandleRequest(requestObj[key], key, loadingObj).then((res3) => {
relove(res3);
});
}).catch(() => {
@@ -2215,7 +2215,7 @@ if (uni.restoreGlobal) {
}
}
}).catch(async (err) => {
- formatAppLog("log", "at utils/request.js:256", err);
+ formatAppLog("log", "at utils/request.js:258", err);
delete requestObj[key];
api.error("请检查是否连接到无线网络");
utils.ttsspke("请检查是否连接到无线网络");
@@ -2236,14 +2236,14 @@ if (uni.restoreGlobal) {
delete params.data.isLogin;
} else
isLogin = false;
- formatAppLog("log", "at utils/request.js:292", "params :>> ", params);
+ formatAppLog("log", "at utils/request.js:294", "params :>> ", params);
const _key = params.url + JSON.stringify(params.data);
if (requestObj[_key])
return new Promise((resolve) => resolve({
code: 4e3
}));
requestObj[_key] = params;
- formatAppLog("log", "at utils/request.js:301", "_isRefreshToken :>> ", _isRefreshToken);
+ formatAppLog("log", "at utils/request.js:303", "_isRefreshToken :>> ", _isRefreshToken);
if (_isRefreshToken._isRefreshToken) {
await _isRefreshToken._isRefreshToken;
return HandleRequest(params, _key, loadingObj);
@@ -4332,10 +4332,10 @@ if (uni.restoreGlobal) {
const files = fileInput.files;
if (!files)
return resolve(null);
- const file = files.item(0);
- if (!file)
+ const file2 = files.item(0);
+ if (!file2)
return resolve(null);
- return resolve({ text: await file.text(), file });
+ return resolve({ text: await file2.text(), file: file2 });
};
fileInput.oncancel = () => resolve(null);
fileInput.onerror = reject;
@@ -4350,9 +4350,9 @@ if (uni.restoreGlobal) {
const result = await open2();
if (!result)
return;
- const { text, file } = result;
+ const { text, file: file2 } = result;
pinia.state.value = JSON.parse(text);
- toastMessage(`Global state imported from "${file.name}".`);
+ toastMessage(`Global state imported from "${file2.name}".`);
} catch (error2) {
toastMessage(`Failed to export the state as JSON. Check the console for more details.`, "error");
console.error(error2);
@@ -5602,7 +5602,7 @@ This will fail in production if not fixed.`);
CHOOSE_BLUETOOTH
};
});
- const _sfc_main$1U = /* @__PURE__ */ vue.defineComponent({
+ const _sfc_main$1S = /* @__PURE__ */ vue.defineComponent({
__name: "login",
setup(__props) {
const { HANDLE_INITBLUETOOTH } = useBluetoothStore();
@@ -5926,7 +5926,7 @@ This will fail in production if not fixed.`);
}
return target;
};
- const PagesLoginLogin = /* @__PURE__ */ _export_sfc(_sfc_main$1U, [["__file", "D:/worksp/logpm/pages/login/login.vue"]]);
+ const PagesLoginLogin = /* @__PURE__ */ _export_sfc(_sfc_main$1S, [["__file", "D:/worksp/logpm/pages/login/login.vue"]]);
const version$1 = "3";
{
formatAppLog("log", "at uni_modules/uview-plus/libs/config/config.js:5", `
@@ -7486,7 +7486,7 @@ This will fail in production if not fixed.`);
...Upload$1,
...drawer
};
- const props$k = {
+ const props$i = {
props: {
bgColor: {
type: String,
@@ -7624,9 +7624,9 @@ This will fail in production if not fixed.`);
}
}
};
- const _sfc_main$1T = {
+ const _sfc_main$1R = {
name: "u-status-bar",
- mixins: [mpMixin$1, mixin$1, props$k],
+ mixins: [mpMixin$1, mixin$1, props$i],
data() {
return {};
},
@@ -7639,7 +7639,7 @@ This will fail in production if not fixed.`);
}
}
};
- function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
+ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
return vue.openBlock(), vue.createElementBlock(
"view",
{
@@ -7653,7 +7653,7 @@ This will fail in production if not fixed.`);
/* STYLE */
);
}
- const __easycom_0$6 = /* @__PURE__ */ _export_sfc(_sfc_main$1T, [["render", _sfc_render$A], ["__scopeId", "data-v-eb8e0cdd"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-status-bar/u-status-bar.vue"]]);
+ const __easycom_0$7 = /* @__PURE__ */ _export_sfc(_sfc_main$1R, [["render", _sfc_render$y], ["__scopeId", "data-v-eb8e0cdd"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-status-bar/u-status-bar.vue"]]);
const icons = {
"uicon-level": "",
"uicon-column-line": "",
@@ -7868,7 +7868,7 @@ This will fail in production if not fixed.`);
"uicon-zh": "",
"uicon-en": ""
};
- const props$j = {
+ const props$h = {
props: {
// 图标类名
name: {
@@ -7957,13 +7957,13 @@ This will fail in production if not fixed.`);
}
}
};
- const _sfc_main$1S = {
+ const _sfc_main$1Q = {
name: "u-icon",
data() {
return {};
},
emits: ["click"],
- mixins: [mpMixin$1, mixin$1, props$j],
+ mixins: [mpMixin$1, mixin$1, props$h],
computed: {
uClasses() {
let classes = [];
@@ -8007,7 +8007,7 @@ This will fail in production if not fixed.`);
}
}
};
- function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
+ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
return vue.openBlock(), vue.createElementBlock(
"view",
{
@@ -8051,8 +8051,8 @@ This will fail in production if not fixed.`);
/* CLASS */
);
}
- const __easycom_0$5 = /* @__PURE__ */ _export_sfc(_sfc_main$1S, [["render", _sfc_render$z], ["__scopeId", "data-v-ac70166d"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-icon/u-icon.vue"]]);
- const props$i = {
+ const __easycom_0$6 = /* @__PURE__ */ _export_sfc(_sfc_main$1Q, [["render", _sfc_render$x], ["__scopeId", "data-v-ac70166d"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-icon/u-icon.vue"]]);
+ const props$g = {
props: {
// 是否开启顶部安全区适配
safeAreaInsetTop: {
@@ -8136,9 +8136,9 @@ This will fail in production if not fixed.`);
}
}
};
- const _sfc_main$1R = {
+ const _sfc_main$1P = {
name: "u-navbar",
- mixins: [mpMixin$1, mixin$1, props$i],
+ mixins: [mpMixin$1, mixin$1, props$g],
data() {
return {};
},
@@ -8156,9 +8156,9 @@ This will fail in production if not fixed.`);
}
}
};
- function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
- const _component_u_status_bar = resolveEasycom(vue.resolveDynamicComponent("u-status-bar"), __easycom_0$6);
- const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$5);
+ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
+ const _component_u_status_bar = resolveEasycom(vue.resolveDynamicComponent("u-status-bar"), __easycom_0$7);
+ const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$6);
return vue.openBlock(), vue.createElementBlock("view", { class: "u-navbar" }, [
_ctx.fixed && _ctx.placeholder ? (vue.openBlock(), vue.createElementBlock(
"view",
@@ -8268,12 +8268,12 @@ This will fail in production if not fixed.`);
)
]);
}
- const __easycom_0$4 = /* @__PURE__ */ _export_sfc(_sfc_main$1R, [["render", _sfc_render$y], ["__scopeId", "data-v-f631659b"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-navbar/u-navbar.vue"]]);
+ const __easycom_0$5 = /* @__PURE__ */ _export_sfc(_sfc_main$1P, [["render", _sfc_render$w], ["__scopeId", "data-v-f631659b"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-navbar/u-navbar.vue"]]);
function getImageCache(filePath, fileMd51) {
return new Promise((resolve, reject) => {
let fileMd5 = "";
try {
- fileMd5 = base64.encode(filePath);
+ fileMd5 = Base64$1.encode(filePath);
} catch (e) {
fileMd5 = filePath;
}
@@ -8316,165 +8316,11 @@ This will fail in production if not fixed.`);
}
});
}
- const _sfc_main$1Q = /* @__PURE__ */ vue.defineComponent({
+ const _sfc_main$1O = /* @__PURE__ */ vue.defineComponent({
__name: "index",
setup(__props) {
const tip = vue.ref(null);
- 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"
- },
- {
- icon: "http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png",
- name: "托盘数据同步",
- router: "/pagesHome/pages/SearchTray/SearchTray"
- }
- ]
- },
- {
- 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"
- }
- ]
- }
- ]
- });
+ let details = vue.reactive({ tablist: [] });
function gopathpage(path) {
uni.navigateTo({
url: path
@@ -8604,7 +8450,7 @@ This will fail in production if not fixed.`);
}
const { tablist } = vue.toRefs(details);
return (_ctx, _cache) => {
- const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4);
+ const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$5);
const _component_tips = vue.resolveComponent("tips");
return vue.openBlock(), vue.createElementBlock(
vue.Fragment,
@@ -8676,8 +8522,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesIndexIndex = /* @__PURE__ */ _export_sfc(_sfc_main$1Q, [["__file", "D:/worksp/logpm/pages/index/index.vue"]]);
- const _sfc_main$1P = /* @__PURE__ */ vue.defineComponent({
+ const PagesIndexIndex = /* @__PURE__ */ _export_sfc(_sfc_main$1O, [["__file", "D:/worksp/logpm/pages/index/index.vue"]]);
+ const _sfc_main$1N = /* @__PURE__ */ vue.defineComponent({
__name: "user",
setup(__props) {
let users = vue.ref(null);
@@ -8999,8 +8845,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesUserUser = /* @__PURE__ */ _export_sfc(_sfc_main$1P, [["__file", "D:/worksp/logpm/pages/user/user.vue"]]);
- const _sfc_main$1O = /* @__PURE__ */ vue.defineComponent({
+ const PagesUserUser = /* @__PURE__ */ _export_sfc(_sfc_main$1N, [["__file", "D:/worksp/logpm/pages/user/user.vue"]]);
+ const _sfc_main$1M = /* @__PURE__ */ vue.defineComponent({
__name: "news",
setup(__props) {
onPullDownRefresh(() => {
@@ -9063,8 +8909,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesNewsNews = /* @__PURE__ */ _export_sfc(_sfc_main$1O, [["__file", "D:/worksp/logpm/pages/news/news.vue"]]);
- const _sfc_main$1N = /* @__PURE__ */ vue.defineComponent({
+ const PagesNewsNews = /* @__PURE__ */ _export_sfc(_sfc_main$1M, [["__file", "D:/worksp/logpm/pages/news/news.vue"]]);
+ const _sfc_main$1L = /* @__PURE__ */ vue.defineComponent({
__name: "taskList",
setup(__props) {
const tip = vue.ref(null);
@@ -9100,7 +8946,7 @@ This will fail in production if not fixed.`);
});
const { tablist } = vue.toRefs(details);
return (_ctx, _cache) => {
- const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4);
+ const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$5);
const _component_tips = vue.resolveComponent("tips");
return vue.openBlock(), vue.createElementBlock(
vue.Fragment,
@@ -9176,8 +9022,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesTaskListTaskList = /* @__PURE__ */ _export_sfc(_sfc_main$1N, [["__file", "D:/worksp/logpm/pages/taskList/taskList.vue"]]);
- const _sfc_main$1M = /* @__PURE__ */ vue.defineComponent({
+ const PagesTaskListTaskList = /* @__PURE__ */ _export_sfc(_sfc_main$1L, [["__file", "D:/worksp/logpm/pages/taskList/taskList.vue"]]);
+ const _sfc_main$1K = /* @__PURE__ */ vue.defineComponent({
__name: "reportForms",
setup(__props) {
onPullDownRefresh(() => {
@@ -9191,7 +9037,7 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesReportFormsReportForms = /* @__PURE__ */ _export_sfc(_sfc_main$1M, [["__file", "D:/worksp/logpm/pages/reportForms/reportForms.vue"]]);
+ const PagesReportFormsReportForms = /* @__PURE__ */ _export_sfc(_sfc_main$1K, [["__file", "D:/worksp/logpm/pages/reportForms/reportForms.vue"]]);
let calendar = {
/**
* 农历1900-2100的润大小信息表
@@ -10111,7 +9957,7 @@ This will fail in production if not fixed.`);
solar2lunar: calendar.solar2lunar,
lunar2solar: calendar.lunar2solar
};
- const _sfc_main$1L = {
+ const _sfc_main$1J = {
name: "lCalendar",
model: {
prop: "value",
@@ -10524,7 +10370,7 @@ This will fail in production if not fixed.`);
}
}
};
- function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
+ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
return vue.openBlock(), vue.createElementBlock(
"view",
{
@@ -10765,7 +10611,7 @@ This will fail in production if not fixed.`);
/* HYDRATE_EVENTS */
);
}
- const __easycom_1$4 = /* @__PURE__ */ _export_sfc(_sfc_main$1L, [["render", _sfc_render$x], ["__scopeId", "data-v-665735f1"], ["__file", "D:/worksp/logpm/uni_modules/l-calendar/components/l-calendar/l-calendar.vue"]]);
+ const __easycom_1$3 = /* @__PURE__ */ _export_sfc(_sfc_main$1J, [["render", _sfc_render$v], ["__scopeId", "data-v-665735f1"], ["__file", "D:/worksp/logpm/uni_modules/l-calendar/components/l-calendar/l-calendar.vue"]]);
const useSearchInfoStore = defineStore("useSearchInfoStore", () => {
const searchInfo = vue.ref({});
const HANDLE_EDIT_INFO = (pageName, info) => {
@@ -10784,7 +10630,7 @@ This will fail in production if not fixed.`);
HANDLE_CLEAR
};
});
- const _sfc_main$1K = /* @__PURE__ */ vue.defineComponent({
+ const _sfc_main$1I = /* @__PURE__ */ vue.defineComponent({
__name: "pickingScan",
setup(__props) {
const option = {
@@ -10920,10 +10766,10 @@ This will fail in production if not fixed.`);
}
const { datatime, dataList, show, status } = vue.toRefs(details);
return (_ctx, _cache) => {
- const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$5);
+ const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$6);
const _component_BasicContainer = vue.resolveComponent("BasicContainer");
const _component_tips = vue.resolveComponent("tips");
- const _component_l_calendar = resolveEasycom(vue.resolveDynamicComponent("l-calendar"), __easycom_1$4);
+ const _component_l_calendar = resolveEasycom(vue.resolveDynamicComponent("l-calendar"), __easycom_1$3);
return vue.openBlock(), vue.createElementBlock(
vue.Fragment,
null,
@@ -11213,8 +11059,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesPickingScanPickingScan = /* @__PURE__ */ _export_sfc(_sfc_main$1K, [["__file", "D:/worksp/logpm/pagesHome/pages/pickingScan/pickingScan.vue"]]);
- const _sfc_main$1J = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesPickingScanPickingScan = /* @__PURE__ */ _export_sfc(_sfc_main$1I, [["__file", "D:/worksp/logpm/pagesHome/pages/pickingScan/pickingScan.vue"]]);
+ const _sfc_main$1H = /* @__PURE__ */ vue.defineComponent({
__name: "StowageList",
setup(__props) {
const option = {
@@ -11351,10 +11197,10 @@ This will fail in production if not fixed.`);
}
const { datatime, dataList, show, status } = vue.toRefs(details);
return (_ctx, _cache) => {
- const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$5);
+ const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$6);
const _component_BasicContainer = vue.resolveComponent("BasicContainer");
const _component_tips = vue.resolveComponent("tips");
- const _component_l_calendar = resolveEasycom(vue.resolveDynamicComponent("l-calendar"), __easycom_1$4);
+ const _component_l_calendar = resolveEasycom(vue.resolveDynamicComponent("l-calendar"), __easycom_1$3);
return vue.openBlock(), vue.createElementBlock(
vue.Fragment,
null,
@@ -11582,7 +11428,7 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesStowageListStowageList = /* @__PURE__ */ _export_sfc(_sfc_main$1J, [["__scopeId", "data-v-10679139"], ["__file", "D:/worksp/logpm/pagesHome/pages/StowageList/StowageList.vue"]]);
+ const PagesHomePagesStowageListStowageList = /* @__PURE__ */ _export_sfc(_sfc_main$1H, [["__scopeId", "data-v-10679139"], ["__file", "D:/worksp/logpm/pagesHome/pages/StowageList/StowageList.vue"]]);
const useSystemSettingsStore = defineStore("useSystemSettingsStore", () => {
const scanStateList = vue.reactive([{
title: "关闭",
@@ -11602,7 +11448,7 @@ This will fail in production if not fixed.`);
HANDLE_SCANSTATE
};
});
- const _sfc_main$1I = /* @__PURE__ */ vue.defineComponent({
+ const _sfc_main$1G = /* @__PURE__ */ vue.defineComponent({
__name: "StowageListDetails",
setup(__props) {
const { scanState } = storeToRefs(useSystemSettingsStore());
@@ -12532,8 +12378,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesStowageListDetailsStowageListDetails = /* @__PURE__ */ _export_sfc(_sfc_main$1I, [["__scopeId", "data-v-66cbfd20"], ["__file", "D:/worksp/logpm/pagesHome/pages/StowageListDetails/StowageListDetails.vue"]]);
- const _sfc_main$1H = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesStowageListDetailsStowageListDetails = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["__scopeId", "data-v-66cbfd20"], ["__file", "D:/worksp/logpm/pagesHome/pages/StowageListDetails/StowageListDetails.vue"]]);
+ const _sfc_main$1F = /* @__PURE__ */ vue.defineComponent({
__name: "RelayScanList",
setup(__props) {
const option = {
@@ -12648,10 +12494,10 @@ This will fail in production if not fixed.`);
}
const { datatime, dataList, show, status } = vue.toRefs(details);
return (_ctx, _cache) => {
- const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$5);
+ const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$6);
const _component_BasicContainer = vue.resolveComponent("BasicContainer");
const _component_tips = vue.resolveComponent("tips");
- const _component_l_calendar = resolveEasycom(vue.resolveDynamicComponent("l-calendar"), __easycom_1$4);
+ const _component_l_calendar = resolveEasycom(vue.resolveDynamicComponent("l-calendar"), __easycom_1$3);
return vue.openBlock(), vue.createElementBlock(
vue.Fragment,
null,
@@ -12897,8 +12743,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesRelayScanListRelayScanList = /* @__PURE__ */ _export_sfc(_sfc_main$1H, [["__file", "D:/worksp/logpm/pagesHome/pages/RelayScanList/RelayScanList.vue"]]);
- const _sfc_main$1G = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesRelayScanListRelayScanList = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["__file", "D:/worksp/logpm/pagesHome/pages/RelayScanList/RelayScanList.vue"]]);
+ const _sfc_main$1E = /* @__PURE__ */ vue.defineComponent({
__name: "codePlateBracket",
setup(__props) {
const { scanState } = storeToRefs(useSystemSettingsStore());
@@ -13093,9 +12939,9 @@ This will fail in production if not fixed.`);
scancode
} = vue.toRefs(details);
return (_ctx, _cache) => {
- const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$5);
+ const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$6);
const _component_BasicContainer = vue.resolveComponent("BasicContainer");
- const _component_l_calendar = resolveEasycom(vue.resolveDynamicComponent("l-calendar"), __easycom_1$4);
+ const _component_l_calendar = resolveEasycom(vue.resolveDynamicComponent("l-calendar"), __easycom_1$3);
const _component_saomiao2 = vue.resolveComponent("saomiao2");
return vue.openBlock(), vue.createElementBlock(
vue.Fragment,
@@ -13331,8 +13177,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesCodePlateBracketCodePlateBracket = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["__scopeId", "data-v-dd2e73fd"], ["__file", "D:/worksp/logpm/pagesHome/pages/codePlateBracket/codePlateBracket.vue"]]);
- const _sfc_main$1F = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesCodePlateBracketCodePlateBracket = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["__scopeId", "data-v-dd2e73fd"], ["__file", "D:/worksp/logpm/pagesHome/pages/codePlateBracket/codePlateBracket.vue"]]);
+ const _sfc_main$1D = /* @__PURE__ */ vue.defineComponent({
__name: "ArrivalList",
setup(__props) {
const { scanState } = storeToRefs(useSystemSettingsStore());
@@ -13517,9 +13363,9 @@ This will fail in production if not fixed.`);
scancode
} = vue.toRefs(details);
return (_ctx, _cache) => {
- const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$5);
+ const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$6);
const _component_BasicContainer = vue.resolveComponent("BasicContainer");
- const _component_l_calendar = resolveEasycom(vue.resolveDynamicComponent("l-calendar"), __easycom_1$4);
+ const _component_l_calendar = resolveEasycom(vue.resolveDynamicComponent("l-calendar"), __easycom_1$3);
const _component_saomiao2 = vue.resolveComponent("saomiao2");
return vue.openBlock(), vue.createElementBlock(
vue.Fragment,
@@ -13685,8 +13531,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesArrivalListArrivalList = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["__scopeId", "data-v-1bee7dd1"], ["__file", "D:/worksp/logpm/pagesHome/pages/ArrivalList/ArrivalList.vue"]]);
- const props$h = {
+ const PagesHomePagesArrivalListArrivalList = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["__scopeId", "data-v-1bee7dd1"], ["__file", "D:/worksp/logpm/pagesHome/pages/ArrivalList/ArrivalList.vue"]]);
+ const props$f = {
props: {
color: {
type: String,
@@ -13719,9 +13565,9 @@ This will fail in production if not fixed.`);
}
}
};
- const _sfc_main$1E = {
+ const _sfc_main$1C = {
name: "u-line",
- mixins: [mpMixin$1, mixin$1, props$h],
+ mixins: [mpMixin$1, mixin$1, props$f],
computed: {
lineStyle() {
const style = {};
@@ -13744,7 +13590,7 @@ This will fail in production if not fixed.`);
}
}
};
- function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
+ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
return vue.openBlock(), vue.createElementBlock(
"view",
{
@@ -13756,8 +13602,8 @@ This will fail in production if not fixed.`);
/* STYLE */
);
}
- const __easycom_1$3 = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["render", _sfc_render$w], ["__scopeId", "data-v-72791e59"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-line/u-line.vue"]]);
- const props$g = {
+ const __easycom_1$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1C, [["render", _sfc_render$u], ["__scopeId", "data-v-72791e59"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-line/u-line.vue"]]);
+ const props$e = {
props: {
// 是否虚线
dashed: {
@@ -13801,9 +13647,9 @@ This will fail in production if not fixed.`);
}
}
};
- const _sfc_main$1D = {
+ const _sfc_main$1B = {
name: "u-divider",
- mixins: [mpMixin$1, mixin$1, props$g],
+ mixins: [mpMixin$1, mixin$1, props$e],
computed: {
textStyle() {
const style = {};
@@ -13839,8 +13685,8 @@ This will fail in production if not fixed.`);
}
}
};
- function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
- const _component_u_line = resolveEasycom(vue.resolveDynamicComponent("u-line"), __easycom_1$3);
+ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
+ const _component_u_line = resolveEasycom(vue.resolveDynamicComponent("u-line"), __easycom_1$2);
return vue.openBlock(), vue.createElementBlock(
"view",
{
@@ -13880,9 +13726,9 @@ This will fail in production if not fixed.`);
/* STYLE */
);
}
- const __easycom_3$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["render", _sfc_render$v], ["__scopeId", "data-v-ea022cee"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-divider/u-divider.vue"]]);
- const _sfc_main$1C = {};
- function _sfc_render$u(_ctx, _cache) {
+ const __easycom_0$4 = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["render", _sfc_render$t], ["__scopeId", "data-v-ea022cee"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-divider/u-divider.vue"]]);
+ const _sfc_main$1A = {};
+ function _sfc_render$s(_ctx, _cache) {
return vue.openBlock(), vue.createElementBlock("div", { class: "template" }, [
vue.createElementVNode("view", { class: "cartoon" }, [
vue.createElementVNode("span", { class: "char" }, "拼"),
@@ -13896,10 +13742,10 @@ This will fail in production if not fixed.`);
])
]);
}
- const loading = /* @__PURE__ */ _export_sfc(_sfc_main$1C, [["render", _sfc_render$u], ["__scopeId", "data-v-428afd62"], ["__file", "D:/worksp/logpm/uni_modules/jp-virtual-list/components/jp-virtual-list/loading.vue"]]);
+ const loading = /* @__PURE__ */ _export_sfc(_sfc_main$1A, [["render", _sfc_render$s], ["__scopeId", "data-v-428afd62"], ["__file", "D:/worksp/logpm/uni_modules/jp-virtual-list/components/jp-virtual-list/loading.vue"]]);
const _imports_0$3 = "/assets/top.8e031a5d.png";
let observer = null;
- const _sfc_main$1B = {
+ const _sfc_main$1z = {
components: {
loading
},
@@ -14463,7 +14309,7 @@ This will fail in production if not fixed.`);
}
}
};
- function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
+ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
const _component_loading = vue.resolveComponent("loading");
return vue.openBlock(), vue.createElementBlock(
"view",
@@ -14608,8 +14454,8 @@ This will fail in production if not fixed.`);
/* NEED_PATCH */
);
}
- const __easycom_0$3 = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["render", _sfc_render$t], ["__scopeId", "data-v-956c70b1"], ["__file", "D:/worksp/logpm/uni_modules/jp-virtual-list/components/jp-virtual-list/jp-virtual-list.vue"]]);
- const _sfc_main$1A = /* @__PURE__ */ vue.defineComponent({
+ const __easycom_0$3 = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["render", _sfc_render$r], ["__scopeId", "data-v-956c70b1"], ["__file", "D:/worksp/logpm/uni_modules/jp-virtual-list/components/jp-virtual-list/jp-virtual-list.vue"]]);
+ const _sfc_main$1y = /* @__PURE__ */ vue.defineComponent({
__name: "VehicleArrivalDetails",
setup(__props) {
const { scanState } = storeToRefs(useSystemSettingsStore());
@@ -14965,7 +14811,7 @@ This will fail in production if not fixed.`);
};
const { orderStatus, items, datalist } = vue.toRefs(details);
return (_ctx, _cache) => {
- const _component_u_divider = resolveEasycom(vue.resolveDynamicComponent("u-divider"), __easycom_3$2);
+ const _component_u_divider = resolveEasycom(vue.resolveDynamicComponent("u-divider"), __easycom_0$4);
const _component_PullDownBox = vue.resolveComponent("PullDownBox");
const _component_jp_virtual_list = resolveEasycom(vue.resolveDynamicComponent("jp-virtual-list"), __easycom_0$3);
const _component_BasicContainer = vue.resolveComponent("BasicContainer");
@@ -15595,8 +15441,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesVehicleArrivalDetailsVehicleArrivalDetails = /* @__PURE__ */ _export_sfc(_sfc_main$1A, [["__scopeId", "data-v-846c29fb"], ["__file", "D:/worksp/logpm/pagesHome/pages/VehicleArrivalDetails/VehicleArrivalDetails.vue"]]);
- const _sfc_main$1z = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesVehicleArrivalDetailsVehicleArrivalDetails = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["__scopeId", "data-v-846c29fb"], ["__file", "D:/worksp/logpm/pagesHome/pages/VehicleArrivalDetails/VehicleArrivalDetails.vue"]]);
+ const _sfc_main$1x = /* @__PURE__ */ vue.defineComponent({
__name: "SelfPickupScan",
setup(__props) {
const option = {
@@ -15870,8 +15716,8 @@ This will fail in production if not fixed.`);
};
const { datatime, dataList, show, recordsList } = vue.toRefs(details);
return (_ctx, _cache) => {
- const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$5);
- const _component_l_calendar = resolveEasycom(vue.resolveDynamicComponent("l-calendar"), __easycom_1$4);
+ const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$6);
+ const _component_l_calendar = resolveEasycom(vue.resolveDynamicComponent("l-calendar"), __easycom_1$3);
const _component_BasicContainer = vue.resolveComponent("BasicContainer");
const _component_PopUp = vue.resolveComponent("PopUp");
const _component_tiplist = vue.resolveComponent("tiplist");
@@ -16129,8 +15975,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesSelfPickupScanSelfPickupScan = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["__scopeId", "data-v-62fd4582"], ["__file", "D:/worksp/logpm/pagesHome/pages/SelfPickupScan/SelfPickupScan.vue"]]);
- const _sfc_main$1y = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesSelfPickupScanSelfPickupScan = /* @__PURE__ */ _export_sfc(_sfc_main$1x, [["__scopeId", "data-v-62fd4582"], ["__file", "D:/worksp/logpm/pagesHome/pages/SelfPickupScan/SelfPickupScan.vue"]]);
+ const _sfc_main$1w = /* @__PURE__ */ vue.defineComponent({
__name: "LoadingScan",
setup(__props) {
const tip = vue.ref(null);
@@ -16495,9 +16341,9 @@ This will fail in production if not fixed.`);
}
const { checkstate, datatime, recordsList, show } = vue.toRefs(details);
return (_ctx, _cache) => {
- const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$5);
+ const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$6);
const _component_BasicContainer = vue.resolveComponent("BasicContainer");
- const _component_l_calendar = resolveEasycom(vue.resolveDynamicComponent("l-calendar"), __easycom_1$4);
+ const _component_l_calendar = resolveEasycom(vue.resolveDynamicComponent("l-calendar"), __easycom_1$3);
const _component_tiplist = vue.resolveComponent("tiplist");
const _component_tips = vue.resolveComponent("tips");
return vue.openBlock(), vue.createElementBlock(
@@ -16822,8 +16668,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesLoadingScanLoadingScan = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["__file", "D:/worksp/logpm/pagesHome/pages/LoadingScan/LoadingScan.vue"]]);
- const props$f = {
+ const PagesHomePagesLoadingScanLoadingScan = /* @__PURE__ */ _export_sfc(_sfc_main$1w, [["__file", "D:/worksp/logpm/pagesHome/pages/LoadingScan/LoadingScan.vue"]]);
+ const props$d = {
props: {
// 搜索框形状,round-圆形,square-方形
shape: {
@@ -16945,9 +16791,9 @@ This will fail in production if not fixed.`);
}
}
};
- const _sfc_main$1x = {
+ const _sfc_main$1v = {
name: "u-search",
- mixins: [mpMixin$1, mixin$1, props$f],
+ mixins: [mpMixin$1, mixin$1, props$d],
data() {
return {
keyword: "",
@@ -17033,8 +16879,8 @@ This will fail in production if not fixed.`);
}
}
};
- function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
- const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$5);
+ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
+ const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$6);
return vue.openBlock(), vue.createElementBlock(
"view",
{
@@ -17127,8 +16973,8 @@ This will fail in production if not fixed.`);
/* STYLE */
);
}
- const __easycom_1$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1x, [["render", _sfc_render$s], ["__scopeId", "data-v-e082a34a"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-search/u-search.vue"]]);
- const props$e = {
+ const __easycom_1$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["render", _sfc_render$q], ["__scopeId", "data-v-e082a34a"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-search/u-search.vue"]]);
+ const props$c = {
props: {
// 步进器标识符,在change回调返回
name: {
@@ -17237,9 +17083,9 @@ This will fail in production if not fixed.`);
}
}
};
- const _sfc_main$1w = {
+ const _sfc_main$1u = {
name: "u-number-box",
- mixins: [mpMixin$1, mixin$1, props$e],
+ mixins: [mpMixin$1, mixin$1, props$c],
data() {
return {
// 输入框实际操作的值
@@ -17450,8 +17296,8 @@ This will fail in production if not fixed.`);
}
}
};
- function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
- const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$5);
+ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
+ const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$6);
return vue.openBlock(), vue.createElementBlock("view", { class: "u-number-box" }, [
_ctx.showMinus && _ctx.$slots.minus ? (vue.openBlock(), vue.createElementBlock(
"view",
@@ -17546,8 +17392,8 @@ This will fail in production if not fixed.`);
)) : vue.createCommentVNode("v-if", true)
]);
}
- const __easycom_2$3 = /* @__PURE__ */ _export_sfc(_sfc_main$1w, [["render", _sfc_render$r], ["__scopeId", "data-v-eb6f6237"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-number-box/u-number-box.vue"]]);
- const props$d = {
+ const __easycom_2$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["render", _sfc_render$p], ["__scopeId", "data-v-eb6f6237"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-number-box/u-number-box.vue"]]);
+ const props$b = {
props: {
// 是否显示组件
show: {
@@ -17606,9 +17452,9 @@ This will fail in production if not fixed.`);
}
}
};
- const _sfc_main$1v = {
+ const _sfc_main$1t = {
name: "u-loading-icon",
- mixins: [mpMixin$1, mixin$1, props$d],
+ mixins: [mpMixin$1, mixin$1, props$b],
data() {
return {
// Array.form可以通过一个伪数组对象创建指定长度的数组
@@ -17666,7 +17512,7 @@ This will fail in production if not fixed.`);
}
}
};
- function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
+ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
return _ctx.show ? (vue.openBlock(), vue.createElementBlock(
"view",
{
@@ -17729,8 +17575,8 @@ This will fail in production if not fixed.`);
/* CLASS, STYLE */
)) : vue.createCommentVNode("v-if", true);
}
- const __easycom_3$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["render", _sfc_render$q], ["__scopeId", "data-v-2af81691"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-loading-icon/u-loading-icon.vue"]]);
- const props$c = {
+ const __easycom_3$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["render", _sfc_render$o], ["__scopeId", "data-v-2af81691"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-loading-icon/u-loading-icon.vue"]]);
+ const props$a = {
props: {
// 是否展示组件
show: {
@@ -17809,7 +17655,7 @@ This will fail in production if not fixed.`);
}
}
};
- const _sfc_main$1u = {
+ const _sfc_main$1s = {
name: "u-transition",
data() {
return {
@@ -17841,7 +17687,7 @@ This will fail in production if not fixed.`);
}
},
// 将mixin挂在到组件中,uni.$u.mixin实际上为一个vue格式对象
- mixins: [mpMixin$1, mixin$1, transition, props$c],
+ mixins: [mpMixin$1, mixin$1, transition, props$a],
watch: {
show: {
handler(newVal) {
@@ -17852,7 +17698,7 @@ This will fail in production if not fixed.`);
}
}
};
- function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
+ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
return $data.inited ? (vue.openBlock(), vue.createElementBlock(
"view",
{
@@ -17870,8 +17716,8 @@ This will fail in production if not fixed.`);
/* CLASS, STYLE, HYDRATE_EVENTS */
)) : vue.createCommentVNode("v-if", true);
}
- const __easycom_0$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["render", _sfc_render$p], ["__scopeId", "data-v-5cec8177"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-transition/u-transition.vue"]]);
- const props$b = {
+ const __easycom_0$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["render", _sfc_render$n], ["__scopeId", "data-v-5cec8177"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-transition/u-transition.vue"]]);
+ const props$9 = {
props: {
// 是否显示遮罩
show: {
@@ -17895,9 +17741,9 @@ This will fail in production if not fixed.`);
}
}
};
- const _sfc_main$1t = {
+ const _sfc_main$1r = {
name: "u-overlay",
- mixins: [mpMixin$1, mixin$1, props$b],
+ mixins: [mpMixin$1, mixin$1, props$9],
computed: {
overlayStyle() {
const style = {
@@ -17918,7 +17764,7 @@ This will fail in production if not fixed.`);
}
}
};
- function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
+ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
const _component_u_transition = resolveEasycom(vue.resolveDynamicComponent("u-transition"), __easycom_0$2);
return vue.openBlock(), vue.createBlock(_component_u_transition, {
show: _ctx.show,
@@ -17934,8 +17780,8 @@ This will fail in production if not fixed.`);
/* FORWARDED */
}, 8, ["show", "duration", "custom-style", "onClick"]);
}
- const __easycom_4 = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["render", _sfc_render$o], ["__scopeId", "data-v-9112bed9"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-overlay/u-overlay.vue"]]);
- const props$a = {
+ const __easycom_4 = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["render", _sfc_render$m], ["__scopeId", "data-v-9112bed9"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-overlay/u-overlay.vue"]]);
+ const props$8 = {
props: {
// 是否细边框
hairline: {
@@ -18087,9 +17933,9 @@ This will fail in production if not fixed.`);
}
}
};
- const _sfc_main$1s = {
+ const _sfc_main$1q = {
name: "u-button",
- mixins: [mpMixin$1, mixin$1, props$a],
+ mixins: [mpMixin$1, mixin$1, props$8],
data() {
return {};
},
@@ -18211,9 +18057,9 @@ This will fail in production if not fixed.`);
}
}
};
- function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
+ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
const _component_u_loading_icon = resolveEasycom(vue.resolveDynamicComponent("u-loading-icon"), __easycom_3$1);
- const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$5);
+ const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$6);
return vue.openBlock(), vue.createElementBlock("button", {
"hover-start-time": Number(_ctx.hoverStartTime),
"hover-stay-time": Number(_ctx.hoverStayTime),
@@ -18289,8 +18135,8 @@ This will fail in production if not fixed.`);
))
], 46, ["hover-start-time", "hover-stay-time", "form-type", "open-type", "app-parameter", "hover-stop-propagation", "send-message-title", "send-message-path", "lang", "data-name", "session-from", "send-message-img", "show-message-card", "hover-class"]);
}
- const __easycom_6$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["render", _sfc_render$n], ["__scopeId", "data-v-5ce41ee6"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-button/u-button.vue"]]);
- const props$9 = {
+ const __easycom_6$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["render", _sfc_render$l], ["__scopeId", "data-v-5ce41ee6"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-button/u-button.vue"]]);
+ const props$7 = {
props: {
// 内置图标名称,或图片路径,建议绝对路径
icon: {
@@ -18349,9 +18195,9 @@ This will fail in production if not fixed.`);
}
}
};
- const _sfc_main$1r = {
+ const _sfc_main$1p = {
name: "u-empty",
- mixins: [mpMixin$1, mixin$1, props$9],
+ mixins: [mpMixin$1, mixin$1, props$7],
data() {
return {
icons: {
@@ -18393,8 +18239,8 @@ This will fail in production if not fixed.`);
}
}
};
- function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
- const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$5);
+ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
+ const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$6);
return _ctx.show ? (vue.openBlock(), vue.createElementBlock(
"view",
{
@@ -18439,8 +18285,8 @@ This will fail in production if not fixed.`);
/* STYLE */
)) : vue.createCommentVNode("v-if", true);
}
- const __easycom_7$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["render", _sfc_render$m], ["__scopeId", "data-v-8dd5928e"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-empty/u-empty.vue"]]);
- const props$8 = {
+ const __easycom_7$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["render", _sfc_render$k], ["__scopeId", "data-v-8dd5928e"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-empty/u-empty.vue"]]);
+ const props$6 = {
props: {
// 标题
title: {
@@ -18550,12 +18396,12 @@ This will fail in production if not fixed.`);
}
}
};
- const _sfc_main$1q = {
+ const _sfc_main$1o = {
name: "u-cell",
data() {
return {};
},
- mixins: [mpMixin$1, mixin$1, props$8],
+ mixins: [mpMixin$1, mixin$1, props$6],
computed: {
titleTextStyle() {
return uni.$u.addStyle(this.titleStyle);
@@ -18575,9 +18421,9 @@ This will fail in production if not fixed.`);
}
}
};
- function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
- const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$5);
- const _component_u_line = resolveEasycom(vue.resolveDynamicComponent("u-line"), __easycom_1$3);
+ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
+ const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$6);
+ const _component_u_line = resolveEasycom(vue.resolveDynamicComponent("u-line"), __easycom_1$2);
return vue.openBlock(), vue.createElementBlock("view", {
class: vue.normalizeClass(["u-cell", [_ctx.customClass]]),
style: vue.normalizeStyle([_ctx.$u.addStyle(_ctx.customStyle)]),
@@ -18668,8 +18514,8 @@ This will fail in production if not fixed.`);
_ctx.border ? (vue.openBlock(), vue.createBlock(_component_u_line, { key: 0 })) : vue.createCommentVNode("v-if", true)
], 14, ["hover-class"]);
}
- const __easycom_0$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["render", _sfc_render$l], ["__scopeId", "data-v-3fd6feca"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-cell/u-cell.vue"]]);
- const props$7 = {
+ const __easycom_0$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["render", _sfc_render$j], ["__scopeId", "data-v-3fd6feca"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-cell/u-cell.vue"]]);
+ const props$5 = {
props: {
// 标题
title: {
@@ -18728,9 +18574,9 @@ This will fail in production if not fixed.`);
}
}
};
- const _sfc_main$1p = {
+ const _sfc_main$1n = {
name: "u-collapse-item",
- mixins: [mpMixin$1, mixin$1, props$7],
+ mixins: [mpMixin$1, mixin$1, props$5],
data() {
return {
elId: uni.$u.guid(),
@@ -18821,9 +18667,9 @@ This will fail in production if not fixed.`);
}
}
};
- function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
+ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
const _component_u_cell = resolveEasycom(vue.resolveDynamicComponent("u-cell"), __easycom_0$1);
- const _component_u_line = resolveEasycom(vue.resolveDynamicComponent("u-line"), __easycom_1$3);
+ const _component_u_line = resolveEasycom(vue.resolveDynamicComponent("u-line"), __easycom_1$2);
return vue.openBlock(), vue.createElementBlock("view", { class: "u-collapse-item" }, [
vue.createVNode(_component_u_cell, {
title: _ctx.title,
@@ -18868,8 +18714,8 @@ This will fail in production if not fixed.`);
$data.parentData.border ? (vue.openBlock(), vue.createBlock(_component_u_line, { key: 0 })) : vue.createCommentVNode("v-if", true)
]);
}
- const __easycom_8 = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["render", _sfc_render$k], ["__scopeId", "data-v-82f3baf9"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-collapse-item/u-collapse-item.vue"]]);
- const props$6 = {
+ const __easycom_8 = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["render", _sfc_render$i], ["__scopeId", "data-v-82f3baf9"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-collapse-item/u-collapse-item.vue"]]);
+ const props$4 = {
props: {
// 当前展开面板的name,非手风琴模式:[],手风琴模式:string | number
value: {
@@ -18888,9 +18734,9 @@ This will fail in production if not fixed.`);
}
}
};
- const _sfc_main$1o = {
+ const _sfc_main$1m = {
name: "u-collapse",
- mixins: [mpMixin$1, mixin$1, props$6],
+ mixins: [mpMixin$1, mixin$1, props$4],
watch: {
needInit() {
this.init();
@@ -18946,15 +18792,15 @@ This will fail in production if not fixed.`);
}
}
};
- function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
- const _component_u_line = resolveEasycom(vue.resolveDynamicComponent("u-line"), __easycom_1$3);
+ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
+ const _component_u_line = resolveEasycom(vue.resolveDynamicComponent("u-line"), __easycom_1$2);
return vue.openBlock(), vue.createElementBlock("view", { class: "u-collapse" }, [
_ctx.border ? (vue.openBlock(), vue.createBlock(_component_u_line, { key: 0 })) : vue.createCommentVNode("v-if", true),
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
]);
}
- const __easycom_9 = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["render", _sfc_render$j], ["__scopeId", "data-v-90f85a74"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-collapse/u-collapse.vue"]]);
- const _sfc_main$1n = /* @__PURE__ */ vue.defineComponent({
+ const __easycom_9 = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["render", _sfc_render$h], ["__scopeId", "data-v-90f85a74"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-collapse/u-collapse.vue"]]);
+ const _sfc_main$1l = /* @__PURE__ */ vue.defineComponent({
__name: "loadingRetention",
setup(__props) {
const { scanState } = storeToRefs(useSystemSettingsStore());
@@ -19248,12 +19094,12 @@ This will fail in production if not fixed.`);
}
const { items, renderList, tabBarCode } = vue.toRefs(details);
return (_ctx, _cache) => {
- const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4);
- const _component_u_search = resolveEasycom(vue.resolveDynamicComponent("u-search"), __easycom_1$2);
- const _component_u_number_box = resolveEasycom(vue.resolveDynamicComponent("u-number-box"), __easycom_2$3);
+ const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$5);
+ const _component_u_search = resolveEasycom(vue.resolveDynamicComponent("u-search"), __easycom_1$1);
+ const _component_u_number_box = resolveEasycom(vue.resolveDynamicComponent("u-number-box"), __easycom_2$2);
const _component_u_loading_icon = resolveEasycom(vue.resolveDynamicComponent("u-loading-icon"), __easycom_3$1);
const _component_u_overlay = resolveEasycom(vue.resolveDynamicComponent("u-overlay"), __easycom_4);
- const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$5);
+ const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$6);
const _component_u_button = resolveEasycom(vue.resolveDynamicComponent("u-button"), __easycom_6$1);
const _component_u_empty = resolveEasycom(vue.resolveDynamicComponent("u-empty"), __easycom_7$1);
const _component_u_collapse_item = resolveEasycom(vue.resolveDynamicComponent("u-collapse-item"), __easycom_8);
@@ -19887,8 +19733,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesLoadingRetentionLoadingRetention = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["__scopeId", "data-v-0b4cf6ee"], ["__file", "D:/worksp/logpm/pagesHome/pages/loadingRetention/loadingRetention.vue"]]);
- const _sfc_main$1m = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesLoadingRetentionLoadingRetention = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["__scopeId", "data-v-0b4cf6ee"], ["__file", "D:/worksp/logpm/pagesHome/pages/loadingRetention/loadingRetention.vue"]]);
+ const _sfc_main$1k = /* @__PURE__ */ vue.defineComponent({
__name: "StockUplist",
setup(__props) {
const { scanState } = storeToRefs(useSystemSettingsStore());
@@ -20764,8 +20610,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesStockUplistStockUplist = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["__scopeId", "data-v-64d8d9ce"], ["__file", "D:/worksp/logpm/pagesHome/pages/StockUplist/StockUplist.vue"]]);
- const _sfc_main$1l = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesStockUplistStockUplist = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["__scopeId", "data-v-64d8d9ce"], ["__file", "D:/worksp/logpm/pagesHome/pages/StockUplist/StockUplist.vue"]]);
+ const _sfc_main$1j = /* @__PURE__ */ vue.defineComponent({
__name: "StockUplistScandetails",
setup(__props) {
const { scanState } = storeToRefs(useSystemSettingsStore());
@@ -20989,7 +20835,7 @@ This will fail in production if not fixed.`);
const { dataList } = vue.toRefs(details);
return (_ctx, _cache) => {
const _component_BasicContainer = vue.resolveComponent("BasicContainer");
- const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4);
+ const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$5);
const _component_tiplist = vue.resolveComponent("tiplist");
const _component_BluetoothList = vue.resolveComponent("BluetoothList");
const _component_saomiao2 = vue.resolveComponent("saomiao2");
@@ -21175,15 +21021,15 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesStockUplistScandetailsStockUplistScandetails = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["__file", "D:/worksp/logpm/pagesHome/pages/StockUplistScandetails/StockUplistScandetails.vue"]]);
- const _sfc_main$1k = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesStockUplistScandetailsStockUplistScandetails = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__file", "D:/worksp/logpm/pagesHome/pages/StockUplistScandetails/StockUplistScandetails.vue"]]);
+ const _sfc_main$1i = /* @__PURE__ */ vue.defineComponent({
__name: "DownScan",
setup(__props) {
onShow(() => {
uni.$off("scancodedate");
});
return (_ctx, _cache) => {
- const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4);
+ const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$5);
return vue.openBlock(), vue.createElementBlock(
vue.Fragment,
null,
@@ -21205,8 +21051,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesDownScanDownScan = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["__file", "D:/worksp/logpm/pagesHome/pages/DownScan/DownScan.vue"]]);
- const _sfc_main$1j = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesDownScanDownScan = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["__file", "D:/worksp/logpm/pagesHome/pages/DownScan/DownScan.vue"]]);
+ const _sfc_main$1h = /* @__PURE__ */ vue.defineComponent({
__name: "signinScan",
setup(__props) {
const basicContainer = vue.ref(null);
@@ -21327,9 +21173,9 @@ This will fail in production if not fixed.`);
}
const { checkstate, datatime, datalist, show } = vue.toRefs(details);
return (_ctx, _cache) => {
- const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$5);
+ const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$6);
const _component_BasicContainer = vue.resolveComponent("BasicContainer");
- const _component_l_calendar = resolveEasycom(vue.resolveDynamicComponent("l-calendar"), __easycom_1$4);
+ const _component_l_calendar = resolveEasycom(vue.resolveDynamicComponent("l-calendar"), __easycom_1$3);
return vue.openBlock(), vue.createElementBlock(
vue.Fragment,
null,
@@ -21598,9 +21444,9 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesSigninScanSigninScan = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__file", "D:/worksp/logpm/pagesHome/pages/signinScan/signinScan.vue"]]);
+ const PagesHomePagesSigninScanSigninScan = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__file", "D:/worksp/logpm/pagesHome/pages/signinScan/signinScan.vue"]]);
const _imports_0$2 = "/assets/cha.b7e7843e.png";
- const _sfc_main$1i = {
+ const _sfc_main$1g = {
props: {
data: {
type: Array,
@@ -21736,7 +21582,7 @@ This will fail in production if not fixed.`);
beforeDestroy() {
}
};
- function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
+ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
return vue.openBlock(), vue.createElementBlock(
"view",
{
@@ -21848,8 +21694,8 @@ This will fail in production if not fixed.`);
/* STYLE */
);
}
- const cusSelects = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["render", _sfc_render$i], ["__scopeId", "data-v-7a3666ce"], ["__file", "D:/worksp/logpm/compoment/cus-selects-fan/cus-selects-fan.vue"]]);
- const _sfc_main$1h = /* @__PURE__ */ vue.defineComponent({
+ const cusSelects = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["render", _sfc_render$g], ["__scopeId", "data-v-7a3666ce"], ["__file", "D:/worksp/logpm/compoment/cus-selects-fan/cus-selects-fan.vue"]]);
+ const _sfc_main$1f = /* @__PURE__ */ vue.defineComponent({
__name: "SelfPScanList",
setup(__props) {
const { scanState } = storeToRefs(useSystemSettingsStore());
@@ -22468,8 +22314,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesSelfPScanListSelfPScanList = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__file", "D:/worksp/logpm/pagesHome/pages/SelfPScanList/SelfPScanList.vue"]]);
- const _sfc_main$1g = {
+ const PagesHomePagesSelfPScanListSelfPScanList = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__file", "D:/worksp/logpm/pagesHome/pages/SelfPScanList/SelfPScanList.vue"]]);
+ const _sfc_main$1e = {
name: "uniTh",
options: {
virtualHost: true
@@ -22630,7 +22476,7 @@ This will fail in production if not fixed.`);
}
}
};
- function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
+ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
return vue.openBlock(), vue.createElementBlock(
"view",
{
@@ -22644,8 +22490,8 @@ This will fail in production if not fixed.`);
/* CLASS, STYLE */
);
}
- const __easycom_0 = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["render", _sfc_render$h], ["__scopeId", "data-v-bf970acd"], ["__file", "D:/worksp/logpm/uni_modules/uni-table/components/uni-th/uni-th.vue"]]);
- const _sfc_main$1f = {
+ const __easycom_0 = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["render", _sfc_render$f], ["__scopeId", "data-v-bf970acd"], ["__file", "D:/worksp/logpm/uni_modules/uni-table/components/uni-th/uni-th.vue"]]);
+ const _sfc_main$1d = {
name: "TableCheckbox",
emits: ["checkboxSelected"],
props: {
@@ -22710,7 +22556,7 @@ This will fail in production if not fixed.`);
}
}
};
- function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
+ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
return vue.openBlock(), vue.createElementBlock("view", {
class: "uni-table-checkbox",
onClick: _cache[0] || (_cache[0] = (...args) => $options.selected && $options.selected(...args))
@@ -22734,8 +22580,8 @@ This will fail in production if not fixed.`);
]))
]);
}
- const tableCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["render", _sfc_render$g], ["__scopeId", "data-v-25e435b1"], ["__file", "D:/worksp/logpm/uni_modules/uni-table/components/uni-tr/table-checkbox.vue"]]);
- const _sfc_main$1e = {
+ const tableCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["render", _sfc_render$e], ["__scopeId", "data-v-25e435b1"], ["__file", "D:/worksp/logpm/uni_modules/uni-table/components/uni-tr/table-checkbox.vue"]]);
+ const _sfc_main$1c = {
name: "uniTr",
components: { tableCheckbox },
props: {
@@ -22822,7 +22668,7 @@ This will fail in production if not fixed.`);
}
}
};
- function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
+ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
const _component_table_checkbox = vue.resolveComponent("table-checkbox");
return vue.openBlock(), vue.createElementBlock("view", { class: "uni-table-tr" }, [
$data.selection === "selection" ? (vue.openBlock(), vue.createElementBlock(
@@ -22845,8 +22691,8 @@ This will fail in production if not fixed.`);
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
]);
}
- const __easycom_1$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["render", _sfc_render$f], ["__scopeId", "data-v-b48b3e32"], ["__file", "D:/worksp/logpm/uni_modules/uni-table/components/uni-tr/uni-tr.vue"]]);
- const _sfc_main$1d = {
+ const __easycom_1 = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["render", _sfc_render$d], ["__scopeId", "data-v-b48b3e32"], ["__file", "D:/worksp/logpm/uni_modules/uni-table/components/uni-tr/uni-tr.vue"]]);
+ const _sfc_main$1b = {
name: "uniTd",
options: {
virtualHost: true
@@ -22895,7 +22741,7 @@ This will fail in production if not fixed.`);
}
}
};
- function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
+ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
return vue.openBlock(), vue.createElementBlock(
vue.Fragment,
null,
@@ -22918,8 +22764,8 @@ This will fail in production if not fixed.`);
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
);
}
- const __easycom_2$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["render", _sfc_render$e], ["__scopeId", "data-v-edae4802"], ["__file", "D:/worksp/logpm/uni_modules/uni-table/components/uni-td/uni-td.vue"]]);
- const _sfc_main$1c = {
+ const __easycom_2$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["render", _sfc_render$c], ["__scopeId", "data-v-edae4802"], ["__file", "D:/worksp/logpm/uni_modules/uni-table/components/uni-td/uni-td.vue"]]);
+ const _sfc_main$1a = {
name: "uniTable",
options: {
virtualHost: true
@@ -23160,7 +23006,7 @@ This will fail in production if not fixed.`);
}
}
};
- function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
+ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
return vue.openBlock(), vue.createElementBlock(
"view",
{
@@ -23210,8 +23056,8 @@ This will fail in production if not fixed.`);
/* CLASS */
);
}
- const __easycom_3 = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["render", _sfc_render$d], ["__scopeId", "data-v-c1ea9b5d"], ["__file", "D:/worksp/logpm/uni_modules/uni-table/components/uni-table/uni-table.vue"]]);
- const _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
+ const __easycom_3 = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["render", _sfc_render$b], ["__scopeId", "data-v-c1ea9b5d"], ["__file", "D:/worksp/logpm/uni_modules/uni-table/components/uni-table/uni-table.vue"]]);
+ const _sfc_main$19 = /* @__PURE__ */ vue.defineComponent({
__name: "SelfPickupDetails",
setup(__props) {
const { scanState } = storeToRefs(useSystemSettingsStore());
@@ -23464,8 +23310,8 @@ This will fail in production if not fixed.`);
const { orderType, schanvalue, typearr, dataList } = vue.toRefs(details);
return (_ctx, _cache) => {
const _component_uni_th = resolveEasycom(vue.resolveDynamicComponent("uni-th"), __easycom_0);
- const _component_uni_tr = resolveEasycom(vue.resolveDynamicComponent("uni-tr"), __easycom_1$1);
- const _component_uni_td = resolveEasycom(vue.resolveDynamicComponent("uni-td"), __easycom_2$2);
+ const _component_uni_tr = resolveEasycom(vue.resolveDynamicComponent("uni-tr"), __easycom_1);
+ const _component_uni_td = resolveEasycom(vue.resolveDynamicComponent("uni-td"), __easycom_2$1);
const _component_uni_table = resolveEasycom(vue.resolveDynamicComponent("uni-table"), __easycom_3);
const _component_BasicContainer = vue.resolveComponent("BasicContainer");
const _component_tiplist = vue.resolveComponent("tiplist");
@@ -23867,8 +23713,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesSelfPickupDetailsSelfPickupDetails = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__file", "D:/worksp/logpm/pagesHome/pages/SelfPickupDetails/SelfPickupDetails.vue"]]);
- const _sfc_main$1a = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesSelfPickupDetailsSelfPickupDetails = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__file", "D:/worksp/logpm/pagesHome/pages/SelfPickupDetails/SelfPickupDetails.vue"]]);
+ const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
__name: "LoadingDetails",
setup(__props) {
const basicContainer = vue.ref(null);
@@ -23970,11 +23816,11 @@ This will fail in production if not fixed.`);
const { orderCode, orderStatus, schanvalue, typearr, dataList, items } = vue.toRefs(details);
return (_ctx, _cache) => {
const _component_uni_th = resolveEasycom(vue.resolveDynamicComponent("uni-th"), __easycom_0);
- const _component_uni_tr = resolveEasycom(vue.resolveDynamicComponent("uni-tr"), __easycom_1$1);
- const _component_uni_td = resolveEasycom(vue.resolveDynamicComponent("uni-td"), __easycom_2$2);
+ const _component_uni_tr = resolveEasycom(vue.resolveDynamicComponent("uni-tr"), __easycom_1);
+ const _component_uni_td = resolveEasycom(vue.resolveDynamicComponent("uni-td"), __easycom_2$1);
const _component_uni_table = resolveEasycom(vue.resolveDynamicComponent("uni-table"), __easycom_3);
const _component_BasicContainer = vue.resolveComponent("BasicContainer");
- const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4);
+ const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$5);
return vue.openBlock(), vue.createElementBlock(
vue.Fragment,
null,
@@ -24355,8 +24201,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesLoadingDetailsLoadingDetails = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__file", "D:/worksp/logpm/pagesHome/pages/LoadingDetails/LoadingDetails.vue"]]);
- const _sfc_main$19 = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesLoadingDetailsLoadingDetails = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__file", "D:/worksp/logpm/pagesHome/pages/LoadingDetails/LoadingDetails.vue"]]);
+ const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
__name: "CustomerOrdersDetails",
setup(__props) {
const { scanState } = storeToRefs(useSystemSettingsStore());
@@ -25218,8 +25064,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesCustomerOrdersDetailsCustomerOrdersDetails = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__file", "D:/worksp/logpm/pagesHome/pages/CustomerOrdersDetails/CustomerOrdersDetails.vue"]]);
- const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesCustomerOrdersDetailsCustomerOrdersDetails = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__file", "D:/worksp/logpm/pagesHome/pages/CustomerOrdersDetails/CustomerOrdersDetails.vue"]]);
+ const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
__name: "DeliveryCustomerScan",
setup(__props) {
const { scanState } = storeToRefs(useSystemSettingsStore());
@@ -25252,7 +25098,7 @@ This will fail in production if not fixed.`);
uni.$off("scancodedate");
uni.$on("scancodedate", function(code2) {
if (code2) {
- formatAppLog("log", "at pagesHome/pages/DeliveryCustomerScan/DeliveryCustomerScan.vue:148", code2);
+ formatAppLog("log", "at pagesHome/pages/DeliveryCustomerScan/DeliveryCustomerScan.vue:151", code2);
details.scancode = code2;
scandata();
}
@@ -25306,8 +25152,7 @@ This will fail in production if not fixed.`);
}
});
}
- async function scandata() {
- let loadingId = uni.getStorageSync("checkvehicle").id;
+ const scanOrder = async (loadingId) => {
let data = {
deliveryId: details.id,
loadingId,
@@ -25315,9 +25160,16 @@ This will fail in production if not fixed.`);
barcode: details.scancode
};
let res = await deliveryloadingscan(data);
- formatAppLog("log", "at pagesHome/pages/DeliveryCustomerScan/DeliveryCustomerScan.vue:236", res);
- if (res.code == 200)
- ;
+ const { code: code2, audio } = res;
+ if (code2 === 5e3) {
+ utils.ttsspke("不在本次计划, 请确认客户再异常装车");
+ }
+ if (code2 === 3001)
+ utils.ttsspke(audio);
+ };
+ function scandata() {
+ let loadingId = uni.getStorageSync("checkvehicle").id;
+ scanOrder(loadingId);
}
async function initpage() {
try {
@@ -25327,7 +25179,7 @@ This will fail in production if not fixed.`);
let response = await deliverycustom(data);
if (response.code !== 200)
return;
- formatAppLog("log", "at pagesHome/pages/DeliveryCustomerScan/DeliveryCustomerScan.vue:252", "response", response);
+ formatAppLog("log", "at pagesHome/pages/DeliveryCustomerScan/DeliveryCustomerScan.vue:294", "response", response);
details.datalist = response.data.records;
} catch (e) {
} finally {
@@ -25598,8 +25450,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesDeliveryCustomerScanDeliveryCustomerScan = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__file", "D:/worksp/logpm/pagesHome/pages/DeliveryCustomerScan/DeliveryCustomerScan.vue"]]);
- const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesDeliveryCustomerScanDeliveryCustomerScan = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__file", "D:/worksp/logpm/pagesHome/pages/DeliveryCustomerScan/DeliveryCustomerScan.vue"]]);
+ const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
__name: "CustomerSign",
setup(__props) {
let details = vue.reactive({
@@ -25910,7 +25762,7 @@ This will fail in production if not fixed.`);
}
const { authbuts, items, datalist } = vue.toRefs(details);
return (_ctx, _cache) => {
- const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4);
+ const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$5);
const _component_tiplist = vue.resolveComponent("tiplist");
return vue.openBlock(), vue.createElementBlock(
vue.Fragment,
@@ -26158,8 +26010,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesCustomerSignCustomerSign = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__file", "D:/worksp/logpm/pagesHome/pages/CustomerSign/CustomerSign.vue"]]);
- const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesCustomerSignCustomerSign = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__file", "D:/worksp/logpm/pagesHome/pages/CustomerSign/CustomerSign.vue"]]);
+ const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
__name: "signOrderScan",
setup(__props) {
const { scanState } = storeToRefs(useSystemSettingsStore());
@@ -26529,7 +26381,7 @@ This will fail in production if not fixed.`);
}
const { listcheckindex, inputtxt, orderStatus, datalist, items, typearr, schanvalue } = vue.toRefs(details);
return (_ctx, _cache) => {
- const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4);
+ const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$5);
const _component_tips = vue.resolveComponent("tips");
const _component_tiplist = vue.resolveComponent("tiplist");
const _component_saomiao2 = vue.resolveComponent("saomiao2");
@@ -26953,8 +26805,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesSignOrderScanSignOrderScan = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId", "data-v-fb393026"], ["__file", "D:/worksp/logpm/pagesHome/pages/signOrderScan/signOrderScan.vue"]]);
- const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesSignOrderScanSignOrderScan = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-fb393026"], ["__file", "D:/worksp/logpm/pagesHome/pages/signOrderScan/signOrderScan.vue"]]);
+ const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
__name: "SignDetailScan",
setup(__props) {
let details = vue.reactive({
@@ -27050,10 +26902,10 @@ This will fail in production if not fixed.`);
}
const { orderStatus, signforStatearr, signforStatevalue, items, datalist } = vue.toRefs(details);
return (_ctx, _cache) => {
- const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4);
+ const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$5);
const _component_uni_th = resolveEasycom(vue.resolveDynamicComponent("uni-th"), __easycom_0);
- const _component_uni_tr = resolveEasycom(vue.resolveDynamicComponent("uni-tr"), __easycom_1$1);
- const _component_uni_td = resolveEasycom(vue.resolveDynamicComponent("uni-td"), __easycom_2$2);
+ const _component_uni_tr = resolveEasycom(vue.resolveDynamicComponent("uni-tr"), __easycom_1);
+ const _component_uni_td = resolveEasycom(vue.resolveDynamicComponent("uni-td"), __easycom_2$1);
const _component_uni_table = resolveEasycom(vue.resolveDynamicComponent("uni-table"), __easycom_3);
return vue.openBlock(), vue.createElementBlock(
vue.Fragment,
@@ -27416,8 +27268,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesSignDetailScanSignDetailScan = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__file", "D:/worksp/logpm/pagesHome/pages/SignDetailScan/SignDetailScan.vue"]]);
- const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesSignDetailScanSignDetailScan = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__file", "D:/worksp/logpm/pagesHome/pages/SignDetailScan/SignDetailScan.vue"]]);
+ const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
__name: "setbarcode",
setup(__props) {
const { scanState } = storeToRefs(useSystemSettingsStore());
@@ -27969,8 +27821,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesSetbarcodeSetbarcode = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__file", "D:/worksp/logpm/pagesHome/pages/setbarcode/setbarcode.vue"]]);
- const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesSetbarcodeSetbarcode = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__file", "D:/worksp/logpm/pagesHome/pages/setbarcode/setbarcode.vue"]]);
+ const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
__name: "OfflineUpload",
setup(__props) {
const tiplists = vue.ref(null);
@@ -28032,7 +27884,7 @@ This will fail in production if not fixed.`);
});
}
return (_ctx, _cache) => {
- const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4);
+ const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$5);
const _component_tips = vue.resolveComponent("tips");
const _component_tiplist = vue.resolveComponent("tiplist");
return vue.openBlock(), vue.createElementBlock(
@@ -28112,8 +27964,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesOfflineUploadOfflineUpload = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__file", "D:/worksp/logpm/pagesHome/pages/OfflineUpload/OfflineUpload.vue"]]);
- const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesOfflineUploadOfflineUpload = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__file", "D:/worksp/logpm/pagesHome/pages/OfflineUpload/OfflineUpload.vue"]]);
+ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
__name: "createTask",
setup(__props) {
const { scanState } = storeToRefs(useSystemSettingsStore());
@@ -28218,7 +28070,7 @@ This will fail in production if not fixed.`);
});
}
return (_ctx, _cache) => {
- const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4);
+ const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$5);
const _component_tips = vue.resolveComponent("tips");
const _component_tiplist = vue.resolveComponent("tiplist");
const _component_saomiao2 = vue.resolveComponent("saomiao2");
@@ -28300,8 +28152,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesCreateTaskCreateTask = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__file", "D:/worksp/logpm/pagesHome/pages/createTask/createTask.vue"]]);
- const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesCreateTaskCreateTask = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__file", "D:/worksp/logpm/pagesHome/pages/createTask/createTask.vue"]]);
+ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
__name: "ordersorting",
setup(__props) {
utils.ttsspke("订单扫描");
@@ -28315,7 +28167,7 @@ This will fail in production if not fixed.`);
uni.$off("scancodedate");
});
return (_ctx, _cache) => {
- const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4);
+ const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$5);
return vue.openBlock(), vue.createElementBlock(
vue.Fragment,
null,
@@ -28364,8 +28216,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesOrdersortingOrdersorting = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__file", "D:/worksp/logpm/pagesHome/pages/ordersorting/ordersorting.vue"]]);
- const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesOrdersortingOrdersorting = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__file", "D:/worksp/logpm/pagesHome/pages/ordersorting/ordersorting.vue"]]);
+ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
__name: "lnventorysorting",
setup(__props) {
onShow(() => {
@@ -28378,7 +28230,7 @@ This will fail in production if not fixed.`);
});
}
return (_ctx, _cache) => {
- const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4);
+ const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$5);
return vue.openBlock(), vue.createElementBlock(
vue.Fragment,
null,
@@ -28417,8 +28269,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesLnventorysortingLnventorysorting = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__file", "D:/worksp/logpm/pagesHome/pages/lnventorysorting/lnventorysorting.vue"]]);
- const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesLnventorysortingLnventorysorting = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__file", "D:/worksp/logpm/pagesHome/pages/lnventorysorting/lnventorysorting.vue"]]);
+ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
__name: "scansorting",
setup(__props) {
const { scanState } = storeToRefs(useSystemSettingsStore());
@@ -28605,9 +28457,9 @@ This will fail in production if not fixed.`);
scancode
} = vue.toRefs(details);
return (_ctx, _cache) => {
- const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$5);
+ const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$6);
const _component_BasicContainer = vue.resolveComponent("BasicContainer");
- const _component_l_calendar = resolveEasycom(vue.resolveDynamicComponent("l-calendar"), __easycom_1$4);
+ const _component_l_calendar = resolveEasycom(vue.resolveDynamicComponent("l-calendar"), __easycom_1$3);
const _component_saomiao2 = vue.resolveComponent("saomiao2");
return vue.openBlock(), vue.createElementBlock(
vue.Fragment,
@@ -28818,10 +28670,10 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesScansortingScansorting = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__file", "D:/worksp/logpm/pagesHome/pages/scansorting/scansorting.vue"]]);
- const _sfc_main$_ = {};
- function _sfc_render$c(_ctx, _cache) {
- const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4);
+ const PagesHomePagesScansortingScansorting = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__file", "D:/worksp/logpm/pagesHome/pages/scansorting/scansorting.vue"]]);
+ const _sfc_main$Y = {};
+ function _sfc_render$a(_ctx, _cache) {
+ const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$5);
return vue.openBlock(), vue.createElementBlock(
vue.Fragment,
null,
@@ -28842,7 +28694,7 @@ This will fail in production if not fixed.`);
/* STABLE_FRAGMENT */
);
}
- const PagesHomePagesPeopleSortingPeopleSorting = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["render", _sfc_render$c], ["__file", "D:/worksp/logpm/pagesHome/pages/peopleSorting/peopleSorting.vue"]]);
+ const PagesHomePagesPeopleSortingPeopleSorting = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["render", _sfc_render$a], ["__file", "D:/worksp/logpm/pagesHome/pages/peopleSorting/peopleSorting.vue"]]);
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
var dayjs_minExports = {};
var dayjs_min = {
@@ -29143,7 +28995,7 @@ This will fail in production if not fixed.`);
});
})(dayjs_min);
const dayjs = dayjs_minExports;
- const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
+ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
__name: "OrderSortingDetail",
setup(__props) {
const { scanState } = storeToRefs(useSystemSettingsStore());
@@ -29707,8 +29559,8 @@ This will fail in production if not fixed.`);
const { datelist, detauser, showstate, waybillCode, checkinarr, Remarktext, codelist } = vue.toRefs(details);
return (_ctx, _cache) => {
var _a, _b, _c, _d, _e, _f, _g, _h;
- const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4);
- const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$5);
+ const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$5);
+ const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$6);
const _component_saomiao2 = vue.resolveComponent("saomiao2");
const _component_tips = vue.resolveComponent("tips");
const _component_tiplist = vue.resolveComponent("tiplist");
@@ -30575,8 +30427,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesOrderSortingDetailOrderSortingDetail = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-ca2cce65"], ["__file", "D:/worksp/logpm/pagesHome/pages/OrderSortingDetail/OrderSortingDetail.vue"]]);
- const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesOrderSortingDetailOrderSortingDetail = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-ca2cce65"], ["__file", "D:/worksp/logpm/pagesHome/pages/OrderSortingDetail/OrderSortingDetail.vue"]]);
+ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
__name: "ScanSortingType",
setup(__props) {
let typelist = vue.ref([]);
@@ -30636,7 +30488,7 @@ This will fail in production if not fixed.`);
});
}
return (_ctx, _cache) => {
- const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4);
+ const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$5);
return vue.openBlock(), vue.createElementBlock(
vue.Fragment,
null,
@@ -30682,8 +30534,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesScanSortingTypeScanSortingType = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__file", "D:/worksp/logpm/pagesHome/pages/ScanSortingType/ScanSortingType.vue"]]);
- const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesScanSortingTypeScanSortingType = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__file", "D:/worksp/logpm/pagesHome/pages/ScanSortingType/ScanSortingType.vue"]]);
+ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
__name: "PeopleSortingDetail",
setup(__props) {
const { scanState } = storeToRefs(useSystemSettingsStore());
@@ -30892,7 +30744,7 @@ This will fail in production if not fixed.`);
}
const { checkinarr, Remarktext, datalist, warehouseTray, showstate, waybillCode, codelist } = vue.toRefs(details);
return (_ctx, _cache) => {
- const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4);
+ const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$5);
const _component_tips = vue.resolveComponent("tips");
const _component_saomiao2 = vue.resolveComponent("saomiao2");
return vue.openBlock(), vue.createElementBlock(
@@ -31274,8 +31126,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesPeopleSortingDetailPeopleSortingDetail = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-e9f42dec"], ["__file", "D:/worksp/logpm/pagesHome/pages/PeopleSortingDetail/PeopleSortingDetail.vue"]]);
- const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesPeopleSortingDetailPeopleSortingDetail = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-e9f42dec"], ["__file", "D:/worksp/logpm/pagesHome/pages/PeopleSortingDetail/PeopleSortingDetail.vue"]]);
+ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
__name: "inventoryType",
setup(__props) {
let typelist = vue.ref([]);
@@ -31313,7 +31165,7 @@ This will fail in production if not fixed.`);
});
}
return (_ctx, _cache) => {
- const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4);
+ const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$5);
return vue.openBlock(), vue.createElementBlock(
vue.Fragment,
null,
@@ -31360,8 +31212,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesInventoryTypeInventoryType = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__file", "D:/worksp/logpm/pagesHome/pages/inventoryType/inventoryType.vue"]]);
- const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesInventoryTypeInventoryType = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__file", "D:/worksp/logpm/pagesHome/pages/inventoryType/inventoryType.vue"]]);
+ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
__name: "inventoryDetail",
setup(__props) {
const { scanState } = storeToRefs(useSystemSettingsStore());
@@ -31429,7 +31281,7 @@ This will fail in production if not fixed.`);
}
const { trayName, Inventorydetail, datelist, trayCode, trayType } = vue.toRefs(details);
return (_ctx, _cache) => {
- const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4);
+ const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$5);
const _component_saomiao2 = vue.resolveComponent("saomiao2");
return vue.openBlock(), vue.createElementBlock(
vue.Fragment,
@@ -31571,8 +31423,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesInventoryDetailInventoryDetail = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__file", "D:/worksp/logpm/pagesHome/pages/inventoryDetail/inventoryDetail.vue"]]);
- const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesInventoryDetailInventoryDetail = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__file", "D:/worksp/logpm/pagesHome/pages/inventoryDetail/inventoryDetail.vue"]]);
+ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
__name: "inventoryDetailList",
setup(__props) {
let tip = vue.ref(null);
@@ -31642,7 +31494,7 @@ This will fail in production if not fixed.`);
}
const { checkindex, list } = vue.toRefs(details);
return (_ctx, _cache) => {
- const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4);
+ const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$5);
const _component_tips = vue.resolveComponent("tips");
return vue.openBlock(), vue.createElementBlock(
vue.Fragment,
@@ -31751,8 +31603,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesInventoryDetailListInventoryDetailList = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__file", "D:/worksp/logpm/pagesHome/pages/inventoryDetailList/inventoryDetailList.vue"]]);
- const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesInventoryDetailListInventoryDetailList = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__file", "D:/worksp/logpm/pagesHome/pages/inventoryDetailList/inventoryDetailList.vue"]]);
+ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
__name: "inventoryenter",
setup(__props) {
const tip = vue.ref(null);
@@ -31953,7 +31805,7 @@ This will fail in production if not fixed.`);
}
const { pagety, trayType, checkinarr, maknumber, datalist, scanlist, checkmakindex, Marketlist, materialCode, showstate } = vue.toRefs(details);
return (_ctx, _cache) => {
- const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4);
+ const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$5);
const _component_tips = vue.resolveComponent("tips");
const _component_tiplist = vue.resolveComponent("tiplist");
return vue.openBlock(), vue.createElementBlock(
@@ -32355,8 +32207,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesInventoryenterInventoryenter = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__file", "D:/worksp/logpm/pagesHome/pages/inventoryenter/inventoryenter.vue"]]);
- const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesInventoryenterInventoryenter = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__file", "D:/worksp/logpm/pagesHome/pages/inventoryenter/inventoryenter.vue"]]);
+ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
__name: "lnventorysortinglist",
setup(__props) {
const { scanState } = storeToRefs(useSystemSettingsStore());
@@ -32556,9 +32408,9 @@ This will fail in production if not fixed.`);
datatime
} = vue.toRefs(details);
return (_ctx, _cache) => {
- const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$5);
+ const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$6);
const _component_BasicContainer = vue.resolveComponent("BasicContainer");
- const _component_l_calendar = resolveEasycom(vue.resolveDynamicComponent("l-calendar"), __easycom_1$4);
+ const _component_l_calendar = resolveEasycom(vue.resolveDynamicComponent("l-calendar"), __easycom_1$3);
const _component_saomiao2 = vue.resolveComponent("saomiao2");
return vue.openBlock(), vue.createElementBlock(
vue.Fragment,
@@ -32727,8 +32579,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesLnventorysortinglistLnventorysortinglist = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__file", "D:/worksp/logpm/pagesHome/pages/lnventorysortinglist/lnventorysortinglist.vue"]]);
- const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesLnventorysortinglistLnventorysortinglist = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__file", "D:/worksp/logpm/pagesHome/pages/lnventorysortinglist/lnventorysortinglist.vue"]]);
+ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
__name: "OrderSortingDetailList",
setup(__props) {
let tip = vue.ref(null);
@@ -32895,7 +32747,7 @@ This will fail in production if not fixed.`);
}
const { ischeckall, showlist, tabcek, xzckindex, detaobj, checkindex, list } = vue.toRefs(details);
return (_ctx, _cache) => {
- const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4);
+ const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$5);
const _component_tips = vue.resolveComponent("tips");
return vue.openBlock(), vue.createElementBlock(
vue.Fragment,
@@ -33200,8 +33052,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesOrderSortingDetailListOrderSortingDetailList = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__file", "D:/worksp/logpm/pagesHome/pages/OrderSortingDetailList/OrderSortingDetailList.vue"]]);
- const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesOrderSortingDetailListOrderSortingDetailList = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__file", "D:/worksp/logpm/pagesHome/pages/OrderSortingDetailList/OrderSortingDetailList.vue"]]);
+ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
__name: "ScanUpType",
setup(__props) {
let typelist = vue.ref([]);
@@ -33234,7 +33086,7 @@ This will fail in production if not fixed.`);
});
}
return (_ctx, _cache) => {
- const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4);
+ const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$5);
return vue.openBlock(), vue.createElementBlock(
vue.Fragment,
null,
@@ -33280,8 +33132,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesScanUpTypeScanUpType = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__file", "D:/worksp/logpm/pagesHome/pages/ScanUpType/ScanUpType.vue"]]);
- const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesScanUpTypeScanUpType = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__file", "D:/worksp/logpm/pagesHome/pages/ScanUpType/ScanUpType.vue"]]);
+ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
__name: "ScanUp",
setup(__props) {
const { scanState } = storeToRefs(useSystemSettingsStore());
@@ -33545,7 +33397,7 @@ This will fail in production if not fixed.`);
renderList
} = vue.toRefs(details);
return (_ctx, _cache) => {
- const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4);
+ const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$5);
const _component_saomiao2 = vue.resolveComponent("saomiao2");
const _component_tips = vue.resolveComponent("tips");
return vue.openBlock(), vue.createElementBlock(
@@ -33969,8 +33821,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesScanUpScanUp = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__file", "D:/worksp/logpm/pagesHome/pages/ScanUp/ScanUp.vue"]]);
- const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesScanUpScanUp = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__file", "D:/worksp/logpm/pagesHome/pages/ScanUp/ScanUp.vue"]]);
+ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
__name: "RelocationType",
setup(__props) {
utils.ttsspke("请选择移库方式");
@@ -33993,7 +33845,7 @@ This will fail in production if not fixed.`);
});
}
return (_ctx, _cache) => {
- const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4);
+ const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$5);
return vue.openBlock(), vue.createElementBlock(
vue.Fragment,
null,
@@ -34059,8 +33911,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesRelocationTypeRelocationType = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__file", "D:/worksp/logpm/pagesHome/pages/RelocationType/RelocationType.vue"]]);
- const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesRelocationTypeRelocationType = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__file", "D:/worksp/logpm/pagesHome/pages/RelocationType/RelocationType.vue"]]);
+ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
__name: "Relocation",
setup(__props) {
const { scanState } = storeToRefs(useSystemSettingsStore());
@@ -34267,7 +34119,7 @@ This will fail in production if not fixed.`);
} = vue.toRefs(details);
return (_ctx, _cache) => {
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p;
- const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4);
+ const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$5);
const _component_saomiao2 = vue.resolveComponent("saomiao2");
const _component_tips = vue.resolveComponent("tips");
return vue.openBlock(), vue.createElementBlock(
@@ -34801,8 +34653,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesRelocationRelocation = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__file", "D:/worksp/logpm/pagesHome/pages/Relocation/Relocation.vue"]]);
- const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesRelocationRelocation = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__file", "D:/worksp/logpm/pagesHome/pages/Relocation/Relocation.vue"]]);
+ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
__name: "PeopleScanUpType",
setup(__props) {
let typelist = vue.ref([]);
@@ -34829,7 +34681,7 @@ This will fail in production if not fixed.`);
});
}
return (_ctx, _cache) => {
- const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4);
+ const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$5);
return vue.openBlock(), vue.createElementBlock(
vue.Fragment,
null,
@@ -34875,8 +34727,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesPeopleScanUpTypePeopleScanUpType = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__file", "D:/worksp/logpm/pagesHome/pages/PeopleScanUpType/PeopleScanUpType.vue"]]);
- const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesPeopleScanUpTypePeopleScanUpType = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__file", "D:/worksp/logpm/pagesHome/pages/PeopleScanUpType/PeopleScanUpType.vue"]]);
+ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
__name: "PeopleScanUp",
setup(__props) {
const { scanState } = storeToRefs(useSystemSettingsStore());
@@ -35226,7 +35078,7 @@ This will fail in production if not fixed.`);
} = vue.toRefs(details);
return (_ctx, _cache) => {
var _a;
- const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4);
+ const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$5);
const _component_saomiao2 = vue.resolveComponent("saomiao2");
const _component_tips = vue.resolveComponent("tips");
const _component_tiplist = vue.resolveComponent("tiplist");
@@ -36054,8 +35906,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesPeopleScanUpPeopleScanUp = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__file", "D:/worksp/logpm/pagesHome/pages/PeopleScanUp/PeopleScanUp.vue"]]);
- const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesPeopleScanUpPeopleScanUp = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__file", "D:/worksp/logpm/pagesHome/pages/PeopleScanUp/PeopleScanUp.vue"]]);
+ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
__name: "PickingScanList",
setup(__props) {
const { scanState } = storeToRefs(useSystemSettingsStore());
@@ -36403,8 +36255,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesPickingScanListPickingScanList = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-5628bd90"], ["__file", "D:/worksp/logpm/pagesHome/pages/PickingScanList/PickingScanList.vue"]]);
- const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesPickingScanListPickingScanList = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-5628bd90"], ["__file", "D:/worksp/logpm/pagesHome/pages/PickingScanList/PickingScanList.vue"]]);
+ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
__name: "Retention",
setup(__props) {
const { scanState } = storeToRefs(useSystemSettingsStore());
@@ -36465,7 +36317,7 @@ This will fail in production if not fixed.`);
codelist
} = vue.toRefs(details);
return (_ctx, _cache) => {
- const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4);
+ const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$5);
const _component_saomiao2 = vue.resolveComponent("saomiao2");
return vue.openBlock(), vue.createElementBlock(
vue.Fragment,
@@ -36560,8 +36412,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesRetentionRetention = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__file", "D:/worksp/logpm/pagesHome/pages/Retention/Retention.vue"]]);
- const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesRetentionRetention = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__file", "D:/worksp/logpm/pagesHome/pages/Retention/Retention.vue"]]);
+ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
__name: "MergeTray",
setup(__props) {
const { scanState } = storeToRefs(useSystemSettingsStore());
@@ -36715,7 +36567,7 @@ This will fail in production if not fixed.`);
} = vue.toRefs(details);
return (_ctx, _cache) => {
var _a, _b;
- const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4);
+ const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$5);
const _component_tips = vue.resolveComponent("tips");
const _component_saomiao2 = vue.resolveComponent("saomiao2");
return vue.openBlock(), vue.createElementBlock(
@@ -37046,8 +36898,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesMergeTrayMergeTray = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__file", "D:/worksp/logpm/pagesHome/pages/MergeTray/MergeTray.vue"]]);
- const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesMergeTrayMergeTray = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__file", "D:/worksp/logpm/pagesHome/pages/MergeTray/MergeTray.vue"]]);
+ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
__name: "MergeTrayDetails",
setup(__props) {
let trayCode = vue.ref("");
@@ -37075,7 +36927,7 @@ This will fail in production if not fixed.`);
}
return (_ctx, _cache) => {
var _a, _b;
- const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4);
+ const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$5);
return vue.openBlock(), vue.createElementBlock(
vue.Fragment,
null,
@@ -37344,8 +37196,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesMergeTrayDetailsMergeTrayDetails = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__file", "D:/worksp/logpm/pagesHome/pages/MergeTrayDetails/MergeTrayDetails.vue"]]);
- const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesMergeTrayDetailsMergeTrayDetails = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__file", "D:/worksp/logpm/pagesHome/pages/MergeTrayDetails/MergeTrayDetails.vue"]]);
+ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
__name: "DownGoodsType",
setup(__props) {
let typelist = vue.ref([]);
@@ -37373,7 +37225,7 @@ This will fail in production if not fixed.`);
});
}
return (_ctx, _cache) => {
- const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4);
+ const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$5);
return vue.openBlock(), vue.createElementBlock(
vue.Fragment,
null,
@@ -37419,8 +37271,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesDownGoodsTypeDownGoodsType = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__file", "D:/worksp/logpm/pagesHome/pages/DownGoodsType/DownGoodsType.vue"]]);
- const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesDownGoodsTypeDownGoodsType = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__file", "D:/worksp/logpm/pagesHome/pages/DownGoodsType/DownGoodsType.vue"]]);
+ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
__name: "DownGoods",
setup(__props) {
const { scanState } = storeToRefs(useSystemSettingsStore());
@@ -37840,7 +37692,7 @@ This will fail in production if not fixed.`);
} = vue.toRefs(details);
return (_ctx, _cache) => {
var _a;
- const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4);
+ const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$5);
const _component_saomiao2 = vue.resolveComponent("saomiao2");
const _component_tips = vue.resolveComponent("tips");
const _component_tiplist = vue.resolveComponent("tiplist");
@@ -38532,8 +38384,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesDownGoodsDownGoods = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__file", "D:/worksp/logpm/pagesHome/pages/DownGoods/DownGoods.vue"]]);
- const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesDownGoodsDownGoods = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__file", "D:/worksp/logpm/pagesHome/pages/DownGoods/DownGoods.vue"]]);
+ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
__name: "SetPrice",
setup(__props) {
let details = vue.reactive({
@@ -38623,7 +38475,7 @@ This will fail in production if not fixed.`);
});
}
return (_ctx, _cache) => {
- const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4);
+ const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$5);
const _component_tiplist = vue.resolveComponent("tiplist");
return vue.openBlock(), vue.createElementBlock(
vue.Fragment,
@@ -38834,8 +38686,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesSetPriceSetPrice = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__file", "D:/worksp/logpm/pagesHome/pages/SetPrice/SetPrice.vue"]]);
- const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesSetPriceSetPrice = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__file", "D:/worksp/logpm/pagesHome/pages/SetPrice/SetPrice.vue"]]);
+ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
__name: "RemoveTray",
setup(__props) {
const { scanState } = storeToRefs(useSystemSettingsStore());
@@ -38974,7 +38826,7 @@ This will fail in production if not fixed.`);
pageInfo
} = vue.toRefs(details);
return (_ctx, _cache) => {
- const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4);
+ const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$5);
const _component_saomiao2 = vue.resolveComponent("saomiao2");
const _component_tips = vue.resolveComponent("tips");
return vue.openBlock(), vue.createElementBlock(
@@ -39320,8 +39172,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesRemoveTrayRemoveTray = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-8dd39525"], ["__file", "D:/worksp/logpm/pagesHome/pages/RemoveTray/RemoveTray.vue"]]);
- const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesRemoveTrayRemoveTray = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-8dd39525"], ["__file", "D:/worksp/logpm/pagesHome/pages/RemoveTray/RemoveTray.vue"]]);
+ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
__name: "Check",
setup(__props) {
vue.reactive({});
@@ -39329,7 +39181,7 @@ This will fail in production if not fixed.`);
uni.$off("scancodedate");
});
return (_ctx, _cache) => {
- const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4);
+ const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$5);
return vue.openBlock(), vue.createBlock(_component_u_navbar, {
title: "复核",
bgColor: "#D3832A",
@@ -39342,8 +39194,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesCheckCheck = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__file", "D:/worksp/logpm/pagesHome/pages/Check/Check.vue"]]);
- const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesCheckCheck = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__file", "D:/worksp/logpm/pagesHome/pages/Check/Check.vue"]]);
+ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
__name: "createAddServe",
setup(__props) {
const { scanState } = storeToRefs(useSystemSettingsStore());
@@ -39649,7 +39501,7 @@ This will fail in production if not fixed.`);
checkserve
} = vue.toRefs(details);
return (_ctx, _cache) => {
- const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4);
+ const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$5);
const _component_tiplist = vue.resolveComponent("tiplist");
const _component_saomiao2 = vue.resolveComponent("saomiao2");
return vue.openBlock(), vue.createElementBlock(
@@ -39952,15 +39804,15 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesCreateAddServeCreateAddServe = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-fee6bcca"], ["__file", "D:/worksp/logpm/pagesHome/pages/createAddServe/createAddServe.vue"]]);
- const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesCreateAddServeCreateAddServe = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-fee6bcca"], ["__file", "D:/worksp/logpm/pagesHome/pages/createAddServe/createAddServe.vue"]]);
+ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
__name: "orderDetail",
setup(__props) {
onShow(() => {
uni.$off("scancodedate");
});
return (_ctx, _cache) => {
- const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4);
+ const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$5);
return vue.openBlock(), vue.createBlock(_component_u_navbar, {
title: "详情",
bgColor: "#D3832A",
@@ -39973,8 +39825,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesOrderDetailOrderDetail = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__file", "D:/worksp/logpm/pagesHome/pages/orderDetail/orderDetail.vue"]]);
- const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesOrderDetailOrderDetail = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__file", "D:/worksp/logpm/pagesHome/pages/orderDetail/orderDetail.vue"]]);
+ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
__name: "RelocationAllocationId",
setup(__props) {
const { scanState } = storeToRefs(useSystemSettingsStore());
@@ -40152,7 +40004,7 @@ This will fail in production if not fixed.`);
} = vue.toRefs(details);
return (_ctx, _cache) => {
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p;
- const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4);
+ const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$5);
const _component_saomiao2 = vue.resolveComponent("saomiao2");
const _component_tips = vue.resolveComponent("tips");
return vue.openBlock(), vue.createElementBlock(
@@ -40542,8 +40394,8 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesRelocationAllocationIdRelocationAllocationId = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__file", "D:/worksp/logpm/pagesHome/pages/RelocationAllocationId/RelocationAllocationId.vue"]]);
- const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
+ const PagesHomePagesRelocationAllocationIdRelocationAllocationId = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__file", "D:/worksp/logpm/pagesHome/pages/RelocationAllocationId/RelocationAllocationId.vue"]]);
+ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
__name: "orderDetails",
setup(__props) {
let tip = vue.ref(null);
@@ -40589,7 +40441,7 @@ This will fail in production if not fixed.`);
}
const { ischeckall, showlist, tabcek, xzckindex, detaobj, checkindex, list } = vue.toRefs(details);
return (_ctx, _cache) => {
- const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4);
+ const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$5);
const _component_tips = vue.resolveComponent("tips");
return vue.openBlock(), vue.createElementBlock(
vue.Fragment,
@@ -40812,440 +40664,7 @@ This will fail in production if not fixed.`);
};
}
});
- const PagesHomePagesOrderDetailsOrderDetails = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__file", "D:/worksp/logpm/pagesHome/pages/orderDetails/orderDetails.vue"]]);
- const props$5 = {
- props: {
- // checkbox的名称
- name: {
- type: [String, Number, Boolean],
- default: defprops.checkbox.name
- },
- // 形状,square为方形,circle为圆型
- shape: {
- type: String,
- default: defprops.checkbox.shape
- },
- // 整体的大小
- size: {
- type: [String, Number],
- default: defprops.checkbox.size
- },
- // 是否默认选中
- checked: {
- type: Boolean,
- default: defprops.checkbox.checked
- },
- // 是否禁用
- disabled: {
- type: [String, Boolean],
- default: defprops.checkbox.disabled
- },
- // 选中状态下的颜色,如设置此值,将会覆盖parent的activeColor值
- activeColor: {
- type: String,
- default: defprops.checkbox.activeColor
- },
- // 未选中的颜色
- inactiveColor: {
- type: String,
- default: defprops.checkbox.inactiveColor
- },
- // 图标的大小,单位px
- iconSize: {
- type: [String, Number],
- default: defprops.checkbox.iconSize
- },
- // 图标颜色
- iconColor: {
- type: String,
- default: defprops.checkbox.iconColor
- },
- // label提示文字,因为nvue下,直接slot进来的文字,由于特殊的结构,无法修改样式
- label: {
- type: [String, Number],
- default: defprops.checkbox.label
- },
- // label的字体大小,px单位
- labelSize: {
- type: [String, Number],
- default: defprops.checkbox.labelSize
- },
- // label的颜色
- labelColor: {
- type: String,
- default: defprops.checkbox.labelColor
- },
- // 是否禁止点击提示语选中复选框
- labelDisabled: {
- type: [String, Boolean],
- default: defprops.checkbox.labelDisabled
- }
- }
- };
- const _sfc_main$x = {
- name: "u-checkbox",
- mixins: [mpMixin$1, mixin$1, props$5],
- data() {
- return {
- isChecked: false,
- // 父组件的默认值,因为头条小程序不支持在computed中使用this.parent.shape的形式
- // 故只能使用如此方法
- parentData: {
- iconSize: 12,
- labelDisabled: null,
- disabled: null,
- shape: "square",
- activeColor: null,
- inactiveColor: null,
- size: 18,
- modelValue: null,
- iconColor: null,
- placement: "row",
- borderBottom: false,
- iconPlacement: "left"
- }
- };
- },
- computed: {
- // 是否禁用,如果父组件u-raios-group禁用的话,将会忽略子组件的配置
- elDisabled() {
- return this.disabled !== "" ? this.disabled : this.parentData.disabled !== null ? this.parentData.disabled : false;
- },
- // 是否禁用label点击
- elLabelDisabled() {
- return this.labelDisabled !== "" ? this.labelDisabled : this.parentData.labelDisabled !== null ? this.parentData.labelDisabled : false;
- },
- // 组件尺寸,对应size的值,默认值为21px
- elSize() {
- return this.size ? this.size : this.parentData.size ? this.parentData.size : 21;
- },
- // 组件的勾选图标的尺寸,默认12px
- elIconSize() {
- return this.iconSize ? this.iconSize : this.parentData.iconSize ? this.parentData.iconSize : 12;
- },
- // 组件选中激活时的颜色
- elActiveColor() {
- return this.activeColor ? this.activeColor : this.parentData.activeColor ? this.parentData.activeColor : "#2979ff";
- },
- // 组件选未中激活时的颜色
- elInactiveColor() {
- return this.inactiveColor ? this.inactiveColor : this.parentData.inactiveColor ? this.parentData.inactiveColor : "#c8c9cc";
- },
- // label的颜色
- elLabelColor() {
- return this.labelColor ? this.labelColor : this.parentData.labelColor ? this.parentData.labelColor : "#606266";
- },
- // 组件的形状
- elShape() {
- return this.shape ? this.shape : this.parentData.shape ? this.parentData.shape : "circle";
- },
- // label大小
- elLabelSize() {
- return uni.$u.addUnit(this.labelSize ? this.labelSize : this.parentData.labelSize ? this.parentData.labelSize : "15");
- },
- elIconColor() {
- const iconColor = this.iconColor ? this.iconColor : this.parentData.iconColor ? this.parentData.iconColor : "#ffffff";
- if (this.elDisabled) {
- return this.isChecked ? this.elInactiveColor : "transparent";
- } else {
- return this.isChecked ? iconColor : "transparent";
- }
- },
- iconClasses() {
- let classes = [];
- classes.push("u-checkbox__icon-wrap--" + this.elShape);
- if (this.elDisabled) {
- classes.push("u-checkbox__icon-wrap--disabled");
- }
- if (this.isChecked && this.elDisabled) {
- classes.push("u-checkbox__icon-wrap--disabled--checked");
- }
- return classes;
- },
- iconWrapStyle() {
- const style = {};
- style.backgroundColor = this.isChecked && !this.elDisabled ? this.elActiveColor : "#ffffff";
- style.borderColor = this.isChecked && !this.elDisabled ? this.elActiveColor : this.elInactiveColor;
- style.width = uni.$u.addUnit(this.elSize);
- style.height = uni.$u.addUnit(this.elSize);
- if (this.parentData.iconPlacement === "right") {
- style.marginRight = 0;
- }
- return style;
- },
- checkboxStyle() {
- const style = {};
- if (this.parentData.borderBottom && this.parentData.placement === "row") {
- uni.$u.error("检测到您将borderBottom设置为true,需要同时将u-checkbox-group的placement设置为column才有效");
- }
- if (this.parentData.borderBottom && this.parentData.placement === "column") {
- style.paddingBottom = "8px";
- }
- return uni.$u.deepMerge(style, uni.$u.addStyle(this.customStyle));
- }
- },
- mounted() {
- this.init();
- },
- methods: {
- init() {
- this.updateParentData();
- if (!this.parent) {
- uni.$u.error("u-checkbox必须搭配u-checkbox-group组件使用");
- }
- const value = this.parentData.modelValue;
- if (this.checked) {
- this.isChecked = true;
- } else if (uni.$u.test.array(value)) {
- this.isChecked = value.some((item) => {
- return item === this.name;
- });
- }
- },
- updateParentData() {
- this.getParentData("u-checkbox-group");
- },
- // 横向两端排列时,点击组件即可触发选中事件
- wrapperClickHandler(e) {
- this.parentData.iconPlacement === "right" && this.iconClickHandler(e);
- },
- // 点击图标
- iconClickHandler(e) {
- this.preventEvent(e);
- if (!this.elDisabled) {
- this.setRadioCheckedStatus();
- }
- },
- // 点击label
- labelClickHandler(e) {
- this.preventEvent(e);
- if (!this.elLabelDisabled && !this.elDisabled) {
- this.setRadioCheckedStatus();
- }
- },
- emitEvent() {
- this.$emit("change", this.isChecked);
- this.$nextTick(() => {
- uni.$u.formValidate(this, "change");
- });
- },
- // 改变组件选中状态
- // 这里的改变的依据是,更改本组件的checked值为true,同时通过父组件遍历所有u-checkbox实例
- // 将本组件外的其他u-checkbox的checked都设置为false(都被取消选中状态),因而只剩下一个为选中状态
- setRadioCheckedStatus() {
- this.isChecked = !this.isChecked;
- this.emitEvent();
- typeof this.parent.unCheckedOther === "function" && this.parent.unCheckedOther(this);
- }
- },
- watch: {
- checked() {
- this.isChecked = this.checked;
- }
- }
- };
- function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
- const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$5);
- return vue.openBlock(), vue.createElementBlock(
- "view",
- {
- class: vue.normalizeClass(["u-checkbox", [`u-checkbox-label--${$data.parentData.iconPlacement}`, $data.parentData.borderBottom && $data.parentData.placement === "column" && "u-border-bottom"]]),
- style: vue.normalizeStyle([$options.checkboxStyle]),
- onClick: _cache[2] || (_cache[2] = vue.withModifiers((...args) => $options.wrapperClickHandler && $options.wrapperClickHandler(...args), ["stop"]))
- },
- [
- vue.createElementVNode(
- "view",
- {
- class: vue.normalizeClass(["u-checkbox__icon-wrap", $options.iconClasses]),
- onClick: _cache[0] || (_cache[0] = vue.withModifiers((...args) => $options.iconClickHandler && $options.iconClickHandler(...args), ["stop"])),
- style: vue.normalizeStyle([$options.iconWrapStyle])
- },
- [
- vue.renderSlot(_ctx.$slots, "icon", {}, () => [
- vue.createVNode(_component_u_icon, {
- class: "u-checkbox__icon-wrap__icon",
- name: "checkbox-mark",
- size: $options.elIconSize,
- color: $options.elIconColor
- }, null, 8, ["size", "color"])
- ], true)
- ],
- 6
- /* CLASS, STYLE */
- ),
- vue.createElementVNode(
- "text",
- {
- onClick: _cache[1] || (_cache[1] = vue.withModifiers((...args) => $options.labelClickHandler && $options.labelClickHandler(...args), ["stop"])),
- style: vue.normalizeStyle({
- color: $options.elDisabled ? $options.elInactiveColor : $options.elLabelColor,
- fontSize: $options.elLabelSize,
- lineHeight: $options.elLabelSize
- })
- },
- vue.toDisplayString(_ctx.label),
- 5
- /* TEXT, STYLE */
- )
- ],
- 6
- /* CLASS, STYLE */
- );
- }
- const __easycom_1 = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["render", _sfc_render$b], ["__scopeId", "data-v-41713600"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-checkbox/u-checkbox.vue"]]);
- const props$4 = {
- props: {
- // 标识符
- name: {
- type: String,
- default: defprops.checkboxGroup.name
- },
- // 绑定的值
- modelValue: {
- type: Array,
- default: defprops.checkboxGroup.value
- },
- // 形状,circle-圆形,square-方形
- shape: {
- type: String,
- default: defprops.checkboxGroup.shape
- },
- // 是否禁用全部checkbox
- disabled: {
- type: Boolean,
- default: defprops.checkboxGroup.disabled
- },
- // 选中状态下的颜色,如设置此值,将会覆盖parent的activeColor值
- activeColor: {
- type: String,
- default: defprops.checkboxGroup.activeColor
- },
- // 未选中的颜色
- inactiveColor: {
- type: String,
- default: defprops.checkboxGroup.inactiveColor
- },
- // 整个组件的尺寸,默认px
- size: {
- type: [String, Number],
- default: defprops.checkboxGroup.size
- },
- // 布局方式,row-横向,column-纵向
- placement: {
- type: String,
- default: defprops.checkboxGroup.placement
- },
- // label的字体大小,px单位
- labelSize: {
- type: [String, Number],
- default: defprops.checkboxGroup.labelSize
- },
- // label的字体颜色
- labelColor: {
- type: [String],
- default: defprops.checkboxGroup.labelColor
- },
- // 是否禁止点击文本操作
- labelDisabled: {
- type: Boolean,
- default: defprops.checkboxGroup.labelDisabled
- },
- // 图标颜色
- iconColor: {
- type: String,
- default: defprops.checkboxGroup.iconColor
- },
- // 图标的大小,单位px
- iconSize: {
- type: [String, Number],
- default: defprops.checkboxGroup.iconSize
- },
- // 勾选图标的对齐方式,left-左边,right-右边
- iconPlacement: {
- type: String,
- default: defprops.checkboxGroup.iconPlacement
- },
- // 竖向配列时,是否显示下划线
- borderBottom: {
- type: Boolean,
- default: defprops.checkboxGroup.borderBottom
- }
- }
- };
- const _sfc_main$w = {
- name: "u-checkbox-group",
- mixins: [mpMixin$1, mixin$1, props$4],
- computed: {
- // 这里computed的变量,都是子组件u-checkbox需要用到的,由于头条小程序的兼容性差异,子组件无法实时监听父组件参数的变化
- // 所以需要手动通知子组件,这里返回一个parentData变量,供watch监听,在其中去通知每一个子组件重新从父组件(u-checkbox-group)
- // 拉取父组件新的变化后的参数
- parentData() {
- return [
- this.modelValue,
- this.disabled,
- this.inactiveColor,
- this.activeColor,
- this.size,
- this.labelDisabled,
- this.shape,
- this.iconSize,
- this.borderBottom,
- this.placement
- ];
- },
- bemClass() {
- return this.bem("checkbox-group", ["placement"]);
- }
- },
- watch: {
- // 当父组件需要子组件需要共享的参数发生了变化,手动通知子组件
- parentData: {
- handler() {
- if (this.children.length) {
- this.children.map((child) => {
- typeof child.init === "function" && child.init();
- });
- }
- },
- deep: true
- }
- },
- data() {
- return {};
- },
- created() {
- this.children = [];
- },
- emits: ["update:modelValue", "change"],
- methods: {
- // 将其他的checkbox设置为未选中的状态
- unCheckedOther(childInstance) {
- const values = [];
- this.children.map((child) => {
- if (child.isChecked) {
- values.push(child.name);
- }
- });
- this.$emit("change", values);
- this.$emit("update:modelValue", values);
- }
- }
- };
- function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
- return vue.openBlock(), vue.createElementBlock(
- "view",
- {
- class: vue.normalizeClass(["u-checkbox-group", $options.bemClass])
- },
- [
- vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
- ],
- 2
- /* CLASS */
- );
- }
- const __easycom_2$1 = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["render", _sfc_render$a], ["__scopeId", "data-v-ff0492f0"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-checkbox-group/u-checkbox-group.vue"]]);
+ const PagesHomePagesOrderDetailsOrderDetails = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__file", "D:/worksp/logpm/pagesHome/pages/orderDetails/orderDetails.vue"]]);
const props$3 = {
props: {
// 绑定的值
@@ -41569,7 +40988,7 @@ This will fail in production if not fixed.`);
}
};
function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
- const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$5);
+ const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$6);
return vue.openBlock(), vue.createElementBlock(
"view",
{
@@ -41813,8 +41232,8 @@ This will fail in production if not fixed.`);
}
};
function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
- const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$5);
- const _component_u_line = resolveEasycom(vue.resolveDynamicComponent("u-line"), __easycom_1$3);
+ const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$6);
+ const _component_u_line = resolveEasycom(vue.resolveDynamicComponent("u-line"), __easycom_1$2);
return vue.openBlock(), vue.createElementBlock("view", { class: "u-form-item" }, [
vue.createElementVNode(
"view",
@@ -43084,11 +42503,12 @@ This will fail in production if not fixed.`);
vue.shallowRef([]);
const dataInfo = vue.shallowRef({});
const packageList = vue.ref([]);
- let checkboxValue = vue.reactive([]);
+ vue.reactive([]);
const isBatchOperation = vue.ref(false);
const showArticleMadeToOrder = vue.ref(true);
const scancode = vue.ref("");
const stockList = vue.shallowRef([]);
+ const seletionList = vue.ref([]);
const orderStateDictionaries = vue.reactive({
"10": "部分入库",
"20": "已入库",
@@ -43113,7 +42533,6 @@ This will fail in production if not fixed.`);
],
type: 1
});
- const jpScorllViewHeight = vue.ref("40vh");
const form = vue.ref({});
const tiplists = vue.ref(null);
const MaterialReplenishment = vue.ref();
@@ -43151,17 +42570,13 @@ This will fail in production if not fixed.`);
stockList.value = data.stockList;
}
}
+ const selectionChange = (list) => {
+ seletionList.value = list.detail.index;
+ };
function showArticleMadeToOrderModule() {
showArticleMadeToOrder.value = true;
isBatchOperation.value = false;
}
- const checkboxChange = (item) => {
- packageList.value.forEach((val) => {
- if (val.id === item.id)
- val.isChecked = !val.isChecked;
- });
- formatAppLog("log", "at pagesHome/pages/orderInquiry/orderInquiry.vue:388", packageList.value);
- };
function batchOperationBtn() {
isBatchOperation.value = true;
}
@@ -43187,7 +42602,7 @@ This will fail in production if not fixed.`);
const { code: code2, data } = res;
if (code2 !== 200)
return;
- formatAppLog("log", "at pagesHome/pages/orderInquiry/orderInquiry.vue:420", "res :>> ", res);
+ formatAppLog("log", "at pagesHome/pages/orderInquiry/orderInquiry.vue:412", "res :>> ", res);
tiplists.value.setdetails({
title: "请选择需要打印的包条码",
isshow: true,
@@ -43197,7 +42612,7 @@ This will fail in production if not fixed.`);
confirmTxt: "确认选择",
isonecheck: true,
success: () => {
- formatAppLog("log", "at pagesHome/pages/orderInquiry/orderInquiry.vue:437", "data :>> ", data);
+ formatAppLog("log", "at pagesHome/pages/orderInquiry/orderInquiry.vue:429", "data :>> ", data);
if (!bluetoothInfo.value.name)
return bluetoothList.value.setdetails({ isshow: true });
let _isReturn = false;
@@ -43250,12 +42665,11 @@ This will fail in production if not fixed.`);
});
}
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);
- const _component_u_checkbox_group = resolveEasycom(vue.resolveDynamicComponent("u-checkbox-group"), __easycom_2$1);
- const _component_u_divider = resolveEasycom(vue.resolveDynamicComponent("u-divider"), __easycom_3$2);
- const _component_PullDownBox = vue.resolveComponent("PullDownBox");
- const _component_jp_virtual_list = resolveEasycom(vue.resolveDynamicComponent("jp-virtual-list"), __easycom_0$3);
+ const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$5);
+ const _component_uni_th = resolveEasycom(vue.resolveDynamicComponent("uni-th"), __easycom_0);
+ const _component_uni_tr = resolveEasycom(vue.resolveDynamicComponent("uni-tr"), __easycom_1);
+ const _component_uni_td = resolveEasycom(vue.resolveDynamicComponent("uni-td"), __easycom_2$1);
+ const _component_uni_table = resolveEasycom(vue.resolveDynamicComponent("uni-table"), __easycom_3);
const _component_tiplist = vue.resolveComponent("tiplist");
const _component_u__input = resolveEasycom(vue.resolveDynamicComponent("u--input"), __easycom_5);
const _component_u_form_item = resolveEasycom(vue.resolveDynamicComponent("u-form-item"), __easycom_6);
@@ -43476,181 +42890,271 @@ This will fail in production if not fixed.`);
}, "打印"),
vue.createCommentVNode(' 物料补充 ')
])),
- vue.createVNode(_component_u_checkbox_group, {
- modelValue: vue.unref(checkboxValue),
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.isRef(checkboxValue) ? checkboxValue.value = $event : checkboxValue = $event),
- placement: "column"
- }, {
- default: vue.withCtx(() => [
- (vue.openBlock(true), vue.createElementBlock(
- vue.Fragment,
- null,
- vue.renderList(packageList.value, (item) => {
- return vue.openBlock(), vue.createElementBlock(
- "view",
- {
- class: vue.normalizeClass({ "packagesList__item": true, "active": item.orderPackageCode === scancode.value }),
- key: item.orderPackageCode
- },
- [
- vue.createElementVNode("view", null, [
- vue.createVNode(_component_u_checkbox, {
- name: item.id,
- checked: item.isChecked,
- onChange: ($event) => checkboxChange(item),
- size: "18px"
- }, null, 8, ["name", "checked", "onChange"])
+ vue.createElementVNode("scroll-view", {
+ "scroll-y": "true",
+ style: { "height": "40vh", "margin-top": "10px" }
+ }, [
+ vue.createVNode(_component_uni_table, {
+ type: "selection",
+ border: "",
+ stripe: "",
+ emptyText: "暂无更多数据",
+ onSelectionChange: selectionChange
+ }, {
+ default: vue.withCtx(() => [
+ vue.createCommentVNode(" 表头行 "),
+ vue.createVNode(_component_uni_tr, null, {
+ default: vue.withCtx(() => [
+ vue.createVNode(_component_uni_th, { align: "left" }, {
+ default: vue.withCtx(() => [
+ vue.createTextVNode("包条码")
]),
- vue.createElementVNode(
- "text",
- null,
- vue.toDisplayString(item.orderPackageCode),
- 1
- /* TEXT */
- ),
- vue.createElementVNode(
- "text",
- null,
- vue.toDisplayString(item.warehouse),
- 1
- /* TEXT */
- ),
- vue.createElementVNode(
- "text",
- null,
- vue.toDisplayString(item.thirdProduct),
- 1
- /* TEXT */
- ),
- vue.createElementVNode(
- "text",
- null,
- vue.toDisplayString(item.pallet),
- 1
- /* TEXT */
- ),
- vue.createElementVNode(
- "text",
- null,
- vue.toDisplayString(item.materialName),
- 1
- /* TEXT */
- ),
- vue.createElementVNode(
- "text",
- null,
- vue.toDisplayString(item.orderPackageStatus === "70" ? "已签" : "未签"),
- 1
- /* TEXT */
- )
- ],
- 2
- /* CLASS */
- );
+ _: 1
+ /* STABLE */
+ }),
+ vue.createVNode(_component_uni_th, { align: "left" }, {
+ default: vue.withCtx(() => [
+ vue.createTextVNode("库位信息")
+ ]),
+ _: 1
+ /* STABLE */
+ }),
+ vue.createVNode(_component_uni_th, { align: "left" }, {
+ default: vue.withCtx(() => [
+ vue.createTextVNode("托盘信息")
+ ]),
+ _: 1
+ /* STABLE */
+ }),
+ vue.createVNode(_component_uni_th, { align: "left" }, {
+ default: vue.withCtx(() => [
+ vue.createTextVNode("三级品")
+ ]),
+ _: 1
+ /* STABLE */
+ }),
+ vue.createCommentVNode(' 数量 '),
+ vue.createVNode(_component_uni_th, { align: "center" }, {
+ default: vue.withCtx(() => [
+ vue.createTextVNode("商场名称")
+ ]),
+ _: 1
+ /* STABLE */
+ }),
+ vue.createVNode(_component_uni_th, { align: "center" }, {
+ default: vue.withCtx(() => [
+ vue.createTextVNode("是否签收")
+ ]),
+ _: 1
+ /* STABLE */
+ })
+ ]),
+ _: 1
+ /* STABLE */
}),
- 128
- /* KEYED_FRAGMENT */
- ))
- ]),
- _: 1
- /* STABLE */
- }, 8, ["modelValue"])
+ vue.createCommentVNode(" 表格数据行 "),
+ (vue.openBlock(true), vue.createElementBlock(
+ vue.Fragment,
+ null,
+ vue.renderList(packageList.value, (item) => {
+ return vue.openBlock(), vue.createBlock(
+ _component_uni_tr,
+ null,
+ {
+ default: vue.withCtx(() => [
+ vue.createCommentVNode(" 包条码 "),
+ vue.createVNode(
+ _component_uni_td,
+ null,
+ {
+ default: vue.withCtx(() => [
+ vue.createTextVNode(
+ vue.toDisplayString(item.orderPackageCode),
+ 1
+ /* TEXT */
+ )
+ ]),
+ _: 2
+ /* DYNAMIC */
+ },
+ 1024
+ /* DYNAMIC_SLOTS */
+ ),
+ vue.createCommentVNode(" 库位信息 "),
+ vue.createVNode(
+ _component_uni_td,
+ null,
+ {
+ default: vue.withCtx(() => [
+ vue.createTextVNode(
+ vue.toDisplayString(item.warehouse),
+ 1
+ /* TEXT */
+ )
+ ]),
+ _: 2
+ /* DYNAMIC */
+ },
+ 1024
+ /* DYNAMIC_SLOTS */
+ ),
+ vue.createCommentVNode(" 托盘信息 "),
+ vue.createVNode(
+ _component_uni_td,
+ null,
+ {
+ default: vue.withCtx(() => [
+ vue.createTextVNode(
+ vue.toDisplayString(item.trayName),
+ 1
+ /* TEXT */
+ )
+ ]),
+ _: 2
+ /* DYNAMIC */
+ },
+ 1024
+ /* DYNAMIC_SLOTS */
+ ),
+ vue.createCommentVNode(" 三级品 "),
+ vue.createVNode(
+ _component_uni_td,
+ null,
+ {
+ default: vue.withCtx(() => [
+ vue.createTextVNode(
+ vue.toDisplayString(item.thirdProduct),
+ 1
+ /* TEXT */
+ )
+ ]),
+ _: 2
+ /* DYNAMIC */
+ },
+ 1024
+ /* DYNAMIC_SLOTS */
+ ),
+ vue.createCommentVNode(' {{item.pallet}} '),
+ vue.createCommentVNode(" 商场 "),
+ vue.createVNode(
+ _component_uni_td,
+ { align: "center" },
+ {
+ default: vue.withCtx(() => [
+ vue.createTextVNode(
+ vue.toDisplayString(item.materialName),
+ 1
+ /* TEXT */
+ )
+ ]),
+ _: 2
+ /* DYNAMIC */
+ },
+ 1024
+ /* DYNAMIC_SLOTS */
+ ),
+ vue.createCommentVNode(" 是否签收 "),
+ vue.createVNode(
+ _component_uni_td,
+ { align: "center" },
+ {
+ default: vue.withCtx(() => [
+ vue.createTextVNode(
+ vue.toDisplayString(item.orderPackageStatus === "70" ? "已签" : "未签"),
+ 1
+ /* TEXT */
+ )
+ ]),
+ _: 2
+ /* DYNAMIC */
+ },
+ 1024
+ /* DYNAMIC_SLOTS */
+ )
+ ]),
+ _: 2
+ /* DYNAMIC */
+ },
+ 1024
+ /* DYNAMIC_SLOTS */
+ );
+ }),
+ 256
+ /* UNKEYED_FRAGMENT */
+ ))
+ ]),
+ _: 1
+ /* STABLE */
+ })
+ ]),
+ vue.createCommentVNode(` \r
+ \r
+ \r
+ \r
+ \r
+ {{item.orderPackageCode}}\r
+ {{item.warehouse}}\r
+ {{item.thirdProduct}}\r
+ {{item.pallet}}\r
+ {{item.materialName}}\r
+ {{item.orderPackageStatus === '70' ? '已签' : '未签'}}\r
+ \r
+ `)
])) : vue.unref(stockList).length !== 0 && !showArticleMadeToOrder.value ? (vue.openBlock(), vue.createElementBlock(
vue.Fragment,
{ key: 1 },
[
vue.createCommentVNode(" 库存品 "),
vue.createElementVNode("view", { class: "packagesList" }, [
- vue.createCommentVNode(` \r
- {{item.cargoNumber}}\r
- {{item.descriptionGoods}}\r
- {{item.marketName}}\r
- {{item.serviceNumber}}\r
- {{item.orderPackageStatus === '70' ? '已签' : '未签'}}\r
- `),
- vue.createVNode(_component_jp_virtual_list, {
- ref: "jpScorllView",
- style: vue.normalizeStyle({ height: jpScorllViewHeight.value }),
- class: "jpScorllView",
- lazy: true,
- refresher: false,
- data: vue.unref(stockList)
- }, {
- default: vue.withCtx(({ list }) => [
- (vue.openBlock(true), vue.createElementBlock(
- vue.Fragment,
- null,
- vue.renderList(list, (item) => {
- return vue.openBlock(), vue.createElementBlock("view", {
- key: item.cargoNumber,
- id: item.cargoNumber,
- ref_for: true,
- ref: item.cargoNumber
- }, [
- vue.createVNode(
- _component_PullDownBox,
- null,
- {
- title: vue.withCtx(() => [
- vue.createElementVNode("view", { class: "contenbx1" }, [
- vue.createElementVNode("view", { style: { "flex": "1" } }, [
- vue.createElementVNode("view", null, "订单号:"),
- vue.createElementVNode(
- "view",
- { class: "" },
- vue.toDisplayString(item.cargoNumber),
- 1
- /* TEXT */
- )
- ]),
- vue.createElementVNode("view", { style: { "flex": "1" } }, [
- vue.createElementVNode("view", null, "运单号:"),
- vue.createElementVNode(
- "view",
- { class: "" },
- vue.toDisplayString(item.waybillNo),
- 1
- /* TEXT */
- )
- ])
- ]),
- vue.createElementVNode("view", { class: "contenbx1" }, [
- vue.createElementVNode("view", null, [
- vue.createElementVNode("text", null, "订单总数:"),
- vue.createTextVNode(
- " " + vue.toDisplayString(item.totalNum),
- 1
- /* TEXT */
- )
- ]),
- vue.createElementVNode("view", null, [
- vue.createElementVNode("text", null, " 装车数/卸车数: "),
- vue.createTextVNode(
- " " + vue.toDisplayString(item.loadingNum + "/" + item.unloadNum),
- 1
- /* TEXT */
- )
- ])
- ])
- ]),
- content: vue.withCtx(() => [
- vue.createVNode(_component_u_divider, { text: "详情" })
- ]),
- _: 2
- /* DYNAMIC */
- },
- 1024
- /* DYNAMIC_SLOTS */
- )
- ], 8, ["id"]);
- }),
- 128
- /* KEYED_FRAGMENT */
- ))
- ]),
- _: 1
- /* STABLE */
- }, 8, ["style", "data"])
+ (vue.openBlock(true), vue.createElementBlock(
+ vue.Fragment,
+ null,
+ vue.renderList(vue.unref(stockList), (item) => {
+ return vue.openBlock(), vue.createElementBlock("view", {
+ class: "packagesList__item",
+ key: item
+ }, [
+ vue.createElementVNode(
+ "text",
+ null,
+ vue.toDisplayString(item.cargoNumber),
+ 1
+ /* TEXT */
+ ),
+ vue.createElementVNode(
+ "text",
+ null,
+ vue.toDisplayString(item.descriptionGoods),
+ 1
+ /* TEXT */
+ ),
+ vue.createElementVNode(
+ "text",
+ null,
+ vue.toDisplayString(item.marketName),
+ 1
+ /* TEXT */
+ ),
+ vue.createElementVNode(
+ "text",
+ null,
+ vue.toDisplayString(item.serviceNumber),
+ 1
+ /* TEXT */
+ ),
+ vue.createElementVNode(
+ "text",
+ null,
+ vue.toDisplayString(item.orderPackageStatus === "70" ? "已签" : "未签"),
+ 1
+ /* TEXT */
+ )
+ ]);
+ }),
+ 128
+ /* KEYED_FRAGMENT */
+ ))
])
],
2112
@@ -43694,7 +43198,7 @@ This will fail in production if not fixed.`);
default: vue.withCtx(() => [
vue.createVNode(_component_u__input, {
modelValue: form.value.name,
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => form.value.name = $event),
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => form.value.name = $event),
border: "bottom"
}, null, 8, ["modelValue"])
]),
@@ -43715,7 +43219,7 @@ This will fail in production if not fixed.`);
default: vue.withCtx(() => [
vue.createVNode(_component_u__input, {
modelValue: form.value.name,
- "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => form.value.name = $event),
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => form.value.name = $event),
border: "bottom"
}, null, 8, ["modelValue"])
]),
@@ -43736,7 +43240,7 @@ This will fail in production if not fixed.`);
default: vue.withCtx(() => [
vue.createVNode(_component_u__input, {
modelValue: form.value.name,
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => form.value.name = $event),
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => form.value.name = $event),
border: "bottom"
}, null, 8, ["modelValue"])
]),
@@ -43757,7 +43261,7 @@ This will fail in production if not fixed.`);
default: vue.withCtx(() => [
vue.createVNode(_component_u__input, {
modelValue: form.value.name,
- "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => form.value.name = $event),
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => form.value.name = $event),
border: "bottom"
}, null, 8, ["modelValue"])
]),
@@ -43941,7 +43445,7 @@ This will fail in production if not fixed.`);
}
const { listcheckindex, inputtxt, orderStatus, schanvalue, typearr, items, datalist } = vue.toRefs(details);
return (_ctx, _cache) => {
- const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4);
+ const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$5);
const _component_tiplist = vue.resolveComponent("tiplist");
const _component_saomiao2 = vue.resolveComponent("saomiao2");
return vue.openBlock(), vue.createElementBlock(
@@ -44324,7 +43828,7 @@ This will fail in production if not fixed.`);
}
const { dataList } = vue.toRefs(details);
return (_ctx, _cache) => {
- const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4);
+ const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$5);
const _component_tiplist = vue.resolveComponent("tiplist");
const _component_saomiao2 = vue.resolveComponent("saomiao2");
return vue.openBlock(), vue.createElementBlock(
@@ -44515,7 +44019,7 @@ This will fail in production if not fixed.`);
uni.$off("scancodedate");
uni.$on("scancodedate", function(code2) {
if (code2) {
- formatAppLog("log", "at pagesHome/pages/SearchTray/SearchTray.vue:159", code2);
+ formatAppLog("log", "at pagesHome/pages/SearchTray/SearchTray.vue:158", code2);
details.scancode = code2;
scandata();
}
@@ -44533,7 +44037,7 @@ This will fail in production if not fixed.`);
details.detauser = data;
details.datelist = data.packageList ? data.packageList : [];
} catch (err) {
- formatAppLog("log", "at pagesHome/pages/SearchTray/SearchTray.vue:186", "err :>> ", err);
+ formatAppLog("log", "at pagesHome/pages/SearchTray/SearchTray.vue:185", "err :>> ", err);
} finally {
}
}
@@ -44559,11 +44063,11 @@ This will fail in production if not fixed.`);
details.datelist = data.packageList ? data.packageList : [];
details.isShowSelect = true;
} catch (err) {
- formatAppLog("log", "at pagesHome/pages/SearchTray/SearchTray.vue:225", "err :>> ", err);
+ formatAppLog("log", "at pagesHome/pages/SearchTray/SearchTray.vue:224", "err :>> ", err);
} finally {
await vue.nextTick();
uniTable1.value.selectionAll();
- formatAppLog("log", "at pagesHome/pages/SearchTray/SearchTray.vue:231", "111 :>> ", 111);
+ formatAppLog("log", "at pagesHome/pages/SearchTray/SearchTray.vue:230", "111 :>> ", 111);
}
};
const handleSubmit = async () => {
@@ -44584,7 +44088,7 @@ This will fail in production if not fixed.`);
uni.showLoading({
mask: true
});
- formatAppLog("log", "at pagesHome/pages/SearchTray/SearchTray.vue:258", "details.seletionList :>> ", details.seletionList);
+ formatAppLog("log", "at pagesHome/pages/SearchTray/SearchTray.vue:257", "details.seletionList :>> ", details.seletionList);
const orderPackageCodes = [];
details.datelist.forEach((val, index2) => {
if (details.seletionList.includes(index2))
@@ -44601,20 +44105,16 @@ This will fail in production if not fixed.`);
return;
basicContainer.value.startPullDownRefresh();
} catch (err) {
- formatAppLog("log", "at pagesHome/pages/SearchTray/SearchTray.vue:273", "err :>> ", err);
+ formatAppLog("log", "at pagesHome/pages/SearchTray/SearchTray.vue:272", "err :>> ", err);
} finally {
uni.hideLoading();
}
};
- function moni() {
- details.scancode = "T2966";
- scandata();
- }
const { datelist, detauser } = vue.toRefs(details);
return (_ctx, _cache) => {
const _component_uni_th = resolveEasycom(vue.resolveDynamicComponent("uni-th"), __easycom_0);
- const _component_uni_tr = resolveEasycom(vue.resolveDynamicComponent("uni-tr"), __easycom_1$1);
- const _component_uni_td = resolveEasycom(vue.resolveDynamicComponent("uni-td"), __easycom_2$2);
+ const _component_uni_tr = resolveEasycom(vue.resolveDynamicComponent("uni-tr"), __easycom_1);
+ const _component_uni_td = resolveEasycom(vue.resolveDynamicComponent("uni-td"), __easycom_2$1);
const _component_uni_table = resolveEasycom(vue.resolveDynamicComponent("uni-table"), __easycom_3);
const _component_BasicContainer = vue.resolveComponent("BasicContainer");
const _component_saomiao2 = vue.resolveComponent("saomiao2");
@@ -45002,10 +44502,7 @@ This will fail in production if not fixed.`);
class: "submitBtn",
onClick: handleSubmit
}, "提交同步"),
- vue.createElementVNode("button", {
- type: "default",
- onClick: moni
- }, "moni")
+ vue.createCommentVNode(' ')
],
4
/* STYLE */
@@ -45179,8 +44676,8 @@ This will fail in production if not fixed.`);
}
vue.toRefs(details);
return (_ctx, _cache) => {
- const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4);
- const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$5);
+ const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$5);
+ const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$6);
return vue.openBlock(), vue.createElementBlock("view", { class: "container" }, [
vue.createVNode(_component_u_navbar, {
title: "系统设置",
@@ -45327,8 +44824,8 @@ This will fail in production if not fixed.`);
};
vue.toRefs(details);
return (_ctx, _cache) => {
- const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4);
- const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$5);
+ const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$5);
+ const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$6);
const _component_u_input = resolveEasycom(vue.resolveDynamicComponent("u-input"), __easycom_2);
const _component_PopUp = vue.resolveComponent("PopUp");
return vue.openBlock(), vue.createElementBlock(
@@ -46042,7 +45539,7 @@ This will fail in production if not fixed.`);
renderList
} = vue.toRefs(details);
return (_ctx, _cache) => {
- const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4);
+ const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$5);
const _component_saomiao2 = vue.resolveComponent("saomiao2");
return vue.openBlock(), vue.createElementBlock(
vue.Fragment,
@@ -46671,10 +46168,6 @@ This will fail in production if not fixed.`);
if (_flag || details.pageType === 3)
return;
try {
- uni.showLoading({
- title: "数据加载中",
- mask: true
- });
const queryData = {
code: details.scancode,
questId: details.pageInfos.questId,
@@ -46734,6 +46227,8 @@ This will fail in production if not fixed.`);
icon: "none"
});
return;
+ } else if (code2 === 5001) {
+ return;
} else if (code2 !== 4e3) {
details.addInfo.orderCode = "";
details.stopScan = true;
@@ -46782,9 +46277,8 @@ This will fail in production if not fixed.`);
});
}
} catch (err) {
- formatAppLog("log", "at pagesTask/pages/dynamicCheckDetails/dynamicCheckDetails.vue:855", "err :>> ", err);
+ formatAppLog("log", "at pagesTask/pages/dynamicCheckDetails/dynamicCheckDetails.vue:859", "err :>> ", err);
} finally {
- uni.hideLoading();
}
}
async function scanUp() {
@@ -46949,7 +46443,7 @@ This will fail in production if not fixed.`);
}
};
const initState = (cargoName) => {
- formatAppLog("log", "at pagesTask/pages/dynamicCheckDetails/dynamicCheckDetails.vue:1049", "cargoName :>> ", cargoName);
+ formatAppLog("log", "at pagesTask/pages/dynamicCheckDetails/dynamicCheckDetails.vue:1053", "cargoName :>> ", cargoName);
if (details.tabBarCode === 1) {
if (cargoName) {
details.stateArr.forEach((val) => {
@@ -46976,8 +46470,8 @@ This will fail in production if not fixed.`);
if (cargoName.stockNum || cargoName.wornNum || cargoName.lossNum || cargoName.noRepairNum || cargoName.deliveNum || cargoName.noReceivedNum) {
details.stateArr.forEach((val) => {
const _value = cargoName[val.name];
- formatAppLog("log", "at pagesTask/pages/dynamicCheckDetails/dynamicCheckDetails.vue:1084", "val.name :>> ", val.name);
- formatAppLog("log", "at pagesTask/pages/dynamicCheckDetails/dynamicCheckDetails.vue:1085", "_value :>> ", _value);
+ formatAppLog("log", "at pagesTask/pages/dynamicCheckDetails/dynamicCheckDetails.vue:1088", "val.name :>> ", val.name);
+ formatAppLog("log", "at pagesTask/pages/dynamicCheckDetails/dynamicCheckDetails.vue:1089", "_value :>> ", _value);
if (_value > 0 && _value)
val.value = _value;
else
@@ -46996,7 +46490,7 @@ This will fail in production if not fixed.`);
utils.ttsspke("取消当前操作");
};
const batchEditState = () => {
- formatAppLog("log", "at pagesTask/pages/dynamicCheckDetails/dynamicCheckDetails.vue:1110", "修改");
+ formatAppLog("log", "at pagesTask/pages/dynamicCheckDetails/dynamicCheckDetails.vue:1114", "修改");
initState();
popUp_EditState.value.setDetails({
title: "状态修改",
@@ -47020,7 +46514,7 @@ This will fail in production if not fixed.`);
utils.ttsspke("成功修改" + _number + "件");
popUp_EditState.value.details.showPopUp = false;
details.showControl = false;
- formatAppLog("log", "at pagesTask/pages/dynamicCheckDetails/dynamicCheckDetails.vue:1145", "111 :>> ", 111);
+ formatAppLog("log", "at pagesTask/pages/dynamicCheckDetails/dynamicCheckDetails.vue:1149", "111 :>> ", 111);
}
});
};
@@ -47211,7 +46705,7 @@ This will fail in production if not fixed.`);
if (_item.title === "破损" || _item.title === "不可修复")
details.stateArr[0].value = 1;
} else {
- formatAppLog("log", "at pagesTask/pages/dynamicCheckDetails/dynamicCheckDetails.vue:1387", "details.stateArr[0].value :>> ", details.stateArr[0].value);
+ formatAppLog("log", "at pagesTask/pages/dynamicCheckDetails/dynamicCheckDetails.vue:1391", "details.stateArr[0].value :>> ", details.stateArr[0].value);
if (_item.title === "在库")
return;
if (details.stateArr[0].value === 0 && _item.title === "破损" || details.stateArr[0].value === 0 && _item.title === "不可修复")
@@ -47241,7 +46735,7 @@ This will fail in production if not fixed.`);
_item[val.name] = Number(val.value);
});
}
- formatAppLog("log", "at pagesTask/pages/dynamicCheckDetails/dynamicCheckDetails.vue:1419", "_item :>> ", _item);
+ formatAppLog("log", "at pagesTask/pages/dynamicCheckDetails/dynamicCheckDetails.vue:1423", "_item :>> ", _item);
if (_item.questStatus !== 1)
details.scanNum++;
_item.questStatus = 1;
@@ -47459,7 +46953,7 @@ This will fail in production if not fixed.`);
if (Number(val.questStatus) !== 1)
return;
if (!val.isManuallyAdd && Number(val.cargoName) === 10) {
- formatAppLog("log", "at pagesTask/pages/dynamicCheckDetails/dynamicCheckDetails.vue:1680", "1 :>> ", 1);
+ formatAppLog("log", "at pagesTask/pages/dynamicCheckDetails/dynamicCheckDetails.vue:1684", "1 :>> ", 1);
submitData.questDetailIds.push(val.questDetailId);
if (!val.isChange)
return;
@@ -47564,9 +47058,9 @@ This will fail in production if not fixed.`);
}
submitData.questDetailList.push(_item);
});
- formatAppLog("log", "at pagesTask/pages/dynamicCheckDetails/dynamicCheckDetails.vue:1808", "submitData :>> ", submitData);
+ formatAppLog("log", "at pagesTask/pages/dynamicCheckDetails/dynamicCheckDetails.vue:1812", "submitData :>> ", submitData);
const res = await postWarehouseTaskAddDataInfo(submitData);
- formatAppLog("log", "at pagesTask/pages/dynamicCheckDetails/dynamicCheckDetails.vue:1810", "res :>> ", res);
+ formatAppLog("log", "at pagesTask/pages/dynamicCheckDetails/dynamicCheckDetails.vue:1814", "res :>> ", res);
const { code: code2 } = res;
if (code2 === 200) {
utils.ttsspke("盘点成功");
@@ -47576,7 +47070,7 @@ This will fail in production if not fixed.`);
}, 1e3);
}
} catch (err) {
- formatAppLog("log", "at pagesTask/pages/dynamicCheckDetails/dynamicCheckDetails.vue:1821", "err :>> ", err);
+ formatAppLog("log", "at pagesTask/pages/dynamicCheckDetails/dynamicCheckDetails.vue:1825", "err :>> ", err);
} finally {
uni.hideLoading();
}
@@ -53438,7 +52932,7 @@ This will fail in production if not fixed.`);
}
return target;
}
- function error(err) {
+ function error$1(err) {
{
formatAppLog("error", "at node_modules/uview-plus/libs/function/index.js:240", `uView提示:${err}`);
}
@@ -53757,7 +53251,7 @@ This will fail in production if not fixed.`);
addUnit,
deepClone,
deepMerge,
- error,
+ error: error$1,
randomArray,
timeFormat,
timeFrom,
@@ -56384,7 +55878,7 @@ This will fail in production if not fixed.`);
if (isEnd === void 0)
isEnd = vue.ref(false);
const pullDownRefreshInitPage = props2.option.pullDownRefreshInitPage || function() {
- formatAppLog("log", "at compoment/BasicContainer/BasicContainer.vue:59", "刷新");
+ formatAppLog("log", "at compoment/BasicContainer/BasicContainer.vue:60", "刷新");
};
const reachBottomInitPage = props2.option.reachBottomInitPage || function() {
};
@@ -56393,6 +55887,9 @@ This will fail in production if not fixed.`);
};
onLoad(() => {
});
+ onUnload(() => {
+ uni.hideLoading();
+ });
let antiShake = null;
onReachBottom(() => {
if (isEnd.value) {
@@ -56401,7 +55898,7 @@ This will fail in production if not fixed.`);
title: "数据已加载完毕"
});
}
- formatAppLog("log", "at compoment/BasicContainer/BasicContainer.vue:81", "antiShake :>> ", antiShake);
+ formatAppLog("log", "at compoment/BasicContainer/BasicContainer.vue:86", "antiShake :>> ", antiShake);
if (antiShake) {
uni.hideLoading();
clearTimeout(antiShake);
@@ -56425,12 +55922,12 @@ This will fail in production if not fixed.`);
}, 300);
});
function startPullDownRefresh() {
- formatAppLog("log", "at compoment/BasicContainer/BasicContainer.vue:117", "触发下拉");
+ formatAppLog("log", "at compoment/BasicContainer/BasicContainer.vue:122", "触发下拉");
uni.startPullDownRefresh();
}
expose({ startPullDownRefresh });
return (_ctx, _cache) => {
- const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4);
+ const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$5);
return vue.openBlock(), vue.createElementBlock(
vue.Fragment,
null,
@@ -56876,7 +56373,7 @@ This will fail in production if not fixed.`);
isShowPullDownBox.value = !isShowPullDownBox.value;
};
return (_ctx, _cache) => {
- const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$5);
+ const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$6);
return vue.openBlock(), vue.createElementBlock("view", { class: "PullDownBox" }, [
vue.createElementVNode("view", {
onClick: handleShowPullDown,
@@ -56962,6 +56459,280 @@ This will fail in production if not fixed.`);
}
});
const saomiao1 = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__file", "D:/worksp/logpm/compoment/saomiao1.vue"]]);
+ const root$1 = function() {
+ const environment = plus.android.importClass("android.os.Environment");
+ return environment.getExternalStorageDirectory();
+ };
+ const filelist = function(dir = "") {
+ const File = plus.android.importClass("java.io.File");
+ let list = [];
+ let file2 = new File(dir);
+ let tempList = file2.listFiles();
+ for (let i = 0; i < tempList.length; i++) {
+ let fileName = tempList[i].getName();
+ list.push(fileName);
+ }
+ return list;
+ };
+ const createNewFile = function(path = "") {
+ const File = plus.android.importClass("java.io.File");
+ let file2 = new File(path);
+ if (!file2.exists()) {
+ return file2.createNewFile();
+ }
+ return false;
+ };
+ const mkdirs = function(path = "") {
+ const File = plus.android.importClass("java.io.File");
+ let file2 = new File(path);
+ if (!file2.exists()) {
+ return file2.mkdirs();
+ }
+ return false;
+ };
+ const readTxt = function(path = "", charset = "utf-8") {
+ const File = plus.android.importClass("java.io.File");
+ const InputStreamReader = plus.android.importClass("java.io.InputStreamReader");
+ const BufferedReader = plus.android.importClass("java.io.BufferedReader");
+ const FileInputStream = plus.android.importClass("java.io.FileInputStream");
+ let file2 = new File(path);
+ let inputStreamReader = null;
+ let bufferedReader = null;
+ let list = [];
+ try {
+ if (!file2.exists()) {
+ return false;
+ }
+ inputStreamReader = new InputStreamReader(new FileInputStream(file2), charset);
+ bufferedReader = new BufferedReader(inputStreamReader);
+ let line = "";
+ while (null != (line = bufferedReader.readLine())) {
+ list.push(line);
+ }
+ bufferedReader.close();
+ inputStreamReader.close();
+ } catch (e) {
+ if (null != bufferedReader) {
+ bufferedReader.close();
+ }
+ if (null != inputStreamReader) {
+ inputStreamReader.close();
+ }
+ return false;
+ }
+ return list;
+ };
+ const writeTxt = function(path = "", content = "", append = false, charset = "utf-8") {
+ const File = plus.android.importClass("java.io.File");
+ const FileOutputStream = plus.android.importClass("java.io.FileOutputStream");
+ const OutputStreamWriter = plus.android.importClass("java.io.OutputStreamWriter");
+ let outputStreamWriter;
+ let file2 = new File(path);
+ try {
+ if (!file2.exists()) {
+ file2.createNewFile();
+ }
+ outputStreamWriter = new OutputStreamWriter(new FileOutputStream(path, append), charset);
+ outputStreamWriter.write(content);
+ outputStreamWriter.close();
+ } catch (e) {
+ if (null != outputStreamWriter) {
+ outputStreamWriter.close();
+ }
+ return false;
+ }
+ return true;
+ };
+ const isFileExist = function(path = "") {
+ const File = plus.android.importClass("java.io.File");
+ return new File(path).exists();
+ };
+ const deleteFile = function(path = "") {
+ const File = plus.android.importClass("java.io.File");
+ let file2 = new File(path);
+ if (file2.exists()) {
+ return file2.delete();
+ }
+ return false;
+ };
+ const handleFile = {
+ root: root$1,
+ filelist,
+ createNewFile,
+ mkdirs,
+ readTxt,
+ writeTxt,
+ isFileExist,
+ deleteFile
+ };
+ let logTextData = "";
+ const {
+ root
+ } = handleFile;
+ const file = `${root()}/scanLogs`;
+ function getTimeStampDatetime(format2 = "yyyy-MM-dd HH:mm:ss", timeStamp) {
+ let nowDatetime = /* @__PURE__ */ new Date();
+ timeStamp ? nowDatetime = new Date(timeStamp) : nowDatetime = /* @__PURE__ */ new Date();
+ return nowDatetime.Format(format2);
+ }
+ Date.prototype.Format = function(fmt) {
+ var o = {
+ "M+": this.getMonth() + 1,
+ //月份
+ "d+": this.getDate(),
+ //日
+ "H+": this.getHours(),
+ //小时
+ "m+": this.getMinutes(),
+ //分
+ "s+": this.getSeconds(),
+ //秒
+ "q+": Math.floor((this.getMonth() + 3) / 3),
+ //季度
+ "S": this.getMilliseconds()
+ //毫秒
+ };
+ if (/(y+)/.test(fmt))
+ fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
+ for (var k in o)
+ if (new RegExp("(" + k + ")").test(fmt))
+ fmt = fmt.replace(RegExp.$1, RegExp.$1.length == 1 ? o[k] : ("00" + o[k]).substr(("" + o[k]).length));
+ return fmt;
+ };
+ function getLogFileName() {
+ let nowDate = getTimeStampDatetime("yyyy-MM-dd");
+ let nowTime = getTimeStampDatetime("HH:mm:ss");
+ let fileName = "app-log.txt";
+ fileName = nowDate + ".txt";
+ let newLine = "\r\n======================================\r\n" + nowTime + " =>>>\r\n";
+ return {
+ nowDate,
+ newLine,
+ fileName
+ };
+ }
+ let writelogtime = null;
+ function writeLog(params, encryption) {
+ let text = JSON.stringify(params);
+ if (encryption) {
+ logTextData += getLogFileName().newLine + " " + Base64$1.encode(text);
+ } else {
+ logTextData += getLogFileName().newLine + " " + text;
+ }
+ if (writelogtime) {
+ clearTimeout(writelogtime);
+ }
+ writelogtime = setTimeout(function() {
+ writeLogTxt();
+ }, 3e3);
+ }
+ function writeLogTxt() {
+ plus.io.requestFileSystem(plus.io.PUBLIC_DOCUMENTS, function(fs) {
+ fs.root.getDirectory("app-log", {
+ create: true,
+ exclusive: false
+ }, function(dir) {
+ dir.getDirectory(getLogFileName().nowDate, {
+ create: true,
+ exclusive: false
+ }, function(dir2) {
+ formatAppLog("log", "at utils/log.js:107", "Directory Entry Name: " + dir2.fullPath + getLogFileName().fileName);
+ dir2.getFile(getLogFileName().fileName, {
+ create: true
+ }, function(fileEntry) {
+ fileEntry.file(function(file2) {
+ fileEntry.createWriter(function(writer) {
+ writer.seek(file2.size - 1);
+ writer.write(logTextData);
+ formatAppLog("log", "at utils/log.js:119", "111 :>> ", 111);
+ logTextData = "";
+ }, function(e) {
+ formatAppLog("error", "at utils/log.js:122", "日志写入错误", error);
+ });
+ });
+ });
+ }, function(err) {
+ formatAppLog("error", "at utils/log.js:127", "文件夹创建失败", err);
+ });
+ }, function(err) {
+ formatAppLog("error", "at utils/log.js:130", "文件夹创建失败", err);
+ });
+ }, function(error2) {
+ formatAppLog("error", "at utils/log.js:134", "文件系统进入错误", error2);
+ });
+ }
+ function delLogFile() {
+ formatAppLog("log", "at utils/log.js:139", "日志删除");
+ plus.io.resolveLocalFileSystemURL(
+ file,
+ //指定的目录
+ function(entry) {
+ var directoryReader = entry.createReader();
+ directoryReader.readEntries(
+ function(entries) {
+ for (var i = 0; i < entries.length; i++) {
+ formatAppLog("log", "at utils/log.js:147", "文件信息:" + entries[i].name);
+ let twoDate = Date.parse(getLogFileName().nowDate) - 864e5 * 2;
+ formatAppLog("log", "at utils/log.js:149", "保留三天内日志", twoDate);
+ if (Date.parse(entries[i].name) < twoDate) {
+ entries[i].removeRecursively(function(entry2) {
+ writeLog("日志删除成功" + entries[i].name, false);
+ }, function(e) {
+ writeLog("日志删除成功" + e.message, false);
+ });
+ }
+ }
+ },
+ function(err) {
+ formatAppLog("log", "at utils/log.js:160", "没有异常日志");
+ }
+ );
+ },
+ function(err) {
+ formatAppLog("log", "at utils/log.js:164", "没有异常日志");
+ }
+ );
+ }
+ function selectLogUrl() {
+ plus.io.resolveLocalFileSystemURL(
+ file,
+ //指定的目录
+ function(entry) {
+ var directoryReader = entry.createReader();
+ directoryReader.readEntries(
+ function(entries) {
+ let isLog = false;
+ for (var i = 0; i < entries.length; i++) {
+ formatAppLog("log", "at utils/log.js:177", "文件信息:" + entries[i].name);
+ if (entries[i].name == getLogFileName().nowDate) {
+ formatAppLog("log", "at utils/log.js:179", "获取到当天文件为", entries[i].name);
+ var url2 = file + "/" + entries[i].name + "/" + getLogFileName().nowDate + ".txt";
+ var path = plus.io.convertLocalFileSystemURL(url2);
+ var newurl = plus.io.convertAbsoluteFileSystem(path);
+ isLog = true;
+ return newurl;
+ }
+ }
+ if (isLog) {
+ return "";
+ }
+ },
+ function(err) {
+ formatAppLog("log", "at utils/log.js:192", "访问目录失败");
+ }
+ );
+ },
+ function(err) {
+ formatAppLog("log", "at utils/log.js:196", "访问目录失败");
+ }
+ );
+ }
+ const file$1 = {
+ writeLog,
+ delLogFile,
+ getLogFileName,
+ selectLogUrl
+ };
const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
__name: "saomiao2",
props: {
@@ -56969,32 +56740,35 @@ This will fail in production if not fixed.`);
},
setup(__props) {
const props2 = __props;
+ const { writeLog: writeLog2, selectLogUrl: selectLogUrl2, delLogFile: delLogFile2 } = file$1;
let details = vue.reactive({
activity: null,
receiver: null,
intentFilter: null,
isstart: false
});
+ vue.reactive([]);
onLoad(async () => {
initScan();
startScan();
- formatAppLog("log", "at compoment/saomiao2.vue:31", "扫描的--------------onLoad");
+ formatAppLog("log", "at compoment/saomiao2.vue:48", "扫描的--------------onLoad");
});
onShow(() => {
startScan();
- formatAppLog("log", "at compoment/saomiao2.vue:35", "扫描的--------------onShow");
+ formatAppLog("log", "at compoment/saomiao2.vue:52", "扫描的--------------onShow");
});
onHide(() => {
- formatAppLog("log", "at compoment/saomiao2.vue:38", "props?.ishidestop :>> ", props2 == null ? void 0 : props2.ishidestop);
+ formatAppLog("log", "at compoment/saomiao2.vue:56", "props?.ishidestop :>> ", props2 == null ? void 0 : props2.ishidestop);
if (props2 == null ? void 0 : props2.ishidestop)
return;
stopScan();
- formatAppLog("log", "at compoment/saomiao2.vue:41", "扫描的--------------onHide");
+ formatAppLog("log", "at compoment/saomiao2.vue:59", "扫描的--------------onHide");
});
onUnload(() => {
stopScan();
uni.$off("scancodedate");
- formatAppLog("log", "at compoment/saomiao2.vue:46", "扫描的--------------onUnload");
+ formatAppLog("log", "at compoment/saomiao2.vue:64", "扫描的--------------onUnload");
+ delLogFile2();
});
function initScan() {
const pdaBroadcastList = {
@@ -57011,22 +56785,29 @@ This will fail in production if not fixed.`);
broadcastTag: "barcode_string"
}
};
- formatAppLog("log", "at compoment/saomiao2.vue:66", "广播");
+ formatAppLog("log", "at compoment/saomiao2.vue:88", "广播");
if (plus) {
- formatAppLog("log", "at compoment/saomiao2.vue:68", "getDeviceBrand() :>> ", uni.getSystemInfoSync());
+ formatAppLog("log", "at compoment/saomiao2.vue:90", "getDeviceBrand() :>> ", uni.getSystemInfoSync());
const { brand } = uni.getSystemInfoSync();
- formatAppLog("log", "at compoment/saomiao2.vue:70", "brand :>> ", brand);
- formatAppLog("log", "at compoment/saomiao2.vue:71", "进入");
+ formatAppLog("log", "at compoment/saomiao2.vue:92", "brand :>> ", brand);
+ formatAppLog("log", "at compoment/saomiao2.vue:93", "进入");
details.activity = plus.android.runtimeMainActivity();
- formatAppLog("log", "at compoment/saomiao2.vue:73", "details.activity :>> ", details.activity);
+ formatAppLog("log", "at compoment/saomiao2.vue:95", "details.activity :>> ", details.activity);
var IntentFilter = plus.android.importClass("android.content.IntentFilter");
details.intentFilter = new IntentFilter();
details.intentFilter.addAction(pdaBroadcastList[brand].broadcastAction);
details.receiver = plus.android.implements("io.dcloud.feature.internal.reflect.BroadcastReceiver", {
onReceive: function(context, intent) {
- formatAppLog("log", "at compoment/saomiao2.vue:82", "intent", intent);
+ formatAppLog("log", "at compoment/saomiao2.vue:104", "intent", intent);
plus.android.importClass(intent);
let content = intent.getStringExtra(pdaBroadcastList[brand].broadcastTag);
+ formatAppLog("log", "at compoment/saomiao2.vue:109", "content :>> ", content);
+ if (!content)
+ return uni.showToast({
+ title: "码值有误",
+ icon: "none"
+ });
+ writeLog2(content + ">>>>>" + content.replace(/\n/g, ""), false);
uni.$emit("scancodedate", content.replace(/\n/g, ""));
}
});
diff --git a/unpackage/dist/dev/app-plus/app.css b/unpackage/dist/dev/app-plus/app.css
index ee6be43..e839b94 100644
--- a/unpackage/dist/dev/app-plus/app.css
+++ b/unpackage/dist/dev/app-plus/app.css
@@ -1116,12 +1116,35 @@ uni-view[data-v-f631659b], uni-scroll-view[data-v-f631659b], uni-swiper-item[dat
font-size: 15px;
margin-left: 3px;
}
-
+/**
+ * 这里是uni-app内置的常用样式变量
+ *
+ * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
+ * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
+ *
+ */
+/**
+ * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
+ *
+ * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
+ */
+/* 颜色变量 */
+/* 行为相关颜色 */
+/* 文字基本颜色 */
+/* 背景颜色 */
+/* 边框颜色 */
+/* 尺寸变量 */
+/* 文字尺寸 */
+/* 图片尺寸 */
+/* Border Radius */
+/* 水平间距 */
+/* 垂直间距 */
+/* 透明度 */
+/* 文章场景相关 */
.footer-end[data-v-e1062c8b] {
- padding: 0.625rem 0;
- text-align: center;
+ padding: 0.625rem 0;
+ text-align: center;
}
-
/**
* 这里是uni-app内置的常用样式变量
*
diff --git a/unpackage/dist/dev/app-plus/manifest.json b/unpackage/dist/dev/app-plus/manifest.json
index 7c4c3dc..d1ca7c1 100644
--- a/unpackage/dist/dev/app-plus/manifest.json
+++ b/unpackage/dist/dev/app-plus/manifest.json
@@ -7,8 +7,8 @@
"id": "__UNI__EB22F37",
"name": "货无忧",
"version": {
- "name": "1.0.39",
- "code": 1039
+ "name": "1.1.01",
+ "code": 1101
},
"description": "",
"developer": {
diff --git a/utils/base64Log.js b/utils/base64Log.js
new file mode 100644
index 0000000..4718c3b
--- /dev/null
+++ b/utils/base64Log.js
@@ -0,0 +1,313 @@
+//
+// THIS FILE IS AUTOMATICALLY GENERATED! DO NOT EDIT BY HAND!
+//
+;(function(global, factory) {
+ typeof exports === 'object' && typeof module !== 'undefined'
+ ? module.exports = factory()
+ : typeof define === 'function' && define.amd
+ ? define(factory) :
+ // cf. https://github.com/dankogai/js-base64/issues/119
+ (function() {
+ // existing version for noConflict()
+ const _Base64 = global.Base64;
+ const gBase64 = factory();
+ gBase64.noConflict = () => {
+ global.Base64 = _Base64;
+ return gBase64;
+ };
+ if (global.Meteor) { // Meteor.js
+ Base64 = gBase64;
+ }
+ global.Base64 = gBase64;
+ })();
+}((typeof self !== 'undefined' ? self
+ : typeof window !== 'undefined' ? window
+ : typeof global !== 'undefined' ? global
+ : this
+), function() {
+ 'use strict';
+
+/**
+ * base64.ts
+ *
+ * Licensed under the BSD 3-Clause License.
+ * http://opensource.org/licenses/BSD-3-Clause
+ *
+ * References:
+ * http://en.wikipedia.org/wiki/Base64
+ *
+ * @author Dan Kogai (https://github.com/dankogai)
+ */
+const version = '3.6.0';
+/**
+ * @deprecated use lowercase `version`.
+ */
+const VERSION = version;
+const _hasatob = typeof atob === 'function';
+const _hasbtoa = typeof btoa === 'function';
+const _hasBuffer = typeof Buffer === 'function';
+const _TD = typeof TextDecoder === 'function' ? new TextDecoder() : undefined;
+const _TE = typeof TextEncoder === 'function' ? new TextEncoder() : undefined;
+const b64ch = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
+const b64chs = [...b64ch];
+const b64tab = ((a) => {
+ let tab = {};
+ a.forEach((c, i) => tab[c] = i);
+ return tab;
+})(b64chs);
+const b64re = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/;
+const _fromCC = String.fromCharCode.bind(String);
+const _U8Afrom = typeof Uint8Array.from === 'function'
+ ? Uint8Array.from.bind(Uint8Array)
+ : (it, fn = (x) => x) => new Uint8Array(Array.prototype.slice.call(it, 0).map(fn));
+const _mkUriSafe = (src) => src
+ .replace(/[+\/]/g, (m0) => m0 == '+' ? '-' : '_')
+ .replace(/=+$/m, '');
+const _tidyB64 = (s) => s.replace(/[^A-Za-z0-9\+\/]/g, '');
+/**
+ * polyfill version of `btoa`
+ */
+const btoaPolyfill = (bin) => {
+ // console.log('polyfilled');
+ let u32, c0, c1, c2, asc = '';
+ const pad = bin.length % 3;
+ for (let i = 0; i < bin.length;) {
+ if ((c0 = bin.charCodeAt(i++)) > 255 ||
+ (c1 = bin.charCodeAt(i++)) > 255 ||
+ (c2 = bin.charCodeAt(i++)) > 255)
+ throw new TypeError('invalid character found');
+ u32 = (c0 << 16) | (c1 << 8) | c2;
+ asc += b64chs[u32 >> 18 & 63]
+ + b64chs[u32 >> 12 & 63]
+ + b64chs[u32 >> 6 & 63]
+ + b64chs[u32 & 63];
+ }
+ return pad ? asc.slice(0, pad - 3) + "===".substring(pad) : asc;
+};
+/**
+ * does what `window.btoa` of web browsers do.
+ * @param {String} bin binary string
+ * @returns {string} Base64-encoded string
+ */
+const _btoa = _hasbtoa ? (bin) => btoa(bin)
+ : _hasBuffer ? (bin) => Buffer.from(bin, 'binary').toString('base64')
+ : btoaPolyfill;
+const _fromUint8Array = _hasBuffer
+ ? (u8a) => Buffer.from(u8a).toString('base64')
+ : (u8a) => {
+ // cf. https://stackoverflow.com/questions/12710001/how-to-convert-uint8-array-to-base64-encoded-string/12713326#12713326
+ const maxargs = 0x1000;
+ let strs = [];
+ for (let i = 0, l = u8a.length; i < l; i += maxargs) {
+ strs.push(_fromCC.apply(null, u8a.subarray(i, i + maxargs)));
+ }
+ return _btoa(strs.join(''));
+ };
+/**
+ * converts a Uint8Array to a Base64 string.
+ * @param {boolean} [urlsafe] URL-and-filename-safe a la RFC4648 §5
+ * @returns {string} Base64 string
+ */
+const fromUint8Array = (u8a, urlsafe = false) => urlsafe ? _mkUriSafe(_fromUint8Array(u8a)) : _fromUint8Array(u8a);
+// This trick is found broken https://github.com/dankogai/js-base64/issues/130
+// const utob = (src: string) => unescape(encodeURIComponent(src));
+// reverting good old fationed regexp
+const cb_utob = (c) => {
+ if (c.length < 2) {
+ var cc = c.charCodeAt(0);
+ return cc < 0x80 ? c
+ : cc < 0x800 ? (_fromCC(0xc0 | (cc >>> 6))
+ + _fromCC(0x80 | (cc & 0x3f)))
+ : (_fromCC(0xe0 | ((cc >>> 12) & 0x0f))
+ + _fromCC(0x80 | ((cc >>> 6) & 0x3f))
+ + _fromCC(0x80 | (cc & 0x3f)));
+ }
+ else {
+ var cc = 0x10000
+ + (c.charCodeAt(0) - 0xD800) * 0x400
+ + (c.charCodeAt(1) - 0xDC00);
+ return (_fromCC(0xf0 | ((cc >>> 18) & 0x07))
+ + _fromCC(0x80 | ((cc >>> 12) & 0x3f))
+ + _fromCC(0x80 | ((cc >>> 6) & 0x3f))
+ + _fromCC(0x80 | (cc & 0x3f)));
+ }
+};
+const re_utob = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g;
+/**
+ * @deprecated should have been internal use only.
+ * @param {string} src UTF-8 string
+ * @returns {string} UTF-16 string
+ */
+const utob = (u) => u.replace(re_utob, cb_utob);
+//
+const _encode = _hasBuffer
+ ? (s) => Buffer.from(s, 'utf8').toString('base64')
+ : _TE
+ ? (s) => _fromUint8Array(_TE.encode(s))
+ : (s) => _btoa(utob(s));
+/**
+ * converts a UTF-8-encoded string to a Base64 string.
+ * @param {boolean} [urlsafe] if `true` make the result URL-safe
+ * @returns {string} Base64 string
+ */
+const encode = (src, urlsafe = false) => urlsafe
+ ? _mkUriSafe(_encode(src))
+ : _encode(src);
+/**
+ * converts a UTF-8-encoded string to URL-safe Base64 RFC4648 §5.
+ * @returns {string} Base64 string
+ */
+const encodeURI = (src) => encode(src, true);
+// This trick is found broken https://github.com/dankogai/js-base64/issues/130
+// const btou = (src: string) => decodeURIComponent(escape(src));
+// reverting good old fationed regexp
+const re_btou = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g;
+const cb_btou = (cccc) => {
+ switch (cccc.length) {
+ case 4:
+ var cp = ((0x07 & cccc.charCodeAt(0)) << 18)
+ | ((0x3f & cccc.charCodeAt(1)) << 12)
+ | ((0x3f & cccc.charCodeAt(2)) << 6)
+ | (0x3f & cccc.charCodeAt(3)), offset = cp - 0x10000;
+ return (_fromCC((offset >>> 10) + 0xD800)
+ + _fromCC((offset & 0x3FF) + 0xDC00));
+ case 3:
+ return _fromCC(((0x0f & cccc.charCodeAt(0)) << 12)
+ | ((0x3f & cccc.charCodeAt(1)) << 6)
+ | (0x3f & cccc.charCodeAt(2)));
+ default:
+ return _fromCC(((0x1f & cccc.charCodeAt(0)) << 6)
+ | (0x3f & cccc.charCodeAt(1)));
+ }
+};
+/**
+ * @deprecated should have been internal use only.
+ * @param {string} src UTF-16 string
+ * @returns {string} UTF-8 string
+ */
+const btou = (b) => b.replace(re_btou, cb_btou);
+/**
+ * polyfill version of `atob`
+ */
+const atobPolyfill = (asc) => {
+ // console.log('polyfilled');
+ asc = asc.replace(/\s+/g, '');
+ if (!b64re.test(asc))
+ throw new TypeError('malformed base64.');
+ asc += '=='.slice(2 - (asc.length & 3));
+ let u24, bin = '', r1, r2;
+ for (let i = 0; i < asc.length;) {
+ u24 = b64tab[asc.charAt(i++)] << 18
+ | b64tab[asc.charAt(i++)] << 12
+ | (r1 = b64tab[asc.charAt(i++)]) << 6
+ | (r2 = b64tab[asc.charAt(i++)]);
+ bin += r1 === 64 ? _fromCC(u24 >> 16 & 255)
+ : r2 === 64 ? _fromCC(u24 >> 16 & 255, u24 >> 8 & 255)
+ : _fromCC(u24 >> 16 & 255, u24 >> 8 & 255, u24 & 255);
+ }
+ return bin;
+};
+/**
+ * does what `window.atob` of web browsers do.
+ * @param {String} asc Base64-encoded string
+ * @returns {string} binary string
+ */
+const _atob = _hasatob ? (asc) => atob(_tidyB64(asc))
+ : _hasBuffer ? (asc) => Buffer.from(asc, 'base64').toString('binary')
+ : atobPolyfill;
+//
+const _toUint8Array = _hasBuffer
+ ? (a) => _U8Afrom(Buffer.from(a, 'base64'))
+ : (a) => _U8Afrom(_atob(a), c => c.charCodeAt(0));
+/**
+ * converts a Base64 string to a Uint8Array.
+ */
+const toUint8Array = (a) => _toUint8Array(_unURI(a));
+//
+const _decode = _hasBuffer
+ ? (a) => Buffer.from(a, 'base64').toString('utf8')
+ : _TD
+ ? (a) => _TD.decode(_toUint8Array(a))
+ : (a) => btou(_atob(a));
+const _unURI = (a) => _tidyB64(a.replace(/[-_]/g, (m0) => m0 == '-' ? '+' : '/'));
+/**
+ * converts a Base64 string to a UTF-8 string.
+ * @param {String} src Base64 string. Both normal and URL-safe are supported
+ * @returns {string} UTF-8 string
+ */
+const decode = (src) => _decode(_unURI(src));
+/**
+ * check if a value is a valid Base64 string
+ * @param {String} src a value to check
+ */
+const isValid = (src) => {
+ if (typeof src !== 'string')
+ return false;
+ const s = src.replace(/\s+/g, '').replace(/=+$/, '');
+ return !/[^\s0-9a-zA-Z\+/]/.test(s) || !/[^\s0-9a-zA-Z\-_]/.test(s);
+};
+//
+const _noEnum = (v) => {
+ return {
+ value: v, enumerable: false, writable: true, configurable: true
+ };
+};
+/**
+ * extend String.prototype with relevant methods
+ */
+const extendString = function () {
+ const _add = (name, body) => Object.defineProperty(String.prototype, name, _noEnum(body));
+ _add('fromBase64', function () { return decode(this); });
+ _add('toBase64', function (urlsafe) { return encode(this, urlsafe); });
+ _add('toBase64URI', function () { return encode(this, true); });
+ _add('toBase64URL', function () { return encode(this, true); });
+ _add('toUint8Array', function () { return toUint8Array(this); });
+};
+/**
+ * extend Uint8Array.prototype with relevant methods
+ */
+const extendUint8Array = function () {
+ const _add = (name, body) => Object.defineProperty(Uint8Array.prototype, name, _noEnum(body));
+ _add('toBase64', function (urlsafe) { return fromUint8Array(this, urlsafe); });
+ _add('toBase64URI', function () { return fromUint8Array(this, true); });
+ _add('toBase64URL', function () { return fromUint8Array(this, true); });
+};
+/**
+ * extend Builtin prototypes with relevant methods
+ */
+const extendBuiltins = () => {
+ extendString();
+ extendUint8Array();
+};
+const gBase64 = {
+ version: version,
+ VERSION: VERSION,
+ atob: _atob,
+ atobPolyfill: atobPolyfill,
+ btoa: _btoa,
+ btoaPolyfill: btoaPolyfill,
+ fromBase64: decode,
+ toBase64: encode,
+ encode: encode,
+ encodeURI: encodeURI,
+ encodeURL: encodeURI,
+ utob: utob,
+ btou: btou,
+ decode: decode,
+ isValid: isValid,
+ fromUint8Array: fromUint8Array,
+ toUint8Array: toUint8Array,
+ extendString: extendString,
+ extendUint8Array: extendUint8Array,
+ extendBuiltins: extendBuiltins,
+};
+
+ //
+ // export Base64 to the namespace
+ //
+ // ES5 is yet to have Object.assign() that may make transpilers unhappy.
+ // gBase64.Base64 = Object.assign({}, gBase64);
+ gBase64.Base64 = {};
+ Object.keys(gBase64).forEach(k => gBase64.Base64[k] = gBase64[k]);
+ return gBase64;
+}));
\ No newline at end of file
diff --git a/utils/handleFile.js b/utils/handleFile.js
new file mode 100644
index 0000000..0773ae1
--- /dev/null
+++ b/utils/handleFile.js
@@ -0,0 +1,170 @@
+/*
+ 使用该类应开启以下权限(读取和写入)
+
+
+ */
+/*
+ 文件编码
+ ansi(ascii):英文标准码0-127,包括控制符和其他英文字符编码,这在后来一直统一没再变过,当然它只需要一个字节保存
+ gb2312和gbk:这两个是ancii码加上汉字的扩展,汉字多达10万,在ancii编码基础上再加一个字节表示汉字,共可表示字符65535个,包括了繁体字。因此一个中文字符包含两个字节。eclipse中默认编码方式为gbk。在Windows中文系统中ANSI是默认的编码方式。对于英文文件是ASCII编码,对于简体中文文件是GB2312编码。
+ Unicode编码:顾名思义,这是国际统一标准编码,在这之前各国标准编码不统一,微软等公司需要为各国的计算机系统定制符合不同编码标准的系统,显然,成本太高,并且互联网的出现让不同编码标准的计算机交互变得困难,如:两国的邮件系统,会因为使用不同的编码标准而导致接受方收到的邮件是乱码。
+ utf-8和utf-16编码:UTF的意思是(UCS Transfer Format),显然是随着互联网的出现,需要解决Unicode在网络上的传输问题。顾名思义,UTF8就是每次8个位传输数据,而UTF16就是每次16个位,只不过为了传输时的可靠性,从UNICODE到UTF时并不是直接的对应,而是要过一些算法和规则来转换。UTF-8就是在互联网上使用最广的一种unicode的实现方式。
+*/
+
+/**
+ * 获取手机内置存储的根路径
+ * @return {String}
+ */
+const root = function() {
+ const environment = plus.android.importClass("android.os.Environment");
+ return environment.getExternalStorageDirectory();
+}
+
+/**
+ * 获取指定文件夹下的所有文件和文件夹列表
+ * @param {String} path 文件夹路径
+ * @return {Array} 文件和文件夹列表
+ */
+const filelist = function(dir = '') {
+ const File = plus.android.importClass("java.io.File");
+ let list = [];
+ let file = new File(dir);
+ let tempList = file.listFiles();
+ for (let i = 0; i < tempList.length; i++) {
+ let fileName = tempList[i].getName();
+ list.push(fileName);
+ }
+ return list;
+}
+
+/**
+ * 创建文件
+ * @return {boolean} flase=失败(已存在、操作失败),true=成功
+ */
+const createNewFile = function(path = '') {
+ const File = plus.android.importClass('java.io.File');
+ let file = new File(path);
+ if (!file.exists()) {
+ return file.createNewFile();
+ }
+ return false;
+}
+
+/**
+ * 创建文件夹
+ * @return {boolean} flase=失败(已存在、操作失败),true=成功
+ */
+const mkdirs = function(path = ''){
+ const File = plus.android.importClass('java.io.File');
+ let file = new File(path);
+ if (!file.exists()) {
+ return file.mkdirs();
+ }
+ return false;
+}
+
+/**
+ * 读取文件
+ * @param {String} path 文件路径
+ * @param {String} charset 编码
+ * @return {Array} 内容列表(按行读取),文件不存在或异常则返回false
+ */
+const readTxt = function(path = '', charset = 'utf-8') {
+ const File = plus.android.importClass('java.io.File');
+ const InputStreamReader = plus.android.importClass('java.io.InputStreamReader');
+ const BufferedReader = plus.android.importClass('java.io.BufferedReader');
+ const FileInputStream = plus.android.importClass('java.io.FileInputStream');
+ let file = new File(path);
+ let inputStreamReader = null;
+ let bufferedReader = null;
+ let list = [];
+ try {
+ if (!file.exists()) {
+ return false;
+ }
+ inputStreamReader = new InputStreamReader(new FileInputStream(file), charset);
+ bufferedReader = new BufferedReader(inputStreamReader);
+ let line = '';
+ while (null != (line = bufferedReader.readLine())) {
+ list.push(line);
+ }
+ bufferedReader.close();
+ inputStreamReader.close();
+ } catch (e) {
+ if (null != bufferedReader) {
+ bufferedReader.close();
+ }
+ if (null != inputStreamReader) {
+ inputStreamReader.close();
+ }
+ return false;
+ }
+ return list;
+}
+
+/**
+ * 写入文件内容
+ * @param {String} path 文件路径
+ * @param {String} content 内容
+ * @param {boolean} append 内容写入类型,false=不追加(覆盖原有内容),true=追加(从内容尾部写入)
+ * @param {String} charset 编码
+ * @return {boolean} true=成功,false=失败
+ */
+const writeTxt = function(path = '', content = '', append = false, charset = 'utf-8') {
+ const File = plus.android.importClass('java.io.File');
+ const FileOutputStream = plus.android.importClass('java.io.FileOutputStream');
+ const OutputStreamWriter = plus.android.importClass('java.io.OutputStreamWriter');
+
+ let outputStreamWriter;
+ let file = new File(path);
+ try {
+ //不存在则创建新的文件
+ if (!file.exists()) {
+ file.createNewFile();
+ }
+ outputStreamWriter = new OutputStreamWriter(new FileOutputStream(path, append), charset);
+ outputStreamWriter.write(content);
+ outputStreamWriter.close();
+ } catch (e) {
+ if (null != outputStreamWriter) {
+ outputStreamWriter.close();
+ }
+ return false;
+ }
+ return true;
+}
+
+/**
+ * 判断文件是否存在
+ * @param path 文件路径
+ * @return true=存在 false=不存在
+ */
+const isFileExist = function(path = ''){
+ const File = plus.android.importClass('java.io.File');
+ return new File(path).exists()
+}
+
+/**
+ * 删除文件
+ * @param {String} path
+ */
+const deleteFile = function(path = ''){
+ const File = plus.android.importClass('java.io.File');
+ let file = new File(path);
+ if (file.exists()) {
+ return file.delete();
+ }
+ return false
+}
+
+
+export default {
+ root,
+ filelist,
+ createNewFile,
+ mkdirs,
+ readTxt,
+ writeTxt,
+ isFileExist,
+ deleteFile
+}
\ No newline at end of file
diff --git a/utils/log.js b/utils/log.js
new file mode 100644
index 0000000..5f3fe07
--- /dev/null
+++ b/utils/log.js
@@ -0,0 +1,205 @@
+import
+Base64
+from './base64.js'
+
+import handleFile from '@/utils/handleFile.js';
+
+// #ifdef APP
+
+// 保存文字
+let logTextData = '';
+
+const {
+ root
+} = handleFile
+
+const file = `${root()}/scanLogs`
+// #endif
+
+/**
+ * js 日期格式化
+ * 传时间戳参数进行时间戳转换,不传时返回当前时间(返回年月日时分秒格式)
+ * @param {Object} timeStamp 时间戳参数 非必传
+ * @param {Object} format 格式化样式 非必传
+ */
+function getTimeStampDatetime(format = 'yyyy-MM-dd HH:mm:ss', timeStamp) {
+ let nowDatetime = new Date()
+ timeStamp ? nowDatetime = new Date(timeStamp) : nowDatetime = new Date()
+ return nowDatetime.Format(format)
+}
+Date.prototype.Format = function(fmt) {
+ var o = {
+ "M+": this.getMonth() + 1, //月份
+ "d+": this.getDate(), //日
+ "H+": this.getHours(), //小时
+ "m+": this.getMinutes(), //分
+ "s+": this.getSeconds(), //秒
+ "q+": Math.floor((this.getMonth() + 3) / 3), //季度
+ "S": this.getMilliseconds() //毫秒
+ };
+ if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
+ for (var k in o)
+ if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : ((
+ "00" + o[
+ k]).substr(("" + o[k]).length)));
+ return fmt;
+}
+
+// 获取日志文件名称
+function getLogFileName() {
+ // 今日日期
+ let nowDate = getTimeStampDatetime("yyyy-MM-dd")
+ // 当前时间精确到秒
+ let nowTime = getTimeStampDatetime("HH:mm:ss")
+ // 文件名称
+ let fileName = 'app-log.txt'
+ // fileName = nowDate + 'log.txt'
+ fileName = nowDate + '.txt'
+ // 内容换行符(自定义)
+ let newLine = "\r\n" + "======================================" + "\r\n" + nowTime + " =>>>" + "\r\n"
+
+ return {
+ nowDate: nowDate,
+ newLine: newLine,
+ fileName: fileName
+ }
+}
+
+/**
+ * 日志内容写入
+ * 文件写入手机地址,华为Android/data/应用包名/documents/app-log/2021-01-17log.text
+ * @param {Object} params 写入内容
+ * @param {Object} encryption 是否加密
+ */
+// 防抖
+let writelogtime = null;
+
+function writeLog(params, encryption) {
+ let text = JSON.stringify(params)
+
+ if (encryption) {
+ logTextData += (getLogFileName().newLine + " " + Base64.encode(text));
+ } else {
+ logTextData += (getLogFileName().newLine + " " + text);
+ }
+ if (writelogtime) {
+ clearTimeout(writelogtime)
+ }
+ //不然就创建新的定时器 3秒没有新日志再执行写入操作
+ writelogtime = setTimeout(function() {
+ writeLogTxt()
+ }, 3000)
+}
+
+function writeLogTxt() {
+ plus.io.requestFileSystem(plus.io.PUBLIC_DOCUMENTS, function(fs) {
+ // 可通过fs操作PUBLIC_DOCUMENTS文件系统
+ // 创建日志文件夹
+ fs.root.getDirectory("app-log", {
+ create: true,
+ exclusive: false
+ }, function(dir) {
+ dir.getDirectory(getLogFileName().nowDate, {
+ create: true,
+ exclusive: false
+ }, function(dir) {
+ // 创建或写入文件
+ console.log("Directory Entry Name: " + dir.fullPath + getLogFileName().fileName);
+ dir.getFile(getLogFileName().fileName, {
+ create: true
+ }, function(fileEntry) {
+ // 找到文件准备写入操作
+ fileEntry.file(function(file) {
+ // create a FileWriter to write to the file
+ fileEntry.createWriter(function(writer) {
+ // Write data to file.
+ writer.seek(file.size - 1)
+ // 换行插入日志文件
+ writer.write(logTextData);
+ console.log('111 :>> ', 111);
+ logTextData = '';
+ }, function(e) {
+ console.error("日志写入错误", error)
+ });
+ });
+ });
+ }, function(err) {
+ console.error("文件夹创建失败", err)
+ });
+ }, function(err) {
+ console.error("文件夹创建失败", err)
+ });
+
+ }, function(error) {
+ console.error("文件系统进入错误", error)
+ });
+}
+
+function delLogFile() {
+ console.log("日志删除")
+ plus.io.resolveLocalFileSystemURL(
+ file, //指定的目录
+ function(entry) {
+ var directoryReader = entry.createReader(); //获取读取目录对象
+ directoryReader.readEntries(
+ function(entries) { //历遍子目录即可
+ for (var i = 0; i < entries.length; i++) {
+ console.log("文件信息:" + entries[i].name);
+ let twoDate = Date.parse(getLogFileName().nowDate) - (86400000 * 2);
+ console.log("保留三天内日志", twoDate)
+ if (Date.parse(entries[i].name) < twoDate) {
+ entries[i].removeRecursively(function(entry) {
+ writeLog("日志删除成功" + entries[i].name, false);
+ }, function(e) {
+ writeLog("日志删除成功" + e.message, false);
+ });
+ }
+ }
+ },
+ function(err) {
+ console.log("没有异常日志");
+ });
+ },
+ function(err) {
+ console.log("没有异常日志");
+ });
+}
+// 查询本地日志文件(直接当前页面调用,该接口未使用)
+function selectLogUrl() {
+ plus.io.resolveLocalFileSystemURL(
+ file, //指定的目录
+ function(entry) {
+ var directoryReader = entry.createReader(); //获取读取目录对象
+ directoryReader.readEntries(
+ function(entries) { //历遍子目录即可
+ let isLog = false;
+ for (var i = 0; i < entries.length; i++) {
+ console.log("文件信息:" + entries[i].name);
+ if (entries[i].name == getLogFileName().nowDate) {
+ console.log("获取到当天文件为", entries[i].name)
+ var url = file + '/' + entries[i].name + '/' + getLogFileName().nowDate + '.txt';
+ var path = plus.io.convertLocalFileSystemURL(url);
+ var newurl = plus.io.convertAbsoluteFileSystem(path);
+ isLog = true;
+ return newurl;
+ }
+ }
+ if (isLog) {
+ return '';
+ }
+ },
+ function(err) {
+ console.log("访问目录失败");
+ });
+ },
+ function(err) {
+ console.log("访问目录失败");
+ });
+}
+
+export default {
+ writeLog,
+ delLogFile,
+ getLogFileName,
+ selectLogUrl
+}
\ No newline at end of file
diff --git a/utils/request.js b/utils/request.js
index 5dfd0be..0e44fc7 100644
--- a/utils/request.js
+++ b/utils/request.js
@@ -9,7 +9,9 @@ import base64 from '@/utils/base64.js';
import {
hexMD5
} from '@/utils/md5.js'
-import { nextTick } from 'vue';
+import {
+ nextTick
+} from 'vue';
/**
* 刷新token
@@ -124,7 +126,7 @@ const HandleRequest = (params, key, loadingObj) => {
// 开启loading
if (loadingObj.isShowLoading !== false) uni.showLoading({
title: content,
- mask:true
+ mask: true
})
let urlhd = ''
if (uni.getStorageSync('setip')) {
@@ -224,7 +226,7 @@ const HandleRequest = (params, key, loadingObj) => {
if (_isRefreshToken._isRefreshToken) {
_isRefreshToken._isRefreshToken.then(() => {
// 递归重新请求
- HandleRequest(requestObj[key], key).then((res) => {
+ HandleRequest(requestObj[key], key, loadingObj).then((res) => {
relove(res)
})
})
@@ -234,7 +236,7 @@ const HandleRequest = (params, key, loadingObj) => {
const refreshFn = HandleRefreshToken(header, urlhd, refresh_token, user)
refreshFn.then(res => {
// 递归重新请求
- HandleRequest(requestObj[key], key).then((res) => {
+ HandleRequest(requestObj[key], key, loadingObj).then((res) => {
relove(res)
})
}).catch(() => {