From 1b391dc014d90a3b261190f6220ece6a362bb2a7 Mon Sep 17 00:00:00 2001 From: qb <1191961160@qq.com> Date: Mon, 11 Dec 2023 18:51:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=87=E6=8D=A2=E8=A3=85=E8=BD=A6=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/user.js | 62 +- compoment/InputNum/InputNum.vue | 21 +- compoment/PopUp/PopUp.vue | 8 +- compoment/PullDownBox/PullDownBox.vue | 62 + compoment/ScrollList/ScrollList.vue | 87 + config/host.js | 3 +- main.js | 6 +- pages.json | 31 +- pages/index/index.vue | 302 +- pagesHome/pages/ArrivalList/ArrivalList.vue | 65 +- pagesHome/pages/StowageList/StowageList.vue | 23 +- .../StowageListDetails/StowageListDetails.vue | 432 +- .../VehicleArrivalDetails.vue | 826 +++ pagesHome/pages/orderInquiry/orderInquiry.vue | 66 +- pagesUser/pages/about/about.vue | 97 +- .../dist/dev/app-plus/app-config-service.js | 4 +- unpackage/dist/dev/app-plus/app-service.js | 6602 +++++++++++++---- unpackage/dist/dev/app-plus/app.css | 57 +- unpackage/dist/dev/app-plus/manifest.json | 6 - unpackage/dist/dev/mp-weixin/api/user.js | 38 +- unpackage/dist/dev/mp-weixin/app.js | 5 +- unpackage/dist/dev/mp-weixin/app.json | 9 + unpackage/dist/dev/mp-weixin/common/assets.js | 14 +- unpackage/dist/dev/mp-weixin/common/vendor.js | 108 +- 24 files changed, 7026 insertions(+), 1908 deletions(-) create mode 100644 compoment/PullDownBox/PullDownBox.vue create mode 100644 compoment/ScrollList/ScrollList.vue create mode 100644 pagesHome/pages/VehicleArrivalDetails/VehicleArrivalDetails.vue diff --git a/api/user.js b/api/user.js index 16e4413..1cb6438 100644 --- a/api/user.js +++ b/api/user.js @@ -1980,4 +1980,64 @@ export function postLoadingZero(data) { data }); } -// /logpm-trunkline/api/carsLoad/loadingScan \ No newline at end of file + +/** + * 配载整托装车 + * @param {Object} data + */ +export function postLoadingTray(data) { + return request({ + url: `logpm-trunkline/api/carsLoad/loadingTray`, + method: "post", + data + }); +} + +/** + * 到车列表 + * @param {Object} data + */ +export function postArriveUnloadPageList(data) { + return request({ + url: `logpm-trunkline/api/carsLoad/arriveUnloadPageList`, + method: "post", + data + }); +} + +/** + * 到车列表 + * @param {Object} data + */ +export function postArriveUnloadCarsDetail(data) { + return request({ + url: `logpm-trunkline/api/carsLoad/unloadCarsDetail`, + method: "post", + data + }); +} + +/** + * 到车列表 + * @param {Object} data + */ +export function postCarsLoadUnloadPackage(data) { + return request({ + url: `logpm-trunkline/api/carsLoad/unloadPackage`, + method: "post", + data + }); +} + +/** + * 到车列表 + * @param {Object} data + */ +export function postCarsLoadUnloadZero(data) { + return request({ + url: `logpm-trunkline/api/carsLoad/unloadZero`, + method: "post", + data + }); +} +// /logpm-trunkline/carsLoad/unloadPackage \ No newline at end of file diff --git a/compoment/InputNum/InputNum.vue b/compoment/InputNum/InputNum.vue index 5c5836a..5ac4a57 100644 --- a/compoment/InputNum/InputNum.vue +++ b/compoment/InputNum/InputNum.vue @@ -1,5 +1,5 @@ \ No newline at end of file diff --git a/compoment/PopUp/PopUp.vue b/compoment/PopUp/PopUp.vue index 0549a08..e76065c 100644 --- a/compoment/PopUp/PopUp.vue +++ b/compoment/PopUp/PopUp.vue @@ -77,7 +77,7 @@ \ No newline at end of file diff --git a/compoment/ScrollList/ScrollList.vue b/compoment/ScrollList/ScrollList.vue new file mode 100644 index 0000000..bb37529 --- /dev/null +++ b/compoment/ScrollList/ScrollList.vue @@ -0,0 +1,87 @@ + + + \ No newline at end of file diff --git a/config/host.js b/config/host.js index 86a45e4..dee2f5e 100644 --- a/config/host.js +++ b/config/host.js @@ -8,13 +8,14 @@ // lmy // const devhost = 'http://192.168.10.123:8889/' // zhy -const devhost = 'http://192.168.10.48:13000/' +// const devhost = 'http://192.168.10.48:13000/' // tjj // const devhost = 'http://192.168.10.25:13000/' // cyz // const devhost = 'http://192.168.10.75:8777/' // const devhost = 'http://192.168.6.141:8777/' // 正式 +const devhost = 'http://h5uapi.huitongys.com/' // const devhost = 'http://h5uapi.huitongys.com/' // cg // const devhost = 'http://192.168.10.200:13000/' diff --git a/main.js b/main.js index 9460afa..027a3bb 100644 --- a/main.js +++ b/main.js @@ -25,7 +25,8 @@ import InputNum from '@/compoment/InputNum/InputNum.vue'; import BasicContainer from '@/compoment/BasicContainer/BasicContainer.vue'; import PopUp from '@/compoment/PopUp/PopUp.vue'; import BluetoothList from '@/compoment/BluetoothList/BluetoothList.vue'; -// import moduleName from '@/compoment/ScanButton/ScanButton.vue'; +import ScrollList from '@/compoment/ScrollList/ScrollList.vue'; +import PullDownBox from '@/compoment/PullDownBox/PullDownBox.vue'; import saomiao1 from '@/compoment/saomiao1.vue' import saomiao2 from '@/compoment/saomiao2.vue' import saomiao3 from '@/compoment/saomiao3.vue' @@ -54,6 +55,9 @@ export function createApp() { .component('BasicContainer', BasicContainer) .component('PopUp', PopUp) .component('BluetoothList', BluetoothList) + .component('ScrollList', ScrollList) + .component('PullDownBox', PullDownBox) + uni.$u.config.unit = 'rpx' return { app, diff --git a/pages.json b/pages.json index c19299a..243f3af 100644 --- a/pages.json +++ b/pages.json @@ -229,6 +229,25 @@ } } + }, + { + "path": "pages/VehicleArrivalDetails/VehicleArrivalDetails", + "style": { + "navigationBarTitleText": "到车入库详情", + "enablePullDownRefresh": true, + "onReachBottomDistance": 1, + "navigationStyle": "custom", + "app-plus": { + "animationDuration": 300, + "animationType": "zoom-fade-out", + "pullToRefresh": { + "support": true, + "color": "#d3832a", //小圈圈的颜色 + "style": "circle" //小圈圈的样式 + } + } + } + }, { "path": "pages/SelfPickupScan/SelfPickupScan", @@ -1367,12 +1386,12 @@ // "selectedIconPath": "/static/TabberIcon/icon3check.png", // "text": "报表" // }, - { - "pagePath": "pages/news/news", - "iconPath": "/static/TabberIcon/icon4.png", - "selectedIconPath": "/static/TabberIcon/icon4check.png", - "text": "消息" - }, + // { + // "pagePath": "pages/news/news", + // "iconPath": "/static/TabberIcon/icon4.png", + // "selectedIconPath": "/static/TabberIcon/icon4check.png", + // "text": "消息" + // }, { "pagePath": "pages/user/user", "iconPath": "/static/TabberIcon/icon5.png", diff --git a/pages/index/index.vue b/pages/index/index.vue index 5a2b286..30f66e2 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -34,157 +34,157 @@ import { inject, reactive, toRefs, watchEffect, ref } from "vue"; import utils from '../../utils/utils'; const tip = ref(null) - // let details = reactive({ tablist: [] }); - let details = reactive({ - tablist: [ - { - type: 1, - name: '工作台', - minilist: [ - { - icon: 'http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png', - name: '订单查询', - router: '/pagesHome/pages/orderInquiry/orderInquiry', - }, - ] - }, - { - type: 1, - name: '入库', - minilist: [ - { - icon: 'http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png', - name: '码板打托', - router: '/pagesHome/pages/codePlateBracket/codePlateBracket', - }, - { - icon: 'http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png', - name: '入库扫描', - router: '/pagesHome/pages/orderInquiry/orderInquiry', - }, - { - icon: 'http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png', - name: '到车入库', - router: '/pagesHome/pages/ArrivalList/ArrivalList', - }, - ] - }, - { - type: 1, - name: '库内', - minilist: [ - { - icon: 'http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png', - name: '分拣打托', - router: '/pagesHome/pages/scansorting/scansorting', - }, - // { - // icon: 'http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png', - // name: '订单分拣', - // router: '/pagesHome/pages/ordersorting/ordersorting', - // }, - // { - // icon: 'http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png', - // name: '库存品分拣', - // router: '/pagesHome/pages/lnventorysorting/lnventorysorting', - // }, - { - icon: 'http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png', - name: '扫码上架', - router: '/pagesHome/pages/ScanUpType/ScanUpType', - }, - { - icon: 'http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png', - name: '手动上架', - router: '/pagesHome/pages/PeopleScanUpType/PeopleScanUpType', - }, - { - icon: 'http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png', - name: '移库', - router: '/pagesHome/pages/RelocationType/RelocationType', - }, - { - icon: 'http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png', - name: '滞留', - router: '/pagesHome/pages/Retention/Retention', - }, - { - icon: 'http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png', - name: '合托', - router: '/pagesHome/pages/MergeTray/MergeTray', - }, - { - icon: 'http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png', - name: '下架', - router: '/pagesHome/pages/DownGoodsType/DownGoodsType', - }, - { - icon: 'http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png', - name: '空置托盘', - router: '/pagesHome/pages/RemoveTray/RemoveTray', - }, - { - icon: 'http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png', - name: '复核', - router: '/pagesHome/pages/Check/Check', - }, - ] - }, - { - type: 1, - name: '出库', - minilist: [ - { - icon: 'http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png', - name: '拣货扫描', - router: '/pagesHome/pages/pickingScan/pickingScan', - }, - { - icon: 'http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png', - name: '自提扫描', - router: '/pagesHome/pages/SelfPickupScan/SelfPickupScan', - }, - { - icon: 'http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png', - name: '配载装车', - router: '/pagesHome/pages/StowageList/StowageList', - }, - { - icon: 'http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png', - name: '中转装车', - router: '/pagesHome/pages/RelayScanList/RelayScanList', - }, - ] - }, - { - type: 1, - name: '配送', - minilist: [ - { - icon: 'http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png', - name: '装车扫描', - router: '/pagesHome/pages/LoadingScan/LoadingScan', - }, - { - icon: 'http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png', - name: '签收扫描', - router: '/pagesHome/pages/signinScan/signinScan', - }, - ] - }, - { - type: 1, - name: '离线上传', - minilist: [ - { - icon: 'http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png', - name: '离线上传', - router: '/pagesHome/pages/OfflineUpload/OfflineUpload', - }, - ] - }, - ] - }) + let details = reactive({ tablist: [] }); + // let details = reactive({ + // tablist: [ + // { + // type: 1, + // name: '工作台', + // minilist: [ + // { + // icon: 'http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png', + // name: '订单查询', + // router: '/pagesHome/pages/orderInquiry/orderInquiry', + // }, + // ] + // }, + // { + // type: 1, + // name: '入库', + // minilist: [ + // { + // icon: 'http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png', + // name: '码板打托', + // router: '/pagesHome/pages/codePlateBracket/codePlateBracket', + // }, + // { + // icon: 'http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png', + // name: '入库扫描', + // router: '/pagesHome/pages/orderInquiry/orderInquiry', + // }, + // { + // icon: 'http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png', + // name: '到车入库', + // router: '/pagesHome/pages/ArrivalList/ArrivalList', + // }, + // ] + // }, + // { + // type: 1, + // name: '库内', + // minilist: [ + // { + // icon: 'http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png', + // name: '分拣打托', + // router: '/pagesHome/pages/scansorting/scansorting', + // }, + // // { + // // icon: 'http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png', + // // name: '订单分拣', + // // router: '/pagesHome/pages/ordersorting/ordersorting', + // // }, + // // { + // // icon: 'http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png', + // // name: '库存品分拣', + // // router: '/pagesHome/pages/lnventorysorting/lnventorysorting', + // // }, + // { + // icon: 'http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png', + // name: '扫码上架', + // router: '/pagesHome/pages/ScanUpType/ScanUpType', + // }, + // { + // icon: 'http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png', + // name: '手动上架', + // router: '/pagesHome/pages/PeopleScanUpType/PeopleScanUpType', + // }, + // { + // icon: 'http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png', + // name: '移库', + // router: '/pagesHome/pages/RelocationType/RelocationType', + // }, + // { + // icon: 'http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png', + // name: '滞留', + // router: '/pagesHome/pages/Retention/Retention', + // }, + // { + // icon: 'http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png', + // name: '合托', + // router: '/pagesHome/pages/MergeTray/MergeTray', + // }, + // { + // icon: 'http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png', + // name: '下架', + // router: '/pagesHome/pages/DownGoodsType/DownGoodsType', + // }, + // { + // icon: 'http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png', + // name: '空置托盘', + // router: '/pagesHome/pages/RemoveTray/RemoveTray', + // }, + // { + // icon: 'http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png', + // name: '复核', + // router: '/pagesHome/pages/Check/Check', + // }, + // ] + // }, + // { + // type: 1, + // name: '出库', + // minilist: [ + // { + // icon: 'http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png', + // name: '拣货扫描', + // router: '/pagesHome/pages/pickingScan/pickingScan', + // }, + // { + // icon: 'http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png', + // name: '自提扫描', + // router: '/pagesHome/pages/SelfPickupScan/SelfPickupScan', + // }, + // { + // icon: 'http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png', + // name: '配载装车', + // router: '/pagesHome/pages/StowageList/StowageList', + // }, + // { + // icon: 'http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png', + // name: '中转装车', + // router: '/pagesHome/pages/RelayScanList/RelayScanList', + // }, + // ] + // }, + // { + // type: 1, + // name: '配送', + // minilist: [ + // { + // icon: 'http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png', + // name: '装车扫描', + // router: '/pagesHome/pages/LoadingScan/LoadingScan', + // }, + // { + // icon: 'http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png', + // name: '签收扫描', + // router: '/pagesHome/pages/signinScan/signinScan', + // }, + // ] + // }, + // { + // type: 1, + // name: '离线上传', + // minilist: [ + // { + // icon: 'http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png', + // name: '离线上传', + // router: '/pagesHome/pages/OfflineUpload/OfflineUpload', + // }, + // ] + // }, + // ] + // }) function gopathpage(path : string) { uni.navigateTo({ diff --git a/pagesHome/pages/ArrivalList/ArrivalList.vue b/pagesHome/pages/ArrivalList/ArrivalList.vue index dc8cb43..b5799f0 100644 --- a/pagesHome/pages/ArrivalList/ArrivalList.vue +++ b/pagesHome/pages/ArrivalList/ArrivalList.vue @@ -12,7 +12,7 @@ size="40"> - 查询 + 查询 @@ -28,49 +28,45 @@ - 车次号: {{1231231231}} + 车次号: {{item.carsNo}} - 车牌号: {{123123}} + 车牌号: {{item.carNumber}} - 实际装车/计划装车: {{'12/57'}} + 实际装车/计划装车: {{item.realLoadingNumber/item.planLoadingNumber}} - 车型: {{123123}} + 车型: {{''}} - z主驾司机: {{'12/57'}} + 主驾司机: {{item.driverName}} - 电话: {{123123}} + 电话: {{item.driverMobile}} - 类型: 自由 + 线路: {{item.carsLineName}} - 线路: 双流基地仓->龙泉仓->达州仓 - - - - 发车时间: 123123123 + 发车时间: {{item.startTime}} - - 按键入库 + + 按件入库 @@ -111,7 +107,7 @@ + + \ No newline at end of file diff --git a/pagesHome/pages/orderInquiry/orderInquiry.vue b/pagesHome/pages/orderInquiry/orderInquiry.vue index 0f52c74..069ab27 100644 --- a/pagesHome/pages/orderInquiry/orderInquiry.vue +++ b/pagesHome/pages/orderInquiry/orderInquiry.vue @@ -116,6 +116,7 @@ 全选 反选 打印 + 物料补充 + + + + + + + + + + + + + + + + @@ -153,7 +170,7 @@ + .list_item { + display: flex; + justify-content: center; + align-items: center; + border: 1px solid #f5f5f5; + } + \ No newline at end of file diff --git a/unpackage/dist/dev/app-plus/app-config-service.js b/unpackage/dist/dev/app-plus/app-config-service.js index 5b0fa09..4b3612e 100644 --- a/unpackage/dist/dev/app-plus/app-config-service.js +++ b/unpackage/dist/dev/app-plus/app-config-service.js @@ -1,8 +1,8 @@ ;(function(){ let u=void 0,isReady=false,onReadyCallbacks=[],isServiceReady=false,onServiceReadyCallbacks=[]; - const __uniConfig = {"pages":[],"globalStyle":{"backgroundColor":"#F8F8F8","navigationBar":{"backgroundColor":"#F8F8F8","titleText":"uni-app","type":"default","titleColor":"#000000"},"isNVue":false},"nvue":{"compiler":"uni-app","styleCompiler":"uni-app","flex-direction":"column"},"renderer":"auto","appname":"货无忧","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":true},"compilerVersion":"3.95","entryPagePath":"pages/login/login","entryPageQuery":"","realEntryPagePath":"","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000},"tabBar":{"position":"bottom","color":"#999999","selectedColor":"#df8926","borderStyle":"black","blurEffect":"none","fontSize":"10px","iconWidth":"24px","spacing":"3px","height":"50px","backgroundColor":"#ffffff","list":[{"pagePath":"pages/index/index","iconPath":"/static/TabberIcon/icon1.png","selectedIconPath":"/static/TabberIcon/icon1check.png","text":"工作台"},{"pagePath":"pages/taskList/taskList","iconPath":"/static/TabberIcon/icon2.png","selectedIconPath":"/static/TabberIcon/icon2check.png","text":"任务"},{"pagePath":"pages/news/news","iconPath":"/static/TabberIcon/icon4.png","selectedIconPath":"/static/TabberIcon/icon4check.png","text":"消息"},{"pagePath":"pages/user/user","iconPath":"/static/TabberIcon/icon5.png","selectedIconPath":"/static/TabberIcon/icon5check.png","text":"我的"}],"selectedIndex":0,"shown":true},"locales":{},"darkmode":false,"themeConfig":{}}; - const __uniRoutes = [{"path":"pages/login/login","meta":{"isQuit":true,"isEntry":true,"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"登录","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/index/index","meta":{"isQuit":true,"isTabBar":true,"tabBarIndex":0,"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"工作台","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/user/user","meta":{"isQuit":true,"isTabBar":true,"tabBarIndex":3,"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"我的","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/news/news","meta":{"isQuit":true,"isTabBar":true,"tabBarIndex":2,"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"消息","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/taskList/taskList","meta":{"isQuit":true,"isTabBar":true,"tabBarIndex":1,"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"任务","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/reportForms/reportForms","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"报表","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/pickingScan/pickingScan","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"拣货扫描","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/StowageList/StowageList","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"配载装车","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/StowageListDetails/StowageListDetails","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"配载按件装车","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/RelayScanList/RelayScanList","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"中转装车","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/codePlateBracket/codePlateBracket","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"码板打托","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/ArrivalList/ArrivalList","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"到车列表","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/SelfPickupScan/SelfPickupScan","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"自提扫描","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/LoadingScan/LoadingScan","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"装车扫描","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/loadingRetention/loadingRetention","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"装车滞留","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/StockUplist/StockUplist","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"备货列表","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/StockUplistScandetails/StockUplistScandetails","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"备货列表扫码","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/DownScan/DownScan","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"下架扫描","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/signinScan/signinScan","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"签收扫描","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/SelfPScanList/SelfPScanList","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"自提订单扫描","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/SelfPickupDetails/SelfPickupDetails","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"自提明细扫描","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/LoadingDetails/LoadingDetails","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"配车明细扫描","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/CustomerOrdersDetails/CustomerOrdersDetails","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"客户订单扫描","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/DeliveryCustomerScan/DeliveryCustomerScan","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"配送客户扫描","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/CustomerSign/CustomerSign","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"客户签收","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/signOrderScan/signOrderScan","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"签收订单扫描","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/SignDetailScan/SignDetailScan","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"签收明细扫描","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/setbarcode/setbarcode","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"配置包条码","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/OfflineUpload/OfflineUpload","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"离线上传","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/createTask/createTask","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"创建任务","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/ordersorting/ordersorting","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"订单分拣","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/lnventorysorting/lnventorysorting","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"库存品分拣","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/scansorting/scansorting","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"扫描分拣","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/peopleSorting/peopleSorting","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"人工扫描","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/OrderSortingDetail/OrderSortingDetail","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"继续分拣列表","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/ScanSortingType/ScanSortingType","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"扫描分拣","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/PeopleSortingDetail/PeopleSortingDetail","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"人工分拣","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/inventoryType/inventoryType","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"库存品类型","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/inventoryDetail/inventoryDetail","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"扫描列表详情","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/inventoryDetailList/inventoryDetailList","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"扫描详情明细","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/inventoryenter/inventoryenter","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"库存品录入","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/lnventorysortinglist/lnventorysortinglist","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"分拣列表","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/OrderSortingDetailList/OrderSortingDetailList","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"订单详情","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/ScanUpType/ScanUpType","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"扫描上架","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/ScanUp/ScanUp","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"扫描上架","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/RelocationType/RelocationType","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"移库","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/Relocation/Relocation","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"移库","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/PeopleScanUpType/PeopleScanUpType","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"人工上架","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/PeopleScanUp/PeopleScanUp","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"人工上架","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/PickingScanList/PickingScanList","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"拣货列表","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/Retention/Retention","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"滞留","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/MergeTray/MergeTray","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"合托","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/MergeTrayDetails/MergeTrayDetails","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"合并托盘","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/DownGoodsType/DownGoodsType","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"下架扫描","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/DownGoods/DownGoods","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"下架扫描","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/SetPrice/SetPrice","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"设置服务费","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/RemoveTray/RemoveTray","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"空置托盘","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/Check/Check","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"复核","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/createAddServe/createAddServe","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"创建增值服务","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/orderDetail/orderDetail","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"订单详情","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/RelocationAllocationId/RelocationAllocationId","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"移库库位","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/orderDetails/orderDetails","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"订单详情","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/orderInquiry/orderInquiry","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"订单查询","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/CustomerTrayDetails/CustomerTrayDetails","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"客户托盘扫描","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/StockUpListZero/StockUpListZero","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"备货零担列表","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesUser/pages/about/about","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"关于我们","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesUser/pages/systemSettings/systemSettings","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"系统设置","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesTask/pages/dynamicCheck/dynamicCheck","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"盘点任务","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesTask/pages/checkTaskList/checkTaskList","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"盘点任务列表","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesTask/pages/dynamicCheckDetails/dynamicCheckDetails","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"随机盘点","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesTask/pages/storageLocationCheckDetails/storageLocationCheckDetails","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"库位盘点","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesTask/pages/trayCheckDetails/trayCheckDetails","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"托盘盘点","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesTask/pages/contracts/contracts","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"按合同号盘点","style":"custom","type":"default"},"isNVue":false}}].map(uniRoute=>(uniRoute.meta.route=uniRoute.path,__uniConfig.pages.push(uniRoute.path),uniRoute.path='/'+uniRoute.path,uniRoute)); + const __uniConfig = {"pages":[],"globalStyle":{"backgroundColor":"#F8F8F8","navigationBar":{"backgroundColor":"#F8F8F8","titleText":"uni-app","type":"default","titleColor":"#000000"},"isNVue":false},"nvue":{"compiler":"uni-app","styleCompiler":"uni-app","flex-direction":"column"},"renderer":"auto","appname":"货无忧","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":true},"compilerVersion":"3.95","entryPagePath":"pages/login/login","entryPageQuery":"","realEntryPagePath":"","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000},"tabBar":{"position":"bottom","color":"#999999","selectedColor":"#df8926","borderStyle":"black","blurEffect":"none","fontSize":"10px","iconWidth":"24px","spacing":"3px","height":"50px","backgroundColor":"#ffffff","list":[{"pagePath":"pages/index/index","iconPath":"/static/TabberIcon/icon1.png","selectedIconPath":"/static/TabberIcon/icon1check.png","text":"工作台"},{"pagePath":"pages/taskList/taskList","iconPath":"/static/TabberIcon/icon2.png","selectedIconPath":"/static/TabberIcon/icon2check.png","text":"任务"},{"pagePath":"pages/user/user","iconPath":"/static/TabberIcon/icon5.png","selectedIconPath":"/static/TabberIcon/icon5check.png","text":"我的"}],"selectedIndex":0,"shown":true},"locales":{},"darkmode":false,"themeConfig":{}}; + const __uniRoutes = [{"path":"pages/login/login","meta":{"isQuit":true,"isEntry":true,"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"登录","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/index/index","meta":{"isQuit":true,"isTabBar":true,"tabBarIndex":0,"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"工作台","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/user/user","meta":{"isQuit":true,"isTabBar":true,"tabBarIndex":2,"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"我的","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/news/news","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"消息","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/taskList/taskList","meta":{"isQuit":true,"isTabBar":true,"tabBarIndex":1,"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"任务","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/reportForms/reportForms","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"报表","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/pickingScan/pickingScan","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"拣货扫描","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/StowageList/StowageList","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"配载装车","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/StowageListDetails/StowageListDetails","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"配载按件装车","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/RelayScanList/RelayScanList","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"中转装车","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/codePlateBracket/codePlateBracket","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"码板打托","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/ArrivalList/ArrivalList","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"到车列表","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/VehicleArrivalDetails/VehicleArrivalDetails","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"到车入库详情","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/SelfPickupScan/SelfPickupScan","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"自提扫描","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/LoadingScan/LoadingScan","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"装车扫描","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/loadingRetention/loadingRetention","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"装车滞留","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/StockUplist/StockUplist","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"备货列表","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/StockUplistScandetails/StockUplistScandetails","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"备货列表扫码","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/DownScan/DownScan","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"下架扫描","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/signinScan/signinScan","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"签收扫描","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/SelfPScanList/SelfPScanList","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"自提订单扫描","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/SelfPickupDetails/SelfPickupDetails","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"自提明细扫描","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/LoadingDetails/LoadingDetails","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"配车明细扫描","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/CustomerOrdersDetails/CustomerOrdersDetails","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"客户订单扫描","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/DeliveryCustomerScan/DeliveryCustomerScan","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"配送客户扫描","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/CustomerSign/CustomerSign","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"客户签收","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/signOrderScan/signOrderScan","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"签收订单扫描","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/SignDetailScan/SignDetailScan","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"签收明细扫描","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/setbarcode/setbarcode","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"配置包条码","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/OfflineUpload/OfflineUpload","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"离线上传","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/createTask/createTask","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"创建任务","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/ordersorting/ordersorting","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"订单分拣","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/lnventorysorting/lnventorysorting","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"库存品分拣","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/scansorting/scansorting","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"扫描分拣","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/peopleSorting/peopleSorting","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"人工扫描","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/OrderSortingDetail/OrderSortingDetail","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"继续分拣列表","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/ScanSortingType/ScanSortingType","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"扫描分拣","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/PeopleSortingDetail/PeopleSortingDetail","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"人工分拣","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/inventoryType/inventoryType","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"库存品类型","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/inventoryDetail/inventoryDetail","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"扫描列表详情","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/inventoryDetailList/inventoryDetailList","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"扫描详情明细","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/inventoryenter/inventoryenter","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"库存品录入","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/lnventorysortinglist/lnventorysortinglist","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"分拣列表","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/OrderSortingDetailList/OrderSortingDetailList","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"订单详情","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/ScanUpType/ScanUpType","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"扫描上架","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/ScanUp/ScanUp","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"扫描上架","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/RelocationType/RelocationType","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"移库","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/Relocation/Relocation","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"移库","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/PeopleScanUpType/PeopleScanUpType","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"人工上架","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/PeopleScanUp/PeopleScanUp","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"人工上架","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/PickingScanList/PickingScanList","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"拣货列表","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/Retention/Retention","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"滞留","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/MergeTray/MergeTray","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"合托","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/MergeTrayDetails/MergeTrayDetails","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"合并托盘","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/DownGoodsType/DownGoodsType","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"下架扫描","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/DownGoods/DownGoods","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"下架扫描","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/SetPrice/SetPrice","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"设置服务费","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/RemoveTray/RemoveTray","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"空置托盘","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/Check/Check","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"复核","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/createAddServe/createAddServe","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"创建增值服务","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/orderDetail/orderDetail","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"订单详情","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/RelocationAllocationId/RelocationAllocationId","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"移库库位","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/orderDetails/orderDetails","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"订单详情","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/orderInquiry/orderInquiry","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"订单查询","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/CustomerTrayDetails/CustomerTrayDetails","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"客户托盘扫描","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesHome/pages/StockUpListZero/StockUpListZero","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"备货零担列表","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesUser/pages/about/about","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"关于我们","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesUser/pages/systemSettings/systemSettings","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"系统设置","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesTask/pages/dynamicCheck/dynamicCheck","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"盘点任务","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesTask/pages/checkTaskList/checkTaskList","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"盘点任务列表","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesTask/pages/dynamicCheckDetails/dynamicCheckDetails","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"随机盘点","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesTask/pages/storageLocationCheckDetails/storageLocationCheckDetails","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"库位盘点","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesTask/pages/trayCheckDetails/trayCheckDetails","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"托盘盘点","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesTask/pages/contracts/contracts","meta":{"enablePullDownRefresh":true,"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","pullToRefresh":{"support":true,"color":"#d3832a","style":"circle"},"navigationBar":{"titleText":"按合同号盘点","style":"custom","type":"default"},"isNVue":false}}].map(uniRoute=>(uniRoute.meta.route=uniRoute.path,__uniConfig.pages.push(uniRoute.path),uniRoute.path='/'+uniRoute.path,uniRoute)); __uniConfig.styles=[];//styles __uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}}); __uniConfig.onServiceReady=function(callback){if(__uniConfig.serviceReady){callback()}else{onServiceReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"serviceReady",{get:function(){return isServiceReady},set:function(val){isServiceReady=val;if(!isServiceReady){return}const callbacks=onServiceReadyCallbacks.slice(0);onServiceReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}}); diff --git a/unpackage/dist/dev/app-plus/app-service.js b/unpackage/dist/dev/app-plus/app-service.js index 39cd820..a2f21f0 100644 --- a/unpackage/dist/dev/app-plus/app-service.js +++ b/unpackage/dist/dev/app-plus/app-service.js @@ -41,11 +41,11 @@ if (uni.restoreGlobal) { function requireNativePlugin(name) { return weex.requireModule(name); } - function formatAppLog(type, filename, ...args) { + function formatAppLog(type2, filename, ...args) { if (uni.__log__) { - uni.__log__(type, filename, ...args); + uni.__log__(type2, filename, ...args); } else { - console[type].apply(console, [...args, filename]); + console[type2].apply(console, [...args, filename]); } } function resolveEasycom(component, easycom) { @@ -299,9 +299,9 @@ if (uni.restoreGlobal) { registerMutation(store, namespacedType, mutation, local); }); module.forEachAction(function(action, key) { - var type = action.root ? key : namespace + key; + var type2 = action.root ? key : namespace + key; var handler = action.handler || action; - registerAction(store, type, handler, local); + registerAction(store, type2, handler, local); }); module.forEachGetter(function(getter, key) { var namespacedType = namespace + key; @@ -318,29 +318,29 @@ if (uni.restoreGlobal) { var args = unifyObjectStyle(_type, _payload, _options); var payload = args.payload; var options = args.options; - var type = args.type; + var type2 = args.type; if (!options || !options.root) { - type = namespace + type; - if (!store._actions[type]) { - console.error("[vuex] unknown local action type: " + args.type + ", global type: " + type); + type2 = namespace + type2; + if (!store._actions[type2]) { + console.error("[vuex] unknown local action type: " + args.type + ", global type: " + type2); return; } } - return store.dispatch(type, payload); + return store.dispatch(type2, payload); }, commit: noNamespace ? store.commit : function(_type, _payload, _options) { var args = unifyObjectStyle(_type, _payload, _options); var payload = args.payload; var options = args.options; - var type = args.type; + var type2 = args.type; if (!options || !options.root) { - type = namespace + type; - if (!store._mutations[type]) { - console.error("[vuex] unknown local mutation type: " + args.type + ", global type: " + type); + type2 = namespace + type2; + if (!store._mutations[type2]) { + console.error("[vuex] unknown local mutation type: " + args.type + ", global type: " + type2); return; } } - store.commit(type, payload, options); + store.commit(type2, payload, options); } }; Object.defineProperties(local, { @@ -363,14 +363,14 @@ if (uni.restoreGlobal) { if (!store._makeLocalGettersCache[namespace]) { var gettersProxy = {}; var splitPos = namespace.length; - Object.keys(store.getters).forEach(function(type) { - if (type.slice(0, splitPos) !== namespace) { + Object.keys(store.getters).forEach(function(type2) { + if (type2.slice(0, splitPos) !== namespace) { return; } - var localType = type.slice(splitPos); + var localType = type2.slice(splitPos); Object.defineProperty(gettersProxy, localType, { get: function() { - return store.getters[type]; + return store.getters[type2]; }, enumerable: true }); @@ -379,14 +379,14 @@ if (uni.restoreGlobal) { } return store._makeLocalGettersCache[namespace]; } - function registerMutation(store, type, handler, local) { - var entry = store._mutations[type] || (store._mutations[type] = []); + function registerMutation(store, type2, handler, local) { + var entry = store._mutations[type2] || (store._mutations[type2] = []); entry.push(function wrappedMutationHandler(payload) { handler.call(store, local.state, payload); }); } - function registerAction(store, type, handler, local) { - var entry = store._actions[type] || (store._actions[type] = []); + function registerAction(store, type2, handler, local) { + var entry = store._actions[type2] || (store._actions[type2] = []); entry.push(function wrappedActionHandler(payload) { var res = handler.call(store, { dispatch: local.dispatch, @@ -409,14 +409,14 @@ if (uni.restoreGlobal) { } }); } - function registerGetter(store, type, rawGetter, local) { - if (store._wrappedGetters[type]) { + function registerGetter(store, type2, rawGetter, local) { + if (store._wrappedGetters[type2]) { { - console.error("[vuex] duplicate getter key: " + type); + console.error("[vuex] duplicate getter key: " + type2); } return; } - store._wrappedGetters[type] = function wrappedGetter(store2) { + store._wrappedGetters[type2] = function wrappedGetter(store2) { return rawGetter( local.state, // local state @@ -443,16 +443,16 @@ if (uni.restoreGlobal) { return state2[key]; }, state); } - function unifyObjectStyle(type, payload, options) { - if (isObject$1(type) && type.type) { + function unifyObjectStyle(type2, payload, options) { + if (isObject$1(type2) && type2.type) { options = payload; - payload = type; - type = type.type; + payload = type2; + type2 = type2.type; } { - assert(typeof type === "string", "expects string as the type, but found " + typeof type + "."); + assert(typeof type2 === "string", "expects string as the type, but found " + typeof type2 + "."); } - return { type, payload, options }; + return { type: type2, payload, options }; } var LABEL_VUEX_BINDINGS = "vuex bindings"; var MUTATIONS_LAYER_ID$1 = "vuex:mutations"; @@ -874,16 +874,16 @@ if (uni.restoreGlobal) { return; } var assertOptions = assertTypes[key]; - forEachValue(rawModule[key], function(value, type) { + forEachValue(rawModule[key], function(value, type2) { assert( assertOptions.assert(value), - makeAssertionMessage(path, key, type, value, assertOptions.expected) + makeAssertionMessage(path, key, type2, value, assertOptions.expected) ); }); }); } - function makeAssertionMessage(path, key, type, value, expected) { - var buf = key + " should be " + expected + ' but "' + key + "." + type + '"'; + function makeAssertionMessage(path, key, type2, value, expected) { + var buf = key + " should be " + expected + ' but "' + key + "." + type2 + '"'; if (path.length > 0) { buf += ' in module "' + path.join(".") + '"'; } @@ -923,11 +923,11 @@ if (uni.restoreGlobal) { var ref = this; var dispatch = ref.dispatch; var commit = ref.commit; - this.dispatch = function boundDispatch(type, payload) { - return dispatch.call(store, type, payload); + this.dispatch = function boundDispatch(type2, payload) { + return dispatch.call(store, type2, payload); }; - this.commit = function boundCommit(type, payload, options2) { - return commit.call(store, type, payload, options2); + this.commit = function boundCommit(type2, payload, options2) { + return commit.call(store, type2, payload, options2); }; this.strict = strict; var state = this._modules.root.state; @@ -957,14 +957,14 @@ if (uni.restoreGlobal) { Store$1.prototype.commit = function commit(_type, _payload, _options) { var this$1$1 = this; var ref = unifyObjectStyle(_type, _payload, _options); - var type = ref.type; + var type2 = ref.type; var payload = ref.payload; var options = ref.options; - var mutation = { type, payload }; - var entry = this._mutations[type]; + var mutation = { type: type2, payload }; + var entry = this._mutations[type2]; if (!entry) { { - console.error("[vuex] unknown mutation type: " + type); + console.error("[vuex] unknown mutation type: " + type2); } return; } @@ -978,20 +978,20 @@ if (uni.restoreGlobal) { }); if (options && options.silent) { console.warn( - "[vuex] mutation type: " + type + ". Silent option has been removed. Use the filter functionality in the vue-devtools" + "[vuex] mutation type: " + type2 + ". Silent option has been removed. Use the filter functionality in the vue-devtools" ); } }; Store$1.prototype.dispatch = function dispatch(_type, _payload) { var this$1$1 = this; var ref = unifyObjectStyle(_type, _payload); - var type = ref.type; + var type2 = ref.type; var payload = ref.payload; - var action = { type, payload }; - var entry = this._actions[type]; + var action = { type: type2, payload }; + var entry = this._actions[type2]; if (!entry) { { - console.error("[vuex] unknown action type: " + type); + console.error("[vuex] unknown action type: " + type2); } return; } @@ -1712,7 +1712,7 @@ if (uni.restoreGlobal) { }; }; const base64 = new Base64(); - const devhost = "http://192.168.10.48:13000/"; + const devhost = "http://h5uapi.huitongys.com/"; const imghost = ""; const host = devhost; const APPKEY = "h5u:h5u_secret"; @@ -3267,13 +3267,6 @@ if (uni.restoreGlobal) { data }); } - function postFindLoadScanWaybillDetailList(data) { - return service({ - url: `logpm-trunkline/api/carsLoad/findLoadScanWaybillDetailList`, - method: "post", - data - }); - } function postFindCarsLoadingOrderDetail(data) { return service({ url: `logpm-trunkline/api/carsLoad/findCarsLoadingOrderDetail`, @@ -3309,6 +3302,41 @@ if (uni.restoreGlobal) { data }); } + function postLoadingTray(data) { + return service({ + url: `logpm-trunkline/api/carsLoad/loadingTray`, + method: "post", + data + }); + } + function postArriveUnloadPageList(data) { + return service({ + url: `logpm-trunkline/api/carsLoad/arriveUnloadPageList`, + method: "post", + data + }); + } + function postArriveUnloadCarsDetail(data) { + return service({ + url: `logpm-trunkline/api/carsLoad/unloadCarsDetail`, + method: "post", + data + }); + } + function postCarsLoadUnloadPackage(data) { + return service({ + url: `logpm-trunkline/api/carsLoad/unloadPackage`, + method: "post", + data + }); + } + function postCarsLoadUnloadZero(data) { + return service({ + url: `logpm-trunkline/api/carsLoad/unloadZero`, + method: "post", + data + }); + } var isVue2 = false; function set(target, key, val) { if (Array.isArray(target)) { @@ -3624,13 +3652,13 @@ if (uni.restoreGlobal) { }, 4e4); } } - function toastMessage(message, type) { + function toastMessage(message, type2) { const piniaMessage = "🍍 " + message; if (typeof __VUE_DEVTOOLS_TOAST__ === "function") { - __VUE_DEVTOOLS_TOAST__(piniaMessage, type); - } else if (type === "error") { + __VUE_DEVTOOLS_TOAST__(piniaMessage, type2); + } else if (type2 === "error") { console.error(piniaMessage); - } else if (type === "warn") { + } else if (type2 === "warn") { console.warn(piniaMessage); } else { console.log(piniaMessage); @@ -3817,8 +3845,8 @@ if (uni.restoreGlobal) { }; } } - function formatMutationType(type) { - switch (type) { + function formatMutationType(type2) { + switch (type2) { case MutationType.direct: return "mutation"; case MutationType.patchFunction: @@ -4115,21 +4143,21 @@ Only state can be modified.`); } }, { deep: true }); }); - store.$subscribe(({ events, type }, state) => { + store.$subscribe(({ events, type: type2 }, state) => { api2.notifyComponentUpdate(); api2.sendInspectorState(INSPECTOR_ID); if (!isTimelineActive) return; const eventData = { time: now2(), - title: formatMutationType(type), + title: formatMutationType(type2), data: assign$1({ store: formatDisplay(store.$id) }, formatEventData(events)), groupId: activeAction }; activeAction = void 0; - if (type === MutationType.patchFunction) { + if (type2 === MutationType.patchFunction) { eventData.subtitle = "⤵️"; - } else if (type === MutationType.patchObject) { + } else if (type2 === MutationType.patchObject) { eventData.subtitle = "🧩"; } else if (events && !Array.isArray(events)) { eventData.subtitle = events.type; @@ -4971,7 +4999,7 @@ This will fail in production if not fixed.`); CHOOSE_BLUETOOTH }; }); - const _sfc_main$1H = /* @__PURE__ */ vue.defineComponent({ + const _sfc_main$1S = /* @__PURE__ */ vue.defineComponent({ __name: "login", setup(__props) { const { HANDLE_INITBLUETOOTH } = useBluetoothStore(); @@ -5292,7 +5320,7 @@ This will fail in production if not fixed.`); } return target; }; - const PagesLoginLogin = /* @__PURE__ */ _export_sfc(_sfc_main$1H, [["__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", ` @@ -6327,7 +6355,7 @@ This will fail in production if not fixed.`); speed: 80 } }; - const ScrollList$1 = { + const ScrollList$2 = { // scrollList scrollList: { indicatorWidth: 50, @@ -6824,7 +6852,7 @@ This will fail in production if not fixed.`); ...ReadMore$1, ...Row$1, ...RowNotice$1, - ...ScrollList$1, + ...ScrollList$2, ...Search$1, ...Section$1, ...Skeleton$1, @@ -6852,7 +6880,7 @@ This will fail in production if not fixed.`); ...Upload$1, ...drawer }; - const props$g = { + const props$k = { props: { bgColor: { type: String, @@ -6990,9 +7018,9 @@ This will fail in production if not fixed.`); } } }; - const _sfc_main$1G = { + const _sfc_main$1R = { name: "u-status-bar", - mixins: [mpMixin$1, mixin$1, props$g], + mixins: [mpMixin$1, mixin$1, props$k], data() { return {}; }, @@ -7005,7 +7033,7 @@ This will fail in production if not fixed.`); } } }; - function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) { + function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock( "view", { @@ -7019,7 +7047,7 @@ This will fail in production if not fixed.`); /* STYLE */ ); } - const __easycom_0$4 = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["render", _sfc_render$r], ["__scopeId", "data-v-eb8e0cdd"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-status-bar/u-status-bar.vue"]]); + const __easycom_0$6 = /* @__PURE__ */ _export_sfc(_sfc_main$1R, [["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 icons = { "uicon-level": "", "uicon-column-line": "", @@ -7234,7 +7262,7 @@ This will fail in production if not fixed.`); "uicon-zh": "", "uicon-en": "" }; - const props$f = { + const props$j = { props: { // 图标类名 name: { @@ -7323,13 +7351,13 @@ This will fail in production if not fixed.`); } } }; - const _sfc_main$1F = { + const _sfc_main$1Q = { name: "u-icon", data() { return {}; }, emits: ["click"], - mixins: [mpMixin$1, mixin$1, props$f], + mixins: [mpMixin$1, mixin$1, props$j], computed: { uClasses() { let classes = []; @@ -7373,7 +7401,7 @@ This will fail in production if not fixed.`); } } }; - function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) { + function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock( "view", { @@ -7417,8 +7445,8 @@ This will fail in production if not fixed.`); /* CLASS */ ); } - const __easycom_1$4 = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_render$q], ["__scopeId", "data-v-ac70166d"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-icon/u-icon.vue"]]); - const props$e = { + const __easycom_0$5 = /* @__PURE__ */ _export_sfc(_sfc_main$1Q, [["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 = { props: { // 是否开启顶部安全区适配 safeAreaInsetTop: { @@ -7502,9 +7530,9 @@ This will fail in production if not fixed.`); } } }; - const _sfc_main$1E = { + const _sfc_main$1P = { name: "u-navbar", - mixins: [mpMixin$1, mixin$1, props$e], + mixins: [mpMixin$1, mixin$1, props$i], data() { return {}; }, @@ -7522,9 +7550,9 @@ This will fail in production if not fixed.`); } } }; - function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) { - const _component_u_status_bar = resolveEasycom(vue.resolveDynamicComponent("u-status-bar"), __easycom_0$4); - const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_1$4); + 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); return vue.openBlock(), vue.createElementBlock("view", { class: "u-navbar" }, [ _ctx.fixed && _ctx.placeholder ? (vue.openBlock(), vue.createElementBlock( "view", @@ -7634,7 +7662,7 @@ This will fail in production if not fixed.`); ) ]); } - const __easycom_0$3 = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["render", _sfc_render$p], ["__scopeId", "data-v-f631659b"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-navbar/u-navbar.vue"]]); + const __easycom_0$4 = /* @__PURE__ */ _export_sfc(_sfc_main$1P, [["render", _sfc_render$y], ["__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 = ""; @@ -7682,160 +7710,11 @@ This will fail in production if not fixed.`); } }); } - const _sfc_main$1D = /* @__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" - } - ] - }, - { - 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 @@ -7966,7 +7845,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$3); + const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4); const _component_tips = vue.resolveComponent("tips"); return vue.openBlock(), vue.createElementBlock( vue.Fragment, @@ -8038,8 +7917,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesIndexIndex = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["__file", "D:/worksp/logpm/pages/index/index.vue"]]); - const _sfc_main$1C = /* @__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); @@ -8359,8 +8238,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesUserUser = /* @__PURE__ */ _export_sfc(_sfc_main$1C, [["__file", "D:/worksp/logpm/pages/user/user.vue"]]); - const _sfc_main$1B = /* @__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(() => { @@ -8423,8 +8302,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesNewsNews = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["__file", "D:/worksp/logpm/pages/news/news.vue"]]); - const _sfc_main$1A = /* @__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); @@ -8460,7 +8339,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$3); + const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4); const _component_tips = vue.resolveComponent("tips"); return vue.openBlock(), vue.createElementBlock( vue.Fragment, @@ -8536,8 +8415,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesTaskListTaskList = /* @__PURE__ */ _export_sfc(_sfc_main$1A, [["__file", "D:/worksp/logpm/pages/taskList/taskList.vue"]]); - const _sfc_main$1z = /* @__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(() => { @@ -8551,7 +8430,7 @@ This will fail in production if not fixed.`); }; } }); - const PagesReportFormsReportForms = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["__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的润大小信息表 @@ -9471,7 +9350,7 @@ This will fail in production if not fixed.`); solar2lunar: calendar.solar2lunar, lunar2solar: calendar.lunar2solar }; - const _sfc_main$1y = { + const _sfc_main$1J = { name: "lCalendar", model: { prop: "value", @@ -9624,17 +9503,17 @@ This will fail in production if not fixed.`); this.init(); }, methods: { - getColor(index2, type) { - let color2 = type == 1 ? "" : this.color; + getColor(index2, type2) { + let color2 = type2 == 1 ? "" : this.color; let day = index2 + 1; let date2 = `${this.year}-${this.month}-${day}`; let timestamp = new Date(date2.replace(/\-/g, "/")).getTime(); let start = this.startDate.replace(/\-/g, "/"); let end = this.endDate.replace(/\-/g, "/"); if (this.activeDate == date2 || this.startDate == date2 || this.endDate == date2) { - color2 = type == 1 ? this.activeBgColor : this.activeColor; + color2 = type2 == 1 ? this.activeBgColor : this.activeColor; } else if (this.endDate && timestamp > new Date(start).getTime() && timestamp < new Date(end).getTime()) { - color2 = type == 1 ? this.rangeBgColor : this.rangeColor; + color2 = type2 == 1 ? this.rangeBgColor : this.rangeColor; } return color2; }, @@ -9884,7 +9763,7 @@ This will fail in production if not fixed.`); } } }; - function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) { + function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock( "view", { @@ -10125,8 +10004,8 @@ This will fail in production if not fixed.`); /* HYDRATE_EVENTS */ ); } - const __easycom_1$3 = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["render", _sfc_render$o], ["__scopeId", "data-v-665735f1"], ["__file", "D:/worksp/logpm/uni_modules/l-calendar/components/l-calendar/l-calendar.vue"]]); - const _sfc_main$1x = /* @__PURE__ */ vue.defineComponent({ + const __easycom_1$4 = /* @__PURE__ */ _export_sfc(_sfc_main$1J, [["render", _sfc_render$x], ["__scopeId", "data-v-665735f1"], ["__file", "D:/worksp/logpm/uni_modules/l-calendar/components/l-calendar/l-calendar.vue"]]); + const _sfc_main$1I = /* @__PURE__ */ vue.defineComponent({ __name: "pickingScan", setup(__props) { const option = { @@ -10240,10 +10119,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_1$4); + const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$5); const _component_BasicContainer = vue.resolveComponent("BasicContainer"); const _component_tips = vue.resolveComponent("tips"); - const _component_l_calendar = resolveEasycom(vue.resolveDynamicComponent("l-calendar"), __easycom_1$3); + const _component_l_calendar = resolveEasycom(vue.resolveDynamicComponent("l-calendar"), __easycom_1$4); return vue.openBlock(), vue.createElementBlock( vue.Fragment, null, @@ -10489,8 +10368,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesPickingScanPickingScan = /* @__PURE__ */ _export_sfc(_sfc_main$1x, [["__file", "D:/worksp/logpm/pagesHome/pages/pickingScan/pickingScan.vue"]]); - const _sfc_main$1w = /* @__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 = { @@ -10522,7 +10401,7 @@ This will fail in production if not fixed.`); details.show = !details.show; } function onConfirm(e) { - formatAppLog("log", "at pagesHome/pages/StowageList/StowageList.vue:139", e); + formatAppLog("log", "at pagesHome/pages/StowageList/StowageList.vue:137", e); date2.value[0] = e.startDate; date2.value[1] = e.endDate; details.datatime = date2.value[0] + " 至 " + date2.value[1]; @@ -10542,7 +10421,7 @@ This will fail in production if not fixed.`); onLoad(() => { date2.value[0] = uni.$u.timeFormat((/* @__PURE__ */ new Date()).valueOf() - 1e3 * 60 * 60 * 24 * 3, "yyyy-mm-dd"); date2.value[1] = uni.$u.timeFormat((/* @__PURE__ */ new Date()).valueOf(), "yyyy-mm-dd"); - utils.ttsspke("请选择拣货任务"); + utils.ttsspke("请选择配载计划"); }); async function init() { details.pageNum = 1; @@ -10554,6 +10433,12 @@ This will fail in production if not fixed.`); initpage(); } async function initpage() { + if (date2.value.length === 0) { + return uni.showToast({ + title: "请选择拣货日期", + icon: "none" + }); + } try { uni.showLoading({ title: "数据加载中", @@ -10588,7 +10473,7 @@ This will fail in production if not fixed.`); } } } catch (err) { - formatAppLog("log", "at pagesHome/pages/StowageList/StowageList.vue:209", "err :>> ", err); + formatAppLog("log", "at pagesHome/pages/StowageList/StowageList.vue:216", "err :>> ", err); } finally { uni.hideLoading(); return null; @@ -10621,15 +10506,14 @@ 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_1$4); + const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$5); const _component_BasicContainer = vue.resolveComponent("BasicContainer"); const _component_tips = vue.resolveComponent("tips"); - const _component_l_calendar = resolveEasycom(vue.resolveDynamicComponent("l-calendar"), __easycom_1$3); + const _component_l_calendar = resolveEasycom(vue.resolveDynamicComponent("l-calendar"), __easycom_1$4); return vue.openBlock(), vue.createElementBlock( vue.Fragment, null, [ - vue.createCommentVNode(` `), vue.createVNode( _component_BasicContainer, { @@ -10845,8 +10729,7 @@ This will fail in production if not fixed.`); initEndDate: date2.value[1], onHide: showCalendar, onChange: onConfirm - }, null, 8, ["value", "initStartDate", "initEndDate"]), - vue.createCommentVNode(` `) + }, null, 8, ["value", "initStartDate", "initEndDate"]) ], 64 /* STABLE_FRAGMENT */ @@ -10854,7 +10737,7 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesStowageListStowageList = /* @__PURE__ */ _export_sfc(_sfc_main$1w, [["__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: "关闭", @@ -10874,11 +10757,11 @@ This will fail in production if not fixed.`); HANDLE_SCANSTATE }; }); - const _sfc_main$1v = /* @__PURE__ */ vue.defineComponent({ + const _sfc_main$1G = /* @__PURE__ */ vue.defineComponent({ __name: "StowageListDetails", setup(__props) { const { scanState } = storeToRefs(useSystemSettingsStore()); - vue.inject("utils"); + const utils2 = vue.inject("utils"); const option = vue.reactive({ title: "配载按件装车", haveData: true, @@ -10916,7 +10799,7 @@ This will fail in production if not fixed.`); zero: [], pageInfo: {}, // 零担详情装车列表 - zeroList: [], + zeroInfo: [], /** 页面类型 1: 按件装车 2: 整托装车 */ pageType: 1, /** 整托渲染列表 */ @@ -10943,7 +10826,7 @@ This will fail in production if not fixed.`); uni.$off("scancodedate"); uni.$on("scancodedate", function(code2) { if (code2) { - formatAppLog("log", "at pagesHome/pages/StowageListDetails/StowageListDetails.vue:356", "code", code2); + formatAppLog("log", "at pagesHome/pages/StowageListDetails/StowageListDetails.vue:375", "code", code2); details.scancode = code2; details.isscan = true; scandata(); @@ -10978,7 +10861,7 @@ This will fail in production if not fixed.`); loadId: details.loadId }); const { code: code2, data } = response; - formatAppLog("log", "at pagesHome/pages/StowageListDetails/StowageListDetails.vue:400", "response :>> ", response); + formatAppLog("log", "at pagesHome/pages/StowageListDetails/StowageListDetails.vue:419", "response :>> ", response); if (code2 === 200) { details.pageInfo = data; details.datalist = details.orderStatus === 1 ? details.pageInfo.loadScanOrderList : details.orderStatus === 2 ? details.pageInfo.zeroList : details.pageInfo.exceptionList; @@ -10992,7 +10875,7 @@ This will fail in production if not fixed.`); try { await initPageByOrder(); } catch (err) { - formatAppLog("log", "at pagesHome/pages/StowageListDetails/StowageListDetails.vue:423", "err :>> ", err); + formatAppLog("log", "at pagesHome/pages/StowageListDetails/StowageListDetails.vue:442", "err :>> ", err); } finally { return null; } @@ -11009,6 +10892,9 @@ This will fail in production if not fixed.`); loadId: details.loadId }; const res = await postLoadingScan(submitData); + if (res.msg) { + utils2.ttsspke(res.msg); + } return res; }; const scanTray = async () => { @@ -11025,8 +10911,39 @@ This will fail in production if not fixed.`); TrayStowage.value.setDetails({ title: "整托装车", showPopUp: true, - success() { - resolve(null); + async success() { + try { + uni.showLoading({ + mask: true + }); + const submitInfo = { + ...submitData, + zeroList: details.trayInfo.zeroList.map((val) => { + return { + orderCode: val.associationValue, + waybillNo: val.waybillNo, + enterNum: val.num + }; + }), + packageList: details.trayInfo.packageList.map((val) => { + return { + orderPackageCode: val.associationValue + }; + }) + }; + const res2 = await postLoadingTray(submitInfo); + if (res2.code !== 200) + return; + uni.showToast({ + title: "装车成功", + icon: "none" + }); + TrayStowage.value.details.showPopUp = false; + } catch (e) { + } finally { + uni.hideLoading(); + resolve(null); + } }, close() { reject(); @@ -11037,61 +10954,54 @@ This will fail in production if not fixed.`); }; async function scandata() { try { - if (Number(details.pageType === 1)) + uni.showLoading(); + if (Number(details.pageType) === 1) await scanOrder(); else await scanTray(); } catch (err) { - formatAppLog("log", "at pagesHome/pages/StowageListDetails/StowageListDetails.vue:507", "err :>> ", err); + formatAppLog("log", "at pagesHome/pages/StowageListDetails/StowageListDetails.vue:564", "err :>> ", err); } finally { + uni.hideLoading(); basicContainer.value.startPullDownRefresh(); } } const handleShowZeroStowage = async (_item) => { - formatAppLog("log", "at pagesHome/pages/StowageListDetails/StowageListDetails.vue:517", "item :>> ", _item); - details.zeroList = []; - const submitData = { - loadId: details.loadId, - orderCode: _item.orderCode - }; - const res = await postFindLoadScanWaybillDetailList(submitData); - formatAppLog("log", "at pagesHome/pages/StowageListDetails/StowageListDetails.vue:525", "ZeroStowage :>> ", ZeroStowage); - if (res.code !== 200) - return; - details.zeroList = res.data; - for (let item of details.zeroList) { - item.enterNum = 0; - } + details.zeroInfo = _item; + details.zeroInfo.enterNum = details.zeroInfo.loadingNum || 0; ZeroStowage.value.setDetails({ title: "零担装车", showPopUp: true, async success() { try { + if (!_item.enterNum) { + return uni.showToast({ + title: "请输入大于零的数字", + icon: "none" + }); + } uni.showLoading({ mask: true }); - const submitData2 = { + const submitData = { + orderCode: _item.orderCode, waybillNo: _item.waybillNo, loadId: details.loadId, - productInfoList: [] + enterNum: _item.enterNum }; - details.zeroList.forEach((val) => { - if (val.enterNum > 0) { - submitData2.productInfoList.push(val); - } - }); - const res2 = await postLoadingZero(submitData2); - formatAppLog("log", "at pagesHome/pages/StowageListDetails/StowageListDetails.vue:555", "res :>> ", res2); + const res = await postLoadingZero(submitData); + formatAppLog("log", "at pagesHome/pages/StowageListDetails/StowageListDetails.vue:601", "res :>> ", res); } catch (e) { } finally { uni.hideLoading(); + ZeroStowage.value.details.showPopUp = false; + basicContainer.value.startPullDownRefresh(); } } }); - formatAppLog("log", "at pagesHome/pages/StowageListDetails/StowageListDetails.vue:564", " res :>> ", res); }; - const handleDetails = async (item, index2, type) => { - formatAppLog("log", "at pagesHome/pages/StowageListDetails/StowageListDetails.vue:571", "item :>> ", item); + const handleDetails = async (item, index2, type2) => { + formatAppLog("log", "at pagesHome/pages/StowageListDetails/StowageListDetails.vue:619", "item :>> ", item); if (details.listcheckindex == index2) { details.listcheckindex = -1; } else { @@ -11105,24 +11015,37 @@ This will fail in production if not fixed.`); if (res.code !== 200) return; item.distributionAppParcelListVOS = res.data; - formatAppLog("log", "at pagesHome/pages/StowageListDetails/StowageListDetails.vue:586", "item.distributionAppParcelListVOS :>> ", item.distributionAppParcelListVOS); - formatAppLog("log", "at pagesHome/pages/StowageListDetails/StowageListDetails.vue:587", "res :>> ", res); + formatAppLog("log", "at pagesHome/pages/StowageListDetails/StowageListDetails.vue:634", "item.distributionAppParcelListVOS :>> ", item.distributionAppParcelListVOS); + formatAppLog("log", "at pagesHome/pages/StowageListDetails/StowageListDetails.vue:635", "res :>> ", res); } catch (e) { } finally { uni.hideLoading(); } } }; - const handleDelete = async (_item, type) => { + const handleDelete = async (_item, type2) => { try { + uni.showLoading({ + mask: true + }); + formatAppLog("log", "at pagesHome/pages/StowageListDetails/StowageListDetails.vue:651", "_item :>> ", _item); const submitData = { + orderCode: _item.orderCode, carsLoadScanId: _item.id }; - if (type === 1) + if (type2 === 1) submitData.carsLoadScanId = _item.loadScanId; - await postRemoveCarsLoadScan(submitData); + const res = await postRemoveCarsLoadScan(submitData); + if (res.code !== 200) + return; + utils2.ttsspke("删除成功"); + uni.showToast({ + title: "删除成功", + icon: "none" + }); } catch (e) { } finally { + uni.hideLoading(); basicContainer.value.startPullDownRefresh(); } }; @@ -11133,6 +11056,7 @@ This will fail in production if not fixed.`); return (_ctx, _cache) => { const _component_BasicContainer = vue.resolveComponent("BasicContainer"); const _component_tiplist = vue.resolveComponent("tiplist"); + const _component_inputNum = vue.resolveComponent("inputNum"); const _component_PopUp = vue.resolveComponent("PopUp"); const _component_saomiao2 = vue.resolveComponent("saomiao2"); return vue.openBlock(), vue.createElementBlock( @@ -11228,10 +11152,7 @@ This will fail in production if not fixed.`); ) ]) ]), - Number(vue.unref(details).pageType) === 1 ? (vue.openBlock(), vue.createElementBlock("view", { - key: 0, - class: "tabtip" - }, [ + vue.createElementVNode("view", { class: "tabtip" }, [ vue.createElementVNode("view", { onClick: _cache[0] || (_cache[0] = ($event) => setorderStatus(1)) }, [ @@ -11271,7 +11192,7 @@ This will fail in production if not fixed.`); /* CLASS */ ) ]) - ])) : vue.createCommentVNode("v-if", true) + ]) ]), body: vue.withCtx(() => [ vue.createElementVNode( @@ -11286,10 +11207,7 @@ This will fail in production if not fixed.`); }, [ vue.createCommentVNode(" 按件装车 "), - Number(vue.unref(details).pageType) === 1 ? (vue.openBlock(), vue.createElementBlock("view", { - key: 0, - class: "mabx" - }, [ + vue.createElementVNode("view", { class: "mabx" }, [ (vue.openBlock(true), vue.createElementBlock( vue.Fragment, null, @@ -11499,14 +11417,14 @@ This will fail in production if not fixed.`); vue.createElementVNode( "view", null, - "托盘名称:" + vue.toDisplayString(ite.trayName), + "托盘名称:" + vue.toDisplayString(ite.trayName || "暂无数据"), 1 /* TEXT */ ), vue.createElementVNode( "view", null, - "托盘码:" + vue.toDisplayString(ite.trayCode), + "托盘码:" + vue.toDisplayString(ite.trayCode || "暂无数据"), 1 /* TEXT */ ), @@ -11620,8 +11538,7 @@ This will fail in production if not fixed.`); 128 /* KEYED_FRAGMENT */ )) - ])) : vue.createCommentVNode("v-if", true), - vue.createCommentVNode(" 整托装车 ") + ]) ], 32 /* HYDRATE_EVENTS */ @@ -11649,46 +11566,51 @@ This will fail in production if not fixed.`); }, { default: vue.withCtx(() => [ - vue.createElementVNode("scroll-view", { - style: { "height": "30vh" }, - "scroll-y": "true" - }, [ - (vue.openBlock(true), vue.createElementBlock( - vue.Fragment, - null, - vue.renderList(vue.unref(details).zeroList, (item) => { - return vue.openBlock(), vue.createElementBlock("view", { - key: item, - class: "" - }, [ - vue.createElementVNode("view", { class: "flex-c-sb" }, [ - vue.createElementVNode( - "view", - { class: "" }, - " 产品名称: " + vue.toDisplayString(item.productName), - 1 - /* TEXT */ - ), - vue.createElementVNode( - "view", - { class: "" }, - " 在库数: " + vue.toDisplayString(item.totalNum), - 1 - /* TEXT */ - ) - ]), - vue.withDirectives(vue.createElementVNode("input", { - class: "input", - "onUpdate:modelValue": ($event) => item.enterNum = $event, - type: "number" - }, null, 8, ["onUpdate:modelValue"]), [ - [vue.vModelText, item.enterNum] - ]) - ]); - }), - 128 - /* KEYED_FRAGMENT */ - )) + vue.createElementVNode("scroll-view", { "scroll-y": "true" }, [ + vue.createElementVNode("view", { class: "contenbx1" }, [ + vue.createElementVNode("view", null, [ + vue.createElementVNode("text", { style: { "color": "#90A0AF" } }, "订单编号:"), + vue.createTextVNode( + vue.toDisplayString(vue.unref(details).zeroInfo.orderCode), + 1 + /* TEXT */ + ) + ]) + ]), + vue.createElementVNode("view", { class: "contenbx1" }, [ + vue.createElementVNode("view", null, [ + vue.createElementVNode("text", { style: { "color": "#90A0AF" } }, "运单号:"), + vue.createTextVNode( + vue.toDisplayString(vue.unref(details).zeroInfo.waybillNo), + 1 + /* TEXT */ + ) + ]) + ]), + vue.createElementVNode("view", { class: "flex-c-sb" }, [ + vue.createElementVNode("view", null, [ + vue.createElementVNode("text", { style: { "color": "#90A0AF" } }, "计划数量:"), + vue.createTextVNode( + vue.toDisplayString(vue.unref(details).zeroInfo.planNum || 0), + 1 + /* TEXT */ + ) + ]), + vue.createElementVNode("view", null, [ + vue.createElementVNode("text", { style: { "color": "#90A0AF" } }, "装车数量:"), + vue.createTextVNode( + vue.toDisplayString(vue.unref(details).zeroInfo.loadingNum || 0), + 1 + /* TEXT */ + ) + ]) + ]), + vue.createVNode(_component_inputNum, { + minNum: 0, + maxNum: vue.unref(details).zeroInfo.planNum, + modelValue: vue.unref(details).zeroInfo.enterNum, + "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.unref(details).zeroInfo.enterNum = $event) + }, null, 8, ["maxNum", "modelValue"]) ]) ]), _: 1 @@ -11707,7 +11629,7 @@ This will fail in production if not fixed.`); { default: vue.withCtx(() => [ vue.createElementVNode("scroll-view", { - style: { "height": "30vh" }, + style: { "height": "50vh" }, "scroll-y": "true" }, [ vue.createElementVNode("view", { class: "" }, " 零担: "), @@ -11716,37 +11638,31 @@ This will fail in production if not fixed.`); null, vue.renderList(vue.unref(details).trayInfo.zeroList, (item) => { return vue.openBlock(), vue.createElementBlock("view", { - key: item, - class: "" + key: item.associationValue, + class: "pop_row" }, [ vue.createElementVNode("view", { class: "flex-c-sb" }, [ vue.createElementVNode( "view", - { class: "" }, - " 订单号: " + vue.toDisplayString(item.associationValue), + null, + "订单号:" + vue.toDisplayString(item.associationValue), 1 /* TEXT */ ), vue.createElementVNode( "view", - { class: "" }, - " 在库数: " + vue.toDisplayString(item.num), + null, + "数量:" + vue.toDisplayString(item.num), 1 /* TEXT */ ) - ]), - vue.withDirectives(vue.createElementVNode("input", { - class: "input", - "onUpdate:modelValue": ($event) => item.enterNum = $event, - type: "number" - }, null, 8, ["onUpdate:modelValue"]), [ - [vue.vModelText, item.enterNum] ]) ]); }), 128 /* KEYED_FRAGMENT */ )), + vue.createCommentVNode(' \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n 产品名称: {{value.productName}}\r\n \r\n \r\n 在托可用: {{value.stockNum}}\r\n \r\n \r\n 在库数: {{value.stockNum}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n '), vue.createElementVNode("view", { class: "" }, " 定制品: "), (vue.openBlock(true), vue.createElementBlock( vue.Fragment, @@ -11754,7 +11670,7 @@ This will fail in production if not fixed.`); vue.renderList(vue.unref(details).trayInfo.packageList, (item) => { return vue.openBlock(), vue.createElementBlock("view", { key: item, - class: "" + class: "pop_row" }, [ vue.createElementVNode("view", { class: "flex-c-sb" }, [ vue.createElementVNode( @@ -11795,8 +11711,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesStowageListDetailsStowageListDetails = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["__scopeId", "data-v-66cbfd20"], ["__file", "D:/worksp/logpm/pagesHome/pages/StowageListDetails/StowageListDetails.vue"]]); - const _sfc_main$1u = /* @__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 = { @@ -11911,10 +11827,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_1$4); + const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$5); const _component_BasicContainer = vue.resolveComponent("BasicContainer"); const _component_tips = vue.resolveComponent("tips"); - const _component_l_calendar = resolveEasycom(vue.resolveDynamicComponent("l-calendar"), __easycom_1$3); + const _component_l_calendar = resolveEasycom(vue.resolveDynamicComponent("l-calendar"), __easycom_1$4); return vue.openBlock(), vue.createElementBlock( vue.Fragment, null, @@ -12160,8 +12076,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesRelayScanListRelayScanList = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["__file", "D:/worksp/logpm/pagesHome/pages/RelayScanList/RelayScanList.vue"]]); - const _sfc_main$1t = /* @__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()); @@ -12356,9 +12272,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_1$4); + const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$5); const _component_BasicContainer = vue.resolveComponent("BasicContainer"); - const _component_l_calendar = resolveEasycom(vue.resolveDynamicComponent("l-calendar"), __easycom_1$3); + const _component_l_calendar = resolveEasycom(vue.resolveDynamicComponent("l-calendar"), __easycom_1$4); const _component_saomiao2 = vue.resolveComponent("saomiao2"); return vue.openBlock(), vue.createElementBlock( vue.Fragment, @@ -12594,8 +12510,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesCodePlateBracketCodePlateBracket = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["__scopeId", "data-v-dd2e73fd"], ["__file", "D:/worksp/logpm/pagesHome/pages/codePlateBracket/codePlateBracket.vue"]]); - const _sfc_main$1s = /* @__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()); @@ -12645,7 +12561,7 @@ This will fail in production if not fixed.`); title: "数据已加载完毕" }); } - formatAppLog("log", "at pagesHome/pages/ArrivalList/ArrivalList.vue:180", "antiShake :>> ", antiShake); + formatAppLog("log", "at pagesHome/pages/ArrivalList/ArrivalList.vue:176", "antiShake :>> ", antiShake); if (antiShake) { uni.hideLoading(); clearTimeout(antiShake); @@ -12671,7 +12587,7 @@ This will fail in production if not fixed.`); clearTimeout(antiShake); }, 500); } catch (err) { - formatAppLog("log", "at pagesHome/pages/ArrivalList/ArrivalList.vue:213", "err :>> ", err); + formatAppLog("log", "at pagesHome/pages/ArrivalList/ArrivalList.vue:209", "err :>> ", err); } } let details = vue.reactive({ @@ -12683,16 +12599,17 @@ This will fail in production if not fixed.`); datalist: [], scancode: "" }); - onLoad((op) => { - details.pageType = op.type; - utils.ttsspke("请扫描或输入托盘码"); + onLoad(() => { + date2.value[0] = uni.$u.timeFormat((/* @__PURE__ */ new Date()).valueOf() - 1e3 * 60 * 60 * 24 * 3, "yyyy-mm-dd"); + date2.value[1] = uni.$u.timeFormat((/* @__PURE__ */ new Date()).valueOf(), "yyyy-mm-dd"); + utils.ttsspke("请选择配载计划"); }); onShow(() => { uni.$off("scancodedate"); uni.$on("scancodedate", function(code2) { - formatAppLog("log", "at pagesHome/pages/ArrivalList/ArrivalList.vue:240", "code :>> ", code2); + formatAppLog("log", "at pagesHome/pages/ArrivalList/ArrivalList.vue:237", "code :>> ", code2); if (code2) { - formatAppLog("log", "at pagesHome/pages/ArrivalList/ArrivalList.vue:242", code2); + formatAppLog("log", "at pagesHome/pages/ArrivalList/ArrivalList.vue:239", code2); details.scancode = code2; scandata(); } @@ -12711,7 +12628,7 @@ This will fail in production if not fixed.`); let res = await warehouseTrayTypeorderScanTrayCode(data); if (res.code !== 200) return; - formatAppLog("log", "at pagesHome/pages/ArrivalList/ArrivalList.vue:265", "res", res); + formatAppLog("log", "at pagesHome/pages/ArrivalList/ArrivalList.vue:262", "res", res); if (Number(res.data.isHasData) === 0) { utils.ttsspke("请选择分拣方式"); uni.setStorageSync("trayCodeType", res.data.data); @@ -12727,12 +12644,13 @@ This will fail in production if not fixed.`); async function initpage() { try { let submitData = { + type: "1", pageNum: details.pageNum, pageSize: details.pageSize, createDateStart: date2.value[0] || "", createDateEnd: date2.value[1] || "" }; - const res = await warehouseTrayTypeorderPageList(submitData); + const res = await postArriveUnloadPageList(submitData); if (res.code !== 200) return; const { code: code2, data } = res; @@ -12740,17 +12658,17 @@ This will fail in production if not fixed.`); details.datalist = [...details.datalist, ...data.records]; if (data && data.pages <= details.pageNum) option.isEnd = true; - formatAppLog("log", "at pagesHome/pages/ArrivalList/ArrivalList.vue:293", "details.datalist :>> ", details.datalist); + formatAppLog("log", "at pagesHome/pages/ArrivalList/ArrivalList.vue:291", "details.datalist :>> ", details.datalist); return res; } catch (err) { - formatAppLog("log", "at pagesHome/pages/ArrivalList/ArrivalList.vue:297", "err :>> ", err); + formatAppLog("log", "at pagesHome/pages/ArrivalList/ArrivalList.vue:295", "err :>> ", err); } } function showCalendar() { details.show = !details.show; } function onConfirm(e) { - formatAppLog("log", "at pagesHome/pages/ArrivalList/ArrivalList.vue:320", e); + formatAppLog("log", "at pagesHome/pages/ArrivalList/ArrivalList.vue:303", e); date2.value[0] = e.startDate; date2.value[1] = e.endDate; details.datatime = date2.value[0] + " 至 " + date2.value[1]; @@ -12766,6 +12684,11 @@ This will fail in production if not fixed.`); date2.value = []; init(); } + const handleDetailsByOrder = (item) => { + uni.navigateTo({ + url: "/pagesHome/pages/VehicleArrivalDetails/VehicleArrivalDetails?id=" + item.id + "&type=1" + }); + }; const { show, datatime, @@ -12773,9 +12696,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_1$4); + const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$5); const _component_BasicContainer = vue.resolveComponent("BasicContainer"); - const _component_l_calendar = resolveEasycom(vue.resolveDynamicComponent("l-calendar"), __easycom_1$3); + const _component_l_calendar = resolveEasycom(vue.resolveDynamicComponent("l-calendar"), __easycom_1$4); const _component_saomiao2 = vue.resolveComponent("saomiao2"); return vue.openBlock(), vue.createElementBlock( vue.Fragment, @@ -12817,7 +12740,7 @@ This will fail in production if not fixed.`); })) ]) ]), - vue.createElementVNode("view", { onClick: scandata }, "查询") + vue.createElementVNode("view", { onClick: initpage }, "查询") ]) ]), body: vue.withCtx(() => [ @@ -12839,22 +12762,66 @@ This will fail in production if not fixed.`); vue.renderList(vue.unref(datalist), (item) => { return vue.openBlock(), vue.createElementBlock("view", { class: "items" }, [ vue.createElementVNode("view", { class: "items_row" }, [ - vue.createElementVNode("view", null, " 车次号: " + vue.toDisplayString(1231231231)), - vue.createElementVNode("view", null, " 车牌号: " + vue.toDisplayString(123123)) + vue.createElementVNode( + "view", + null, + " 车次号: " + vue.toDisplayString(item.carsNo), + 1 + /* TEXT */ + ), + vue.createElementVNode( + "view", + null, + " 车牌号: " + vue.toDisplayString(item.carNumber), + 1 + /* TEXT */ + ) ]), vue.createElementVNode("view", { class: "items_row" }, [ - vue.createElementVNode("view", null, " 实际装车/计划装车: " + vue.toDisplayString("12/57")), - vue.createElementVNode("view", null, " 车型: " + vue.toDisplayString(123123)) + vue.createElementVNode( + "view", + null, + " 实际装车/计划装车: " + vue.toDisplayString(item.realLoadingNumber / item.planLoadingNumber), + 1 + /* TEXT */ + ), + vue.createElementVNode("view", null, " 车型: " + vue.toDisplayString("")) ]), vue.createElementVNode("view", { class: "items_row" }, [ - vue.createElementVNode("view", null, " z主驾司机: " + vue.toDisplayString("12/57")), - vue.createElementVNode("view", null, " 电话: " + vue.toDisplayString(123123)) + vue.createElementVNode( + "view", + null, + " 主驾司机: " + vue.toDisplayString(item.driverName), + 1 + /* TEXT */ + ), + vue.createElementVNode( + "view", + null, + " 电话: " + vue.toDisplayString(item.driverMobile), + 1 + /* TEXT */ + ) ]), - vue.createElementVNode("view", { class: "items_row" }, " 类型: 自由 "), - vue.createElementVNode("view", { class: "items_row" }, " 线路: 双流基地仓->龙泉仓->达州仓 "), - vue.createElementVNode("view", { class: "items_row" }, " 发车时间: 123123123 "), + vue.createElementVNode( + "view", + { class: "items_row" }, + " 线路: " + vue.toDisplayString(item.carsLineName), + 1 + /* TEXT */ + ), + vue.createElementVNode( + "view", + { class: "items_row" }, + " 发车时间: " + vue.toDisplayString(item.startTime), + 1 + /* TEXT */ + ), vue.createElementVNode("view", { class: "button-container" }, [ - vue.createElementVNode("view", { class: "button" }, " 按键入库 "), + vue.createElementVNode("view", { + class: "button", + onClick: ($event) => handleDetailsByOrder(item) + }, " 按件入库 ", 8, ["onClick"]), vue.createElementVNode("view", { class: "button" }, " 整托入库 "), vue.createElementVNode("view", { class: "button" }, " 卸分一体 "), vue.createElementVNode("view", { class: "button" }, " 按件装车 "), @@ -12894,161 +12861,1809 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesArrivalListArrivalList = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["__scopeId", "data-v-1bee7dd1"], ["__file", "D:/worksp/logpm/pagesHome/pages/ArrivalList/ArrivalList.vue"]]); - const _sfc_main$1r = /* @__PURE__ */ vue.defineComponent({ - __name: "SelfPickupScan", - setup(__props) { - const option = { - title: "自提扫描", - haveData: true, - async pullDownRefreshInitPage() { - details.current = 1; - await initpage(); + const PagesHomePagesArrivalListArrivalList = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["__scopeId", "data-v-1bee7dd1"], ["__file", "D:/worksp/logpm/pagesHome/pages/ArrivalList/ArrivalList.vue"]]); + const props$h = { + props: { + color: { + type: String, + default: defprops.line.color + }, + // 长度,竖向时表现为高度,横向时表现为长度,可以为百分比,带px单位的值等 + length: { + type: [String, Number], + default: defprops.line.length + }, + // 线条方向,col-竖向,row-横向 + direction: { + type: String, + default: defprops.line.direction + }, + // 是否显示细边框 + hairline: { + type: Boolean, + default: defprops.line.hairline + }, + // 线条与上下左右元素的间距,字符串形式,如"30px"、"20px 30px" + margin: { + type: [String, Number], + default: defprops.line.margin + }, + // 是否虚线,true-虚线,false-实线 + dashed: { + type: Boolean, + default: defprops.line.dashed + } + } + }; + const _sfc_main$1C = { + name: "u-line", + mixins: [mpMixin$1, mixin$1, props$h], + computed: { + lineStyle() { + const style = {}; + style.margin = this.margin; + if (this.direction === "row") { + style.borderBottomWidth = "1px"; + style.borderBottomStyle = this.dashed ? "dashed" : "solid"; + style.width = uni.$u.addUnit(this.length); + if (this.hairline) + style.transform = "scaleY(0.5)"; + } else { + style.borderLeftWidth = "1px"; + style.borderLeftStyle = this.dashed ? "dashed" : "solid"; + style.height = uni.$u.addUnit(this.length); + if (this.hairline) + style.transform = "scaleX(0.5)"; + } + style.borderColor = this.color; + return uni.$u.deepMerge(style, uni.$u.addStyle(this.customStyle)); + } + } + }; + function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) { + return vue.openBlock(), vue.createElementBlock( + "view", + { + class: "u-line", + style: vue.normalizeStyle([$options.lineStyle]) + }, + null, + 4 + /* STYLE */ + ); + } + const __easycom_1$3 = /* @__PURE__ */ _export_sfc(_sfc_main$1C, [["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 = { + props: { + // 是否虚线 + dashed: { + type: Boolean, + default: defprops.divider.dashed + }, + // 是否细线 + hairline: { + type: Boolean, + default: defprops.divider.hairline + }, + // 是否以点替代文字,优先于text字段起作用 + dot: { + type: Boolean, + default: defprops.divider.dot + }, + // 内容文本的位置,left-左边,center-中间,right-右边 + textPosition: { + type: String, + default: defprops.divider.textPosition + }, + // 文本内容 + text: { + type: [String, Number], + default: defprops.divider.text + }, + // 文本大小 + textSize: { + type: [String, Number], + default: defprops.divider.textSize + }, + // 文本颜色 + textColor: { + type: String, + default: defprops.divider.textColor + }, + // 线条颜色 + lineColor: { + type: String, + default: defprops.divider.lineColor + } + } + }; + const _sfc_main$1B = { + name: "u-divider", + mixins: [mpMixin$1, mixin$1, props$g], + computed: { + textStyle() { + const style = {}; + style.fontSize = uni.$u.addUnit(this.textSize); + style.color = this.textColor; + return style; + }, + // 左边线条的的样式 + leftLineStyle() { + const style = {}; + if (this.textPosition === "left") { + style.width = "80rpx"; + } else { + style.flex = 1; + } + return style; + }, + // 右边线条的的样式 + rightLineStyle() { + const style = {}; + if (this.textPosition === "right") { + style.width = "80rpx"; + } else { + style.flex = 1; } + return style; + } + }, + methods: { + // divider组件被点击时触发 + click() { + this.$emit("click"); + } + } + }; + function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) { + const _component_u_line = resolveEasycom(vue.resolveDynamicComponent("u-line"), __easycom_1$3); + return vue.openBlock(), vue.createElementBlock( + "view", + { + class: "u-divider", + style: vue.normalizeStyle([_ctx.$u.addStyle(_ctx.customStyle)]), + onClick: _cache[0] || (_cache[0] = (...args) => $options.click && $options.click(...args)) + }, + [ + vue.createVNode(_component_u_line, { + color: _ctx.lineColor, + customStyle: $options.leftLineStyle, + hairline: _ctx.hairline, + dashed: _ctx.dashed + }, null, 8, ["color", "customStyle", "hairline", "dashed"]), + _ctx.dot ? (vue.openBlock(), vue.createElementBlock("text", { + key: 0, + class: "u-divider__dot" + }, "●")) : _ctx.text ? (vue.openBlock(), vue.createElementBlock( + "text", + { + key: 1, + class: "u-divider__text", + style: vue.normalizeStyle([$options.textStyle]) + }, + vue.toDisplayString(_ctx.text), + 5 + /* TEXT, STYLE */ + )) : vue.createCommentVNode("v-if", true), + vue.createVNode(_component_u_line, { + color: _ctx.lineColor, + customStyle: $options.rightLineStyle, + hairline: _ctx.hairline, + dashed: _ctx.dashed + }, null, 8, ["color", "customStyle", "hairline", "dashed"]) + ], + 4 + /* STYLE */ + ); + } + const __easycom_0$3 = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["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$1A = {}; + function _sfc_render$u(_ctx, _cache) { + return vue.openBlock(), vue.createElementBlock("div", { class: "template" }, [ + vue.createElementVNode("view", { class: "cartoon" }, [ + vue.createElementVNode("span", { class: "char" }, "拼"), + vue.createElementVNode("span", { class: "char" }, "命"), + vue.createElementVNode("span", { class: "char" }, "加"), + vue.createElementVNode("span", { class: "char" }, "载"), + vue.createElementVNode("span", { class: "char" }, "中"), + vue.createElementVNode("span", { class: "char" }, "."), + vue.createElementVNode("span", { class: "char" }, "."), + vue.createElementVNode("span", { class: "char" }, ".") + ]) + ]); + } + const loading = /* @__PURE__ */ _export_sfc(_sfc_main$1A, [["render", _sfc_render$u], ["__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$1z = { + components: { + loading + }, + data() { + return { + scrollY: true, + scrollClientY: 0, + JzscrollTop: 0, + refresherm: false, + triggeredType: 0, + scrollTop: 99999, + old: { + scrollTop: 0 + }, + list2: [], + clientHeight: 0, + heights: 0, + heightt: 0, + lowers: true, + copyList: [], + listPage: [], + page: 0, + scrollView: "", + noLower: true, + virtualHeight: 0 }; - let details = vue.reactive({ - datatime: "", - show: false, - current: 1, - size: 10, - recordsList: [] - }); - const date2 = vue.ref([]); - const basicContainer = vue.ref(null); - function showCalendar() { - details.show = !details.show; + }, + props: { + direction: { + // 加载分页默认20 + type: String, + default: "bottom" + }, + refresher: { + // 是否拥有下拉刷新 + type: Boolean, + default: true + }, + pageSizes: { + // 加载分页默认20 + type: Number, + default: 20 + }, + code: { + // 加载分页默认20 + type: String, + default: "id" + }, + data: { + //数据 + type: Array, + default() { + return []; + } + }, + isBackTop: { + //是否拥有回到顶部 + type: Boolean, + default: false } - function onConfirm(e) { - formatAppLog("log", "at pagesHome/pages/SelfPickupScan/SelfPickupScan.vue:125", e); - date2.value[0] = e.startDate; - date2.value[1] = e.endDate; - details.datatime = date2.value[0] + " 至 " + date2.value[1]; + }, + onUnload() { + if (observer) { + observer.disconnect(); } - vue.watchEffect(() => { - if (date2.value.length != 0) { - details.datatime = date2.value[0] + " 至 " + date2.value[1]; + }, + created() { + if (this.direction == "top") { + this.list = JSON.parse(JSON.stringify(this.data)); + this.listPage = this.splitArrayIntoGroups(this.list, this.pageSizes); + this.getList(); + } else { + this.scrollTop = 0; + this.list = JSON.parse(JSON.stringify(this.data)); + this.listPage = this.splitArrayIntoGroups2(this.list, this.pageSizes); + this.list2 = this.listPage[0]; + } + }, + mounted() { + observer = uni.createIntersectionObserver(this); + observer.relativeTo(".scroll-view", { + bottom: 100 + }).observe(".ball", (res) => { + if (res.intersectionRatio > 0) { + let that = this; + if (this.page > 0 && this.heights > 0) { + if (this.direction == "top") { + that.scrollY = false; + this.page--; + this.list2.splice(0, this.pageSizes); + this.list2 = [...this.list2, ...this.listPage[this.page - 1]]; + this.$nextTick(() => { + this.heights = this.heightList[this.page - 1]; + that.scrollY = true; + }); + } else { + that.scrollY = false; + this.page--; + this.list2.splice(this.list2.length - this.pageSizes, that.pageSizes); + this.list2 = [...this.listPage[this.page - 1], ...this.list2]; + this.$nextTick(() => { + this.heights = this.heightList[this.page - 1]; + that.scrollY = true; + }); + } + } } }); - onLoad(() => { - date2.value[0] = uni.$u.timeFormat((/* @__PURE__ */ new Date()).valueOf() - 1e3 * 60 * 60 * 24 * 3, "yyyy-mm-dd"); - date2.value[1] = uni.$u.timeFormat((/* @__PURE__ */ new Date()).valueOf(), "yyyy-mm-dd"); - }); - onShow(() => { - uni.$off("scancodedate"); - const timer = setTimeout(() => { - basicContainer.value.startPullDownRefresh(); - clearTimeout(timer); - }, 200); - }); - function init() { - details.current = 1; - initpage(); - } - function jiazai() { - details.current++; - initpage(); + const query = uni.createSelectorQuery().in(this); + query.select("#listtop").boundingClientRect((data) => { + this.clientHeight = data.height; + }).exec(); + }, + watch: { + data() { + if (this.direction == "top") { + this.page = 0; + this.heights = 0; + this.heightList = [0]; + this.list = JSON.parse(JSON.stringify(this.data)); + this.listPage = this.splitArrayIntoGroups(this.list, this.pageSizes); + this.getList(); + } else { + this.page = 0; + this.heights = 0; + this.heightList = [0]; + this.list = JSON.parse(JSON.stringify(this.data)); + this.listPage = this.splitArrayIntoGroups2(this.list, this.pageSizes); + this.list2 = this.listPage[0]; + } } - async function initpage() { - let data = { - current: details.current, - size: details.size, - pickUpTimeStart: date2.value[0], - pickUpTimeEnd: date2.value[1] - }; - let response = await billLadingpageList(data); - if (response.code !== 200) - return; - if (details.current == 1) { - details.recordsList = response.data.records; + }, + methods: { + toTop() { + if (this.direction == "top") + ; + else { + let that = this; + let scrollTops = this.old.scrollTop; + const duration = 1e3; + const easing = (t) => t * (2 - t); + let start = scrollTops; + let end = 0; + let change = end - start; + let currentTime = 0; + const animateScroll = function() { + currentTime += 16; + let val = easing(currentTime / duration) * change + start; + that.scrollTop = val; + if (currentTime < duration) { + setTimeout(animateScroll, 16); + } + }; + animateScroll(); + } + }, + addPage(list) { + if (this.direction == "top") { + let id = list[0][this.code]; + let li = list.reverse(); + this.listPage.push(li); + this.upper(); + this.scrollView = null; + this.$nextTick(function() { + this.scrollView = id; + }); } else { - if (response.data.records.lngth == 0) { - uni.showToast({ - title: "已经到底了。", - icon: "none" + let id = list[0][this.code]; + let li = list; + this.listPage.push(li); + this.lower(); + this.scrollView = null; + this.$nextTick(function() { + this.scrollView = id; + }); + } + }, + async toAssign(val, secl) { + this.noLower = false; + let that = this; + uni.createSelectorQuery().in(this); + let obj = null; + for (var i = 0; i < this.listPage.length; i++) { + let list = this.listPage[i]; + for (var j = 0; j < list.length; j++) { + let item = list[j]; + if (item[this.code] == val) { + obj = { + page: i + 1, + index: j, + id: val + }; + break; + } + } + if (obj) { + break; + } + } + if (this.list2.some((el) => { + return el[this.code] == val; + })) { + this.scrollView = null; + this.$nextTick(function() { + this.scrollView = val; + }); + } else { + if (this.page < obj.page) { + let c = obj.page + this.page >= this.listPage.length ? obj.page - this.page - 1 : obj.page - this.page; + if (this.heightList[this.page + c - 1]) { + if (this.direction == "top") { + this.list2 = [...this.listPage[this.page + c], ...this.listPage[this.page + c - 1]]; + } else { + this.list2 = [...this.listPage[this.page + c - 1], ...this.listPage[this.page + c]]; + } + this.heights = this.heightList[this.page + c - 1]; + this.scrollView = ""; + this.page = this.page + c; + this.$nextTick(function() { + this.scrollView = val; + }); + } else { + let pasc = that.page; + for (let i2 = 0; i2 < c; i2++) { + pasc++; + await this.toUpper(pasc); + } + this.scrollView = ""; + this.$nextTick(function() { + this.scrollView = val; + setTimeout(() => { + that.noLower = true; + }, 1e3); + }); + } + } else { + let c = this.page - obj.page; + for (let i2 = 0; i2 < c; i2++) { + await this.tolower(); + } + this.scrollView = ""; + this.$nextTick(function() { + this.scrollView = val; + setTimeout(() => { + that.noLower = true; + }, 1e3); }); - return; } - details.recordsList = details.recordsList.concat(response.data.records); } - } - function goselscan(item) { - uni.navigateTo({ - url: "/pagesHome/pages/SelfPScanList/SelfPScanList?billLadingId=" + item.billLadingId + }, + tolower: function() { + return new Promise((resolve) => { + if (this.direction == "top") { + this.page--; + this.list2.splice(0, this.pageSizes); + this.list2 = [...this.list2, ...this.listPage[this.page - 1]]; + this.$nextTick(() => { + this.heights = this.heightList[this.page - 1]; + resolve(); + }); + } else { + this.page--; + this.list2.splice(this.list2.length - this.pageSizes, this.pageSizes); + this.list2 = [...this.listPage[this.page - 1], ...this.list2]; + this.$nextTick(() => { + this.heights = this.heightList[this.page - 1]; + resolve(); + }); + } }); - } - function goselscandetails(item) { - uni.navigateTo({ - url: "/pagesHome/pages/SelfPickupDetails/SelfPickupDetails?billLadingId=" + item.billLadingId + }, + toUpper: function(pasc) { + return new Promise((resolve) => { + let that = this; + if (this.direction == "top") { + if (this.listPage.length - 1 > this.page) { + this.scrollTop = this.old.scrollTop; + this.$nextTick(function() { + this.scrollTop = 100; + }); + const query = uni.createSelectorQuery().in(this); + query.select("#listx").boundingClientRect((data) => { + this.page++; + if (!this.heightList[this.page]) { + this.heightList.push(data.height); + } + this.list2 = [...this.listPage[this.page], ...this.list2]; + this.$nextTick(() => { + if (this.list2.length > this.pageSizes * 2) { + this.list2.splice( + this.list2.length - this.pageSizes, + that.pageSizes + ); + this.heights = this.heightList[this.page - 1]; + } + setTimeout(() => { + resolve(1); + }, 80); + }); + }).exec(); + } else { + resolve(1); + } + } else { + if (this.listPage.length - 1 > this.page) { + this.scrollTop = this.old.scrollTop; + this.$nextTick(function() { + that.page = pasc; + const query = uni.createSelectorQuery().in(this); + query.select("#listx").boundingClientRect((data) => { + if (!that.heightList[that.page]) { + that.heightList.push(data.height); + } + that.list2 = [...that.list2, ...that.listPage[that.page]]; + that.$nextTick(() => { + if (that.list2.length > that.listPage[that.page].length + that.listPage[that.page - 1].length) { + that.list2.splice(0, that.pageSizes); + that.heights = that.heightList[that.page - 1]; + } + setTimeout(() => { + resolve(1); + }, 80); + }); + }).exec(); + }); + } else { + resolve(1); + } + } + }); + }, + // 刷新 + refreshers() { + if (this.direction == "top") { + this.triggeredType = 3; + let that = this; + setTimeout(() => { + that.refresherm = false; + that.JzscrollTop = 0; + that.goTop(); + that.lowers = true; + that.scrollY = true; + }, 500); + } else { + this.triggeredType = 3; + let that = this; + setTimeout(() => { + that.refresherm = false; + that.JzscrollTop = 0; + that.lowers = true; + that.scrollY = true; + }, 500); + } + }, + touchend3(e) { + if (this.direction == "top") { + if (this.heights == 0 && (this.scrollTop == 99999 || this.lowers)) { + this.touchend(e); + } + } else { + if (this.heights == 0 && (this.old.scrollTop == 0 || this.lowers)) { + this.touchend2(e); + } + } + }, + touchstart3(e) { + if (this.direction == "top") { + if (this.heights == 0 && (this.scrollTop == 99999 || this.lowers)) { + this.touchstart(e); + } + } else { + if (this.heights == 0 && (this.old.scrollTop == 0 || this.lowers)) { + this.touchstart2(e); + } + } + }, + touchmove3(e) { + if (this.direction == "top") { + if (this.heights == 0 && (this.scrollTop == 99999 || this.lowers)) { + this.touchmove(e); + } + } else { + if (this.heights == 0 && (this.old.scrollTop == 0 || this.lowers)) { + this.touchmove2(e); + } + } + }, + // 上拉加载 + touchend(e) { + if (this.heights == 0 && this.refresherm) { + if (this.JzscrollTop >= 80) { + this.triggeredType = 2; + this.JzscrollTop = 80; + this.$emit("refresher"); + } else { + this.triggeredType = 0; + this.JzscrollTop = 0; + this.scrollY = true; + } + } else { + this.scrollY = true; + this.JzscrollTop = 0; + } + }, + touchstart(e) { + formatAppLog("log", "at uni_modules/jp-virtual-list/components/jp-virtual-list/jp-virtual-list.vue:552", this.refresher); + if (this.refresher && this.heights == 0 && (this.scrollTop == 99999 || this.lowers)) { + this.refresherm = true; + let pas = e.changedTouches[0]; + this.scrollClientY = pas.pageY; + this.JzscrollTop = 0; + } + }, + touchmove(e) { + if (this.heights == 0 && this.refresherm && this.triggeredType != 2) { + let pas = e.changedTouches[0]; + if (this.scrollClientY > pas.pageY) { + this.scrollY = false; + let y = this.scrollClientY - pas.pageY; + this.JzscrollTop = y > 150 ? 150 : y; + if (this.JzscrollTop >= 100) { + this.triggeredType = 1; + } else { + this.triggeredType = 0; + } + this.$forceUpdate(); + } + } + }, + // 下拉刷新 + touchend2(e) { + if (this.heights == 0 && this.refresherm) { + if (this.JzscrollTop >= 80) { + this.triggeredType = 2; + this.JzscrollTop = 80; + this.$emit("refresher"); + } else { + this.triggeredType = 0; + this.JzscrollTop = 0; + this.scrollY = true; + } + } else { + this.scrollY = true; + this.JzscrollTop = 0; + } + }, + touchstart2(e) { + if (this.refresher && this.heights == 0 && (this.scrollTop == 0 || this.lowers)) { + this.refresherm = true; + let pas = e.changedTouches[0]; + this.scrollClientY = pas.pageY; + this.JzscrollTop = 0; + } + }, + touchmove2(e) { + if (this.heights == 0 && this.refresherm && this.triggeredType != 2) { + let pas = e.changedTouches[0]; + if (this.scrollClientY < pas.pageY) { + this.scrollY = false; + let y = pas.pageY - this.scrollClientY; + this.JzscrollTop = y > 150 ? 150 : y; + if (this.JzscrollTop >= 100) { + this.triggeredType = 1; + } else { + this.triggeredType = 0; + } + this.$forceUpdate(); + } + } + }, + // 数据处理 + upper: function(e) { + if (!this.noLower) { + return; + } + if (this.direction == "top") { + if (this.listPage.length - 1 > this.page) { + formatAppLog("log", "at uni_modules/jp-virtual-list/components/jp-virtual-list/jp-virtual-list.vue:627", "到达顶部,开始加载数据"); + let that = this; + const query = uni.createSelectorQuery().in(this); + query.select("#listx").boundingClientRect((data) => { + this.page++; + if (!this.heightList[this.page]) { + this.heightList.push(data.height); + } + this.list2 = [...this.listPage[this.page], ...this.list2]; + setTimeout(() => { + if (this.list2.length > this.pageSizes * 2) { + this.list2.splice(this.list2.length - this.pageSizes, that.pageSizes); + this.heights = this.heightList[this.page - 1]; + } + }, 80); + }).exec(); + } else { + this.$emit("scrolltoupper", this.page); + } + } else { + this.lowers = true; + } + }, + lower: function(e) { + if (!this.noLower) { + return; + } + if (this.direction == "top") { + this.lowers = true; + } else { + if (this.noLower && this.listPage.length - 1 > this.page) { + formatAppLog("log", "at uni_modules/jp-virtual-list/components/jp-virtual-list/jp-virtual-list.vue:689", "到达底部,开始加载数据"); + const query = uni.createSelectorQuery().in(this); + query.select("#listx").boundingClientRect((data) => { + this.page++; + if (!this.heightList[this.page]) { + this.heightList.push(data.height); + } + this.list2 = [...this.list2, ...this.listPage[this.page]]; + setTimeout(() => { + if (this.list2.length > this.pageSizes * 2) { + this.list2.splice(0, this.pageSizes); + this.heights = this.heightList[this.page - 1]; + } + }, 80); + }).exec(); + } else { + this.$emit("scrolltoupper", this.page); + } + } + }, + scroll: function(e) { + if (e.detail.scrollHeight > e.detail.scrollTop + this.clientHeight + 200) { + this.lowers = false; + } + this.old.scrollTop = e.detail.scrollTop; + }, + goTop: function(e) { + this.scrollTop = this.old.scrollTop; + this.$nextTick(function() { + this.scrollTop = 999999; + }); + }, + // *********** 加载操作 *************** + splitArrayIntoGroups(array2, groupSize) { + const groups = []; + for (let i = 0; i < array2.length; i += groupSize) { + groups.push(array2.slice(i, i + groupSize).reverse()); + } + return groups; + }, + splitArrayIntoGroups2(array2, groupSize) { + const groups = []; + for (let i = 0; i < array2.length; i += groupSize) { + groups.push(array2.slice(i, i + groupSize)); + } + return groups; + }, + getList() { + this.list2 = this.listPage[0]; + this.$nextTick(function() { + this.goTop(); }); } - function cleartime() { - details.datatime = ""; - date2.value = []; - basicContainer.value.startPullDownRefresh(); - } - const { datatime, dataList, show, recordsList } = vue.toRefs(details); - return (_ctx, _cache) => { - const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_1$4); - const _component_l_calendar = resolveEasycom(vue.resolveDynamicComponent("l-calendar"), __easycom_1$3); - const _component_BasicContainer = vue.resolveComponent("BasicContainer"); - return vue.openBlock(), vue.createElementBlock( - vue.Fragment, - null, - [ - vue.createCommentVNode(` `), - vue.createVNode( - _component_BasicContainer, + } + }; + function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) { + const _component_loading = vue.resolveComponent("loading"); + return vue.openBlock(), vue.createElementBlock( + "view", + { + ref: "listtop", + id: "listtop" + }, + [ + vue.createElementVNode("scroll-view", { + "scroll-top": $data.scrollTop, + "scroll-y": $data.scrollY, + class: "scroll-view scroll-Y", + onScrolltoupper: _cache[3] || (_cache[3] = (...args) => $options.upper && $options.upper(...args)), + onScrolltolower: _cache[4] || (_cache[4] = (...args) => $options.lower && $options.lower(...args)), + onScroll: _cache[5] || (_cache[5] = (...args) => $options.scroll && $options.scroll(...args)), + "scroll-into-view": $data.scrollView, + "lower-threshold": 30, + id: "scroll-view" + }, [ + vue.createElementVNode("view", { class: "scrolls" }, [ + $data.refresherm && $data.JzscrollTop > 10 ? (vue.openBlock(), vue.createElementBlock("view", { key: 0 }, [ + $data.triggeredType == 0 ? (vue.openBlock(), vue.createElementBlock( + "view", + { + key: 0, + class: vue.normalizeClass($props.direction == "bottom" ? "refreshermB" : "refresherm"), + style: vue.normalizeStyle("height:" + $data.JzscrollTop + "px") + }, + vue.toDisplayString($props.direction == "bottom" ? "下拉刷新" : "上拉刷新"), + 7 + /* TEXT, CLASS, STYLE */ + )) : vue.createCommentVNode("v-if", true), + $data.triggeredType == 1 ? (vue.openBlock(), vue.createElementBlock( + "view", + { + key: 1, + class: vue.normalizeClass($props.direction == "bottom" ? "refreshermB" : "refresherm"), + style: vue.normalizeStyle("height:" + $data.JzscrollTop + "px") + }, + "松开刷新", + 6 + /* CLASS, STYLE */ + )) : vue.createCommentVNode("v-if", true), + $data.triggeredType == 2 ? (vue.openBlock(), vue.createElementBlock( + "view", + { + key: 2, + class: vue.normalizeClass($props.direction == "bottom" ? "refreshermB" : "refresherm"), + style: vue.normalizeStyle("height:" + $data.JzscrollTop + "px") + }, + [ + vue.createVNode(_component_loading) + ], + 6 + /* CLASS, STYLE */ + )) : vue.createCommentVNode("v-if", true), + $data.triggeredType == 3 ? (vue.openBlock(), vue.createElementBlock( + "view", + { + key: 3, + class: vue.normalizeClass($props.direction == "bottom" ? "refreshermB" : "refresherm"), + style: vue.normalizeStyle("height:" + $data.JzscrollTop + "px") + }, + "刷新成功", + 6 + /* CLASS, STYLE */ + )) : vue.createCommentVNode("v-if", true) + ])) : vue.createCommentVNode("v-if", true), + vue.createElementVNode( + "view", { - option, - ref_key: "basicContainer", - ref: basicContainer + ref: "listx", + id: "listx", + onTouchstart: _cache[0] || (_cache[0] = (...args) => $options.touchstart3 && $options.touchstart3(...args)), + onTouchmove: _cache[1] || (_cache[1] = (...args) => $options.touchmove3 && $options.touchmove3(...args)), + onTouchend: _cache[2] || (_cache[2] = (...args) => $options.touchend3 && $options.touchend3(...args)) }, - { - head: vue.withCtx(() => [ - vue.createElementVNode("view", { class: "schbox" }, [ - vue.createElementVNode("view", null, "自提日期:"), - vue.createElementVNode("view", { - onClick: showCalendar, - class: "inputsr" - }, [ - vue.createElementVNode("input", { - value: vue.unref(datatime), - disabled: "", - placeholder: "请选择时间" - }, null, 8, ["value"]), - vue.createElementVNode("view", { - onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => { - }, ["stop", "prevent"])) - }, [ - !vue.unref(datatime) ? (vue.openBlock(), vue.createBlock(_component_u_icon, { - key: 0, - onClick: showCalendar, - style: { "margin-right": "10rpx" }, - name: "calendar", - color: "#999999", - size: "50" - })) : (vue.openBlock(), vue.createBlock(_component_u_icon, { - key: 1, - onClick: cleartime, - style: { "margin-right": "10rpx" }, - name: "close-circle", - color: "#999999", - size: "40" - })) - ]) - ]), - vue.createElementVNode("view", { onClick: init }, " 查询 ") - ]) - ]), - body: vue.withCtx(() => [ - vue.createElementVNode( - "scroll-view", - { - "scroll-y": "true", - class: "scvbx", - onScrolltolower: jiazai - }, - [ + [ + $props.direction == "bottom" ? (vue.openBlock(), vue.createElementBlock( + "view", + { + key: 0, + class: "ball", + style: vue.normalizeStyle("height:" + $data.heights + "px") + }, + null, + 4 + /* STYLE */ + )) : vue.createCommentVNode("v-if", true), + $data.list2 && $data.list2.length > 0 ? (vue.openBlock(), vue.createElementBlock( + "view", + { + key: 1, + ref: "listItem", + id: "listItem" + }, + [ + vue.renderSlot(_ctx.$slots, "default", { list: $data.list2 }, void 0, true) + ], + 512 + /* NEED_PATCH */ + )) : vue.createCommentVNode("v-if", true), + $props.direction == "top" ? (vue.openBlock(), vue.createElementBlock( + "view", + { + key: 2, + class: "ball", + style: vue.normalizeStyle("height:" + $data.heights + "px") + }, + null, + 4 + /* STYLE */ + )) : vue.createCommentVNode("v-if", true) + ], + 544 + /* HYDRATE_EVENTS, NEED_PATCH */ + ) + ]) + ], 40, ["scroll-top", "scroll-y", "scroll-into-view"]), + $props.isBackTop && $props.direction == "bottom" ? (vue.openBlock(), vue.createElementBlock("div", { + key: 0, + class: "_backtop", + onClick: _cache[6] || (_cache[6] = vue.withModifiers((...args) => $options.toTop && $options.toTop(...args), ["stop"])) + }, [ + $data.old.scrollTop > 100 ? (vue.openBlock(), vue.createElementBlock("view", { key: 0 }, [ + vue.createVNode(vue.Transition, { + name: "fade", + appear: "" + }, { + default: vue.withCtx(() => [ + vue.createElementVNode("div", { class: "top" }, [ + vue.createElementVNode("image", { src: _imports_0$3 }) + ]) + ]), + _: 1 + /* STABLE */ + }) + ])) : vue.createCommentVNode("v-if", true) + ])) : vue.createCommentVNode("v-if", true) + ], + 512 + /* NEED_PATCH */ + ); + } + const __easycom_0$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["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$1y = /* @__PURE__ */ vue.defineComponent({ + __name: "VehicleArrivalDetails", + setup(__props) { + const { scanState } = storeToRefs(useSystemSettingsStore()); + const utils2 = vue.inject("utils"); + const option = vue.reactive({ + title: "配载按件卸车", + haveData: true, + async pullDownRefreshInitPage() { + return await initpage(); + } + }); + let details = vue.reactive({ + schanvalue: "", + typearr: [ + { + value: 3, + label: "齐套" + }, + { + value: 2, + label: "部分扫" + }, + { + value: 1, + label: "未扫" + } + ], + items: {}, + datalist: [], + scancode: "", + orderStatus: 1, + loadId: "", + orderType: 0, + inputtxt: "", + listcheckindex: -1, + isscan: false, + order: [], + zero: [], + pageInfo: {}, + // 零担详情装车列表 + zeroList: [], + /** 页面类型 1: 按件装车 2: 整托装车 */ + pageType: 1, + /** 整托渲染列表 */ + trayInfo: { + zeroList: [], + packageList: [] + }, + /** 卸车的零担信息 */ + zeroInfo: {} + }); + const tiplists = vue.ref(null); + const basicContainer = vue.ref(null); + const ZeroStowage = vue.ref(); + const TrayStowage = vue.ref(); + onLoad((op) => { + details.loadId = op.id; + details.pageType = op.type; + option.title = Number(op.type) === 2 ? "配载整托卸车" : "配载按件卸车"; + }); + function goorderdetail(item) { + uni.navigateTo({ + url: "/pagesHome/pages/orderDetails/orderDetails?orderCode=" + item.orderCode + }); + } + onShow(async () => { + uni.$off("scancodedate"); + uni.$on("scancodedate", function(code2) { + if (code2) { + formatAppLog("log", "at pagesHome/pages/VehicleArrivalDetails/VehicleArrivalDetails.vue:367", "code", code2); + details.scancode = code2; + details.isscan = true; + scandata(); + } + }); + await vue.nextTick(); + basicContainer.value.startPullDownRefresh(); + }); + function showsdqs() { + tiplists.value.setdetails({ + isshow: true, + tipstate: 1, + title: "请输入扫描的码", + placeholder: "请输入扫描的码", + inputtext: "", + success: (detail) => { + details.scancode = detail.inputtext; + scandata(); + tiplists.value.setdetails({ isshow: false }); + }, + cancel: () => { + tiplists.value.setdetails({ isshow: false }); + }, + close: () => { + tiplists.value.setdetails({ isshow: false }); + } + }); + } + const initPageByOrder = async () => { + try { + const response = await postArriveUnloadCarsDetail({ + loadId: details.loadId + }); + const { code: code2, data } = response; + formatAppLog("log", "at pagesHome/pages/VehicleArrivalDetails/VehicleArrivalDetails.vue:411", "response :>> ", response); + if (code2 === 200) { + details.pageInfo = data; + details.datalist = details.orderStatus === 1 ? details.pageInfo.unloadScanOrderList : details.orderStatus === 2 ? details.pageInfo.unloadZeroList : details.pageInfo.exceptionList; + } + } catch (e) { + } finally { + return null; + } + }; + async function initpage() { + try { + const res = await initPageByOrder(); + } catch (err) { + formatAppLog("log", "at pagesHome/pages/VehicleArrivalDetails/VehicleArrivalDetails.vue:434", "err :>> ", err); + } finally { + return null; + } + } + function setorderStatus(state) { + if (details.orderStatus === state) + return; + details.orderStatus = state; + details.datalist = details.orderStatus === 1 ? details.pageInfo.unloadScanOrderList : details.orderStatus === 2 ? details.pageInfo.unloadZeroList : details.pageInfo.exceptionList; + formatAppLog("log", "at pagesHome/pages/VehicleArrivalDetails/VehicleArrivalDetails.vue:467", "details.datalist :>> ", details.datalist); + } + const scanOrder = async () => { + let _scanCode = details.scancode; + let returnContent = ""; + for (let item of details.pageInfo.unloadScanOrderList) { + let isBreak = false; + for (let val of item.unloadPackageList) { + if (_scanCode === val.orderPackageCode) { + isBreak = true; + if (Number(val.scanStatus) === 2) { + returnContent = "该包件已卸车"; + } else if (Number(val.scanStatus) === 3) { + returnContent = "该包件已签收"; + } + } + } + if (isBreak) + break; + } + if (returnContent) { + utils2.ttsspke(returnContent); + uni.showToast({ + title: returnContent, + icon: "none" + }); + return; + } + try { + const submitData = { + orderPackageCode: _scanCode, + loadId: details.loadId + }; + const res = await postCarsLoadUnloadPackage(submitData); + return res; + } catch (err) { + formatAppLog("log", "at pagesHome/pages/VehicleArrivalDetails/VehicleArrivalDetails.vue:517", "err :>> ", err); + } finally { + basicContainer.value.startPullDownRefresh(); + } + }; + function scandata() { + if (Number(details.pageType) === 1) + scanOrder(); + } + const leftClick = () => { + uni.navigateBack(); + }; + const handleZeroStowage = (_item, _value) => { + details.zeroInfo = { waybillNo: _item.waybillNo, orderCode: _item.orderCode, ..._value }; + ZeroStowage.value.setDetails({ + title: "零担卸车", + showPopUp: true, + success() { + formatAppLog("log", "at pagesHome/pages/VehicleArrivalDetails/VehicleArrivalDetails.vue:545", "details.zeroInfo :>> ", details.zeroInfo); + const submitData = { + loadId: details.loadId, + waybillNo: details.zeroInfo.waybillNo, + orderCode: details.zeroInfo.orderCode, + productName: details.zeroInfo.orderPackageCode, + enterNum: details.zeroInfo.unloadNum + }; + postCarsLoadUnloadZero(submitData); + } + }); + }; + const { orderStatus, items, datalist } = vue.toRefs(details); + return (_ctx, _cache) => { + const _component_u_divider = resolveEasycom(vue.resolveDynamicComponent("u-divider"), __easycom_0$3); + const _component_PullDownBox = vue.resolveComponent("PullDownBox"); + const _component_jp_virtual_list = resolveEasycom(vue.resolveDynamicComponent("jp-virtual-list"), __easycom_0$2); + const _component_BasicContainer = vue.resolveComponent("BasicContainer"); + const _component_tiplist = vue.resolveComponent("tiplist"); + const _component_inputNum = vue.resolveComponent("inputNum"); + const _component_PopUp = vue.resolveComponent("PopUp"); + const _component_saomiao2 = vue.resolveComponent("saomiao2"); + return vue.openBlock(), vue.createElementBlock( + vue.Fragment, + null, + [ + vue.createVNode(_component_BasicContainer, { + ref_key: "basicContainer", + ref: basicContainer, + option, + leftClick + }, { + head: vue.withCtx(() => [ + vue.createElementVNode("view", { class: "hdtp" }, [ + vue.createElementVNode("view", null, [ + vue.createElementVNode( + "view", + null, + " 配载批次:" + vue.toDisplayString(vue.unref(details).pageInfo.carsNo), + 1 + /* TEXT */ + ), + vue.createElementVNode("view", { + class: "butlur", + onClick: showsdqs + }, " 录入包条码 ") + ]), + vue.createElementVNode("view", null, [ + vue.createElementVNode( + "view", + null, + "司机名称:" + vue.toDisplayString(vue.unref(details).pageInfo.driverName), + 1 + /* TEXT */ + ), + vue.createElementVNode( + "view", + null, + "司机电话:" + vue.toDisplayString(vue.unref(details).pageInfo.driverMobile), + 1 + /* TEXT */ + ) + ]), + vue.createElementVNode("view", null, [ + vue.createElementVNode( + "view", + null, + "车牌号:" + vue.toDisplayString(vue.unref(details).pageInfo.carNumber), + 1 + /* TEXT */ + ) + ]), + vue.createElementVNode("view", null, [ + vue.createElementVNode( + "view", + null, + "路线:" + vue.toDisplayString(vue.unref(details).pageInfo.carsLineName), + 1 + /* TEXT */ + ) + ]), + vue.createCommentVNode(" \r\n 备货是否完成:{{items.isstock}}\r\n 装车是否完成:{{items.isload}}\r\n ") + ]), + vue.createElementVNode("view", { class: "hdtpnum" }, [ + vue.createElementVNode("view", null, [ + vue.createElementVNode("view", null, "订单总数"), + vue.createElementVNode( + "view", + null, + vue.toDisplayString(vue.unref(items).orderNum || 0), + 1 + /* TEXT */ + ) + ]), + vue.createElementVNode("view", null, [ + vue.createElementVNode("view", null, "计划件数"), + vue.createElementVNode( + "view", + null, + vue.toDisplayString(vue.unref(details).pageInfo.planLoadingNumber || 0), + 1 + /* TEXT */ + ) + ]), + vue.createElementVNode("view", null, [ + vue.createElementVNode("view", null, "装车件数"), + vue.createElementVNode( + "view", + null, + vue.toDisplayString(vue.unref(details).pageInfo.realLoadingNumber || 0), + 1 + /* TEXT */ + ) + ]), + vue.createElementVNode("view", null, [ + vue.createElementVNode("view", null, "卸车数"), + vue.createElementVNode( + "view", + null, + vue.toDisplayString(vue.unref(details).pageInfo.realLoadingNumber || 0), + 1 + /* TEXT */ + ) + ]) + ]), + vue.createElementVNode("view", { class: "tabtip" }, [ + vue.createElementVNode( + "view", + { + onClick: _cache[0] || (_cache[0] = ($event) => setorderStatus(1)), + class: vue.normalizeClass(vue.unref(orderStatus) == 1 ? "active" : "") + }, + [ + vue.createElementVNode("view", null, "定制品") + ], + 2 + /* CLASS */ + ), + vue.createElementVNode( + "view", + { + onClick: _cache[1] || (_cache[1] = ($event) => setorderStatus(2)), + class: vue.normalizeClass(vue.unref(orderStatus) == 2 ? "active" : "") + }, + [ + vue.createElementVNode("view", null, "零担") + ], + 2 + /* CLASS */ + ), + vue.createElementVNode( + "view", + { + onClick: _cache[2] || (_cache[2] = ($event) => setorderStatus(3)), + class: vue.normalizeClass(vue.unref(orderStatus) == 3 ? "active" : "") + }, + [ + vue.createElementVNode("view", null, "异常") + ], + 2 + /* CLASS */ + ) + ]) + ]), + body: vue.withCtx(() => [ + vue.createVNode(_component_jp_virtual_list, { + code: "id", + class: "h100", + refresher: false, + data: vue.unref(datalist), + ref: "search" + }, { + default: vue.withCtx(({ list }) => [ + (vue.openBlock(true), vue.createElementBlock( + vue.Fragment, + null, + vue.renderList(list, (item) => { + return vue.openBlock(), vue.createElementBlock("view", { + key: item.id, + id: item.id, + ref_for: true, + ref: item.id + }, [ + vue.createVNode( + _component_PullDownBox, + null, + { + title: vue.withCtx(() => [ + vue.createElementVNode("view", { class: "contenbx1" }, [ + vue.createElementVNode("view", { style: { "flex": "1" } }, [ + vue.createElementVNode("view", { + onClick: vue.withModifiers(($event) => goorderdetail(item), ["stop"]) + }, "订单号:", 8, ["onClick"]), + vue.createElementVNode( + "view", + { class: "" }, + vue.toDisplayString(item.orderCode), + 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: "详情" }), + (vue.openBlock(true), vue.createElementBlock( + vue.Fragment, + null, + vue.renderList(item.unloadPackageList, (value) => { + return vue.openBlock(), vue.createElementBlock("view", { + key: value.name, + class: "details_container" + }, [ + vue.createCommentVNode(" 定制品 "), + Number(vue.unref(orderStatus)) === 1 ? (vue.openBlock(), vue.createElementBlock( + vue.Fragment, + { key: 0 }, + [ + vue.createElementVNode("view", { class: "flex-c-sb" }, [ + vue.createElementVNode( + "view", + { class: "" }, + " 包条码: " + vue.toDisplayString(value.orderPackageCode), + 1 + /* TEXT */ + ), + vue.createElementVNode("view", { + class: "flex1", + style: { "display": "flex", "align-items": "center", "margin-left": "5px" } + }, [ + vue.createTextVNode(" 卸车状态: "), + vue.createElementVNode( + "view", + { class: "tip" }, + vue.toDisplayString(Number(value.scanStatus) === 1 ? "已装车" : Number(value.scanStatus) === 2 ? "已卸车" : "已签收"), + 1 + /* TEXT */ + ) + ]) + ]), + vue.createElementVNode("view", { class: "flex-c-sb mt10" }, [ + vue.createElementVNode( + "view", + { class: "flex1" }, + " 托盘名称: " + vue.toDisplayString(value.trayName || "暂无数据"), + 1 + /* TEXT */ + ), + vue.createElementVNode( + "view", + { class: "flex1" }, + " 托盘码: " + vue.toDisplayString(value.trayCode || "暂无数据"), + 1 + /* TEXT */ + ) + ]) + ], + 64 + /* STABLE_FRAGMENT */ + )) : vue.createCommentVNode("v-if", true), + vue.createCommentVNode(" 零担 "), + Number(vue.unref(orderStatus)) === 2 ? (vue.openBlock(), vue.createElementBlock( + vue.Fragment, + { key: 1 }, + [ + vue.createElementVNode("view", { + class: "flex-c-sb", + onClick: ($event) => handleZeroStowage(item, value) + }, [ + vue.createElementVNode( + "view", + { class: "flex1" }, + " 产品名称: " + vue.toDisplayString(value.orderPackageCode), + 1 + /* TEXT */ + ), + vue.createElementVNode( + "view", + { class: "flex1" }, + " 装车数/卸车数: " + vue.toDisplayString(value.num + "/" + (value.unloadNum || 0)), + 1 + /* TEXT */ + ) + ], 8, ["onClick"]), + vue.createElementVNode("view", { class: "flex-c-sb mt10" }, [ + vue.createElementVNode( + "view", + { class: "flex1" }, + " 托盘名称: " + vue.toDisplayString(value.trayName || "暂无数据"), + 1 + /* TEXT */ + ), + vue.createElementVNode( + "view", + { class: "flex1" }, + " 托盘码: " + vue.toDisplayString(value.trayCode || "暂无数据"), + 1 + /* TEXT */ + ) + ]) + ], + 64 + /* STABLE_FRAGMENT */ + )) : vue.createCommentVNode("v-if", true) + ]); + }), + 128 + /* KEYED_FRAGMENT */ + )) + ]), + _: 2 + /* DYNAMIC */ + }, + 1024 + /* DYNAMIC_SLOTS */ + ) + ], 8, ["id"]); + }), + 128 + /* KEYED_FRAGMENT */ + )) + ]), + _: 1 + /* STABLE */ + }, 8, ["data"]), + vue.createCommentVNode(` \r + \r + `) + ]), + _: 1 + /* STABLE */ + }, 8, ["option"]), + vue.createVNode( + _component_tiplist, + { + ref_key: "tiplists", + ref: tiplists + }, + null, + 512 + /* NEED_PATCH */ + ), + vue.createCommentVNode(" 零担装车 "), + vue.createVNode( + _component_PopUp, + { + ref_key: "ZeroStowage", + ref: ZeroStowage + }, + { + default: vue.withCtx(() => [ + vue.createElementVNode("scroll-view", { "scroll-y": "true" }, [ + vue.createElementVNode("view", { class: "contenbx1" }, [ + vue.createElementVNode("view", null, [ + vue.createElementVNode("text", { style: { "color": "#90A0AF" } }, "订单编号:"), + vue.createTextVNode( + vue.toDisplayString(vue.unref(details).zeroInfo.orderCode), + 1 + /* TEXT */ + ) + ]) + ]), + vue.createElementVNode("view", { class: "contenbx1" }, [ + vue.createElementVNode("view", null, [ + vue.createElementVNode("text", { style: { "color": "#90A0AF" } }, "运单号:"), + vue.createTextVNode( + vue.toDisplayString(vue.unref(details).zeroInfo.waybillNo), + 1 + /* TEXT */ + ) + ]) + ]), + vue.createElementVNode("view", { class: "contenbx1" }, [ + vue.createElementVNode("view", null, [ + vue.createElementVNode("text", { style: { "color": "#90A0AF" } }, "物料名称:"), + vue.createTextVNode( + vue.toDisplayString(vue.unref(details).zeroInfo.orderPackageCode), + 1 + /* TEXT */ + ) + ]) + ]), + vue.createElementVNode("view", { class: "flex-c-sb" }, [ + vue.createElementVNode("view", null, [ + vue.createElementVNode("text", { style: { "color": "#90A0AF" } }, "装车数:"), + vue.createTextVNode( + vue.toDisplayString(vue.unref(details).zeroInfo.num || 0), + 1 + /* TEXT */ + ) + ]), + vue.createElementVNode("view", null, [ + vue.createElementVNode("text", { style: { "color": "#90A0AF" } }, "卸车数:"), + vue.createTextVNode( + vue.toDisplayString(vue.unref(details).zeroInfo.unloadNum || 0), + 1 + /* TEXT */ + ) + ]) + ]), + vue.createVNode(_component_inputNum, { + minNum: 0, + maxNum: vue.unref(details).zeroInfo.num, + modelValue: vue.unref(details).zeroInfo.unloadNum, + "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.unref(details).zeroInfo.unloadNum = $event) + }, null, 8, ["maxNum", "modelValue"]) + ]) + ]), + _: 1 + /* STABLE */ + }, + 512 + /* NEED_PATCH */ + ), + vue.createCommentVNode(" 整托装车 "), + vue.createVNode( + _component_PopUp, + { + ref_key: "TrayStowage", + ref: TrayStowage + }, + null, + 512 + /* NEED_PATCH */ + ), + vue.createVNode(_component_saomiao2, { + ishidestop: vue.unref(scanState) !== 0 + }, null, 8, ["ishidestop"]) + ], + 64 + /* STABLE_FRAGMENT */ + ); + }; + } + }); + 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 = { + title: "自提扫描", + haveData: true, + async pullDownRefreshInitPage() { + details.current = 1; + await initpage(); + } + }; + let details = vue.reactive({ + datatime: "", + show: false, + current: 1, + size: 10, + recordsList: [] + }); + const date2 = vue.ref([]); + const basicContainer = vue.ref(null); + function showCalendar() { + details.show = !details.show; + } + function onConfirm(e) { + formatAppLog("log", "at pagesHome/pages/SelfPickupScan/SelfPickupScan.vue:125", e); + date2.value[0] = e.startDate; + date2.value[1] = e.endDate; + details.datatime = date2.value[0] + " 至 " + date2.value[1]; + } + vue.watchEffect(() => { + if (date2.value.length != 0) { + details.datatime = date2.value[0] + " 至 " + date2.value[1]; + } + }); + onLoad(() => { + date2.value[0] = uni.$u.timeFormat((/* @__PURE__ */ new Date()).valueOf() - 1e3 * 60 * 60 * 24 * 3, "yyyy-mm-dd"); + date2.value[1] = uni.$u.timeFormat((/* @__PURE__ */ new Date()).valueOf(), "yyyy-mm-dd"); + }); + onShow(() => { + uni.$off("scancodedate"); + const timer = setTimeout(() => { + basicContainer.value.startPullDownRefresh(); + clearTimeout(timer); + }, 200); + }); + function init() { + details.current = 1; + initpage(); + } + function jiazai() { + details.current++; + initpage(); + } + async function initpage() { + let data = { + current: details.current, + size: details.size, + pickUpTimeStart: date2.value[0], + pickUpTimeEnd: date2.value[1] + }; + let response = await billLadingpageList(data); + if (response.code !== 200) + return; + if (details.current == 1) { + details.recordsList = response.data.records; + } else { + if (response.data.records.lngth == 0) { + uni.showToast({ + title: "已经到底了。", + icon: "none" + }); + return; + } + details.recordsList = details.recordsList.concat(response.data.records); + } + } + function goselscan(item) { + uni.navigateTo({ + url: "/pagesHome/pages/SelfPScanList/SelfPScanList?billLadingId=" + item.billLadingId + }); + } + function goselscandetails(item) { + uni.navigateTo({ + url: "/pagesHome/pages/SelfPickupDetails/SelfPickupDetails?billLadingId=" + item.billLadingId + }); + } + function cleartime() { + details.datatime = ""; + date2.value = []; + basicContainer.value.startPullDownRefresh(); + } + 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_BasicContainer = vue.resolveComponent("BasicContainer"); + return vue.openBlock(), vue.createElementBlock( + vue.Fragment, + null, + [ + vue.createCommentVNode(` `), + vue.createVNode( + _component_BasicContainer, + { + option, + ref_key: "basicContainer", + ref: basicContainer + }, + { + head: vue.withCtx(() => [ + vue.createElementVNode("view", { class: "schbox" }, [ + vue.createElementVNode("view", null, "自提日期:"), + vue.createElementVNode("view", { + onClick: showCalendar, + class: "inputsr" + }, [ + vue.createElementVNode("input", { + value: vue.unref(datatime), + disabled: "", + placeholder: "请选择时间" + }, null, 8, ["value"]), + vue.createElementVNode("view", { + onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => { + }, ["stop", "prevent"])) + }, [ + !vue.unref(datatime) ? (vue.openBlock(), vue.createBlock(_component_u_icon, { + key: 0, + onClick: showCalendar, + style: { "margin-right": "10rpx" }, + name: "calendar", + color: "#999999", + size: "50" + })) : (vue.openBlock(), vue.createBlock(_component_u_icon, { + key: 1, + onClick: cleartime, + style: { "margin-right": "10rpx" }, + name: "close-circle", + color: "#999999", + size: "40" + })) + ]) + ]), + vue.createElementVNode("view", { onClick: init }, " 查询 ") + ]) + ]), + body: vue.withCtx(() => [ + vue.createElementVNode( + "scroll-view", + { + "scroll-y": "true", + class: "scvbx", + onScrolltolower: jiazai + }, + [ vue.createElementVNode("view", { class: "mabxslist" }, [ (vue.openBlock(true), vue.createElementBlock( vue.Fragment, @@ -13188,8 +14803,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesSelfPickupScanSelfPickupScan = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["__file", "D:/worksp/logpm/pagesHome/pages/SelfPickupScan/SelfPickupScan.vue"]]); - const _sfc_main$1q = /* @__PURE__ */ vue.defineComponent({ + const PagesHomePagesSelfPickupScanSelfPickupScan = /* @__PURE__ */ _export_sfc(_sfc_main$1x, [["__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); @@ -13554,9 +15169,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_1$4); + const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$5); const _component_BasicContainer = vue.resolveComponent("BasicContainer"); - const _component_l_calendar = resolveEasycom(vue.resolveDynamicComponent("l-calendar"), __easycom_1$3); + const _component_l_calendar = resolveEasycom(vue.resolveDynamicComponent("l-calendar"), __easycom_1$4); const _component_tiplist = vue.resolveComponent("tiplist"); const _component_tips = vue.resolveComponent("tips"); return vue.openBlock(), vue.createElementBlock( @@ -13881,8 +15496,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesLoadingScanLoadingScan = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["__file", "D:/worksp/logpm/pagesHome/pages/LoadingScan/LoadingScan.vue"]]); - const props$d = { + const PagesHomePagesLoadingScanLoadingScan = /* @__PURE__ */ _export_sfc(_sfc_main$1w, [["__file", "D:/worksp/logpm/pagesHome/pages/LoadingScan/LoadingScan.vue"]]); + const props$f = { props: { // 搜索框形状,round-圆形,square-方形 shape: { @@ -14004,9 +15619,9 @@ This will fail in production if not fixed.`); } } }; - const _sfc_main$1p = { + const _sfc_main$1v = { name: "u-search", - mixins: [mpMixin$1, mixin$1, props$d], + mixins: [mpMixin$1, mixin$1, props$f], data() { return { keyword: "", @@ -14092,8 +15707,8 @@ This will fail in production if not fixed.`); } } }; - function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) { - const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_1$4); + function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) { + const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$5); return vue.openBlock(), vue.createElementBlock( "view", { @@ -14186,8 +15801,8 @@ This will fail in production if not fixed.`); /* STYLE */ ); } - const __easycom_1$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["render", _sfc_render$n], ["__scopeId", "data-v-e082a34a"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-search/u-search.vue"]]); - const props$c = { + const __easycom_1$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["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 = { props: { // 步进器标识符,在change回调返回 name: { @@ -14296,9 +15911,9 @@ This will fail in production if not fixed.`); } } }; - const _sfc_main$1o = { + const _sfc_main$1u = { name: "u-number-box", - mixins: [mpMixin$1, mixin$1, props$c], + mixins: [mpMixin$1, mixin$1, props$e], data() { return { // 输入框实际操作的值 @@ -14325,13 +15940,13 @@ This will fail in production if not fixed.`); }, // 按钮的样式 buttonStyle() { - return (type) => { + return (type2) => { const style = { backgroundColor: this.bgColor, height: uni.$u.addUnit(this.buttonSize), color: this.color }; - if (this.isDisabled(type)) { + if (this.isDisabled(type2)) { style.backgroundColor = "#f7f8fa"; } return style; @@ -14353,8 +15968,8 @@ This will fail in production if not fixed.`); return [this.integer, this.decimalLength, this.min, this.max]; }, isDisabled() { - return (type) => { - if (type === "plus") { + return (type2) => { + if (type2 === "plus") { return this.disabled || this.disablePlus || this.currentValue >= this.max; } return this.disabled || this.disableMinus || this.currentValue <= this.min; @@ -14459,15 +16074,15 @@ This will fail in production if not fixed.`); }, onChange() { const { - type + type: type2 } = this; - if (this.isDisabled(type)) { - return this.$emit("overlimit", type); + if (this.isDisabled(type2)) { + return this.$emit("overlimit", type2); } - const diff = type === "minus" ? -this.step : +this.step; + const diff = type2 === "minus" ? -this.step : +this.step; const value = this.format(this.add(+this.currentValue, diff)); this.emitChange(value); - this.$emit(type); + this.$emit(type2); }, // 对值扩大后进行四舍五入,再除以扩大因子,避免出现浮点数操作的精度问题 add(num1, num2) { @@ -14475,8 +16090,8 @@ This will fail in production if not fixed.`); return Math.round((num1 + num2) * cardinal) / cardinal; }, // 点击加减按钮 - clickHandler(type) { - this.type = type; + clickHandler(type2) { + this.type = type2; this.onChange(); }, longPressStep() { @@ -14486,11 +16101,11 @@ This will fail in production if not fixed.`); this.longPressStep(); }, 250); }, - onTouchStart(type) { + onTouchStart(type2) { if (!this.longPress) return; this.clearTimeout(); - this.type = type; + this.type = type2; this.longPressTimer = setTimeout(() => { this.onChange(); this.longPressStep(); @@ -14509,8 +16124,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_1$4); + function _sfc_render$r(_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: "u-number-box" }, [ _ctx.showMinus && _ctx.$slots.minus ? (vue.openBlock(), vue.createElementBlock( "view", @@ -14605,8 +16220,8 @@ This will fail in production if not fixed.`); )) : vue.createCommentVNode("v-if", true) ]); } - const __easycom_2$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["render", _sfc_render$m], ["__scopeId", "data-v-eb6f6237"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-number-box/u-number-box.vue"]]); - const props$b = { + const __easycom_2$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["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 = { props: { // 是否显示组件 show: { @@ -14665,9 +16280,9 @@ This will fail in production if not fixed.`); } } }; - const _sfc_main$1n = { + const _sfc_main$1t = { name: "u-loading-icon", - mixins: [mpMixin$1, mixin$1, props$b], + mixins: [mpMixin$1, mixin$1, props$d], data() { return { // Array.form可以通过一个伪数组对象创建指定长度的数组 @@ -14725,7 +16340,7 @@ This will fail in production if not fixed.`); } } }; - function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) { + function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) { return _ctx.show ? (vue.openBlock(), vue.createElementBlock( "view", { @@ -14788,8 +16403,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$1n, [["render", _sfc_render$l], ["__scopeId", "data-v-2af81691"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-loading-icon/u-loading-icon.vue"]]); - const props$a = { + const __easycom_3$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["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 = { props: { // 是否展示组件 show: { @@ -14868,7 +16483,7 @@ This will fail in production if not fixed.`); } } }; - const _sfc_main$1m = { + const _sfc_main$1s = { name: "u-transition", data() { return { @@ -14900,7 +16515,7 @@ This will fail in production if not fixed.`); } }, // 将mixin挂在到组件中,uni.$u.mixin实际上为一个vue格式对象 - mixins: [mpMixin$1, mixin$1, transition, props$a], + mixins: [mpMixin$1, mixin$1, transition, props$c], watch: { show: { handler(newVal) { @@ -14911,7 +16526,7 @@ This will fail in production if not fixed.`); } } }; - function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) { + function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) { return $data.inited ? (vue.openBlock(), vue.createElementBlock( "view", { @@ -14929,8 +16544,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$1m, [["render", _sfc_render$k], ["__scopeId", "data-v-5cec8177"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-transition/u-transition.vue"]]); - const props$9 = { + const __easycom_0$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["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 = { props: { // 是否显示遮罩 show: { @@ -14954,9 +16569,9 @@ This will fail in production if not fixed.`); } } }; - const _sfc_main$1l = { + const _sfc_main$1r = { name: "u-overlay", - mixins: [mpMixin$1, mixin$1, props$9], + mixins: [mpMixin$1, mixin$1, props$b], computed: { overlayStyle() { const style = { @@ -14977,8 +16592,8 @@ This will fail in production if not fixed.`); } } }; - function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) { - const _component_u_transition = resolveEasycom(vue.resolveDynamicComponent("u-transition"), __easycom_0$2); + function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) { + const _component_u_transition = resolveEasycom(vue.resolveDynamicComponent("u-transition"), __easycom_0$1); return vue.openBlock(), vue.createBlock(_component_u_transition, { show: _ctx.show, "custom-class": "u-overlay", @@ -14993,8 +16608,8 @@ This will fail in production if not fixed.`); /* FORWARDED */ }, 8, ["show", "duration", "custom-style", "onClick"]); } - const __easycom_4$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["render", _sfc_render$j], ["__scopeId", "data-v-9112bed9"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-overlay/u-overlay.vue"]]); - const props$8 = { + const __easycom_4$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["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 = { props: { // 是否细边框 hairline: { @@ -15146,9 +16761,9 @@ This will fail in production if not fixed.`); } } }; - const _sfc_main$1k = { + const _sfc_main$1q = { name: "u-button", - mixins: [mpMixin$1, mixin$1, props$8], + mixins: [mpMixin$1, mixin$1, props$a], data() { return {}; }, @@ -15270,9 +16885,9 @@ This will fail in production if not fixed.`); } } }; - function _sfc_render$i(_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_1$4); + function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) { + const _component_u_loading_icon = resolveEasycom(vue.resolveDynamicComponent("u-loading-icon"), __easycom_3$2); + const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$5); return vue.openBlock(), vue.createElementBlock("button", { "hover-start-time": Number(_ctx.hoverStartTime), "hover-stay-time": Number(_ctx.hoverStayTime), @@ -15348,8 +16963,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 = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["render", _sfc_render$i], ["__scopeId", "data-v-5ce41ee6"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-button/u-button.vue"]]); - const props$7 = { + const __easycom_6 = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["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 = { props: { // 内置图标名称,或图片路径,建议绝对路径 icon: { @@ -15408,9 +17023,9 @@ This will fail in production if not fixed.`); } } }; - const _sfc_main$1j = { + const _sfc_main$1p = { name: "u-empty", - mixins: [mpMixin$1, mixin$1, props$7], + mixins: [mpMixin$1, mixin$1, props$9], data() { return { icons: { @@ -15452,8 +17067,8 @@ This will fail in production if not fixed.`); } } }; - function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) { - const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_1$4); + function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) { + const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$5); return _ctx.show ? (vue.openBlock(), vue.createElementBlock( "view", { @@ -15498,79 +17113,8 @@ This will fail in production if not fixed.`); /* STYLE */ )) : vue.createCommentVNode("v-if", true); } - const __easycom_7 = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["render", _sfc_render$h], ["__scopeId", "data-v-8dd5928e"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-empty/u-empty.vue"]]); - const props$6 = { - props: { - color: { - type: String, - default: defprops.line.color - }, - // 长度,竖向时表现为高度,横向时表现为长度,可以为百分比,带px单位的值等 - length: { - type: [String, Number], - default: defprops.line.length - }, - // 线条方向,col-竖向,row-横向 - direction: { - type: String, - default: defprops.line.direction - }, - // 是否显示细边框 - hairline: { - type: Boolean, - default: defprops.line.hairline - }, - // 线条与上下左右元素的间距,字符串形式,如"30px"、"20px 30px" - margin: { - type: [String, Number], - default: defprops.line.margin - }, - // 是否虚线,true-虚线,false-实线 - dashed: { - type: Boolean, - default: defprops.line.dashed - } - } - }; - const _sfc_main$1i = { - name: "u-line", - mixins: [mpMixin$1, mixin$1, props$6], - computed: { - lineStyle() { - const style = {}; - style.margin = this.margin; - if (this.direction === "row") { - style.borderBottomWidth = "1px"; - style.borderBottomStyle = this.dashed ? "dashed" : "solid"; - style.width = uni.$u.addUnit(this.length); - if (this.hairline) - style.transform = "scaleY(0.5)"; - } else { - style.borderLeftWidth = "1px"; - style.borderLeftStyle = this.dashed ? "dashed" : "solid"; - style.height = uni.$u.addUnit(this.length); - if (this.hairline) - style.transform = "scaleX(0.5)"; - } - style.borderColor = this.color; - return uni.$u.deepMerge(style, uni.$u.addStyle(this.customStyle)); - } - } - }; - function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) { - return vue.openBlock(), vue.createElementBlock( - "view", - { - class: "u-line", - style: vue.normalizeStyle([$options.lineStyle]) - }, - null, - 4 - /* STYLE */ - ); - } - const __easycom_0$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["render", _sfc_render$g], ["__scopeId", "data-v-72791e59"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-line/u-line.vue"]]); - const props$5 = { + const __easycom_7 = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["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 = { props: { // 标题 title: { @@ -15680,12 +17224,12 @@ This will fail in production if not fixed.`); } } }; - const _sfc_main$1h = { + const _sfc_main$1o = { name: "u-cell", data() { return {}; }, - mixins: [mpMixin$1, mixin$1, props$5], + mixins: [mpMixin$1, mixin$1, props$8], computed: { titleTextStyle() { return uni.$u.addStyle(this.titleStyle); @@ -15705,9 +17249,9 @@ This will fail in production if not fixed.`); } } }; - function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) { - const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_1$4); - const _component_u_line = resolveEasycom(vue.resolveDynamicComponent("u-line"), __easycom_0$1); + 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); return vue.openBlock(), vue.createElementBlock("view", { class: vue.normalizeClass(["u-cell", [_ctx.customClass]]), style: vue.normalizeStyle([_ctx.$u.addStyle(_ctx.customStyle)]), @@ -15798,8 +17342,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 = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["render", _sfc_render$f], ["__scopeId", "data-v-3fd6feca"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-cell/u-cell.vue"]]); - const props$4 = { + const __easycom_0 = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["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 = { props: { // 标题 title: { @@ -15858,9 +17402,9 @@ This will fail in production if not fixed.`); } } }; - const _sfc_main$1g = { + const _sfc_main$1n = { name: "u-collapse-item", - mixins: [mpMixin$1, mixin$1, props$4], + mixins: [mpMixin$1, mixin$1, props$7], data() { return { elId: uni.$u.guid(), @@ -15951,9 +17495,9 @@ This will fail in production if not fixed.`); } } }; - function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) { + function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) { const _component_u_cell = resolveEasycom(vue.resolveDynamicComponent("u-cell"), __easycom_0); - const _component_u_line = resolveEasycom(vue.resolveDynamicComponent("u-line"), __easycom_0$1); + const _component_u_line = resolveEasycom(vue.resolveDynamicComponent("u-line"), __easycom_1$3); return vue.openBlock(), vue.createElementBlock("view", { class: "u-collapse-item" }, [ vue.createVNode(_component_u_cell, { title: _ctx.title, @@ -15998,8 +17542,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$1g, [["render", _sfc_render$e], ["__scopeId", "data-v-82f3baf9"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-collapse-item/u-collapse-item.vue"]]); - const props$3 = { + const __easycom_8 = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["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 = { props: { // 当前展开面板的name,非手风琴模式:[],手风琴模式:string | number value: { @@ -16018,9 +17562,9 @@ This will fail in production if not fixed.`); } } }; - const _sfc_main$1f = { + const _sfc_main$1m = { name: "u-collapse", - mixins: [mpMixin$1, mixin$1, props$3], + mixins: [mpMixin$1, mixin$1, props$6], watch: { needInit() { this.init(); @@ -16076,15 +17620,15 @@ This will fail in production if not fixed.`); } } }; - function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) { - const _component_u_line = resolveEasycom(vue.resolveDynamicComponent("u-line"), __easycom_0$1); + function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) { + const _component_u_line = resolveEasycom(vue.resolveDynamicComponent("u-line"), __easycom_1$3); 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$1f, [["render", _sfc_render$d], ["__scopeId", "data-v-90f85a74"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-collapse/u-collapse.vue"]]); - const _sfc_main$1e = /* @__PURE__ */ vue.defineComponent({ + const __easycom_9 = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["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$1l = /* @__PURE__ */ vue.defineComponent({ __name: "loadingRetention", setup(__props) { const { scanState } = storeToRefs(useSystemSettingsStore()); @@ -16187,14 +17731,14 @@ This will fail in production if not fixed.`); formatAppLog("log", "at pagesHome/pages/loadingRetention/loadingRetention.vue:391", val, "来自搜索框的值"); QRcodeScanning(val, OrType.value); } - function QRcodeScanning(val, type) { + function QRcodeScanning(val, type2) { show.value = true; formatAppLog("log", "at pagesHome/pages/loadingRetention/loadingRetention.vue:398", "执行了此函数"); if (OrType.value == 1 || OrType.value == 2) { $_retentionScan({ deliveryId: details.items.id, barcode: val, - retentionType: type + retentionType: type2 }).then((res) => { show.value = false; formatAppLog("log", "at pagesHome/pages/loadingRetention/loadingRetention.vue:407", res, "添加获取的值============>"); @@ -16378,12 +17922,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$3); + 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$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$1); - const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_1$4); + const _component_u_loading_icon = resolveEasycom(vue.resolveDynamicComponent("u-loading-icon"), __easycom_3$2); + const _component_u_overlay = resolveEasycom(vue.resolveDynamicComponent("u-overlay"), __easycom_4$2); + const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$5); const _component_u_button = resolveEasycom(vue.resolveDynamicComponent("u-button"), __easycom_6); const _component_u_empty = resolveEasycom(vue.resolveDynamicComponent("u-empty"), __easycom_7); const _component_u_collapse_item = resolveEasycom(vue.resolveDynamicComponent("u-collapse-item"), __easycom_8); @@ -17017,8 +18561,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesLoadingRetentionLoadingRetention = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__scopeId", "data-v-0b4cf6ee"], ["__file", "D:/worksp/logpm/pagesHome/pages/loadingRetention/loadingRetention.vue"]]); - const _sfc_main$1d = /* @__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()); @@ -17816,8 +19360,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesStockUplistStockUplist = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__file", "D:/worksp/logpm/pagesHome/pages/StockUplist/StockUplist.vue"]]); - const _sfc_main$1c = /* @__PURE__ */ vue.defineComponent({ + const PagesHomePagesStockUplistStockUplist = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["__file", "D:/worksp/logpm/pagesHome/pages/StockUplist/StockUplist.vue"]]); + const _sfc_main$1j = /* @__PURE__ */ vue.defineComponent({ __name: "StockUplistScandetails", setup(__props) { const { scanState } = storeToRefs(useSystemSettingsStore()); @@ -18041,7 +19585,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$3); + const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4); const _component_tiplist = vue.resolveComponent("tiplist"); const _component_BluetoothList = vue.resolveComponent("BluetoothList"); const _component_saomiao2 = vue.resolveComponent("saomiao2"); @@ -18227,15 +19771,15 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesStockUplistScandetailsStockUplistScandetails = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["__file", "D:/worksp/logpm/pagesHome/pages/StockUplistScandetails/StockUplistScandetails.vue"]]); - const _sfc_main$1b = /* @__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$3); + const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4); return vue.openBlock(), vue.createElementBlock( vue.Fragment, null, @@ -18257,8 +19801,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesDownScanDownScan = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__file", "D:/worksp/logpm/pagesHome/pages/DownScan/DownScan.vue"]]); - const _sfc_main$1a = /* @__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); @@ -18379,9 +19923,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_1$4); + const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$5); const _component_BasicContainer = vue.resolveComponent("BasicContainer"); - const _component_l_calendar = resolveEasycom(vue.resolveDynamicComponent("l-calendar"), __easycom_1$3); + const _component_l_calendar = resolveEasycom(vue.resolveDynamicComponent("l-calendar"), __easycom_1$4); return vue.openBlock(), vue.createElementBlock( vue.Fragment, null, @@ -18650,9 +20194,9 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesSigninScanSigninScan = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__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$19 = { + const _sfc_main$1g = { props: { data: { type: Array, @@ -18788,7 +20332,7 @@ This will fail in production if not fixed.`); beforeDestroy() { } }; - function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) { + function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock( "view", { @@ -18900,8 +20444,8 @@ This will fail in production if not fixed.`); /* STYLE */ ); } - const cusSelects = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["render", _sfc_render$c], ["__scopeId", "data-v-7a3666ce"], ["__file", "D:/worksp/logpm/compoment/cus-selects-fan/cus-selects-fan.vue"]]); - const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({ + const cusSelects = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["render", _sfc_render$i], ["__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()); @@ -19520,8 +21064,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesSelfPScanListSelfPScanList = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__file", "D:/worksp/logpm/pagesHome/pages/SelfPScanList/SelfPScanList.vue"]]); - const _sfc_main$17 = { + 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 @@ -19682,7 +21226,7 @@ This will fail in production if not fixed.`); } } }; - function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) { + function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock( "view", { @@ -19696,8 +21240,8 @@ This will fail in production if not fixed.`); /* CLASS, STYLE */ ); } - const __easycom_1$1 = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_render$b], ["__scopeId", "data-v-bf970acd"], ["__file", "D:/worksp/logpm/uni_modules/uni-table/components/uni-th/uni-th.vue"]]); - const _sfc_main$16 = { + const __easycom_1$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["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$1d = { name: "TableCheckbox", emits: ["checkboxSelected"], props: { @@ -19762,7 +21306,7 @@ This will fail in production if not fixed.`); } } }; - function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) { + function _sfc_render$g(_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)) @@ -19786,8 +21330,8 @@ This will fail in production if not fixed.`); ])) ]); } - const tableCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["render", _sfc_render$a], ["__scopeId", "data-v-25e435b1"], ["__file", "D:/worksp/logpm/uni_modules/uni-table/components/uni-tr/table-checkbox.vue"]]); - const _sfc_main$15 = { + const tableCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["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$1c = { name: "uniTr", components: { tableCheckbox }, props: { @@ -19874,7 +21418,7 @@ This will fail in production if not fixed.`); } } }; - function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) { + function _sfc_render$f(_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( @@ -19897,8 +21441,8 @@ This will fail in production if not fixed.`); vue.renderSlot(_ctx.$slots, "default", {}, void 0, true) ]); } - const __easycom_2$1 = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$9], ["__scopeId", "data-v-b48b3e32"], ["__file", "D:/worksp/logpm/uni_modules/uni-table/components/uni-tr/uni-tr.vue"]]); - const _sfc_main$14 = { + const __easycom_2$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["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$1b = { name: "uniTd", options: { virtualHost: true @@ -19947,7 +21491,7 @@ This will fail in production if not fixed.`); } } }; - function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) { + function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock( vue.Fragment, null, @@ -19970,8 +21514,8 @@ This will fail in production if not fixed.`); /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */ ); } - const __easycom_3 = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$8], ["__scopeId", "data-v-edae4802"], ["__file", "D:/worksp/logpm/uni_modules/uni-table/components/uni-td/uni-td.vue"]]); - const _sfc_main$13 = { + const __easycom_3$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["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$1a = { name: "uniTable", options: { virtualHost: true @@ -20212,7 +21756,7 @@ This will fail in production if not fixed.`); } } }; - function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) { + function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock( "view", { @@ -20262,8 +21806,8 @@ This will fail in production if not fixed.`); /* CLASS */ ); } - const __easycom_4 = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$7], ["__scopeId", "data-v-c1ea9b5d"], ["__file", "D:/worksp/logpm/uni_modules/uni-table/components/uni-table/uni-table.vue"]]); - const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({ + const __easycom_4$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["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$19 = /* @__PURE__ */ vue.defineComponent({ __name: "SelfPickupDetails", setup(__props) { const { scanState } = storeToRefs(useSystemSettingsStore()); @@ -20517,8 +22061,8 @@ This will fail in production if not fixed.`); return (_ctx, _cache) => { const _component_uni_th = resolveEasycom(vue.resolveDynamicComponent("uni-th"), __easycom_1$1); const _component_uni_tr = resolveEasycom(vue.resolveDynamicComponent("uni-tr"), __easycom_2$1); - const _component_uni_td = resolveEasycom(vue.resolveDynamicComponent("uni-td"), __easycom_3); - const _component_uni_table = resolveEasycom(vue.resolveDynamicComponent("uni-table"), __easycom_4); + const _component_uni_td = resolveEasycom(vue.resolveDynamicComponent("uni-td"), __easycom_3$1); + const _component_uni_table = resolveEasycom(vue.resolveDynamicComponent("uni-table"), __easycom_4$1); const _component_BasicContainer = vue.resolveComponent("BasicContainer"); const _component_tiplist = vue.resolveComponent("tiplist"); const _component_saomiao2 = vue.resolveComponent("saomiao2"); @@ -20919,8 +22463,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesSelfPickupDetailsSelfPickupDetails = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__file", "D:/worksp/logpm/pagesHome/pages/SelfPickupDetails/SelfPickupDetails.vue"]]); - const _sfc_main$11 = /* @__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); @@ -21023,10 +22567,10 @@ This will fail in production if not fixed.`); return (_ctx, _cache) => { const _component_uni_th = resolveEasycom(vue.resolveDynamicComponent("uni-th"), __easycom_1$1); const _component_uni_tr = resolveEasycom(vue.resolveDynamicComponent("uni-tr"), __easycom_2$1); - const _component_uni_td = resolveEasycom(vue.resolveDynamicComponent("uni-td"), __easycom_3); - const _component_uni_table = resolveEasycom(vue.resolveDynamicComponent("uni-table"), __easycom_4); + const _component_uni_td = resolveEasycom(vue.resolveDynamicComponent("uni-td"), __easycom_3$1); + const _component_uni_table = resolveEasycom(vue.resolveDynamicComponent("uni-table"), __easycom_4$1); const _component_BasicContainer = vue.resolveComponent("BasicContainer"); - const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$3); + const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4); return vue.openBlock(), vue.createElementBlock( vue.Fragment, null, @@ -21407,8 +22951,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesLoadingDetailsLoadingDetails = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__file", "D:/worksp/logpm/pagesHome/pages/LoadingDetails/LoadingDetails.vue"]]); - const _sfc_main$10 = /* @__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()); @@ -22270,8 +23814,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesCustomerOrdersDetailsCustomerOrdersDetails = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__file", "D:/worksp/logpm/pagesHome/pages/CustomerOrdersDetails/CustomerOrdersDetails.vue"]]); - const _sfc_main$$ = /* @__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()); @@ -22650,8 +24194,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesDeliveryCustomerScanDeliveryCustomerScan = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__file", "D:/worksp/logpm/pagesHome/pages/DeliveryCustomerScan/DeliveryCustomerScan.vue"]]); - const _sfc_main$_ = /* @__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({ @@ -22961,7 +24505,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$3); + const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4); const _component_tiplist = vue.resolveComponent("tiplist"); return vue.openBlock(), vue.createElementBlock( vue.Fragment, @@ -23209,8 +24753,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesCustomerSignCustomerSign = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__file", "D:/worksp/logpm/pagesHome/pages/CustomerSign/CustomerSign.vue"]]); - const _sfc_main$Z = /* @__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()); @@ -23580,7 +25124,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$3); + const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4); const _component_tips = vue.resolveComponent("tips"); const _component_tiplist = vue.resolveComponent("tiplist"); const _component_saomiao2 = vue.resolveComponent("saomiao2"); @@ -24004,8 +25548,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesSignOrderScanSignOrderScan = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-fb393026"], ["__file", "D:/worksp/logpm/pagesHome/pages/signOrderScan/signOrderScan.vue"]]); - const _sfc_main$Y = /* @__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({ @@ -24082,9 +25626,9 @@ This will fail in production if not fixed.`); details.datalist = res.data.records; } } - function checktype(type, e) { - formatAppLog("log", "at pagesHome/pages/SignDetailScan/SignDetailScan.vue:198", type, e); - if (type == 1) { + function checktype(type2, e) { + formatAppLog("log", "at pagesHome/pages/SignDetailScan/SignDetailScan.vue:198", type2, e); + if (type2 == 1) { if (e == "") { details.signforStatevalue = ""; details.signforState = ""; @@ -24101,11 +25645,11 @@ 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$3); + const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4); const _component_uni_th = resolveEasycom(vue.resolveDynamicComponent("uni-th"), __easycom_1$1); const _component_uni_tr = resolveEasycom(vue.resolveDynamicComponent("uni-tr"), __easycom_2$1); - const _component_uni_td = resolveEasycom(vue.resolveDynamicComponent("uni-td"), __easycom_3); - const _component_uni_table = resolveEasycom(vue.resolveDynamicComponent("uni-table"), __easycom_4); + const _component_uni_td = resolveEasycom(vue.resolveDynamicComponent("uni-td"), __easycom_3$1); + const _component_uni_table = resolveEasycom(vue.resolveDynamicComponent("uni-table"), __easycom_4$1); return vue.openBlock(), vue.createElementBlock( vue.Fragment, null, @@ -24467,8 +26011,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesSignDetailScanSignDetailScan = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__file", "D:/worksp/logpm/pagesHome/pages/SignDetailScan/SignDetailScan.vue"]]); - const _sfc_main$X = /* @__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()); @@ -25005,8 +26549,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesSetbarcodeSetbarcode = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__file", "D:/worksp/logpm/pagesHome/pages/setbarcode/setbarcode.vue"]]); - const _sfc_main$W = /* @__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); @@ -25068,7 +26612,7 @@ This will fail in production if not fixed.`); }); } return (_ctx, _cache) => { - const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$3); + const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4); const _component_tips = vue.resolveComponent("tips"); const _component_tiplist = vue.resolveComponent("tiplist"); return vue.openBlock(), vue.createElementBlock( @@ -25148,8 +26692,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesOfflineUploadOfflineUpload = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__file", "D:/worksp/logpm/pagesHome/pages/OfflineUpload/OfflineUpload.vue"]]); - const _sfc_main$V = /* @__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()); @@ -25254,7 +26798,7 @@ This will fail in production if not fixed.`); }); } return (_ctx, _cache) => { - const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$3); + const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4); const _component_tips = vue.resolveComponent("tips"); const _component_tiplist = vue.resolveComponent("tiplist"); const _component_saomiao2 = vue.resolveComponent("saomiao2"); @@ -25336,13 +26880,13 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesCreateTaskCreateTask = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__file", "D:/worksp/logpm/pagesHome/pages/createTask/createTask.vue"]]); - const _sfc_main$U = /* @__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("订单扫描"); - function gotourl(type) { - let url2 = "/pagesHome/pages/scansorting/scansorting?type=" + type; + function gotourl(type2) { + let url2 = "/pagesHome/pages/scansorting/scansorting?type=" + type2; uni.navigateTo({ url: url2 }); @@ -25351,7 +26895,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$3); + const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4); return vue.openBlock(), vue.createElementBlock( vue.Fragment, null, @@ -25400,21 +26944,21 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesOrdersortingOrdersorting = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__file", "D:/worksp/logpm/pagesHome/pages/ordersorting/ordersorting.vue"]]); - const _sfc_main$T = /* @__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(() => { uni.$off("scancodedate"); }); - function gotourl(type) { - let url2 = "/pagesHome/pages/lnventorysortinglist/lnventorysortinglist?type=" + type; + function gotourl(type2) { + let url2 = "/pagesHome/pages/lnventorysortinglist/lnventorysortinglist?type=" + type2; uni.navigateTo({ url: url2 }); } return (_ctx, _cache) => { - const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$3); + const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4); return vue.openBlock(), vue.createElementBlock( vue.Fragment, null, @@ -25453,8 +26997,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesLnventorysortingLnventorysorting = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__file", "D:/worksp/logpm/pagesHome/pages/lnventorysorting/lnventorysorting.vue"]]); - const _sfc_main$S = /* @__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()); @@ -25641,9 +27185,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_1$4); + const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$5); const _component_BasicContainer = vue.resolveComponent("BasicContainer"); - const _component_l_calendar = resolveEasycom(vue.resolveDynamicComponent("l-calendar"), __easycom_1$3); + const _component_l_calendar = resolveEasycom(vue.resolveDynamicComponent("l-calendar"), __easycom_1$4); const _component_saomiao2 = vue.resolveComponent("saomiao2"); return vue.openBlock(), vue.createElementBlock( vue.Fragment, @@ -25854,10 +27398,10 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesScansortingScansorting = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__file", "D:/worksp/logpm/pagesHome/pages/scansorting/scansorting.vue"]]); - const _sfc_main$R = {}; - function _sfc_render$6(_ctx, _cache) { - const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$3); + const PagesHomePagesScansortingScansorting = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__file", "D:/worksp/logpm/pagesHome/pages/scansorting/scansorting.vue"]]); + const _sfc_main$Y = {}; + function _sfc_render$c(_ctx, _cache) { + const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4); return vue.openBlock(), vue.createElementBlock( vue.Fragment, null, @@ -25878,7 +27422,7 @@ This will fail in production if not fixed.`); /* STABLE_FRAGMENT */ ); } - const PagesHomePagesPeopleSortingPeopleSorting = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["render", _sfc_render$6], ["__file", "D:/worksp/logpm/pagesHome/pages/peopleSorting/peopleSorting.vue"]]); + const PagesHomePagesPeopleSortingPeopleSorting = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["render", _sfc_render$c], ["__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 = { @@ -26179,7 +27723,7 @@ This will fail in production if not fixed.`); }); })(dayjs_min); const dayjs = dayjs_minExports; - const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({ + const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({ __name: "OrderSortingDetail", setup(__props) { const { scanState } = storeToRefs(useSystemSettingsStore()); @@ -26735,8 +28279,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$3); - const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_1$4); + 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_saomiao2 = vue.resolveComponent("saomiao2"); const _component_tips = vue.resolveComponent("tips"); const _component_tiplist = vue.resolveComponent("tiplist"); @@ -27603,8 +29147,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesOrderSortingDetailOrderSortingDetail = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-ca2cce65"], ["__file", "D:/worksp/logpm/pagesHome/pages/OrderSortingDetail/OrderSortingDetail.vue"]]); - const _sfc_main$P = /* @__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([]); @@ -27664,7 +29208,7 @@ This will fail in production if not fixed.`); }); } return (_ctx, _cache) => { - const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$3); + const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4); return vue.openBlock(), vue.createElementBlock( vue.Fragment, null, @@ -27710,8 +29254,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesScanSortingTypeScanSortingType = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__file", "D:/worksp/logpm/pagesHome/pages/ScanSortingType/ScanSortingType.vue"]]); - const _sfc_main$O = /* @__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()); @@ -27920,7 +29464,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$3); + const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4); const _component_tips = vue.resolveComponent("tips"); const _component_saomiao2 = vue.resolveComponent("saomiao2"); return vue.openBlock(), vue.createElementBlock( @@ -28302,8 +29846,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesPeopleSortingDetailPeopleSortingDetail = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-e9f42dec"], ["__file", "D:/worksp/logpm/pagesHome/pages/PeopleSortingDetail/PeopleSortingDetail.vue"]]); - const _sfc_main$N = /* @__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([]); @@ -28341,7 +29885,7 @@ This will fail in production if not fixed.`); }); } return (_ctx, _cache) => { - const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$3); + const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4); return vue.openBlock(), vue.createElementBlock( vue.Fragment, null, @@ -28388,8 +29932,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesInventoryTypeInventoryType = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__file", "D:/worksp/logpm/pagesHome/pages/inventoryType/inventoryType.vue"]]); - const _sfc_main$M = /* @__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()); @@ -28457,7 +30001,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$3); + const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4); const _component_saomiao2 = vue.resolveComponent("saomiao2"); return vue.openBlock(), vue.createElementBlock( vue.Fragment, @@ -28599,8 +30143,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesInventoryDetailInventoryDetail = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__file", "D:/worksp/logpm/pagesHome/pages/inventoryDetail/inventoryDetail.vue"]]); - const _sfc_main$L = /* @__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); @@ -28670,7 +30214,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$3); + const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4); const _component_tips = vue.resolveComponent("tips"); return vue.openBlock(), vue.createElementBlock( vue.Fragment, @@ -28779,8 +30323,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesInventoryDetailListInventoryDetailList = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__file", "D:/worksp/logpm/pagesHome/pages/inventoryDetailList/inventoryDetailList.vue"]]); - const _sfc_main$K = /* @__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); @@ -28981,7 +30525,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$3); + const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4); const _component_tips = vue.resolveComponent("tips"); const _component_tiplist = vue.resolveComponent("tiplist"); return vue.openBlock(), vue.createElementBlock( @@ -29383,8 +30927,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesInventoryenterInventoryenter = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__file", "D:/worksp/logpm/pagesHome/pages/inventoryenter/inventoryenter.vue"]]); - const _sfc_main$J = /* @__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()); @@ -29584,9 +31128,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_1$4); + const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$5); const _component_BasicContainer = vue.resolveComponent("BasicContainer"); - const _component_l_calendar = resolveEasycom(vue.resolveDynamicComponent("l-calendar"), __easycom_1$3); + const _component_l_calendar = resolveEasycom(vue.resolveDynamicComponent("l-calendar"), __easycom_1$4); const _component_saomiao2 = vue.resolveComponent("saomiao2"); return vue.openBlock(), vue.createElementBlock( vue.Fragment, @@ -29755,8 +31299,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesLnventorysortinglistLnventorysortinglist = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__file", "D:/worksp/logpm/pagesHome/pages/lnventorysortinglist/lnventorysortinglist.vue"]]); - const _sfc_main$I = /* @__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); @@ -29923,7 +31467,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$3); + const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4); const _component_tips = vue.resolveComponent("tips"); return vue.openBlock(), vue.createElementBlock( vue.Fragment, @@ -30228,8 +31772,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesOrderSortingDetailListOrderSortingDetailList = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__file", "D:/worksp/logpm/pagesHome/pages/OrderSortingDetailList/OrderSortingDetailList.vue"]]); - const _sfc_main$H = /* @__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([]); @@ -30262,7 +31806,7 @@ This will fail in production if not fixed.`); }); } return (_ctx, _cache) => { - const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$3); + const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4); return vue.openBlock(), vue.createElementBlock( vue.Fragment, null, @@ -30308,8 +31852,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesScanUpTypeScanUpType = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__file", "D:/worksp/logpm/pagesHome/pages/ScanUpType/ScanUpType.vue"]]); - const _sfc_main$G = /* @__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()); @@ -30444,8 +31988,8 @@ This will fail in production if not fixed.`); } } } - function goorderdetail(item, type) { - if (type !== 1) + function goorderdetail(item, type2) { + if (type2 !== 1) return; uni.navigateTo({ url: "/pagesHome/pages/orderDetails/orderDetails?orderCode=" + item.orderCode @@ -30564,7 +32108,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$3); + const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4); const _component_saomiao2 = vue.resolveComponent("saomiao2"); const _component_tips = vue.resolveComponent("tips"); return vue.openBlock(), vue.createElementBlock( @@ -30988,8 +32532,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesScanUpScanUp = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__file", "D:/worksp/logpm/pagesHome/pages/ScanUp/ScanUp.vue"]]); - const _sfc_main$F = /* @__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("请选择移库方式"); @@ -31012,7 +32556,7 @@ This will fail in production if not fixed.`); }); } return (_ctx, _cache) => { - const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$3); + const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4); return vue.openBlock(), vue.createElementBlock( vue.Fragment, null, @@ -31078,8 +32622,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesRelocationTypeRelocationType = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__file", "D:/worksp/logpm/pagesHome/pages/RelocationType/RelocationType.vue"]]); - const _sfc_main$E = /* @__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()); @@ -31286,7 +32830,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$3); + const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4); const _component_saomiao2 = vue.resolveComponent("saomiao2"); const _component_tips = vue.resolveComponent("tips"); return vue.openBlock(), vue.createElementBlock( @@ -31820,8 +33364,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesRelocationRelocation = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__file", "D:/worksp/logpm/pagesHome/pages/Relocation/Relocation.vue"]]); - const _sfc_main$D = /* @__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([]); @@ -31848,7 +33392,7 @@ This will fail in production if not fixed.`); }); } return (_ctx, _cache) => { - const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$3); + const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4); return vue.openBlock(), vue.createElementBlock( vue.Fragment, null, @@ -31894,8 +33438,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesPeopleScanUpTypePeopleScanUpType = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__file", "D:/worksp/logpm/pagesHome/pages/PeopleScanUpType/PeopleScanUpType.vue"]]); - const _sfc_main$C = /* @__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()); @@ -32209,7 +33753,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$3); + const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4); const _component_saomiao2 = vue.resolveComponent("saomiao2"); const _component_tips = vue.resolveComponent("tips"); const _component_tiplist = vue.resolveComponent("tiplist"); @@ -33032,8 +34576,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesPeopleScanUpPeopleScanUp = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__file", "D:/worksp/logpm/pagesHome/pages/PeopleScanUp/PeopleScanUp.vue"]]); - const _sfc_main$B = /* @__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()); @@ -33366,8 +34910,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesPickingScanListPickingScanList = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__file", "D:/worksp/logpm/pagesHome/pages/PickingScanList/PickingScanList.vue"]]); - const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({ + const PagesHomePagesPickingScanListPickingScanList = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__file", "D:/worksp/logpm/pagesHome/pages/PickingScanList/PickingScanList.vue"]]); + const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({ __name: "Retention", setup(__props) { const { scanState } = storeToRefs(useSystemSettingsStore()); @@ -33428,7 +34972,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$3); + const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4); const _component_saomiao2 = vue.resolveComponent("saomiao2"); return vue.openBlock(), vue.createElementBlock( vue.Fragment, @@ -33523,8 +35067,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesRetentionRetention = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__file", "D:/worksp/logpm/pagesHome/pages/Retention/Retention.vue"]]); - const _sfc_main$z = /* @__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()); @@ -33678,7 +35222,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$3); + const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4); const _component_tips = vue.resolveComponent("tips"); const _component_saomiao2 = vue.resolveComponent("saomiao2"); return vue.openBlock(), vue.createElementBlock( @@ -34009,8 +35553,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesMergeTrayMergeTray = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__file", "D:/worksp/logpm/pagesHome/pages/MergeTray/MergeTray.vue"]]); - const _sfc_main$y = /* @__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(""); @@ -34038,7 +35582,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$3); + const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4); return vue.openBlock(), vue.createElementBlock( vue.Fragment, null, @@ -34307,8 +35851,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesMergeTrayDetailsMergeTrayDetails = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__file", "D:/worksp/logpm/pagesHome/pages/MergeTrayDetails/MergeTrayDetails.vue"]]); - const _sfc_main$x = /* @__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([]); @@ -34336,7 +35880,7 @@ This will fail in production if not fixed.`); }); } return (_ctx, _cache) => { - const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$3); + const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4); return vue.openBlock(), vue.createElementBlock( vue.Fragment, null, @@ -34382,8 +35926,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesDownGoodsTypeDownGoodsType = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__file", "D:/worksp/logpm/pagesHome/pages/DownGoodsType/DownGoodsType.vue"]]); - const _sfc_main$w = /* @__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()); @@ -34799,7 +36343,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$3); + const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4); const _component_saomiao2 = vue.resolveComponent("saomiao2"); const _component_tips = vue.resolveComponent("tips"); const _component_tiplist = vue.resolveComponent("tiplist"); @@ -35491,8 +37035,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesDownGoodsDownGoods = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__file", "D:/worksp/logpm/pagesHome/pages/DownGoods/DownGoods.vue"]]); - const _sfc_main$v = /* @__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({ @@ -35582,7 +37126,7 @@ This will fail in production if not fixed.`); }); } return (_ctx, _cache) => { - const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$3); + const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4); const _component_tiplist = vue.resolveComponent("tiplist"); return vue.openBlock(), vue.createElementBlock( vue.Fragment, @@ -35793,8 +37337,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesSetPriceSetPrice = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__file", "D:/worksp/logpm/pagesHome/pages/SetPrice/SetPrice.vue"]]); - const _sfc_main$u = /* @__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()); @@ -35933,7 +37477,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$3); + const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4); const _component_saomiao2 = vue.resolveComponent("saomiao2"); const _component_tips = vue.resolveComponent("tips"); return vue.openBlock(), vue.createElementBlock( @@ -36279,8 +37823,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesRemoveTrayRemoveTray = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-8dd39525"], ["__file", "D:/worksp/logpm/pagesHome/pages/RemoveTray/RemoveTray.vue"]]); - const _sfc_main$t = /* @__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({}); @@ -36288,7 +37832,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$3); + const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4); return vue.openBlock(), vue.createBlock(_component_u_navbar, { title: "复核", bgColor: "#D3832A", @@ -36301,8 +37845,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesCheckCheck = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__file", "D:/worksp/logpm/pagesHome/pages/Check/Check.vue"]]); - const _sfc_main$s = /* @__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()); @@ -36608,7 +38152,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$3); + const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4); const _component_tiplist = vue.resolveComponent("tiplist"); const _component_saomiao2 = vue.resolveComponent("saomiao2"); return vue.openBlock(), vue.createElementBlock( @@ -36911,15 +38455,15 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesCreateAddServeCreateAddServe = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-fee6bcca"], ["__file", "D:/worksp/logpm/pagesHome/pages/createAddServe/createAddServe.vue"]]); - const _sfc_main$r = /* @__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$3); + const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4); return vue.openBlock(), vue.createBlock(_component_u_navbar, { title: "详情", bgColor: "#D3832A", @@ -36932,8 +38476,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesOrderDetailOrderDetail = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__file", "D:/worksp/logpm/pagesHome/pages/orderDetail/orderDetail.vue"]]); - const _sfc_main$q = /* @__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()); @@ -36991,7 +38535,7 @@ This will fail in production if not fixed.`); }); formatAppLog("log", "at pagesHome/pages/RelocationAllocationId/RelocationAllocationId.vue:280", details.codenumer); }); - async function scandata(flg, type) { + async function scandata(flg, type2) { let res = null; if (details.scancode[0] === "T") { uni.showToast({ @@ -37002,7 +38546,7 @@ This will fail in production if not fixed.`); return; } if (flg) { - if (type == 1) { + if (type2 == 1) { let data = { allocationId: details.scancode }; @@ -37111,7 +38655,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$3); + const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4); const _component_saomiao2 = vue.resolveComponent("saomiao2"); const _component_tips = vue.resolveComponent("tips"); return vue.openBlock(), vue.createElementBlock( @@ -37501,8 +39045,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesRelocationAllocationIdRelocationAllocationId = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__file", "D:/worksp/logpm/pagesHome/pages/RelocationAllocationId/RelocationAllocationId.vue"]]); - const _sfc_main$p = /* @__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); @@ -37548,7 +39092,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$3); + const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4); const _component_tips = vue.resolveComponent("tips"); return vue.openBlock(), vue.createElementBlock( vue.Fragment, @@ -37771,8 +39315,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesOrderDetailsOrderDetails = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__file", "D:/worksp/logpm/pagesHome/pages/orderDetails/orderDetails.vue"]]); - const props$2 = { + const PagesHomePagesOrderDetailsOrderDetails = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__file", "D:/worksp/logpm/pagesHome/pages/orderDetails/orderDetails.vue"]]); + const props$5 = { props: { // checkbox的名称 name: { @@ -37841,9 +39385,9 @@ This will fail in production if not fixed.`); } } }; - const _sfc_main$o = { + const _sfc_main$v = { name: "u-checkbox", - mixins: [mpMixin$1, mixin$1, props$2], + mixins: [mpMixin$1, mixin$1, props$5], data() { return { isChecked: false, @@ -38003,209 +39547,2035 @@ This will fail in production if not fixed.`); } } }; - function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) { - const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_1$4); - 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( + 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$v, [["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$u = { + 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 = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["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 props$3 = { + props: { + // 绑定的值 + modelValue: { + type: [String, Number], + default: defprops.input.value + }, + // number-数字输入键盘,app-vue下可以输入浮点数,app-nvue和小程序平台下只能输入整数 + // idcard-身份证输入键盘,微信、支付宝、百度、QQ小程序 + // digit-带小数点的数字键盘,App的nvue页面、微信、支付宝、百度、头条、QQ小程序 + // text-文本输入键盘 + type: { + type: String, + default: defprops.input.type + }, + // 如果 textarea 是在一个 position:fixed 的区域,需要显示指定属性 fixed 为 true, + // 兼容性:微信小程序、百度小程序、字节跳动小程序、QQ小程序 + fixed: { + type: Boolean, + default: defprops.input.fixed + }, + // 是否禁用输入框 + disabled: { + type: Boolean, + default: defprops.input.disabled + }, + // 禁用状态时的背景色 + disabledColor: { + type: String, + default: defprops.input.disabledColor + }, + // 是否显示清除控件 + clearable: { + type: Boolean, + default: defprops.input.clearable + }, + // 是否密码类型 + password: { + type: Boolean, + default: defprops.input.password + }, + // 最大输入长度,设置为 -1 的时候不限制最大长度 + maxlength: { + type: [String, Number], + default: defprops.input.maxlength + }, + // 输入框为空时的占位符 + placeholder: { + type: String, + default: defprops.input.placeholder + }, + // 指定placeholder的样式类,注意页面或组件的style中写了scoped时,需要在类名前写/deep/ + placeholderClass: { + type: String, + default: defprops.input.placeholderClass + }, + // 指定placeholder的样式 + placeholderStyle: { + type: [String, Object], + default: defprops.input.placeholderStyle + }, + // 是否显示输入字数统计,只在 type ="text"或type ="textarea"时有效 + showWordLimit: { + type: Boolean, + default: defprops.input.showWordLimit + }, + // 设置右下角按钮的文字,有效值:send|search|next|go|done,兼容性详见uni-app文档 + // https://uniapp.dcloud.io/component/input + // https://uniapp.dcloud.io/component/textarea + confirmType: { + type: String, + default: defprops.input.confirmType + }, + // 点击键盘右下角按钮时是否保持键盘不收起,H5无效 + confirmHold: { + type: Boolean, + default: defprops.input.confirmHold + }, + // focus时,点击页面的时候不收起键盘,微信小程序有效 + holdKeyboard: { + type: Boolean, + default: defprops.input.holdKeyboard + }, + // 自动获取焦点 + // 在 H5 平台能否聚焦以及软键盘是否跟随弹出,取决于当前浏览器本身的实现。nvue 页面不支持,需使用组件的 focus()、blur() 方法控制焦点 + focus: { + type: Boolean, + default: defprops.input.focus + }, + // 键盘收起时,是否自动失去焦点,目前仅App3.0.0+有效 + autoBlur: { + type: Boolean, + default: defprops.input.autoBlur + }, + // 是否去掉 iOS 下的默认内边距,仅微信小程序,且type=textarea时有效 + disableDefaultPadding: { + type: Boolean, + default: defprops.input.disableDefaultPadding + }, + // 指定focus时光标的位置 + cursor: { + type: [String, Number], + default: defprops.input.cursor + }, + // 输入框聚焦时底部与键盘的距离 + cursorSpacing: { + type: [String, Number], + default: defprops.input.cursorSpacing + }, + // 光标起始位置,自动聚集时有效,需与selection-end搭配使用 + selectionStart: { + type: [String, Number], + default: defprops.input.selectionStart + }, + // 光标结束位置,自动聚集时有效,需与selection-start搭配使用 + selectionEnd: { + type: [String, Number], + default: defprops.input.selectionEnd + }, + // 键盘弹起时,是否自动上推页面 + adjustPosition: { + type: Boolean, + default: defprops.input.adjustPosition + }, + // 输入框内容对齐方式,可选值为:left|center|right + inputAlign: { + type: String, + default: defprops.input.inputAlign + }, + // 输入框字体的大小 + fontSize: { + type: [String, Number], + default: defprops.input.fontSize + }, + // 输入框字体颜色 + color: { + type: String, + default: defprops.input.color + }, + // 输入框前置图标 + prefixIcon: { + type: String, + default: defprops.input.prefixIcon + }, + // 前置图标样式,对象或字符串 + prefixIconStyle: { + type: [String, Object], + default: defprops.input.prefixIconStyle + }, + // 输入框后置图标 + suffixIcon: { + type: String, + default: defprops.input.suffixIcon + }, + // 后置图标样式,对象或字符串 + suffixIconStyle: { + type: [String, Object], + default: defprops.input.suffixIconStyle + }, + // 边框类型,surround-四周边框,bottom-底部边框,none-无边框 + border: { + type: String, + default: defprops.input.border + }, + // 是否只读,与disabled不同之处在于disabled会置灰组件,而readonly则不会 + readonly: { + type: Boolean, + default: defprops.input.readonly + }, + // 输入框形状,circle-圆形,square-方形 + shape: { + type: String, + default: defprops.input.shape + }, + // 用于处理或者过滤输入框内容的方法 + formatter: { + type: [Function, null], + default: defprops.input.formatter + }, + // 是否忽略组件内对文本合成系统事件的处理 + ignoreCompositionEvent: { + type: Boolean, + default: true + } + } + }; + const _sfc_main$t = { + name: "u-input", + mixins: [mpMixin$1, mixin$1, props$3], + data() { + return { + // 输入框的值 + innerValue: "", + // 是否处于获得焦点状态 + focused: false, + // value是否第一次变化,在watch中,由于加入immediate属性,会在第一次触发,此时不应该认为value发生了变化 + firstChange: true, + // value绑定值的变化是由内部还是外部引起的 + changeFromInner: false, + // 过滤处理方法 + innerFormatter: (value) => value + }; + }, + watch: { + modelValue: { + immediate: true, + handler(newVal, oldVal) { + this.innerValue = newVal; + this.firstChange = false; + this.changeFromInner = false; + } + } + }, + computed: { + // 是否显示清除控件 + isShowClear() { + const { clearable, readonly, focused, innerValue } = this; + return !!clearable && !readonly && !!focused && innerValue !== ""; + }, + // 组件的类名 + inputClass() { + let classes = [], { border, disabled, shape } = this; + border === "surround" && (classes = classes.concat(["u-border", "u-input--radius"])); + classes.push(`u-input--${shape}`); + border === "bottom" && (classes = classes.concat([ + "u-border-bottom", + "u-input--no-radius" + ])); + return classes.join(" "); + }, + // 组件的样式 + wrapperStyle() { + const style = {}; + if (this.disabled) { + style.backgroundColor = this.disabledColor; + } + if (this.border === "none") { + style.padding = "0"; + } else { + style.paddingTop = "6px"; + style.paddingBottom = "6px"; + style.paddingLeft = "9px"; + style.paddingRight = "9px"; + } + return uni.$u.deepMerge(style, uni.$u.addStyle(this.customStyle)); + }, + // 输入框的样式 + inputStyle() { + const style = { + color: this.color, + fontSize: uni.$u.addUnit(this.fontSize), + textAlign: this.inputAlign + }; + return style; + } + }, + emits: ["update:modelValue", "focus", "blur", "change", "confirm", "clear", "keyboardheightchange"], + methods: { + // 在微信小程序中,不支持将函数当做props参数,故只能通过ref形式调用 + setFormatter(e) { + this.innerFormatter = e; + }, + // 当键盘输入时,触发input事件 + onInput(e) { + let { value = "" } = e.detail || {}; + const formatter = this.formatter || this.innerFormatter; + const formatValue = formatter(value); + this.innerValue = value; + this.$nextTick(() => { + this.innerValue = formatValue; + this.valueChange(); + }); + }, + // 输入框失去焦点时触发 + onBlur(event) { + this.$emit("blur", event.detail.value); + uni.$u.sleep(50).then(() => { + this.focused = false; + }); + uni.$u.formValidate(this, "blur"); + }, + // 输入框聚焦时触发 + onFocus(event) { + this.focused = true; + this.$emit("focus"); + }, + // 点击完成按钮时触发 + onConfirm(event) { + this.$emit("confirm", this.innerValue); + }, + // 键盘高度发生变化的时候触发此事件 + // 兼容性:微信小程序2.7.0+、App 3.1.0+ + onkeyboardheightchange() { + this.$emit("keyboardheightchange"); + }, + // 内容发生变化,进行处理 + valueChange() { + const value = this.innerValue; + this.$nextTick(() => { + this.$emit("update:modelValue", value); + this.changeFromInner = true; + this.$emit("change", value); + uni.$u.formValidate(this, "change"); + }); + }, + // 点击清除控件 + onClear() { + this.innerValue = ""; + this.$nextTick(() => { + this.valueChange(); + this.$emit("clear"); + }); + }, + /** + * 在安卓nvue上,事件无法冒泡 + * 在某些时间,我们希望监听u-from-item的点击事件,此时会导致点击u-form-item内的u-input后 + * 无法触发u-form-item的点击事件,这里通过手动调用u-form-item的方法进行触发 + */ + clickHandler() { + } + } + }; + function _sfc_render$9(_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-input", $options.inputClass]), + style: vue.normalizeStyle([$options.wrapperStyle]) + }, + [ + vue.createElementVNode("view", { class: "u-input__content" }, [ + _ctx.prefixIcon || _ctx.$slots.prefix ? (vue.openBlock(), vue.createElementBlock("view", { + key: 0, + class: "u-input__content__prefix-icon" + }, [ + vue.renderSlot(_ctx.$slots, "prefix", {}, () => [ + vue.createVNode(_component_u_icon, { + name: _ctx.prefixIcon, + size: "18", + customStyle: _ctx.prefixIconStyle + }, null, 8, ["name", "customStyle"]) + ], true) + ])) : vue.createCommentVNode("v-if", true), + vue.createElementVNode("view", { + class: "u-input__content__field-wrapper", + onClick: _cache[5] || (_cache[5] = (...args) => $options.clickHandler && $options.clickHandler(...args)) + }, [ + vue.createCommentVNode(" 根据uni-app的input组件文档,H5和APP中只要声明了password参数(无论true还是false),type均失效,此时\r\n 为了防止type=number时,又存在password属性,type无效,此时需要设置password为undefined\r\n "), + vue.createElementVNode("input", { + class: "u-input__content__field-wrapper__field", + style: vue.normalizeStyle([$options.inputStyle]), + type: _ctx.type, + focus: _ctx.focus, + cursor: _ctx.cursor, + value: $data.innerValue, + "auto-blur": _ctx.autoBlur, + disabled: _ctx.disabled || _ctx.readonly, + maxlength: _ctx.maxlength, + placeholder: _ctx.placeholder, + "placeholder-style": _ctx.placeholderStyle, + "placeholder-class": _ctx.placeholderClass, + "confirm-type": _ctx.confirmType, + "confirm-hold": _ctx.confirmHold, + "hold-keyboard": _ctx.holdKeyboard, + "cursor-spacing": _ctx.cursorSpacing, + "adjust-position": _ctx.adjustPosition, + "selection-end": _ctx.selectionEnd, + "selection-start": _ctx.selectionStart, + password: _ctx.password || _ctx.type === "password" || void 0, + ignoreCompositionEvent: _ctx.ignoreCompositionEvent, + onInput: _cache[0] || (_cache[0] = (...args) => $options.onInput && $options.onInput(...args)), + onBlur: _cache[1] || (_cache[1] = (...args) => $options.onBlur && $options.onBlur(...args)), + onFocus: _cache[2] || (_cache[2] = (...args) => $options.onFocus && $options.onFocus(...args)), + onConfirm: _cache[3] || (_cache[3] = (...args) => $options.onConfirm && $options.onConfirm(...args)), + onKeyboardheightchange: _cache[4] || (_cache[4] = (...args) => $options.onkeyboardheightchange && $options.onkeyboardheightchange(...args)) + }, null, 44, ["type", "focus", "cursor", "value", "auto-blur", "disabled", "maxlength", "placeholder", "placeholder-style", "placeholder-class", "confirm-type", "confirm-hold", "hold-keyboard", "cursor-spacing", "adjust-position", "selection-end", "selection-start", "password", "ignoreCompositionEvent"]) + ]), + $options.isShowClear ? (vue.openBlock(), vue.createElementBlock("view", { + key: 1, + class: "u-input__content__clear", + onClick: _cache[6] || (_cache[6] = (...args) => $options.onClear && $options.onClear(...args)) + }, [ + vue.createVNode(_component_u_icon, { + name: "close", + size: "11", + color: "#ffffff", + customStyle: "line-height: 12px" + }) + ])) : vue.createCommentVNode("v-if", true), + _ctx.suffixIcon || _ctx.$slots.suffix ? (vue.openBlock(), vue.createElementBlock("view", { + key: 2, + class: "u-input__content__subfix-icon" + }, [ + vue.renderSlot(_ctx.$slots, "suffix", {}, () => [ + vue.createVNode(_component_u_icon, { + name: _ctx.suffixIcon, + size: "18", + customStyle: _ctx.suffixIconStyle + }, null, 8, ["name", "customStyle"]) + ], true) + ])) : vue.createCommentVNode("v-if", true) + ]) + ], + 6 + /* CLASS, STYLE */ + ); + } + const uvInput = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$9], ["__scopeId", "data-v-df79975b"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-input/u-input.vue"]]); + const _sfc_main$s = { + name: "u--input", + mixins: [mpMixin$1, props$3, mixin$1], + components: { + uvInput + } + }; + function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) { + const _component_uvInput = vue.resolveComponent("uvInput"); + return vue.openBlock(), vue.createBlock(_component_uvInput, { + modelValue: _ctx.modelValue, + "onUpdate:modelValue": _cache[0] || (_cache[0] = (e) => _ctx.$emit("update:modelValue", e)), + type: _ctx.type, + fixed: _ctx.fixed, + disabled: _ctx.disabled, + disabledColor: _ctx.disabledColor, + clearable: _ctx.clearable, + password: _ctx.password, + maxlength: _ctx.maxlength, + placeholder: _ctx.placeholder, + placeholderClass: _ctx.placeholderClass, + placeholderStyle: _ctx.placeholderStyle, + showWordLimit: _ctx.showWordLimit, + confirmType: _ctx.confirmType, + confirmHold: _ctx.confirmHold, + holdKeyboard: _ctx.holdKeyboard, + focus: _ctx.focus, + autoBlur: _ctx.autoBlur, + disableDefaultPadding: _ctx.disableDefaultPadding, + cursor: _ctx.cursor, + cursorSpacing: _ctx.cursorSpacing, + selectionStart: _ctx.selectionStart, + selectionEnd: _ctx.selectionEnd, + adjustPosition: _ctx.adjustPosition, + inputAlign: _ctx.inputAlign, + fontSize: _ctx.fontSize, + color: _ctx.color, + prefixIcon: _ctx.prefixIcon, + suffixIcon: _ctx.suffixIcon, + suffixIconStyle: _ctx.suffixIconStyle, + prefixIconStyle: _ctx.prefixIconStyle, + border: _ctx.border, + readonly: _ctx.readonly, + shape: _ctx.shape, + customStyle: _ctx.customStyle, + formatter: _ctx.formatter, + ignoreCompositionEvent: _ctx.ignoreCompositionEvent + }, { + default: vue.withCtx(() => [ + vue.renderSlot(_ctx.$slots, "prefix", { slot: "prefix" }), + vue.renderSlot(_ctx.$slots, "suffix", { slot: "suffix" }) + ]), + _: 3 + /* FORWARDED */ + }, 8, ["modelValue", "type", "fixed", "disabled", "disabledColor", "clearable", "password", "maxlength", "placeholder", "placeholderClass", "placeholderStyle", "showWordLimit", "confirmType", "confirmHold", "holdKeyboard", "focus", "autoBlur", "disableDefaultPadding", "cursor", "cursorSpacing", "selectionStart", "selectionEnd", "adjustPosition", "inputAlign", "fontSize", "color", "prefixIcon", "suffixIcon", "suffixIconStyle", "prefixIconStyle", "border", "readonly", "shape", "customStyle", "formatter", "ignoreCompositionEvent"]); + } + const __easycom_3 = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$8], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u--input/u--input.vue"]]); + const props$2 = { + props: { + // input的label提示语 + label: { + type: String, + default: defprops.formItem.label + }, + // 绑定的值 + prop: { + type: String, + default: defprops.formItem.prop + }, + // 是否显示表单域的下划线边框 + borderBottom: { + type: [String, Boolean], + default: defprops.formItem.borderBottom + }, + // label的宽度,单位px + labelWidth: { + type: [String, Number], + default: defprops.formItem.labelWidth + }, + // 右侧图标 + rightIcon: { + type: String, + default: defprops.formItem.rightIcon + }, + // 左侧图标 + leftIcon: { + type: String, + default: defprops.formItem.leftIcon + }, + // 是否显示左边的必填星号,只作显示用,具体校验必填的逻辑,请在rules中配置 + required: { + type: Boolean, + default: defprops.formItem.required + }, + leftIconStyle: { + type: [String, Object], + default: defprops.formItem.leftIconStyle + } + } + }; + const _sfc_main$r = { + name: "u-form-item", + mixins: [mpMixin$1, mixin$1, props$2], + data() { + return { + // 错误提示语 + message: "", + parentData: { + // 提示文本的位置 + labelPosition: "left", + // 提示文本对齐方式 + labelAlign: "left", + // 提示文本的样式 + labelStyle: {}, + // 提示文本的宽度 + labelWidth: 45, + // 错误提示方式 + errorType: "message" + } + }; + }, + // 组件创建完成时,将当前实例保存到u-form中 + computed: { + propsLine() { + return uni.$u.props.line; + } + }, + mounted() { + this.init(); + }, + methods: { + init() { + this.updateParentData(); + if (!this.parent) { + uni.$u.error("u-form-item需要结合u-form组件使用"); + } + }, + // 获取父组件的参数 + updateParentData() { + this.getParentData("u-form"); + }, + // 移除u-form-item的校验结果 + clearValidate() { + this.message = null; + }, + // 清空当前的组件的校验结果,并重置为初始值 + resetField() { + const value = uni.$u.getProperty(this.parent.originalModel, this.prop); + uni.$u.setProperty(this.parent.model, this.prop, value); + this.message = null; + }, + // 点击组件 + clickHandler() { + this.$emit("click"); + } + } + }; + 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); + return vue.openBlock(), vue.createElementBlock("view", { class: "u-form-item" }, [ + vue.createElementVNode( + "view", + { + class: "u-form-item__body", + onClick: _cache[0] || (_cache[0] = (...args) => $options.clickHandler && $options.clickHandler(...args)), + style: vue.normalizeStyle([_ctx.$u.addStyle(_ctx.customStyle), { + flexDirection: $data.parentData.labelPosition === "left" ? "row" : "column" + }]) + }, + [ + vue.createCommentVNode(' 微信小程序中,将一个参数设置空字符串,结果会变成字符串"true" '), + vue.renderSlot(_ctx.$slots, "label", {}, () => [ + vue.createCommentVNode(" {{required}} "), + _ctx.required || _ctx.leftIcon || _ctx.label ? (vue.openBlock(), vue.createElementBlock( + "view", + { + key: 0, + class: "u-form-item__body__left", + style: vue.normalizeStyle({ + width: _ctx.$u.addUnit(_ctx.labelWidth || $data.parentData.labelWidth), + marginBottom: $data.parentData.labelPosition === "left" ? 0 : "5px" + }) + }, + [ + vue.createCommentVNode(" 为了块对齐 "), + vue.createElementVNode("view", { class: "u-form-item__body__left__content" }, [ + vue.createCommentVNode(" nvue不支持伪元素before "), + _ctx.required ? (vue.openBlock(), vue.createElementBlock("text", { + key: 0, + class: "u-form-item__body__left__content__required" + }, "*")) : vue.createCommentVNode("v-if", true), + _ctx.leftIcon ? (vue.openBlock(), vue.createElementBlock("view", { + key: 1, + class: "u-form-item__body__left__content__icon" + }, [ + vue.createVNode(_component_u_icon, { + name: _ctx.leftIcon, + "custom-style": _ctx.leftIconStyle + }, null, 8, ["name", "custom-style"]) + ])) : vue.createCommentVNode("v-if", true), + vue.createElementVNode( + "text", + { + class: "u-form-item__body__left__content__label", + style: vue.normalizeStyle([$data.parentData.labelStyle, { + justifyContent: $data.parentData.labelAlign === "left" ? "flex-start" : $data.parentData.labelAlign === "center" ? "center" : "flex-end" + }]) + }, + vue.toDisplayString(_ctx.label), + 5 + /* TEXT, STYLE */ + ) + ]) + ], + 4 + /* STYLE */ + )) : vue.createCommentVNode("v-if", true) + ], true), + vue.createElementVNode("view", { class: "u-form-item__body__right" }, [ + vue.createElementVNode("view", { class: "u-form-item__body__right__content" }, [ + vue.createElementVNode("view", { class: "u-form-item__body__right__content__slot" }, [ + vue.renderSlot(_ctx.$slots, "default", {}, void 0, true) + ]), + _ctx.$slots.right ? (vue.openBlock(), vue.createElementBlock("view", { + key: 0, + class: "item__body__right__content__icon" + }, [ + vue.renderSlot(_ctx.$slots, "right", {}, void 0, true) + ])) : vue.createCommentVNode("v-if", true) + ]) + ]) + ], + 4 + /* STYLE */ + ), + vue.renderSlot(_ctx.$slots, "error", {}, () => [ + !!$data.message && $data.parentData.errorType === "message" ? (vue.openBlock(), vue.createElementBlock( "text", { - onClick: _cache[1] || (_cache[1] = vue.withModifiers((...args) => $options.labelClickHandler && $options.labelClickHandler(...args), ["stop"])), + key: 0, + class: "u-form-item__body__right__message", style: vue.normalizeStyle({ - color: $options.elDisabled ? $options.elInactiveColor : $options.elLabelColor, - fontSize: $options.elLabelSize, - lineHeight: $options.elLabelSize + marginLeft: _ctx.$u.addUnit($data.parentData.labelPosition === "top" ? 0 : _ctx.labelWidth || $data.parentData.labelWidth) }) }, - vue.toDisplayString(_ctx.label), + vue.toDisplayString($data.message), 5 /* TEXT, STYLE */ - ) - ], - 6 - /* CLASS, STYLE */ - ); + )) : vue.createCommentVNode("v-if", true) + ], true), + _ctx.borderBottom ? (vue.openBlock(), vue.createBlock(_component_u_line, { + key: 0, + color: $data.message && $data.parentData.errorType === "border-bottom" ? _ctx.$u.color.error : $options.propsLine.color, + customStyle: `margin-top: ${$data.message && $data.parentData.errorType === "message" ? "5px" : 0}` + }, null, 8, ["color", "customStyle"])) : vue.createCommentVNode("v-if", true) + ]); } - const __easycom_1 = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render$5], ["__scopeId", "data-v-41713600"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-checkbox/u-checkbox.vue"]]); + const __easycom_4 = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$7], ["__scopeId", "data-v-42bac3de"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-form-item/u-form-item.vue"]]); const props$1 = { 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 + // 当前form的需要验证字段的集合 + model: { + type: Object, + default: defprops.form.model }, - // 整个组件的尺寸,默认px - size: { - type: [String, Number], - default: defprops.checkboxGroup.size + // 验证规则 + rules: { + type: [Object, Function, Array], + default: defprops.form.rules }, - // 布局方式,row-横向,column-纵向 - placement: { + // 有错误时的提示方式,message-提示信息,toast-进行toast提示 + // border-bottom-下边框呈现红色,none-无提示 + errorType: { type: String, - default: defprops.checkboxGroup.placement - }, - // label的字体大小,px单位 - labelSize: { - type: [String, Number], - default: defprops.checkboxGroup.labelSize - }, - // label的字体颜色 - labelColor: { - type: [String], - default: defprops.checkboxGroup.labelColor + default: defprops.form.errorType }, - // 是否禁止点击文本操作 - labelDisabled: { + // 是否显示表单域的下划线边框 + borderBottom: { type: Boolean, - default: defprops.checkboxGroup.labelDisabled + default: defprops.form.borderBottom }, - // 图标颜色 - iconColor: { + // label的位置,left-左边,top-上边 + labelPosition: { type: String, - default: defprops.checkboxGroup.iconColor + default: defprops.form.labelPosition }, - // 图标的大小,单位px - iconSize: { + // label的宽度,单位px + labelWidth: { type: [String, Number], - default: defprops.checkboxGroup.iconSize + default: defprops.form.labelWidth }, - // 勾选图标的对齐方式,left-左边,right-右边 - iconPlacement: { + // lable字体的对齐方式 + labelAlign: { type: String, - default: defprops.checkboxGroup.iconPlacement + default: defprops.form.labelAlign }, - // 竖向配列时,是否显示下划线 - borderBottom: { - type: Boolean, - default: defprops.checkboxGroup.borderBottom + // lable的样式,对象形式 + labelStyle: { + type: Object, + default: defprops.form.labelStyle } } }; - const _sfc_main$n = { - name: "u-checkbox-group", - mixins: [mpMixin$1, mixin$1, props$1], - 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"]); + const formatRegExp = /%[sdj%]/g; + let warning = function warning2() { + }; + if (typeof process !== "undefined" && process.env && true && typeof window !== "undefined" && typeof document !== "undefined") { + warning = function warning2(type2, errors) { + if (typeof console !== "undefined" && console.warn) { + if (errors.every((e) => typeof e === "string")) { + formatAppLog("warn", "at uni_modules/uview-plus/libs/util/async-validator.js:28", type2, errors); + } + } + }; + } + function convertFieldsError(errors) { + if (!errors || !errors.length) + return null; + const fields = {}; + errors.forEach((error2) => { + const { field } = error2; + fields[field] = fields[field] || []; + fields[field].push(error2); + }); + return fields; + } + function format() { + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + let i = 1; + const f = args[0]; + const len = args.length; + if (typeof f === "function") { + return f.apply(null, args.slice(1)); + } + if (typeof f === "string") { + let str = String(f).replace(formatRegExp, (x) => { + if (x === "%%") { + return "%"; + } + if (i >= len) { + return x; + } + switch (x) { + case "%s": + return String(args[i++]); + case "%d": + return Number(args[i++]); + case "%j": + try { + return JSON.stringify(args[i++]); + } catch (_) { + return "[Circular]"; + } + break; + default: + return x; + } + }); + for (let arg = args[i]; i < len; arg = args[++i]) { + str += ` ${arg}`; } + return str; + } + return f; + } + function isNativeStringType(type2) { + return type2 === "string" || type2 === "url" || type2 === "hex" || type2 === "email" || type2 === "pattern"; + } + function isEmptyValue(value, type2) { + if (value === void 0 || value === null) { + return true; + } + if (type2 === "array" && Array.isArray(value) && !value.length) { + return true; + } + if (isNativeStringType(type2) && typeof value === "string" && !value) { + return true; + } + return false; + } + function asyncParallelArray(arr, func2, callback) { + const results = []; + let total = 0; + const arrLength = arr.length; + function count(errors) { + results.push.apply(results, errors); + total++; + if (total === arrLength) { + callback(results); + } + } + arr.forEach((a) => { + func2(a, count); + }); + } + function asyncSerialArray(arr, func2, callback) { + let index2 = 0; + const arrLength = arr.length; + function next(errors) { + if (errors && errors.length) { + callback(errors); + return; + } + const original = index2; + index2 += 1; + if (original < arrLength) { + func2(arr[original], next); + } else { + callback([]); + } + } + next([]); + } + function flattenObjArr(objArr) { + const ret = []; + Object.keys(objArr).forEach((k) => { + ret.push.apply(ret, objArr[k]); + }); + return ret; + } + function asyncMap(objArr, option, func2, callback) { + if (option.first) { + const _pending = new Promise((resolve, reject) => { + const next = function next2(errors) { + callback(errors); + return errors.length ? reject({ + errors, + fields: convertFieldsError(errors) + }) : resolve(); + }; + const flattenArr = flattenObjArr(objArr); + asyncSerialArray(flattenArr, func2, next); + }); + _pending.catch((e) => e); + return _pending; + } + let firstFields = option.firstFields || []; + if (firstFields === true) { + firstFields = Object.keys(objArr); + } + const objArrKeys = Object.keys(objArr); + const objArrLength = objArrKeys.length; + let total = 0; + const results = []; + const pending = new Promise((resolve, reject) => { + const next = function next2(errors) { + results.push.apply(results, errors); + total++; + if (total === objArrLength) { + callback(results); + return results.length ? reject({ + errors: results, + fields: convertFieldsError(results) + }) : resolve(); + } + }; + if (!objArrKeys.length) { + callback(results); + resolve(); + } + objArrKeys.forEach((key) => { + const arr = objArr[key]; + if (firstFields.indexOf(key) !== -1) { + asyncSerialArray(arr, func2, next); + } else { + asyncParallelArray(arr, func2, next); + } + }); + }); + pending.catch((e) => e); + return pending; + } + function complementError(rule) { + return function(oe) { + if (oe && oe.message) { + oe.field = oe.field || rule.fullField; + return oe; + } + return { + message: typeof oe === "function" ? oe() : oe, + field: oe.field || rule.fullField + }; + }; + } + function deepMerge$2(target, source) { + if (source) { + for (const s in source) { + if (source.hasOwnProperty(s)) { + const value = source[s]; + if (typeof value === "object" && typeof target[s] === "object") { + target[s] = { ...target[s], ...value }; + } else { + target[s] = value; + } + } + } + } + return target; + } + function required(rule, value, source, errors, options, type2) { + if (rule.required && (!source.hasOwnProperty(rule.field) || isEmptyValue(value, type2 || rule.type))) { + errors.push(format(options.messages.required, rule.fullField)); + } + } + function whitespace(rule, value, source, errors, options) { + if (/^\s+$/.test(value) || value === "") { + errors.push(format(options.messages.whitespace, rule.fullField)); + } + } + const pattern = { + // http://emailregex.com/ + email: /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/, + url: new RegExp( + "^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$", + "i" + ), + hex: /^#?([a-f0-9]{6}|[a-f0-9]{3})$/i + }; + var types = { + integer: function integer2(value) { + return /^(-)?\d+$/.test(value); }, - watch: { - // 当父组件需要子组件需要共享的参数发生了变化,手动通知子组件 - parentData: { - handler() { - if (this.children.length) { - this.children.map((child) => { - typeof child.init === "function" && child.init(); + float: function float(value) { + return /^(-)?\d+(\.\d+)?$/.test(value); + }, + array: function array2(value) { + return Array.isArray(value); + }, + regexp: function regexp2(value) { + if (value instanceof RegExp) { + return true; + } + try { + return !!new RegExp(value); + } catch (e) { + return false; + } + }, + date: function date2(value) { + return typeof value.getTime === "function" && typeof value.getMonth === "function" && typeof value.getYear === "function"; + }, + number: function number2(value) { + if (isNaN(value)) { + return false; + } + return typeof +value === "number"; + }, + object: function object2(value) { + return typeof value === "object" && !types.array(value); + }, + method: function method2(value) { + return typeof value === "function"; + }, + email: function email2(value) { + return typeof value === "string" && !!value.match(pattern.email) && value.length < 255; + }, + url: function url2(value) { + return typeof value === "string" && !!value.match(pattern.url); + }, + hex: function hex(value) { + return typeof value === "string" && !!value.match(pattern.hex); + } + }; + function type(rule, value, source, errors, options) { + if (rule.required && value === void 0) { + required(rule, value, source, errors, options); + return; + } + const custom = ["integer", "float", "array", "regexp", "object", "method", "email", "number", "date", "url", "hex"]; + const ruleType = rule.type; + if (custom.indexOf(ruleType) > -1) { + if (!types[ruleType](value)) { + errors.push(format(options.messages.types[ruleType], rule.fullField, rule.type)); + } + } else if (ruleType && typeof value !== rule.type) { + errors.push(format(options.messages.types[ruleType], rule.fullField, rule.type)); + } + } + function range$2(rule, value, source, errors, options) { + const len = typeof rule.len === "number"; + const min = typeof rule.min === "number"; + const max = typeof rule.max === "number"; + const spRegexp = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g; + let val = value; + let key = null; + const num = typeof value === "number"; + const str = typeof value === "string"; + const arr = Array.isArray(value); + if (num) { + key = "number"; + } else if (str) { + key = "string"; + } else if (arr) { + key = "array"; + } + if (!key) { + return false; + } + if (arr) { + val = value.length; + } + if (str) { + val = value.replace(spRegexp, "_").length; + } + if (len) { + if (val !== rule.len) { + errors.push(format(options.messages[key].len, rule.fullField, rule.len)); + } + } else if (min && !max && val < rule.min) { + errors.push(format(options.messages[key].min, rule.fullField, rule.min)); + } else if (max && !min && val > rule.max) { + errors.push(format(options.messages[key].max, rule.fullField, rule.max)); + } else if (min && max && (val < rule.min || val > rule.max)) { + errors.push(format(options.messages[key].range, rule.fullField, rule.min, rule.max)); + } + } + const ENUM = "enum"; + function enumerable(rule, value, source, errors, options) { + rule[ENUM] = Array.isArray(rule[ENUM]) ? rule[ENUM] : []; + if (rule[ENUM].indexOf(value) === -1) { + errors.push(format(options.messages[ENUM], rule.fullField, rule[ENUM].join(", "))); + } + } + function pattern$1(rule, value, source, errors, options) { + if (rule.pattern) { + if (rule.pattern instanceof RegExp) { + rule.pattern.lastIndex = 0; + if (!rule.pattern.test(value)) { + errors.push(format(options.messages.pattern.mismatch, rule.fullField, value, rule.pattern)); + } + } else if (typeof rule.pattern === "string") { + const _pattern = new RegExp(rule.pattern); + if (!_pattern.test(value)) { + errors.push(format(options.messages.pattern.mismatch, rule.fullField, value, rule.pattern)); + } + } + } + } + const rules = { + required, + whitespace, + type, + range: range$2, + enum: enumerable, + pattern: pattern$1 + }; + function string$1(rule, value, callback, source, options) { + const errors = []; + const validate = rule.required || !rule.required && source.hasOwnProperty(rule.field); + if (validate) { + if (isEmptyValue(value, "string") && !rule.required) { + return callback(); + } + rules.required(rule, value, source, errors, options, "string"); + if (!isEmptyValue(value, "string")) { + rules.type(rule, value, source, errors, options); + rules.range(rule, value, source, errors, options); + rules.pattern(rule, value, source, errors, options); + if (rule.whitespace === true) { + rules.whitespace(rule, value, source, errors, options); + } + } + } + callback(errors); + } + function method(rule, value, callback, source, options) { + const errors = []; + const validate = rule.required || !rule.required && source.hasOwnProperty(rule.field); + if (validate) { + if (isEmptyValue(value) && !rule.required) { + return callback(); + } + rules.required(rule, value, source, errors, options); + if (value !== void 0) { + rules.type(rule, value, source, errors, options); + } + } + callback(errors); + } + function number$1(rule, value, callback, source, options) { + const errors = []; + const validate = rule.required || !rule.required && source.hasOwnProperty(rule.field); + if (validate) { + if (value === "") { + value = void 0; + } + if (isEmptyValue(value) && !rule.required) { + return callback(); + } + rules.required(rule, value, source, errors, options); + if (value !== void 0) { + rules.type(rule, value, source, errors, options); + rules.range(rule, value, source, errors, options); + } + } + callback(errors); + } + function _boolean(rule, value, callback, source, options) { + const errors = []; + const validate = rule.required || !rule.required && source.hasOwnProperty(rule.field); + if (validate) { + if (isEmptyValue(value) && !rule.required) { + return callback(); + } + rules.required(rule, value, source, errors, options); + if (value !== void 0) { + rules.type(rule, value, source, errors, options); + } + } + callback(errors); + } + function regexp(rule, value, callback, source, options) { + const errors = []; + const validate = rule.required || !rule.required && source.hasOwnProperty(rule.field); + if (validate) { + if (isEmptyValue(value) && !rule.required) { + return callback(); + } + rules.required(rule, value, source, errors, options); + if (!isEmptyValue(value)) { + rules.type(rule, value, source, errors, options); + } + } + callback(errors); + } + function integer(rule, value, callback, source, options) { + const errors = []; + const validate = rule.required || !rule.required && source.hasOwnProperty(rule.field); + if (validate) { + if (isEmptyValue(value) && !rule.required) { + return callback(); + } + rules.required(rule, value, source, errors, options); + if (value !== void 0) { + rules.type(rule, value, source, errors, options); + rules.range(rule, value, source, errors, options); + } + } + callback(errors); + } + function floatFn(rule, value, callback, source, options) { + const errors = []; + const validate = rule.required || !rule.required && source.hasOwnProperty(rule.field); + if (validate) { + if (isEmptyValue(value) && !rule.required) { + return callback(); + } + rules.required(rule, value, source, errors, options); + if (value !== void 0) { + rules.type(rule, value, source, errors, options); + rules.range(rule, value, source, errors, options); + } + } + callback(errors); + } + function array$1(rule, value, callback, source, options) { + const errors = []; + const validate = rule.required || !rule.required && source.hasOwnProperty(rule.field); + if (validate) { + if (isEmptyValue(value, "array") && !rule.required) { + return callback(); + } + rules.required(rule, value, source, errors, options, "array"); + if (!isEmptyValue(value, "array")) { + rules.type(rule, value, source, errors, options); + rules.range(rule, value, source, errors, options); + } + } + callback(errors); + } + function object$1(rule, value, callback, source, options) { + const errors = []; + const validate = rule.required || !rule.required && source.hasOwnProperty(rule.field); + if (validate) { + if (isEmptyValue(value) && !rule.required) { + return callback(); + } + rules.required(rule, value, source, errors, options); + if (value !== void 0) { + rules.type(rule, value, source, errors, options); + } + } + callback(errors); + } + const ENUM$1 = "enum"; + function enumerable$1(rule, value, callback, source, options) { + const errors = []; + const validate = rule.required || !rule.required && source.hasOwnProperty(rule.field); + if (validate) { + if (isEmptyValue(value) && !rule.required) { + return callback(); + } + rules.required(rule, value, source, errors, options); + if (value !== void 0) { + rules[ENUM$1](rule, value, source, errors, options); + } + } + callback(errors); + } + function pattern$2(rule, value, callback, source, options) { + const errors = []; + const validate = rule.required || !rule.required && source.hasOwnProperty(rule.field); + if (validate) { + if (isEmptyValue(value, "string") && !rule.required) { + return callback(); + } + rules.required(rule, value, source, errors, options); + if (!isEmptyValue(value, "string")) { + rules.pattern(rule, value, source, errors, options); + } + } + callback(errors); + } + function date$1(rule, value, callback, source, options) { + const errors = []; + const validate = rule.required || !rule.required && source.hasOwnProperty(rule.field); + if (validate) { + if (isEmptyValue(value) && !rule.required) { + return callback(); + } + rules.required(rule, value, source, errors, options); + if (!isEmptyValue(value)) { + let dateObject; + if (typeof value === "number") { + dateObject = new Date(value); + } else { + dateObject = value; + } + rules.type(rule, dateObject, source, errors, options); + if (dateObject) { + rules.range(rule, dateObject.getTime(), source, errors, options); + } + } + } + callback(errors); + } + function required$1(rule, value, callback, source, options) { + const errors = []; + const type2 = Array.isArray(value) ? "array" : typeof value; + rules.required(rule, value, source, errors, options, type2); + callback(errors); + } + function type$1(rule, value, callback, source, options) { + const ruleType = rule.type; + const errors = []; + const validate = rule.required || !rule.required && source.hasOwnProperty(rule.field); + if (validate) { + if (isEmptyValue(value, ruleType) && !rule.required) { + return callback(); + } + rules.required(rule, value, source, errors, options, ruleType); + if (!isEmptyValue(value, ruleType)) { + rules.type(rule, value, source, errors, options); + } + } + callback(errors); + } + function any(rule, value, callback, source, options) { + const errors = []; + const validate = rule.required || !rule.required && source.hasOwnProperty(rule.field); + if (validate) { + if (isEmptyValue(value) && !rule.required) { + return callback(); + } + rules.required(rule, value, source, errors, options); + } + callback(errors); + } + const validators = { + string: string$1, + method, + number: number$1, + boolean: _boolean, + regexp, + integer, + float: floatFn, + array: array$1, + object: object$1, + enum: enumerable$1, + pattern: pattern$2, + date: date$1, + url: type$1, + hex: type$1, + email: type$1, + required: required$1, + any + }; + function newMessages() { + return { + default: "Validation error on field %s", + required: "%s is required", + enum: "%s must be one of %s", + whitespace: "%s cannot be empty", + date: { + format: "%s date %s is invalid for format %s", + parse: "%s date could not be parsed, %s is invalid ", + invalid: "%s date %s is invalid" + }, + types: { + string: "%s is not a %s", + method: "%s is not a %s (function)", + array: "%s is not an %s", + object: "%s is not an %s", + number: "%s is not a %s", + date: "%s is not a %s", + boolean: "%s is not a %s", + integer: "%s is not an %s", + float: "%s is not a %s", + regexp: "%s is not a valid %s", + email: "%s is not a valid %s", + url: "%s is not a valid %s", + hex: "%s is not a valid %s" + }, + string: { + len: "%s must be exactly %s characters", + min: "%s must be at least %s characters", + max: "%s cannot be longer than %s characters", + range: "%s must be between %s and %s characters" + }, + number: { + len: "%s must equal %s", + min: "%s cannot be less than %s", + max: "%s cannot be greater than %s", + range: "%s must be between %s and %s" + }, + array: { + len: "%s must be exactly %s in length", + min: "%s cannot be less than %s in length", + max: "%s cannot be greater than %s in length", + range: "%s must be between %s and %s in length" + }, + pattern: { + mismatch: "%s value %s does not match pattern %s" + }, + clone: function clone2() { + const cloned = JSON.parse(JSON.stringify(this)); + cloned.clone = this.clone; + return cloned; + } + }; + } + const messages = newMessages(); + function Schema(descriptor) { + this.rules = null; + this._messages = messages; + this.define(descriptor); + } + Schema.prototype = { + messages: function messages2(_messages) { + if (_messages) { + this._messages = deepMerge$2(newMessages(), _messages); + } + return this._messages; + }, + define: function define(rules2) { + if (!rules2) { + throw new Error("Cannot configure a schema with no rules"); + } + if (typeof rules2 !== "object" || Array.isArray(rules2)) { + throw new Error("Rules must be an object"); + } + this.rules = {}; + let z; + let item; + for (z in rules2) { + if (rules2.hasOwnProperty(z)) { + item = rules2[z]; + this.rules[z] = Array.isArray(item) ? item : [item]; + } + } + }, + validate: function validate(source_, o, oc) { + const _this = this; + if (o === void 0) { + o = {}; + } + if (oc === void 0) { + oc = function oc2() { + }; + } + let source = source_; + let options = o; + let callback = oc; + if (typeof options === "function") { + callback = options; + options = {}; + } + if (!this.rules || Object.keys(this.rules).length === 0) { + if (callback) { + callback(); + } + return Promise.resolve(); + } + function complete(results) { + let i; + let errors = []; + let fields = {}; + function add(e) { + if (Array.isArray(e)) { + let _errors; + errors = (_errors = errors).concat.apply(_errors, e); + } else { + errors.push(e); + } + } + for (i = 0; i < results.length; i++) { + add(results[i]); + } + if (!errors.length) { + errors = null; + fields = null; + } else { + fields = convertFieldsError(errors); + } + callback(errors, fields); + } + if (options.messages) { + let messages$1 = this.messages(); + if (messages$1 === messages) { + messages$1 = newMessages(); + } + deepMerge$2(messages$1, options.messages); + options.messages = messages$1; + } else { + options.messages = this.messages(); + } + let arr; + let value; + const series = {}; + const keys = options.keys || Object.keys(this.rules); + keys.forEach((z) => { + arr = _this.rules[z]; + value = source[z]; + arr.forEach((r) => { + let rule = r; + if (typeof rule.transform === "function") { + if (source === source_) { + source = { ...source }; + } + value = source[z] = rule.transform(value); + } + if (typeof rule === "function") { + rule = { + validator: rule + }; + } else { + rule = { ...rule }; + } + rule.validator = _this.getValidationMethod(rule); + rule.field = z; + rule.fullField = rule.fullField || z; + rule.type = _this.getType(rule); + if (!rule.validator) { + return; + } + series[z] = series[z] || []; + series[z].push({ + rule, + value, + source, + field: z + }); + }); + }); + const errorFields = {}; + return asyncMap(series, options, (data, doIt) => { + const { rule } = data; + let deep = (rule.type === "object" || rule.type === "array") && (typeof rule.fields === "object" || typeof rule.defaultField === "object"); + deep = deep && (rule.required || !rule.required && data.value); + rule.field = data.field; + function addFullfield(key, schema) { + return { ...schema, fullField: `${rule.fullField}.${key}` }; + } + function cb(e) { + if (e === void 0) { + e = []; + } + let errors = e; + if (!Array.isArray(errors)) { + errors = [errors]; + } + if (!options.suppressWarning && errors.length) { + Schema.warning("async-validator:", errors); + } + if (errors.length && rule.message) { + errors = [].concat(rule.message); + } + errors = errors.map(complementError(rule)); + if (options.first && errors.length) { + errorFields[rule.field] = 1; + return doIt(errors); + } + if (!deep) { + doIt(errors); + } else { + if (rule.required && !data.value) { + if (rule.message) { + errors = [].concat(rule.message).map(complementError(rule)); + } else if (options.error) { + errors = [options.error(rule, format(options.messages.required, rule.field))]; + } else { + errors = []; + } + return doIt(errors); + } + let fieldsSchema = {}; + if (rule.defaultField) { + for (const k in data.value) { + if (data.value.hasOwnProperty(k)) { + fieldsSchema[k] = rule.defaultField; + } + } + } + fieldsSchema = { ...fieldsSchema, ...data.rule.fields }; + for (const f in fieldsSchema) { + if (fieldsSchema.hasOwnProperty(f)) { + const fieldSchema = Array.isArray(fieldsSchema[f]) ? fieldsSchema[f] : [fieldsSchema[f]]; + fieldsSchema[f] = fieldSchema.map(addFullfield.bind(null, f)); + } + } + const schema = new Schema(fieldsSchema); + schema.messages(options.messages); + if (data.rule.options) { + data.rule.options.messages = options.messages; + data.rule.options.error = options.error; + } + schema.validate(data.value, data.rule.options || options, (errs) => { + const finalErrors = []; + if (errors && errors.length) { + finalErrors.push.apply(finalErrors, errors); + } + if (errs && errs.length) { + finalErrors.push.apply(finalErrors, errs); + } + doIt(finalErrors.length ? finalErrors : null); }); } - }, - deep: true + } + let res; + if (rule.asyncValidator) { + res = rule.asyncValidator(rule, data.value, cb, data.source, options); + } else if (rule.validator) { + res = rule.validator(rule, data.value, cb, data.source, options); + if (res === true) { + cb(); + } else if (res === false) { + cb(rule.message || `${rule.field} fails`); + } else if (res instanceof Array) { + cb(res); + } else if (res instanceof Error) { + cb(res.message); + } + } + if (res && res.then) { + res.then(() => cb(), (e) => cb(e)); + } + }, (results) => { + complete(results); + }); + }, + getType: function getType(rule) { + if (rule.type === void 0 && rule.pattern instanceof RegExp) { + rule.type = "pattern"; + } + if (typeof rule.validator !== "function" && rule.type && !validators.hasOwnProperty(rule.type)) { + throw new Error(format("Unknown rule type %s", rule.type)); + } + return rule.type || "string"; + }, + getValidationMethod: function getValidationMethod(rule) { + if (typeof rule.validator === "function") { + return rule.validator; + } + const keys = Object.keys(rule); + const messageIndex = keys.indexOf("message"); + if (messageIndex !== -1) { + keys.splice(messageIndex, 1); + } + if (keys.length === 1 && keys[0] === "required") { + return validators.required; } + return validators[this.getType(rule)] || false; + } + }; + Schema.register = function register(type2, validator) { + if (typeof validator !== "function") { + throw new Error("Cannot register a validator by type, validator is not a function"); + } + validators[type2] = validator; + }; + Schema.warning = warning; + Schema.messages = messages; + Schema.warning = function() { + }; + const _sfc_main$q = { + name: "u-form", + mixins: [mpMixin$1, mixin$1, props$1], + provide() { + return { + uForm: this + }; }, data() { - return {}; + return { + formRules: {}, + // 规则校验器 + validator: {}, + // 原始的model快照,用于resetFields方法重置表单时使用 + originalModel: null + }; + }, + watch: { + // 监听规则的变化 + rules: { + immediate: true, + handler(n) { + this.setRules(n); + } + }, + // 监听属性的变化,通知子组件u-form-item重新获取信息 + propsChange(n) { + var _a; + if ((_a = this.children) == null ? void 0 : _a.length) { + this.children.map((child) => { + typeof child.updateParentData == "function" && child.updateParentData(); + }); + } + }, + // 监听model的初始值作为重置表单的快照 + model: { + immediate: true, + handler(n) { + if (!this.originalModel) { + this.originalModel = uni.$u.deepClone(n); + } + } + } + }, + computed: { + propsChange() { + return [ + this.errorType, + this.borderBottom, + this.labelPosition, + this.labelWidth, + this.labelAlign, + this.labelStyle + ]; + } }, created() { this.children = []; }, - emits: ["update:modelValue", "change"], methods: { - // 将其他的checkbox设置为未选中的状态 - unCheckedOther(childInstance) { - const values = []; + // 手动设置校验的规则,如果规则中有函数的话,微信小程序中会过滤掉,所以只能手动调用设置规则 + setRules(rules2) { + if (Object.keys(rules2).length === 0) + return; + if (Object.keys(this.model).length === 0) { + uni.$u.error("设置rules,model必须设置!如果已经设置,请刷新页面。"); + return; + } + this.formRules = rules2; + this.validator = new Schema(rules2); + }, + // 清空所有u-form-item组件的内容,本质上是调用了u-form-item组件中的resetField()方法 + resetFields() { + this.resetModel(); + }, + // 重置model为初始值的快照 + resetModel(obj) { this.children.map((child) => { - if (child.isChecked) { - values.push(child.name); + const prop = child == null ? void 0 : child.prop; + const value = uni.$u.getProperty(this.originalModel, prop); + uni.$u.setProperty(this.model, prop, value); + }); + }, + // 清空校验结果 + clearValidate(props2) { + props2 = [].concat(props2); + this.children.map((child) => { + if (props2[0] === void 0 || props2.includes(child.prop)) { + child.message = null; } }); - this.$emit("change", values); - this.$emit("update:modelValue", values); + }, + // 对部分表单字段进行校验 + async validateField(value, callback, event = null) { + this.$nextTick(() => { + const errorsRes = []; + value = [].concat(value); + this.children.map((child) => { + const childErrors = []; + if (value.includes(child.prop)) { + const propertyVal = uni.$u.getProperty( + this.model, + child.prop + ); + const propertyChain = child.prop.split("."); + const propertyName = propertyChain[propertyChain.length - 1]; + const rule = this.formRules[child.prop]; + if (!rule) + return; + const rules2 = [].concat(rule); + for (let i = 0; i < rules2.length; i++) { + const ruleItem = rules2[i]; + const trigger = [].concat(ruleItem == null ? void 0 : ruleItem.trigger); + if (event && !trigger.includes(event)) + continue; + const validator = new Schema({ + [propertyName]: ruleItem + }); + validator.validate( + { + [propertyName]: propertyVal + }, + (errors, fields) => { + var _a; + if (uni.$u.test.array(errors)) { + errorsRes.push(...errors); + childErrors.push(...errors); + } + child.message = ((_a = childErrors[0]) == null ? void 0 : _a.message) ?? null; + } + ); + } + } + }); + typeof callback === "function" && callback(errorsRes); + }); + }, + // 校验全部数据 + validate(callback) { + if (Object.keys(this.formRules).length === 0) { + uni.$u.error("未设置rules,请看文档说明!如果已经设置,请刷新页面。"); + return; + } + return new Promise((resolve, reject) => { + this.$nextTick(() => { + const formItemProps = this.children.map( + (item) => item.prop + ); + this.validateField(formItemProps, (errors) => { + if (errors.length) { + this.errorType === "toast" && uni.$u.toast(errors[0].message); + reject(errors); + } else { + resolve(true); + } + }); + }); + }); } } }; - function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) { - return vue.openBlock(), vue.createElementBlock( - "view", - { - class: vue.normalizeClass(["u-checkbox-group", $options.bemClass]) + function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) { + return vue.openBlock(), vue.createElementBlock("view", { class: "u-form" }, [ + vue.renderSlot(_ctx.$slots, "default") + ]); + } + const uvForm = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$6], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-form/u-form.vue"]]); + const _sfc_main$p = { + name: "u--form", + mixins: [mpMixin$1, props$1, mixin$1], + components: { + uvForm + }, + created() { + this.children = []; + }, + methods: { + // 手动设置校验的规则,如果规则中有函数的话,微信小程序中会过滤掉,所以只能手动调用设置规则 + setRules(rules2) { + this.$refs.uForm.setRules(rules2); }, - [ - vue.renderSlot(_ctx.$slots, "default", {}, void 0, true) - ], - 2 - /* CLASS */ - ); + validate() { + return this.$refs.uForm.validate(); + }, + validateField(value, callback) { + return this.$refs.uForm.validateField(value, callback); + }, + resetFields() { + return this.$refs.uForm.resetFields(); + }, + clearValidate(props2) { + return this.$refs.uForm.clearValidate(props2); + }, + setMpData() { + this.$refs.uForm.children = this.children; + } + } + }; + function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) { + const _component_uvForm = vue.resolveComponent("uvForm"); + return vue.openBlock(), vue.createBlock(_component_uvForm, { + ref: "uForm", + model: _ctx.model, + rules: _ctx.rules, + errorType: _ctx.errorType, + borderBottom: _ctx.borderBottom, + labelPosition: _ctx.labelPosition, + labelWidth: _ctx.labelWidth, + labelAlign: _ctx.labelAlign, + labelStyle: _ctx.labelStyle, + customStyle: _ctx.customStyle + }, { + default: vue.withCtx(() => [ + vue.renderSlot(_ctx.$slots, "default") + ]), + _: 3 + /* FORWARDED */ + }, 8, ["model", "rules", "errorType", "borderBottom", "labelPosition", "labelWidth", "labelAlign", "labelStyle", "customStyle"]); } - const __easycom_2 = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$4], ["__scopeId", "data-v-ff0492f0"], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u-checkbox-group/u-checkbox-group.vue"]]); - const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({ + const __easycom_5 = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$5], ["__file", "D:/worksp/logpm/uni_modules/uview-plus/components/u--form/u--form.vue"]]); + const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({ __name: "orderInquiry", setup(__props) { const { scanState } = storeToRefs(useSystemSettingsStore()); @@ -38246,11 +41616,13 @@ This will fail in production if not fixed.`); ], type: 1 }); + const form = vue.ref({}); const tiplists = vue.ref(null); + const MaterialReplenishment = vue.ref(); onLoad(() => { utils.ttsspke("订单查询, 请扫描或输入包条码"); }); - onShow(() => { + onShow(async () => { uni.$off("scancodedate"); uni.$on("scancodedate", function(code2) { if (code2) { @@ -38290,7 +41662,7 @@ This will fail in production if not fixed.`); if (val.id === item.id) val.isChecked = !val.isChecked; }); - formatAppLog("log", "at pagesHome/pages/orderInquiry/orderInquiry.vue:331", packageList.value); + formatAppLog("log", "at pagesHome/pages/orderInquiry/orderInquiry.vue:362", packageList.value); }; function batchOperationBtn() { isBatchOperation.value = true; @@ -38317,7 +41689,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:363", "res :>> ", res); + formatAppLog("log", "at pagesHome/pages/orderInquiry/orderInquiry.vue:394", "res :>> ", res); tiplists.value.setdetails({ title: "请选择需要打印的包条码", isshow: true, @@ -38327,7 +41699,7 @@ This will fail in production if not fixed.`); confirmTxt: "确认选择", isonecheck: true, success: () => { - formatAppLog("log", "at pagesHome/pages/orderInquiry/orderInquiry.vue:380", "data :>> ", data); + formatAppLog("log", "at pagesHome/pages/orderInquiry/orderInquiry.vue:411", "data :>> ", data); if (!bluetoothInfo.value.name) return bluetoothList.value.setdetails({ isshow: true }); let _isReturn = false; @@ -38379,11 +41751,22 @@ This will fail in production if not fixed.`); } }); } + const handleMaterialReplenishment = () => { + const idsArr = []; + packageList.value.forEach((item) => { + if (item.isChecked) + idsArr.push(item.id); + }); + }; return (_ctx, _cache) => { - const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$3); + 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); const _component_tiplist = vue.resolveComponent("tiplist"); + const _component_u__input = resolveEasycom(vue.resolveDynamicComponent("u--input"), __easycom_3); + const _component_u_form_item = resolveEasycom(vue.resolveDynamicComponent("u-form-item"), __easycom_4); + const _component_u__form = resolveEasycom(vue.resolveDynamicComponent("u--form"), __easycom_5); + const _component_PopUp = vue.resolveComponent("PopUp"); const _component_saomiao2 = vue.resolveComponent("saomiao2"); const _component_BluetoothList = vue.resolveComponent("BluetoothList"); return vue.openBlock(), vue.createElementBlock( @@ -38601,7 +41984,11 @@ This will fail in production if not fixed.`); vue.createElementVNode("view", { class: "batchOperationBtn", onClick: batchPrint - }, "打印") + }, "打印"), + vue.createElementVNode("view", { + class: "batchOperationBtn", + onClick: handleMaterialReplenishment + }, "物料补充") ])), vue.createVNode(_component_u_checkbox_group, { modelValue: vue.unref(checkboxValue), @@ -38753,6 +42140,116 @@ This will fail in production if not fixed.`); 512 /* NEED_PATCH */ ), + vue.createVNode( + _component_PopUp, + { + ref_key: "MaterialReplenishment", + ref: MaterialReplenishment + }, + { + default: vue.withCtx(() => [ + vue.createVNode(_component_u__form, { + labelPosition: "left", + "label-width": "80px", + model: form.value, + ref: "uForm" + }, { + default: vue.withCtx(() => [ + vue.createVNode( + _component_u_form_item, + { + label: "物料名称", + borderBottom: "", + ref: "item1" + }, + { + default: vue.withCtx(() => [ + vue.createVNode(_component_u__input, { + modelValue: form.value.name, + "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => form.value.name = $event), + border: "bottom" + }, null, 8, ["modelValue"]) + ]), + _: 1 + /* STABLE */ + }, + 512 + /* NEED_PATCH */ + ), + vue.createVNode( + _component_u_form_item, + { + label: "物料名称", + borderBottom: "", + ref: "item1" + }, + { + default: vue.withCtx(() => [ + vue.createVNode(_component_u__input, { + modelValue: form.value.name, + "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => form.value.name = $event), + border: "bottom" + }, null, 8, ["modelValue"]) + ]), + _: 1 + /* STABLE */ + }, + 512 + /* NEED_PATCH */ + ), + vue.createVNode( + _component_u_form_item, + { + label: "物料名称", + borderBottom: "", + ref: "item1" + }, + { + default: vue.withCtx(() => [ + vue.createVNode(_component_u__input, { + modelValue: form.value.name, + "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => form.value.name = $event), + border: "bottom" + }, null, 8, ["modelValue"]) + ]), + _: 1 + /* STABLE */ + }, + 512 + /* NEED_PATCH */ + ), + vue.createVNode( + _component_u_form_item, + { + label: "物料名称", + borderBottom: "", + ref: "item1" + }, + { + default: vue.withCtx(() => [ + vue.createVNode(_component_u__input, { + modelValue: form.value.name, + "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => form.value.name = $event), + border: "bottom" + }, null, 8, ["modelValue"]) + ]), + _: 1 + /* STABLE */ + }, + 512 + /* NEED_PATCH */ + ) + ]), + _: 1 + /* STABLE */ + }, 8, ["model"]) + ]), + _: 1 + /* STABLE */ + }, + 512 + /* NEED_PATCH */ + ), vue.createVNode(_component_saomiao2, { ishidestop: vue.unref(scanState) !== 0 }, null, 8, ["ishidestop"]), @@ -38773,8 +42270,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesOrderInquiryOrderInquiry = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-e1375c52"], ["__file", "D:/worksp/logpm/pagesHome/pages/orderInquiry/orderInquiry.vue"]]); - const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({ + const PagesHomePagesOrderInquiryOrderInquiry = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-e1375c52"], ["__file", "D:/worksp/logpm/pagesHome/pages/orderInquiry/orderInquiry.vue"]]); + const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({ __name: "CustomerTrayDetails", setup(__props) { const { scanState } = storeToRefs(useSystemSettingsStore()); @@ -38916,7 +42413,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$3); + const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4); const _component_tiplist = vue.resolveComponent("tiplist"); const _component_saomiao2 = vue.resolveComponent("saomiao2"); return vue.openBlock(), vue.createElementBlock( @@ -39172,311 +42669,405 @@ This will fail in production if not fixed.`); }; } }); - const PagesHomePagesCustomerTrayDetailsCustomerTrayDetails = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__file", "D:/worksp/logpm/pagesHome/pages/CustomerTrayDetails/CustomerTrayDetails.vue"]]); - const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({ - __name: "StockUpListZero", - setup(__props) { - const { scanState } = storeToRefs(useSystemSettingsStore()); - const util = vue.inject("utils"); - let details = vue.reactive({ - dataList: [], - stockArticleId: "", - orderStatus: "", - reservationId: "", - stockListId: "", - allocation: "", - pallet: "", - customer: "", - stockupArea: "", - planNum: "", - scanNum: "", - trays: "", - warehouseArea: "", - orderCode: "", - scancode: "", - stockupId: "", - address: "", - isscan: false, - allocationId: "", - status: "", - typeService: "" - }); - const tiplists = vue.ref(null); - onLoad((op) => { - details.stockArticleId = op.stockArticleId; - details.status = op.status; - details.stockupId = op.stockupId; - details.orderStatus = op.orderStatus; - details.reservationId = op.reservationId; - details.allocationId = op.allocationId; - details.allocation = op.allocation; - details.pallet = op.pallet; - details.orderCode = op.orderCode; - details.typeService = op.typeService; - }); - onShow(() => { - uni.$off("scancodedate"); - uni.$on("scancodedate", function(code2) { - if (code2) { - formatAppLog("log", "at pagesHome/pages/StockUpListZero/StockUpListZero.vue:134", code2); - details.scancode = code2; - scandata(); - } - }); - initpage(); - }); - function goorderdetail(item) { - uni.navigateTo({ - url: "/pagesHome/pages/orderDetails/orderDetails?orderCode=" + item.orderCode - }); - } - function showsdqs() { - tiplists.value.setdetails({ - isshow: true, - tipstate: 1, - title: "请输入扫描的码", - placeholder: "请输入扫描的码", - inputtext: "", - success: (detail) => { - details.scancode = detail.inputtext; - scandata(); - tiplists.value.setdetails({ isshow: false }); - }, - cancel: () => { - tiplists.value.setdetails({ isshow: false }); - }, - close: () => { - tiplists.value.setdetails({ isshow: false }); - } + const PagesHomePagesCustomerTrayDetailsCustomerTrayDetails = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__file", "D:/worksp/logpm/pagesHome/pages/CustomerTrayDetails/CustomerTrayDetails.vue"]]); + const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({ + __name: "StockUpListZero", + setup(__props) { + const { scanState } = storeToRefs(useSystemSettingsStore()); + const util = vue.inject("utils"); + let details = vue.reactive({ + dataList: [], + stockArticleId: "", + orderStatus: "", + reservationId: "", + stockListId: "", + allocation: "", + pallet: "", + customer: "", + stockupArea: "", + planNum: "", + scanNum: "", + trays: "", + warehouseArea: "", + orderCode: "", + scancode: "", + stockupId: "", + address: "", + isscan: false, + allocationId: "", + status: "", + typeService: "" + }); + const tiplists = vue.ref(null); + onLoad((op) => { + details.stockArticleId = op.stockArticleId; + details.status = op.status; + details.stockupId = op.stockupId; + details.orderStatus = op.orderStatus; + details.reservationId = op.reservationId; + details.allocationId = op.allocationId; + details.allocation = op.allocation; + details.pallet = op.pallet; + details.orderCode = op.orderCode; + details.typeService = op.typeService; + }); + onShow(() => { + uni.$off("scancodedate"); + uni.$on("scancodedate", function(code2) { + if (code2) { + formatAppLog("log", "at pagesHome/pages/StockUpListZero/StockUpListZero.vue:134", code2); + details.scancode = code2; + scandata(); + } + }); + initpage(); + }); + function goorderdetail(item) { + uni.navigateTo({ + url: "/pagesHome/pages/orderDetails/orderDetails?orderCode=" + item.orderCode + }); + } + function showsdqs() { + tiplists.value.setdetails({ + isshow: true, + tipstate: 1, + title: "请输入扫描的码", + placeholder: "请输入扫描的码", + inputtext: "", + success: (detail) => { + details.scancode = detail.inputtext; + scandata(); + tiplists.value.setdetails({ isshow: false }); + }, + cancel: () => { + tiplists.value.setdetails({ isshow: false }); + }, + close: () => { + tiplists.value.setdetails({ isshow: false }); + } + }); + } + async function scandata() { + let data = { + scanType: 1, + orderCode: details.orderCode, + packetBarCode: details.scancode, + stockupArea: details.stockupArea, + reservationId: details.reservationId, + allocationId: details.allocationId, + stockupId: details.stockupId, + typeService: details.typeService + }; + let res = await distributionStockupstockupScan(data); + formatAppLog("log", "at pagesHome/pages/StockUpListZero/StockUpListZero.vue:182", res); + if (res.code == 200) { + details.isscan = true; + initpage(); + } + } + async function initpage() { + let data = { + orderStatus: details.orderStatus, + reservationId: details.reservationId, + stockArticleId: details.stockArticleId, + // stockListId:details.stockListId, + allocationId: details.allocationId, + allocation: details.allocation, + pallet: details.pallet, + stockupId: details.stockupId, + status: details.status, + typeService: details.typeService + }; + let response = await distributionStockuporderInfo(data); + if (response.code !== 200) + return; + formatAppLog("log", "at pagesHome/pages/StockUpListZero/StockUpListZero.vue:203", response); + details.dataList = response.data.packageList; + details.customer = response.data.customer; + details.stockupArea = response.data.stockupArea; + details.planNum = response.data.planNum; + details.scanNum = response.data.scanNum; + details.trays = response.data.trays; + details.warehouseArea = response.data.warehouseArea; + details.address = response.data.address; + if (Number(details.scanNum) > 0 && details.isscan) { + util.ttsspke(details.scanNum + "件"); + } + } + const { dataList } = vue.toRefs(details); + return (_ctx, _cache) => { + const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4); + const _component_tiplist = vue.resolveComponent("tiplist"); + const _component_saomiao2 = vue.resolveComponent("saomiao2"); + return vue.openBlock(), vue.createElementBlock( + vue.Fragment, + null, + [ + vue.createCommentVNode(` `), + vue.createVNode(_component_u_navbar, { + title: "备货列表", + bgColor: "#D3832A", + leftIconColor: "#ffffff", + titleStyle: "color:#ffffff", + placeholder: "", + autoBack: true, + leftIconSize: "35" + }), + vue.createElementVNode("view", { class: "head" }, [ + vue.createElementVNode("view", { class: "type1" }, [ + vue.createElementVNode( + "view", + null, + " 客户:" + vue.toDisplayString(vue.unref(details).customer), + 1 + /* TEXT */ + ), + vue.createElementVNode( + "view", + null, + " 备货区域:" + vue.toDisplayString(vue.unref(details).stockupArea), + 1 + /* TEXT */ + ) + ]), + vue.createElementVNode("view", { class: "type1" }, [ + vue.createElementVNode( + "view", + null, + " 计划件数:" + vue.toDisplayString(vue.unref(details).planNum), + 1 + /* TEXT */ + ), + vue.createElementVNode( + "view", + null, + " 扫描件数:" + vue.toDisplayString(vue.unref(details).scanNum), + 1 + /* TEXT */ + ) + ]), + vue.createElementVNode("view", { class: "type1" }, [ + vue.createElementVNode( + "view", + null, + " 库位号:" + vue.toDisplayString(vue.unref(details).warehouseArea), + 1 + /* TEXT */ + ), + vue.createElementVNode( + "view", + null, + " 托盘码:" + vue.toDisplayString(vue.unref(details).trays), + 1 + /* TEXT */ + ) + ]), + vue.createCommentVNode(' \r\n \r\n 容器件数:300\r\n \r\n \r\n 计划件数:300\r\n \r\n '), + vue.createElementVNode("view", { class: "type2" }, [ + vue.createElementVNode("view", null, [ + vue.createCommentVNode(" 完成件数:1 ") + ]), + vue.createCommentVNode(" \r\n 备货托盘:无\r\n \r\n 绑定托盘\r\n \r\n ") + ]) + ]), + vue.createElementVNode("view", { class: "butbox" }, [ + vue.createElementVNode("scroll-view", { + "scroll-y": "true", + class: "scrollv" + }, [ + vue.createElementVNode("view", { class: "mabxs" }, [ + (vue.openBlock(true), vue.createElementBlock( + vue.Fragment, + null, + vue.renderList(vue.unref(dataList), (item) => { + return vue.openBlock(), vue.createElementBlock("view", { + class: "ite", + onClick: showsdqs + }, [ + vue.createElementVNode("view", null, [ + vue.createElementVNode("view", { + onClick: vue.withModifiers(($event) => goorderdetail(item), ["stop"]) + }, "订单号:" + vue.toDisplayString(item.orderCode), 9, ["onClick"]), + vue.createElementVNode( + "view", + null, + "包条码:" + vue.toDisplayString(item.packageBarCode), + 1 + /* TEXT */ + ) + ]), + vue.createElementVNode("view", null, [ + vue.createElementVNode( + "view", + null, + "货物类型:" + vue.toDisplayString(item.goodsType == 1 ? "定制品" : ""), + 1 + /* TEXT */ + ), + vue.createElementVNode( + "view", + null, + "是否备货:" + vue.toDisplayString(item.isScanStr), + 1 + /* TEXT */ + ) + ]), + vue.createElementVNode("view", { style: { "flex": "1" } }, [ + vue.createElementVNode( + "view", + { style: { "flex": "1" } }, + "物料名称:" + vue.toDisplayString(item.materialName), + 1 + /* TEXT */ + ) + ]) + ]); + }), + 256 + /* UNKEYED_FRAGMENT */ + )) + ]) + ]) + ]), + vue.createVNode( + _component_tiplist, + { + ref_key: "tiplists", + ref: tiplists + }, + null, + 512 + /* NEED_PATCH */ + ), + vue.createVNode(_component_saomiao2, { + ishidestop: vue.unref(scanState) !== 0 + }, null, 8, ["ishidestop"]) + ], + 64 + /* STABLE_FRAGMENT */ + ); + }; + } + }); + const PagesHomePagesStockUpListZeroStockUpListZero = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__file", "D:/worksp/logpm/pagesHome/pages/StockUpListZero/StockUpListZero.vue"]]); + const _sfc_main$l = { + data() { + return { + listx: [], + key: "" + }; + }, + mounted() { + const data = []; + for (let i = 0; i < 1e4; i++) { + data.push({ + name: `Item ${i}`, + index: i, + id: `Item${i}`, + height: Math.floor(Math.random() * 100) + 100 }); } - async function scandata() { - let data = { - scanType: 1, - orderCode: details.orderCode, - packetBarCode: details.scancode, - stockupArea: details.stockupArea, - reservationId: details.reservationId, - allocationId: details.allocationId, - stockupId: details.stockupId, - typeService: details.typeService - }; - let res = await distributionStockupstockupScan(data); - formatAppLog("log", "at pagesHome/pages/StockUpListZero/StockUpListZero.vue:182", res); - if (res.code == 200) { - details.isscan = true; - initpage(); + this.listx = data; + }, + methods: { + toAssign() { + this.$refs.search.toAssign("Item999", this); + }, + toAssign1() { + this.$refs.search.toAssign("Item100", this); + }, + toAssign2() { + this.$refs.search.toAssign("Item0", this); + }, + scrolltoupper() { + const data = []; + for (let i = 0; i < 30; i++) { + data.push({ + name: `Itemc ${i}`, + index: i, + id: `Itemc${i}${Math.floor(Math.random() * 100) + 100}`, + height: Math.floor(Math.random() * 100) + 100 + }); } - } - async function initpage() { - let data = { - orderStatus: details.orderStatus, - reservationId: details.reservationId, - stockArticleId: details.stockArticleId, - // stockListId:details.stockListId, - allocationId: details.allocationId, - allocation: details.allocation, - pallet: details.pallet, - stockupId: details.stockupId, - status: details.status, - typeService: details.typeService - }; - let response = await distributionStockuporderInfo(data); - if (response.code !== 200) - return; - formatAppLog("log", "at pagesHome/pages/StockUpListZero/StockUpListZero.vue:203", response); - details.dataList = response.data.packageList; - details.customer = response.data.customer; - details.stockupArea = response.data.stockupArea; - details.planNum = response.data.planNum; - details.scanNum = response.data.scanNum; - details.trays = response.data.trays; - details.warehouseArea = response.data.warehouseArea; - details.address = response.data.address; - if (Number(details.scanNum) > 0 && details.isscan) { - util.ttsspke(details.scanNum + "件"); + setTimeout(() => { + this.$refs.search.addPage(data); + }, 1e3); + }, + refresher() { + const data = []; + for (let i = 0; i < 1e4; i++) { + data.push({ + name: `Item ${i}`, + index: i, + id: `Item${i}`, + height: Math.floor(Math.random() * 100) + 100 + }); } + setTimeout(() => { + this.listx = data; + this.$refs.search.refreshers(); + }, 2e3); } - const { dataList } = vue.toRefs(details); - return (_ctx, _cache) => { - const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$3); - const _component_tiplist = vue.resolveComponent("tiplist"); - const _component_saomiao2 = vue.resolveComponent("saomiao2"); - return vue.openBlock(), vue.createElementBlock( - vue.Fragment, - null, - [ - vue.createCommentVNode(` `), - vue.createVNode(_component_u_navbar, { - title: "备货列表", - bgColor: "#D3832A", - leftIconColor: "#ffffff", - titleStyle: "color:#ffffff", - placeholder: "", - autoBack: true, - leftIconSize: "35" - }), - vue.createElementVNode("view", { class: "head" }, [ - vue.createElementVNode("view", { class: "type1" }, [ - vue.createElementVNode( - "view", - null, - " 客户:" + vue.toDisplayString(vue.unref(details).customer), - 1 - /* TEXT */ - ), - vue.createElementVNode( - "view", - null, - " 备货区域:" + vue.toDisplayString(vue.unref(details).stockupArea), - 1 - /* TEXT */ - ) - ]), - vue.createElementVNode("view", { class: "type1" }, [ - vue.createElementVNode( - "view", - null, - " 计划件数:" + vue.toDisplayString(vue.unref(details).planNum), - 1 - /* TEXT */ - ), - vue.createElementVNode( - "view", - null, - " 扫描件数:" + vue.toDisplayString(vue.unref(details).scanNum), - 1 - /* TEXT */ - ) - ]), - vue.createElementVNode("view", { class: "type1" }, [ - vue.createElementVNode( - "view", - null, - " 库位号:" + vue.toDisplayString(vue.unref(details).warehouseArea), - 1 - /* TEXT */ - ), + } + }; + function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) { + const _component_jp_virtual_list = resolveEasycom(vue.resolveDynamicComponent("jp-virtual-list"), __easycom_0$2); + return vue.openBlock(), vue.createElementBlock("view", { class: "h100" }, [ + vue.createElementVNode("view", { style: { "line-height": "40px", "display": "flex", "justify-content": "space-between" } }, [ + vue.createElementVNode("view", { + onClick: _cache[0] || (_cache[0] = (...args) => $options.toAssign && $options.toAssign(...args)) + }, "滚动到:Item999"), + vue.createElementVNode("view", { + onClick: _cache[1] || (_cache[1] = (...args) => $options.toAssign1 && $options.toAssign1(...args)) + }, "滚动到:Item100"), + vue.createElementVNode("view", { + onClick: _cache[2] || (_cache[2] = (...args) => $options.toAssign2 && $options.toAssign2(...args)) + }, "滚动到:Item0") + ]), + vue.createVNode(_component_jp_virtual_list, { + code: "id", + class: "h100", + refresher: true, + isBackTop: "", + onScrolltoupper: $options.scrolltoupper, + onRefresher: $options.refresher, + data: $data.listx, + ref: "search" + }, { + default: vue.withCtx(({ list }) => [ + (vue.openBlock(true), vue.createElementBlock( + vue.Fragment, + null, + vue.renderList(list, (item) => { + return vue.openBlock(), vue.createElementBlock("view", { + key: item.id, + id: item.id, + ref_for: true, + ref: item.id + }, [ vue.createElementVNode( "view", - null, - " 托盘码:" + vue.toDisplayString(vue.unref(details).trays), - 1 - /* TEXT */ + { + class: "list_item", + style: vue.normalizeStyle("height:" + item.height + "rpx") + }, + vue.toDisplayString(item.id) + "随机高度:" + vue.toDisplayString(item.height), + 5 + /* TEXT, STYLE */ ) - ]), - vue.createCommentVNode(' \r\n \r\n 容器件数:300\r\n \r\n \r\n 计划件数:300\r\n \r\n '), - vue.createElementVNode("view", { class: "type2" }, [ - vue.createElementVNode("view", null, [ - vue.createCommentVNode(" 完成件数:1 ") - ]), - vue.createCommentVNode(" \r\n 备货托盘:无\r\n \r\n 绑定托盘\r\n \r\n ") - ]) - ]), - vue.createElementVNode("view", { class: "butbox" }, [ - vue.createElementVNode("scroll-view", { - "scroll-y": "true", - class: "scrollv" - }, [ - vue.createElementVNode("view", { class: "mabxs" }, [ - (vue.openBlock(true), vue.createElementBlock( - vue.Fragment, - null, - vue.renderList(vue.unref(dataList), (item) => { - return vue.openBlock(), vue.createElementBlock("view", { - class: "ite", - onClick: showsdqs - }, [ - vue.createElementVNode("view", null, [ - vue.createElementVNode("view", { - onClick: vue.withModifiers(($event) => goorderdetail(item), ["stop"]) - }, "订单号:" + vue.toDisplayString(item.orderCode), 9, ["onClick"]), - vue.createElementVNode( - "view", - null, - "包条码:" + vue.toDisplayString(item.packageBarCode), - 1 - /* TEXT */ - ) - ]), - vue.createElementVNode("view", null, [ - vue.createElementVNode( - "view", - null, - "货物类型:" + vue.toDisplayString(item.goodsType == 1 ? "定制品" : ""), - 1 - /* TEXT */ - ), - vue.createElementVNode( - "view", - null, - "是否备货:" + vue.toDisplayString(item.isScanStr), - 1 - /* TEXT */ - ) - ]), - vue.createElementVNode("view", { style: { "flex": "1" } }, [ - vue.createElementVNode( - "view", - { style: { "flex": "1" } }, - "物料名称:" + vue.toDisplayString(item.materialName), - 1 - /* TEXT */ - ) - ]) - ]); - }), - 256 - /* UNKEYED_FRAGMENT */ - )) - ]) - ]) - ]), - vue.createVNode( - _component_tiplist, - { - ref_key: "tiplists", - ref: tiplists - }, - null, - 512 - /* NEED_PATCH */ - ), - vue.createVNode(_component_saomiao2, { - ishidestop: vue.unref(scanState) !== 0 - }, null, 8, ["ishidestop"]) - ], - 64 - /* STABLE_FRAGMENT */ - ); - }; - } - }); - const PagesHomePagesStockUpListZeroStockUpListZero = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__file", "D:/worksp/logpm/pagesHome/pages/StockUpListZero/StockUpListZero.vue"]]); - const _sfc_main$j = {}; - function _sfc_render$3(_ctx, _cache) { - const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$3); - return vue.openBlock(), vue.createElementBlock( - vue.Fragment, - null, - [ - vue.createVNode(_component_u_navbar, { - title: "关于我们", - bgColor: "#D3832A", - leftIconColor: "#ffffff", - titleStyle: "color:#ffffff", - placeholder: "", - autoBack: true, - leftIconSize: "35" - }), - vue.createElementVNode("view") - ], - 64 - /* STABLE_FRAGMENT */ - ); + ], 8, ["id"]); + }), + 128 + /* KEYED_FRAGMENT */ + )) + ]), + _: 1 + /* STABLE */ + }, 8, ["onScrolltoupper", "onRefresher", "data"]) + ]); } - const PagesUserPagesAboutAbout = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$3], ["__file", "D:/worksp/logpm/pagesUser/pages/about/about.vue"]]); - const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({ + const PagesUserPagesAboutAbout = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$4], ["__file", "D:/worksp/logpm/pagesUser/pages/about/about.vue"]]); + const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({ __name: "systemSettings", setup(__props) { const systemSettingsStore = useSystemSettingsStore(); @@ -39503,8 +43094,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$3); - const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_1$4); + const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4); + const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$5); return vue.openBlock(), vue.createElementBlock("view", { class: "container" }, [ vue.createVNode(_component_u_navbar, { title: "系统设置", @@ -39548,8 +43139,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesUserPagesSystemSettingsSystemSettings = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-e03137f9"], ["__file", "D:/worksp/logpm/pagesUser/pages/systemSettings/systemSettings.vue"]]); - const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({ + const PagesUserPagesSystemSettingsSystemSettings = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-e03137f9"], ["__file", "D:/worksp/logpm/pagesUser/pages/systemSettings/systemSettings.vue"]]); + const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({ __name: "dynamicCheck", setup(__props) { const details = vue.reactive({ @@ -39763,8 +43354,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesTaskPagesDynamicCheckDynamicCheck = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__file", "D:/worksp/logpm/pagesTask/pages/dynamicCheck/dynamicCheck.vue"]]); - const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({ + const PagesTaskPagesDynamicCheckDynamicCheck = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__file", "D:/worksp/logpm/pagesTask/pages/dynamicCheck/dynamicCheck.vue"]]); + const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({ __name: "checkTaskList", setup(__props) { const { scanState } = storeToRefs(useSystemSettingsStore()); @@ -40105,7 +43696,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$3); + const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4); const _component_saomiao2 = vue.resolveComponent("saomiao2"); return vue.openBlock(), vue.createElementBlock( vue.Fragment, @@ -40434,12 +44025,12 @@ This will fail in production if not fixed.`); }; } }); - const PagesTaskPagesCheckTaskListCheckTaskList = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-ab53b22c"], ["__file", "D:/worksp/logpm/pagesTask/pages/checkTaskList/checkTaskList.vue"]]); + const PagesTaskPagesCheckTaskListCheckTaskList = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-ab53b22c"], ["__file", "D:/worksp/logpm/pagesTask/pages/checkTaskList/checkTaskList.vue"]]); const _imports_0$1 = "/static/ck.png"; const _imports_1$1 = "/static/nock.png"; const _imports_1 = "/static/check.png"; const _imports_0 = "/static/nocheck.png"; - const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({ + const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({ __name: "dynamicCheckDetails", setup(__props) { const { scanState } = storeToRefs(useSystemSettingsStore()); @@ -42648,8 +46239,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesTaskPagesDynamicCheckDetailsDynamicCheckDetails = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-5a4729ce"], ["__file", "D:/worksp/logpm/pagesTask/pages/dynamicCheckDetails/dynamicCheckDetails.vue"]]); - const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({ + const PagesTaskPagesDynamicCheckDetailsDynamicCheckDetails = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-5a4729ce"], ["__file", "D:/worksp/logpm/pagesTask/pages/dynamicCheckDetails/dynamicCheckDetails.vue"]]); + const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({ __name: "storageLocationCheckDetails", setup(__props) { const { scanState } = storeToRefs(useSystemSettingsStore()); @@ -43943,8 +47534,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesTaskPagesStorageLocationCheckDetailsStorageLocationCheckDetails = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-683b534e"], ["__file", "D:/worksp/logpm/pagesTask/pages/storageLocationCheckDetails/storageLocationCheckDetails.vue"]]); - const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({ + const PagesTaskPagesStorageLocationCheckDetailsStorageLocationCheckDetails = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-683b534e"], ["__file", "D:/worksp/logpm/pagesTask/pages/storageLocationCheckDetails/storageLocationCheckDetails.vue"]]); + const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({ __name: "trayCheckDetails", setup(__props) { const { scanState } = storeToRefs(useSystemSettingsStore()); @@ -44884,8 +48475,8 @@ This will fail in production if not fixed.`); }; } }); - const PagesTaskPagesTrayCheckDetailsTrayCheckDetails = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-99e79307"], ["__file", "D:/worksp/logpm/pagesTask/pages/trayCheckDetails/trayCheckDetails.vue"]]); - const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({ + const PagesTaskPagesTrayCheckDetailsTrayCheckDetails = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-99e79307"], ["__file", "D:/worksp/logpm/pagesTask/pages/trayCheckDetails/trayCheckDetails.vue"]]); + const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({ __name: "contracts", setup(__props) { const { scanState } = storeToRefs(useSystemSettingsStore()); @@ -46087,7 +49678,7 @@ This will fail in production if not fixed.`); }; } }); - const PagesTaskPagesContractsContracts = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-4e527f5b"], ["__file", "D:/worksp/logpm/pagesTask/pages/contracts/contracts.vue"]]); + const PagesTaskPagesContractsContracts = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-4e527f5b"], ["__file", "D:/worksp/logpm/pagesTask/pages/contracts/contracts.vue"]]); __definePage("pages/login/login", PagesLoginLogin); __definePage("pages/index/index", PagesIndexIndex); __definePage("pages/user/user", PagesUserUser); @@ -46100,6 +49691,7 @@ This will fail in production if not fixed.`); __definePage("pagesHome/pages/RelayScanList/RelayScanList", PagesHomePagesRelayScanListRelayScanList); __definePage("pagesHome/pages/codePlateBracket/codePlateBracket", PagesHomePagesCodePlateBracketCodePlateBracket); __definePage("pagesHome/pages/ArrivalList/ArrivalList", PagesHomePagesArrivalListArrivalList); + __definePage("pagesHome/pages/VehicleArrivalDetails/VehicleArrivalDetails", PagesHomePagesVehicleArrivalDetailsVehicleArrivalDetails); __definePage("pagesHome/pages/SelfPickupScan/SelfPickupScan", PagesHomePagesSelfPickupScanSelfPickupScan); __definePage("pagesHome/pages/LoadingScan/LoadingScan", PagesHomePagesLoadingScanLoadingScan); __definePage("pagesHome/pages/loadingRetention/loadingRetention", PagesHomePagesLoadingRetentionLoadingRetention); @@ -46161,7 +49753,7 @@ This will fail in production if not fixed.`); __definePage("pagesTask/pages/storageLocationCheckDetails/storageLocationCheckDetails", PagesTaskPagesStorageLocationCheckDetailsStorageLocationCheckDetails); __definePage("pagesTask/pages/trayCheckDetails/trayCheckDetails", PagesTaskPagesTrayCheckDetailsTrayCheckDetails); __definePage("pagesTask/pages/contracts/contracts", PagesTaskPagesContractsContracts); - const _sfc_main$b = { + const _sfc_main$d = { setup() { onLaunch(() => { const utils2 = vue.inject("utils"); @@ -46176,7 +49768,7 @@ This will fail in production if not fixed.`); return {}; } }; - const App = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__file", "D:/worksp/logpm/App.vue"]]); + const App = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__file", "D:/worksp/logpm/App.vue"]]); const mixin = { // 定义每个组件都可能需要用到的外部样式以及类名 props: { @@ -46519,10 +50111,10 @@ This will fail in production if not fixed.`); return config3; }; const mergeConfig = (globalsConfig, config2 = {}) => { - const method = config2.method || globalsConfig.method || "GET"; + const method2 = config2.method || globalsConfig.method || "GET"; let config3 = { baseURL: globalsConfig.baseURL || "", - method, + method: method2, url: config2.url || "", params: config2.params || {}, custom: { ...globalsConfig.custom || {}, ...config2.custom || {} }, @@ -46530,13 +50122,13 @@ This will fail in production if not fixed.`); }; const defaultToConfig2Keys = ["getTask", "validateStatus"]; config3 = { ...config3, ...mergeKeys(defaultToConfig2Keys, globalsConfig, config2) }; - if (method === "DOWNLOAD") { + if (method2 === "DOWNLOAD") { if (!isUndefined(config2.timeout)) { config3.timeout = config2.timeout; } else if (!isUndefined(globalsConfig.timeout)) { config3.timeout = globalsConfig.timeout; } - } else if (method === "UPLOAD") { + } else if (method2 === "UPLOAD") { delete config3.header["content-type"]; delete config3.header["Content-Type"]; const uploadKeys = [ @@ -46582,8 +50174,8 @@ This will fail in production if not fixed.`); } }; var clone = function() { - function _instanceof(obj, type) { - return type != null && obj instanceof type; + function _instanceof(obj, type2) { + return type2 != null && obj instanceof type2; } var nativeMap; try { @@ -46949,7 +50541,7 @@ This will fail in production if not fixed.`); openPage(config2) { const { url: url2, - type, + type: type2, delta, animationType, animationDuration @@ -47564,7 +51156,7 @@ This will fail in production if not fixed.`); } return formatStr; } - function timeFrom(timestamp = null, format = "yyyy-mm-dd") { + function timeFrom(timestamp = null, format2 = "yyyy-mm-dd") { if (timestamp == null) timestamp = Number(/* @__PURE__ */ new Date()); timestamp = parseInt(timestamp); @@ -47587,14 +51179,14 @@ This will fail in production if not fixed.`); tips2 = `${parseInt(timer / 86400)}天前`; break; default: - if (format === false) { + if (format2 === false) { if (timer >= 2592e3 && timer < 365 * 86400) { tips2 = `${parseInt(timer / (86400 * 30))}个月前`; } else { tips2 = `${parseInt(timer / (86400 * 365))}年前`; } } else { - tips2 = timeFormat(timestamp, format); + tips2 = timeFormat(timestamp, format2); } } return tips2; @@ -47667,11 +51259,11 @@ This will fail in production if not fixed.`); duration }); } - function type2icon(type = "success", fill = false) { - if (["primary", "info", "error", "warning", "success"].indexOf(type) == -1) - type = "success"; + function type2icon(type2 = "success", fill = false) { + if (["primary", "info", "error", "warning", "success"].indexOf(type2) == -1) + type2 = "success"; let iconName = ""; - switch (type) { + switch (type2) { case "primary": iconName = "info-circle"; break; @@ -48869,7 +52461,7 @@ This will fail in production if not fixed.`); speed: 80 } }; - const ScrollList = { + const ScrollList$1 = { // scrollList scrollList: { indicatorWidth: 50, @@ -49349,7 +52941,7 @@ This will fail in production if not fixed.`); ...ReadMore, ...Row, ...RowNotice, - ...ScrollList, + ...ScrollList$1, ...Search, ...Section, ...Skeleton, @@ -49443,7 +53035,7 @@ This will fail in production if not fixed.`); const fantMini = { install }; - const _sfc_main$a = { + const _sfc_main$c = { setup() { let details = vue.reactive({ activity: null, @@ -49501,11 +53093,11 @@ This will fail in production if not fixed.`); }; } }; - function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) { + function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("view", { class: "content" }); } - const saomiao = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$2], ["__file", "D:/worksp/logpm/compoment/saomiao.vue"]]); - const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({ + const saomiao = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$3], ["__file", "D:/worksp/logpm/compoment/saomiao.vue"]]); + const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({ __name: "tips", emits: ["cancel", "confirm"], setup(__props, { expose, emit }) { @@ -49528,8 +53120,8 @@ This will fail in production if not fixed.`); details[key] = value[key]; } } - function checkbox(type) { - switch (type) { + function checkbox(type2) { + switch (type2) { case 0: if (details.close) { details.close(); @@ -49602,8 +53194,8 @@ This will fail in production if not fixed.`); }; } }); - const tips = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-27fa88b6"], ["__file", "D:/worksp/logpm/compoment/tips/tips.vue"]]); - const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({ + const tips = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-27fa88b6"], ["__file", "D:/worksp/logpm/compoment/tips/tips.vue"]]); + const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({ __name: "tiplist", setup(__props, { expose }) { let details = vue.reactive({ @@ -49692,8 +53284,8 @@ This will fail in production if not fixed.`); details.checklist.splice(details.checklist.indexOf(index2), 1); } } - function checkbox(type) { - switch (type) { + function checkbox(type2) { + switch (type2) { case 0: if (details.close) { details.close(details); @@ -49711,14 +53303,14 @@ This will fail in production if not fixed.`); break; } } - function remove(index2, i, type) { - if (details.isChange && !details.changeImageList.includes(type)) - details.changeImageList.push(type); + function remove(index2, i, type2) { + if (details.isChange && !details.changeImageList.includes(type2)) + details.changeImageList.push(type2); details.imglist[index2].imgList.splice(i, 1); } - function updateimg(type, index2) { - if (details.isChange && !details.changeImageList.includes(type)) - details.changeImageList.push(type); + function updateimg(type2, index2) { + if (details.isChange && !details.changeImageList.includes(type2)) + details.changeImageList.push(type2); uni.chooseImage({ count: details.maximglength, success: async (chooseImageRes) => { @@ -49728,7 +53320,7 @@ This will fail in production if not fixed.`); formatAppLog("log", "at compoment/tiplist/tiplist.vue:312", 1232131231); let url2 = await api.upfile(item); formatAppLog("log", "at compoment/tiplist/tiplist.vue:314", "url :>> ", url2); - details.imglist[index2].imgList.push({ urlRoute: url2.link, type, name: url2.originalName }); + details.imglist[index2].imgList.push({ urlRoute: url2.link, type: type2, name: url2.originalName }); }); } }); @@ -50369,8 +53961,8 @@ This will fail in production if not fixed.`); }; } }); - const tiplist = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-a3a2f036"], ["__file", "D:/worksp/logpm/compoment/tiplist/tiplist.vue"]]); - const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({ + const tiplist = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-a3a2f036"], ["__file", "D:/worksp/logpm/compoment/tiplist/tiplist.vue"]]); + const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({ __name: "InputNum", props: { // 输入框的值 @@ -50393,21 +53985,15 @@ This will fail in production if not fixed.`); const props2 = __props; const number2 = vue.ref(10); number2.value = props2.modelValue; - let isInput = null; - function inputNum() { - if (isInput) - clearTimeout(isInput); - isInput = setTimeout(() => { - number2.value = parseInt(number2.value); - if (number2.value !== number2.value) - number2.value = 0; - if (number2.value >= props2.maxNum) - number2.value = props2.maxNum; - if (number2.value <= props2.minNum) - number2.value = props2.minNum; - $emit("update:modelValue", number2.value); - clearTimeout(isInput); - }, 500); + function blurInput() { + number2.value = parseInt(number2.value); + if (number2.value !== number2.value) + number2.value = 0; + if (number2.value >= props2.maxNum) + number2.value = props2.maxNum; + if (number2.value <= props2.minNum) + number2.value = props2.minNum; + $emit("update:modelValue", number2.value); } return (_ctx, _cache) => { return vue.withDirectives((vue.openBlock(), vue.createElementBlock( @@ -50415,7 +54001,7 @@ This will fail in production if not fixed.`); { class: "inputNum", type: "number", - onInput: inputNum, + onBlur: blurInput, "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => number2.value = $event) }, null, @@ -50427,8 +54013,8 @@ This will fail in production if not fixed.`); }; } }); - const InputNum = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-92b65ffd"], ["__file", "D:/worksp/logpm/compoment/InputNum/InputNum.vue"]]); - const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({ + const InputNum = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-92b65ffd"], ["__file", "D:/worksp/logpm/compoment/InputNum/InputNum.vue"]]); + const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({ __name: "BasicContainer", props: { option: { @@ -50496,7 +54082,7 @@ This will fail in production if not fixed.`); } expose({ startPullDownRefresh }); return (_ctx, _cache) => { - const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$3); + const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0$4); return vue.openBlock(), vue.createElementBlock( vue.Fragment, null, @@ -50537,8 +54123,8 @@ This will fail in production if not fixed.`); }; } }); - const BasicContainer = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-e1062c8b"], ["__file", "D:/worksp/logpm/compoment/BasicContainer/BasicContainer.vue"]]); - const _sfc_main$5 = { + const BasicContainer = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-e1062c8b"], ["__file", "D:/worksp/logpm/compoment/BasicContainer/BasicContainer.vue"]]); + const _sfc_main$7 = { __name: "PopUp", setup(__props, { expose }) { const details = vue.reactive({ @@ -50646,8 +54232,8 @@ This will fail in production if not fixed.`); }; } }; - const PopUp = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-385736e8"], ["__file", "D:/worksp/logpm/compoment/PopUp/PopUp.vue"]]); - const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({ + const PopUp = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-385736e8"], ["__file", "D:/worksp/logpm/compoment/PopUp/PopUp.vue"]]); + const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({ __name: "BluetoothList", setup(__props, { expose }) { let details = vue.reactive({ @@ -50679,8 +54265,8 @@ This will fail in production if not fixed.`); details[key] = objs[key]; } } - function checkbox(type) { - switch (type) { + function checkbox(type2) { + switch (type2) { case 0: if (details.close) { details.close(details); @@ -50814,7 +54400,159 @@ This will fail in production if not fixed.`); }; } }); - const BluetoothList = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-05b5e40b"], ["__file", "D:/worksp/logpm/compoment/BluetoothList/BluetoothList.vue"]]); + const BluetoothList = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-05b5e40b"], ["__file", "D:/worksp/logpm/compoment/BluetoothList/BluetoothList.vue"]]); + const _sfc_main$5 = { + name: "App", + props: { + // 所有数据 + allList: { + type: Array, + default() { + return []; + } + }, + // 容器高度 + containerHeight: { + type: Number, + default: 0 + } + }, + data() { + return { + oneHeight: 200, + // 单个元素的高度,默认200.在mounted中会再次回去单个元素高度 + scrollTop: 0 + // 滚动距离 + }; + }, + async mounted() { + await this.$nextTick(() => { + }); + const query = uni.createSelectorQuery(); + formatAppLog("log", "at compoment/ScrollList/ScrollList.vue:47", "query.select :>> ", query.select("#box").boundingClientRect); + query.select("#box").boundingClientRect((data) => { + formatAppLog("log", "at compoment/ScrollList/ScrollList.vue:49", "data :>> ", data); + this.oneHeight = data.height; + }).exec(); + }, + computed: { + // 一屏多少条数据 + showNum() { + return ~~(this.containerHeight / this.oneHeight) + 2; + }, + // 开始索引 + startIndex() { + const curIndex = ~~(this.scrollTop / this.oneHeight); + return curIndex < this.showNum ? 0 : curIndex - this.showNum; + }, + // 渲染元素最后的index + endIndex() { + const curIndex = ~~(this.scrollTop / this.oneHeight); + let end = curIndex + this.showNum * 3; + let len = this.allList.length; + return end >= len ? len : end; + }, + // 需要渲染的数据 + showList() { + return this.allList.slice(this.startIndex, this.endIndex); + }, + // 空白占位的高度 + paddingStyle() { + return { + paddingTop: this.startIndex * this.oneHeight + "px", + paddingBottom: (this.allList.length - this.endIndex) * this.oneHeight + "px" + }; + } + } + }; + function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) { + return vue.openBlock(), vue.createElementBlock( + vue.Fragment, + null, + [ + vue.createCommentVNode(" @scrolltolower触底事件,@scroll滚动事件 "), + vue.createElementVNode( + "scroll-view", + { + "scroll-y": "true", + style: vue.normalizeStyle({ height: $props.containerHeight + "px" }), + onScroll: _cache[0] || (_cache[0] = ($event) => $data.scrollTop = $event.detail.scrollTop), + onScrolltolower: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("@scrolltolower")) + }, + [ + vue.createCommentVNode(" 监听滚动事件使用passive修饰符 "), + vue.createElementVNode( + "view", + { + style: vue.normalizeStyle($options.paddingStyle) + }, + [ + vue.createCommentVNode(" key使用index,可避免多次渲染该dom "), + (vue.openBlock(true), vue.createElementBlock( + vue.Fragment, + null, + vue.renderList($options.showList, (item, index2) => { + return vue.openBlock(), vue.createElementBlock("view", { + id: "box", + key: index2 + }, [ + vue.createCommentVNode(" 使用作用域插槽,将遍历后的数据item和index传递出去 "), + vue.renderSlot(_ctx.$slots, "default", { + item, + $index: index2 + }) + ]); + }), + 128 + /* KEYED_FRAGMENT */ + )) + ], + 4 + /* STYLE */ + ) + ], + 36 + /* STYLE, HYDRATE_EVENTS */ + ) + ], + 2112 + /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */ + ); + } + const ScrollList = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$2], ["__file", "D:/worksp/logpm/compoment/ScrollList/ScrollList.vue"]]); + const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({ + __name: "PullDownBox", + setup(__props) { + const isShowPullDownBox = vue.ref(false); + const handleShowPullDown = () => { + isShowPullDownBox.value = !isShowPullDownBox.value; + }; + return (_ctx, _cache) => { + const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_0$5); + return vue.openBlock(), vue.createElementBlock("view", { class: "PullDownBox" }, [ + vue.createElementVNode("view", { + onClick: handleShowPullDown, + class: "Pulldown-title-container" + }, [ + vue.createCommentVNode(" 标题显示内容 "), + vue.createElementVNode("view", { class: "Pulldown-title" }, [ + vue.renderSlot(_ctx.$slots, "title", {}, void 0, true) + ]), + vue.createVNode(_component_u_icon, { + class: vue.normalizeClass({ "icon": true, "normal": isShowPullDownBox.value, "active": !isShowPullDownBox.value }), + name: "arrow-down", + color: "#2979ff", + size: "28" + }, null, 8, ["class"]) + ]), + vue.createElementVNode("view", { class: "" }, [ + isShowPullDownBox.value ? vue.renderSlot(_ctx.$slots, "content", { key: 0 }, void 0, true) : vue.createCommentVNode("v-if", true) + ]) + ]); + }; + } + }); + const PullDownBox = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-0b4fec55"], ["__file", "D:/worksp/logpm/compoment/PullDownBox/PullDownBox.vue"]]); const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({ __name: "saomiao1", props: { @@ -51147,7 +54885,7 @@ This will fail in production if not fixed.`); app.use(Store); app.use(createPinia()); app.use(fantMini); - app.component("saomiao", saomiao).component("tips", tips).component("tiplist", tiplist).component("saomiao1", saomiao1).component("saomiao2", saomiao2).component("saomiao3", saomiao3).component("saomiao4", saomiao4).component("InputNum", InputNum).component("BasicContainer", BasicContainer).component("PopUp", PopUp).component("BluetoothList", BluetoothList); + app.component("saomiao", saomiao).component("tips", tips).component("tiplist", tiplist).component("saomiao1", saomiao1).component("saomiao2", saomiao2).component("saomiao3", saomiao3).component("saomiao4", saomiao4).component("InputNum", InputNum).component("BasicContainer", BasicContainer).component("PopUp", PopUp).component("BluetoothList", BluetoothList).component("ScrollList", ScrollList).component("PullDownBox", PullDownBox); uni.$u.config.unit = "rpx"; return { app, diff --git a/unpackage/dist/dev/app-plus/app.css b/unpackage/dist/dev/app-plus/app.css index 4862eab..f710abc 100644 --- a/unpackage/dist/dev/app-plus/app.css +++ b/unpackage/dist/dev/app-plus/app.css @@ -907,8 +907,8 @@ body { } .inputNum[data-v-92b65ffd] { - border: 0.03125rem solid #000; - padding-left: 0.3125rem; + border: 0.03125rem solid #999; + padding: 0.15625rem 0.625rem; border-radius: 0.15625rem; } @@ -1184,13 +1184,13 @@ uni-view[data-v-f631659b], uni-scroll-view[data-v-f631659b], uni-swiper-item[dat .container .buttonContainer > uni-view[data-v-385736e8] { padding: 0.46875rem 1.5625rem; border-radius: 0.3125rem; - background: #D3832A; + background: var(--subjectColor); color: #fff; } .container .buttonContainer .closeButton[data-v-385736e8] { - color: #D3832A; + color: var(--subjectColor); background: #fff; - border: 0.03125rem solid #D3832A; + border: 0.03125rem solid var(--subjectColor); } /** * 这里是uni-app内置的常用样式变量 @@ -1284,4 +1284,51 @@ uni-view[data-v-f631659b], uni-scroll-view[data-v-f631659b], uni-swiper-item[dat .chooseImg[data-v-05b5e40b] { width: 1rem; height: 1rem; +} +/** + * 这里是uni-app内置的常用样式变量 + * + * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 + * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App + * + */ +/** + * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 + * + * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 + */ +/* 颜色变量 */ +/* 行为相关颜色 */ +/* 文字基本颜色 */ +/* 背景颜色 */ +/* 边框颜色 */ +/* 尺寸变量 */ +/* 文字尺寸 */ +/* 图片尺寸 */ +/* Border Radius */ +/* 水平间距 */ +/* 垂直间距 */ +/* 透明度 */ +/* 文章场景相关 */ +.PullDownBox[data-v-0b4fec55] { + background: #fff; + margin-bottom: 0.3125rem; + padding: 0.3125rem; +} +.Pulldown-title-container[data-v-0b4fec55] { + display: flex; +} +.Pulldown-title[data-v-0b4fec55] { + flex: 1; +} +.icon[data-v-0b4fec55] { + padding: 0 0.3125rem; + flex: none; + transition: all 0.2s; +} +.normal[data-v-0b4fec55] { + transform: rotate(0deg); +} +.active[data-v-0b4fec55] { + transform: rotate(180deg); } \ No newline at end of file diff --git a/unpackage/dist/dev/app-plus/manifest.json b/unpackage/dist/dev/app-plus/manifest.json index cbc75f1..81166a6 100644 --- a/unpackage/dist/dev/app-plus/manifest.json +++ b/unpackage/dist/dev/app-plus/manifest.json @@ -220,12 +220,6 @@ "selectedIconPath": "/static/TabberIcon/icon2check.png", "text": "任务" }, - { - "pagePath": "pages/news/news", - "iconPath": "/static/TabberIcon/icon4.png", - "selectedIconPath": "/static/TabberIcon/icon4check.png", - "text": "消息" - }, { "pagePath": "pages/user/user", "iconPath": "/static/TabberIcon/icon5.png", diff --git a/unpackage/dist/dev/mp-weixin/api/user.js b/unpackage/dist/dev/mp-weixin/api/user.js index 3781c36..1b769d0 100644 --- a/unpackage/dist/dev/mp-weixin/api/user.js +++ b/unpackage/dist/dev/mp-weixin/api/user.js @@ -1002,23 +1002,23 @@ function postFindCarsLoadingDetail(data) { data }); } -function postFindLoadScanWaybillDetailList(data) { +function postFindCarsLoadingOrderDetail(data) { return utils_request.service({ - url: `logpm-trunkline/api/carsLoad/findLoadScanWaybillDetailList`, + url: `logpm-trunkline/api/carsLoad/findCarsLoadingOrderDetail`, method: "post", data }); } -function postFindCarsLoadingOrderDetail(data) { +function postLoadingScan(data) { return utils_request.service({ - url: `logpm-trunkline/api/carsLoad/findCarsLoadingOrderDetail`, + url: `logpm-trunkline/api/carsLoad/loadingScan`, method: "post", data }); } -function postLoadingScan(data) { +function postLoadingTrayInfo(data) { return utils_request.service({ - url: `logpm-trunkline/api/carsLoad/loadingScan`, + url: `logpm-trunkline/api/carsLoad/loadingTrayInfo`, method: "post", data }); @@ -1037,6 +1037,27 @@ function postLoadingZero(data) { data }); } +function postLoadingTray(data) { + return utils_request.service({ + url: `logpm-trunkline/api/carsLoad/loadingTray`, + method: "post", + data + }); +} +function postArriveUnloadPageList(data) { + return utils_request.service({ + url: `logpm-trunkline/api/carsLoad/arriveUnloadPageList`, + method: "post", + data + }); +} +function postArriveUnloadCarsDetail(data) { + return utils_request.service({ + url: `logpm-trunkline/api/carsLoad/unloadCarsDetail`, + method: "post", + data + }); +} exports.$_initRetentionList = $_initRetentionList; exports.$_retentionScan = $_retentionScan; exports.$_retentionTrayScan = $_retentionTrayScan; @@ -1103,11 +1124,14 @@ exports.pcontractQuestDetailList = pcontractQuestDetailList; exports.pgetContractList = pgetContractList; exports.pgetgetMaterialName = pgetgetMaterialName; exports.postAbnormalTruckLoading = postAbnormalTruckLoading; +exports.postArriveUnloadCarsDetail = postArriveUnloadCarsDetail; +exports.postArriveUnloadPageList = postArriveUnloadPageList; exports.postCarsLoadPageList = postCarsLoadPageList; exports.postFindCarsLoadingDetail = postFindCarsLoadingDetail; exports.postFindCarsLoadingOrderDetail = postFindCarsLoadingOrderDetail; -exports.postFindLoadScanWaybillDetailList = postFindLoadScanWaybillDetailList; exports.postLoadingScan = postLoadingScan; +exports.postLoadingTray = postLoadingTray; +exports.postLoadingTrayInfo = postLoadingTrayInfo; exports.postLoadingZero = postLoadingZero; exports.postRemoveCarsLoadScan = postRemoveCarsLoadScan; exports.postWarehouseTaskAddDataInfo = postWarehouseTaskAddDataInfo; diff --git a/unpackage/dist/dev/mp-weixin/app.js b/unpackage/dist/dev/mp-weixin/app.js index daf2628..b36e468 100644 --- a/unpackage/dist/dev/mp-weixin/app.js +++ b/unpackage/dist/dev/mp-weixin/app.js @@ -21,6 +21,7 @@ if (!Math) { "./pagesHome/pages/RelayScanList/RelayScanList.js"; "./pagesHome/pages/codePlateBracket/codePlateBracket.js"; "./pagesHome/pages/ArrivalList/ArrivalList.js"; + "./pagesHome/pages/VehicleArrivalDetails/VehicleArrivalDetails.js"; "./pagesHome/pages/SelfPickupScan/SelfPickupScan.js"; "./pagesHome/pages/LoadingScan/LoadingScan.js"; "./pagesHome/pages/loadingRetention/loadingRetention.js"; @@ -102,6 +103,8 @@ const InputNum = () => "./compoment/InputNum/InputNum.js"; const BasicContainer = () => "./compoment/BasicContainer/BasicContainer.js"; const PopUp = () => "./compoment/PopUp/PopUp.js"; const BluetoothList = () => "./compoment/BluetoothList/BluetoothList.js"; +const ScrollList = () => "./compoment/ScrollList/ScrollList.js"; +const PullDownBox = () => "./compoment/PullDownBox/PullDownBox.js"; const saomiao1 = () => "./compoment/saomiao1.js"; const saomiao2 = () => "./compoment/saomiao2.js"; const saomiao3 = () => "./compoment/saomiao3.js"; @@ -115,7 +118,7 @@ function createApp() { app.use(store_index.store); app.use(common_vendor.createPinia()); app.use(uni_modules_fantMiniPlus_index.fantMini); - app.component("saomiao", saomiao).component("tips", tips).component("tiplist", tiplist).component("saomiao1", saomiao1).component("saomiao2", saomiao2).component("saomiao3", saomiao3).component("saomiao4", saomiao4).component("InputNum", InputNum).component("BasicContainer", BasicContainer).component("PopUp", PopUp).component("BluetoothList", BluetoothList); + app.component("saomiao", saomiao).component("tips", tips).component("tiplist", tiplist).component("saomiao1", saomiao1).component("saomiao2", saomiao2).component("saomiao3", saomiao3).component("saomiao4", saomiao4).component("InputNum", InputNum).component("BasicContainer", BasicContainer).component("PopUp", PopUp).component("BluetoothList", BluetoothList).component("ScrollList", ScrollList).component("PullDownBox", PullDownBox); common_vendor.index.$u.config.unit = "rpx"; return { app, diff --git a/unpackage/dist/dev/mp-weixin/app.json b/unpackage/dist/dev/mp-weixin/app.json index fab2522..63010c7 100644 --- a/unpackage/dist/dev/mp-weixin/app.json +++ b/unpackage/dist/dev/mp-weixin/app.json @@ -17,6 +17,7 @@ "pages/RelayScanList/RelayScanList", "pages/codePlateBracket/codePlateBracket", "pages/ArrivalList/ArrivalList", + "pages/VehicleArrivalDetails/VehicleArrivalDetails", "pages/SelfPickupScan/SelfPickupScan", "pages/LoadingScan/LoadingScan", "pages/loadingRetention/loadingRetention", @@ -114,6 +115,12 @@ "selectedIconPath": "/static/TabberIcon/icon2check.png", "text": "任务" }, + { + "pagePath": "pages/news/news", + "iconPath": "/static/TabberIcon/icon4.png", + "selectedIconPath": "/static/TabberIcon/icon4check.png", + "text": "消息" + }, { "pagePath": "pages/user/user", "iconPath": "/static/TabberIcon/icon5.png", @@ -141,6 +148,8 @@ "basic-container": "/compoment/BasicContainer/BasicContainer", "pop-up": "/compoment/PopUp/PopUp", "bluetooth-list": "/compoment/BluetoothList/BluetoothList", + "scroll-list": "/compoment/ScrollList/ScrollList", + "pull-down-box": "/compoment/PullDownBox/PullDownBox", "saomiao1": "/compoment/saomiao1", "saomiao2": "/compoment/saomiao2", "saomiao3": "/compoment/saomiao3", diff --git a/unpackage/dist/dev/mp-weixin/common/assets.js b/unpackage/dist/dev/mp-weixin/common/assets.js index d6a7f90..0c33432 100644 --- a/unpackage/dist/dev/mp-weixin/common/assets.js +++ b/unpackage/dist/dev/mp-weixin/common/assets.js @@ -1,11 +1,13 @@ "use strict"; -const _imports_0$2 = "/static/ck.png"; +const _imports_0$3 = "/static/ck.png"; const _imports_1$1 = "/static/nock.png"; const _imports_1 = "/static/check.png"; -const _imports_0$1 = "/static/nocheck.png"; -const _imports_0 = "/assets/cha.b7e7843e.png"; -exports._imports_0 = _imports_0; -exports._imports_0$1 = _imports_0$1; -exports._imports_0$2 = _imports_0$2; +const _imports_0$2 = "/static/nocheck.png"; +const _imports_0$1 = "/assets/cha.b7e7843e.png"; +const _imports_0 = "/assets/top.8e031a5d.png"; +exports._imports_0 = _imports_0$1; +exports._imports_0$1 = _imports_0$2; +exports._imports_0$2 = _imports_0$3; +exports._imports_0$3 = _imports_0; exports._imports_1 = _imports_1; exports._imports_1$1 = _imports_1$1; diff --git a/unpackage/dist/dev/mp-weixin/common/vendor.js b/unpackage/dist/dev/mp-weixin/common/vendor.js index 84ebf3f..6295e35 100644 --- a/unpackage/dist/dev/mp-weixin/common/vendor.js +++ b/unpackage/dist/dev/mp-weixin/common/vendor.js @@ -2492,8 +2492,8 @@ function triggerRefValue(ref2, newVal) { } } } -function isRef(r) { - return !!(r && r.__v_isRef === true); +function isRef(r2) { + return !!(r2 && r2.__v_isRef === true); } function ref(value) { return createRef(value, false); @@ -4160,7 +4160,7 @@ function createWatcher(raw, ctx, publicThis, key) { watch(getter, raw.bind(publicThis)); } else if (isObject$2(raw)) { if (isArray$1(raw)) { - raw.forEach((r) => createWatcher(r, ctx, publicThis, key)); + raw.forEach((r2) => createWatcher(r2, ctx, publicThis, key)); } else { const handler = isFunction(raw.handler) ? raw.handler.bind(publicThis) : ctx[raw.handler]; if (isFunction(handler)) { @@ -5431,21 +5431,21 @@ function findComponentPublicInstance(mpComponents, id) { } return null; } -function setTemplateRef({ r, f: f2 }, refValue, setupState) { - if (isFunction(r)) { - r(refValue, {}); +function setTemplateRef({ r: r2, f: f2 }, refValue, setupState) { + if (isFunction(r2)) { + r2(refValue, {}); } else { - const _isString = isString(r); - const _isRef = isRef(r); + const _isString = isString(r2); + const _isRef = isRef(r2); if (_isString || _isRef) { if (f2) { if (!_isRef) { return; } - if (!isArray$1(r.value)) { - r.value = []; + if (!isArray$1(r2.value)) { + r2.value = []; } - const existing = r.value; + const existing = r2.value; if (existing.indexOf(refValue) === -1) { existing.push(refValue); if (!refValue) { @@ -5454,16 +5454,16 @@ function setTemplateRef({ r, f: f2 }, refValue, setupState) { onBeforeUnmount(() => remove(existing, refValue), refValue.$); } } else if (_isString) { - if (hasOwn(setupState, r)) { - setupState[r] = refValue; + if (hasOwn(setupState, r2)) { + setupState[r2] = refValue; } - } else if (isRef(r)) { - r.value = refValue; + } else if (isRef(r2)) { + r2.value = refValue; } else { - warnRef(r); + warnRef(r2); } } else { - warnRef(r); + warnRef(r2); } } } @@ -6044,6 +6044,70 @@ function vFor(source, renderItem) { } return ret; } +function renderSlot(name, props2 = {}, key) { + const instance = getCurrentInstance(); + const { parent, isMounted, ctx: { $scope } } = instance; + const vueIds = ($scope.properties || $scope.props).uI; + if (!vueIds) { + return; + } + if (!parent && !isMounted) { + onMounted(() => { + renderSlot(name, props2, key); + }, instance); + return; + } + const invoker = findScopedSlotInvoker(vueIds, instance); + if (invoker) { + invoker(name, props2, key); + } +} +function findScopedSlotInvoker(vueId, instance) { + let parent = instance.parent; + while (parent) { + const invokers = parent.$ssi; + if (invokers && invokers[vueId]) { + return invokers[vueId]; + } + parent = parent.parent; + } +} +function withScopedSlot(fn, { name, path, vueId }) { + const instance = getCurrentInstance(); + fn.path = path; + const scopedSlots = instance.$ssi || (instance.$ssi = {}); + const invoker = scopedSlots[vueId] || (scopedSlots[vueId] = createScopedSlotInvoker(instance)); + if (!invoker.slots[name]) { + invoker.slots[name] = { + fn + }; + } else { + invoker.slots[name].fn = fn; + } + return getValueByDataPath(instance.ctx.$scope.data, path); +} +function createScopedSlotInvoker(instance) { + const invoker = (slotName, args, index2) => { + const slot = invoker.slots[slotName]; + if (!slot) { + return; + } + const hasIndex = typeof index2 !== "undefined"; + index2 = index2 || 0; + const prevInstance = setCurrentRenderingInstance(instance); + const data = slot.fn(args, slotName + (hasIndex ? "-" + index2 : ""), index2); + const path = slot.fn.path; + setCurrentRenderingInstance(prevInstance); + (instance.$scopedSlotsData || (instance.$scopedSlotsData = [])).push({ + path, + index: index2, + data + }); + instance.$updateScopedSlots(); + }; + invoker.slots = {}; + return invoker; +} function stringifyStyle(value) { if (isString(value)) { return value; @@ -6066,6 +6130,8 @@ function setRef(ref2, id, opts = {}) { } const o = (value, key) => vOn(value, key); const f = (source, renderItem) => vFor(source, renderItem); +const r = (name, props2, key) => renderSlot(name, props2, key); +const w = (fn, options) => withScopedSlot(fn, options); const s = (value) => stringifyStyle(value); const e = (target, ...sources) => extend(target, ...sources); const n = (value) => normalizeClass(value); @@ -8139,13 +8205,13 @@ function guid(len = 32, firstU = true, radix = null) { for (let i = 0; i < len; i++) uuid[i] = chars[0 | Math.random() * radix]; } else { - let r; + let r2; uuid[8] = uuid[13] = uuid[18] = uuid[23] = "-"; uuid[14] = "4"; for (let i = 0; i < 36; i++) { if (!uuid[i]) { - r = 0 | Math.random() * 16; - uuid[i] = chars[i == 19 ? r & 3 | 8 : r]; + r2 = 0 | Math.random() * 16; + uuid[i] = chars[i == 19 ? r2 & 3 | 8 : r2]; } } } @@ -11634,6 +11700,7 @@ exports.onReachBottom = onReachBottom; exports.onShow = onShow; exports.onUnload = onUnload; exports.p = p; +exports.r = r; exports.reactive = reactive; exports.ref = ref; exports.resolveComponent = resolveComponent; @@ -11645,5 +11712,6 @@ exports.t = t; exports.toRefs = toRefs; exports.unref = unref; exports.uviewPlus = uviewPlus; +exports.w = w; exports.watch = watch; exports.watchEffect = watchEffect;