diff --git a/config/host.js b/config/host.js index e272bf6..e2048f9 100644 --- a/config/host.js +++ b/config/host.js @@ -4,7 +4,7 @@ * 测试域名 * */ //测试域名 -// const devhost = 'http://test.api.huitongys.com/' +const devhost = 'http://test.api.huitongys.com/' // lmy // const devhost = 'http://192.168.10.123:8889/' // zhy @@ -12,7 +12,7 @@ // tjj // const devhost = 'http://192.168.10.29:13000/' // cyz -const devhost = 'http://h5uapi.huitongys.com/' +// const devhost = 'http://h5uapi.huitongys.com/' // cg // const devhost='http://192.168.10.200:8888/' /** diff --git a/pages.json b/pages.json index b681554..460d969 100644 --- a/pages.json +++ b/pages.json @@ -1155,63 +1155,68 @@ "path": "pages/storageLocationCheckDetails/storageLocationCheckDetails", "style": { "navigationBarTitleText": "库位盘点", + "enablePullDownRefresh": true, "onReachBottomDistance": 1, "navigationStyle": "custom", "app-plus": { "animationDuration": 300, - "animationType": "zoom-fade-out" + "animationType": "zoom-fade-out", + "pullToRefresh": { + "support": true, + "color": "#d3832a", //小圈圈的颜色 + "style": "circle" //小圈圈的样式 + } } } + ] + } + ], + "permission": { + "scope.userLocation": { + "desc": "你的位置信息将用于小程序位置接口的效果展示" + } + }, + "tabBar": { + "color": "#999999", + "selectedColor": "#df8926", + "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/reportForms/reportForms", + // "iconPath": "/static/TabberIcon/icon3.png", + // "selectedIconPath": "/static/TabberIcon/icon3check.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": "我的" } ] - } - ], - "permission": { - "scope.userLocation": { - "desc": "你的位置信息将用于小程序位置接口的效果展示" - } - }, - "tabBar": { - "color": "#999999", - "selectedColor": "#df8926", - "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/reportForms/reportForms", - // "iconPath": "/static/TabberIcon/icon3.png", - // "selectedIconPath": "/static/TabberIcon/icon3check.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": "我的" - } - ] - }, - "globalStyle": { - "navigationBarTextStyle": "black", - "navigationBarTitleText": "uni-app", - "navigationBarBackgroundColor": "#F8F8F8", - "backgroundColor": "#F8F8F8" - }, - "uniIdRouter": {} -} \ No newline at end of file + }, + "globalStyle": { + "navigationBarTextStyle": "black", + "navigationBarTitleText": "uni-app", + "navigationBarBackgroundColor": "#F8F8F8", + "backgroundColor": "#F8F8F8" + }, + "uniIdRouter": {} + } \ No newline at end of file diff --git a/pagesTask/pages/storageLocationCheckDetails/storageLocationCheckDetails.vue b/pagesTask/pages/storageLocationCheckDetails/storageLocationCheckDetails.vue index 178a70a..f7ce0df 100644 --- a/pagesTask/pages/storageLocationCheckDetails/storageLocationCheckDetails.vue +++ b/pagesTask/pages/storageLocationCheckDetails/storageLocationCheckDetails.vue @@ -1,158 +1,167 @@ <template> - <view> - <!-- 顶部导航栏 --> - <u-navbar title="库位盘点" placeholder :autoBack="true" leftIconSize='35' bgColor='#d3832a' leftIconColor='#ffffff' - titleStyle='color:#ffffff'></u-navbar> - </view> - - <!-- 主体内容 --> - <view class="main"> - <!-- 顶部 --> - <view class="main_top"> - <input type="text" placeholder="请输入包条码" class="main_top_search" /> - <view class="button">搜索</view> - </view> - - <!-- 库位信息 --> - <view class="main_info"> - <view class="main_info_row"> - <view class="main_info_item"> - <text>库位号:</text> - <text>{{1}}</text> - </view> - </view> - <view class="main_info_row"> - <view class="main_info_item"> - <text>库位总数:</text> - <text>{{1}}</text> - </view> - <view class="main_info_item"> - <text>库位已盘数:</text> - <text>{{1}}</text> - </view> - <view class="main_info_item"> - <text>库位未盘数:</text> - <text>{{1}}</text> - </view> + <BasicContainer :option="option"> + <!-- 主体内容 --> + <view class="main"> + <!-- 顶部 --> + <view class="main_top"> + <input type="text" placeholder="请输入库位码" class="main_top_search" /> + <view class="button" @click="submitSearch">搜索</view> </view> - </view> - - <!-- tabBar选项卡 --> - <view class="tabBar"> - <view :class="{'tabBar-item': true, 'active': tabBarCode === 1}" @click="handleTabBarCode(1)"> - 定制品({{300}}) - </view> - <view :class="{'tabBar-item': true, 'active': tabBarCode === 2}" @click="handleTabBarCode(2)"> - 库存品({{100}}) - </view> - <view :class="{'tabBar-item': true, 'active': tabBarCode === 3}" @click="handleTabBarCode(3)"> - 零担({{1000}}) - </view> - </view> - - <!-- 控件 --> - <view class="control"> - <view class="button" @click="showControl = true" v-show="!showControl">批量操作</view> - <template v-if="showControl"> - <view class="button">反选</view> - - <view class="controlList"> - <view class="button"> - 批量删除 - </view> - <view class="button"> - 批量删除 - </view> - <view class="button"> - 状态修改 + <!-- 库位信息 --> + <view class="main_info"> + <view class="main_info_row"> + <view class="main_info_item"> + <text>库位号:</text> + <text>{{1}}</text> </view> </view> - </template> - </view> - - <!-- 按库位盘点 --> - <!-- 表格 --> - <template v-if="renderList.length !== 0"> - <view class="list" v-for="item in renderList" :key="item"> - <!-- 定制品 --> - <view v-if="item.goodsType === 1"> - <view class="tpbx"> - <image src="/pagesHome/static/kuweiicon.png"></image> - <view>服务号:{{item.serviceNum}}</view> + <view class="main_info_row"> + <view class="main_info_item"> + <text>库位总数:</text> + <text>{{1}}</text> </view> - <view class="tpbx"> - <image src="/pagesHome/static/kuweiicon.png"></image> - <view>订单号:{{item.orderCode}}</view> + <view class="main_info_item"> + <text>库位已盘数:</text> + <text>{{1}}</text> </view> - <!-- <view class="tpbx"> - <image src="/pagesHome/static/kuweiicon.png"></image> - <view>仓库地址:{{dtilobj.warehouseName}}</view> + <view class="main_info_item"> + <text>库位未盘数:</text> + <text>{{1}}</text> </view> - <view class="tpbx"> - <image src="/pagesHome/static/kuweiicon.png"></image> - <view>库位信息:{{dtilobj.areaTitle + '-' + dtilobj.allocationTitle}}</view> - </view> --> </view> + </view> - <!-- 零担 --> - <view v-if="item.goodsType === 2"> - <view class="tpbx"> - <image src="/pagesHome/static/kuweiicon.png"></image> - <view>运单号:{{item.waybillNo}}</view> - </view> - <view class="tpbx"> - <image src="/pagesHome/static/kuweiicon.png"></image> - <view>订单号:{{item.orderCode}}</view> - </view> - <!-- <view class="tpbx"> - <image src="/pagesHome/static/kuweiicon.png"></image> - <view>仓库地址:{{dtilobj.warehouseName}}</view> - </view> - <view class="tpbx"> - <image src="/pagesHome/static/kuweiicon.png"></image> - <view>库位信息:{{dtilobj.areaTitle + '-' + dtilobj.allocationTitle}}</view> - </view> --> + + <!-- tabBar选项卡 --> + <view class="tabBar"> + <view :class="{'tabBar-item': true, 'active': tabBarCode === 1}" @click="handleTabBarCode(1)"> + 定制品({{300}}) + </view> + <view :class="{'tabBar-item': true, 'active': tabBarCode === 2}" @click="handleTabBarCode(2)"> + 零担({{1000}}) </view> + <view :class="{'tabBar-item': true, 'active': tabBarCode === 3}" @click="handleTabBarCode(3)"> + 库存品({{100}}) + </view> + </view> - <!-- 库存品 --> - <view v-if="item.goodsType === 3"> - <view class="tpbx"> - <image src="/pagesHome/static/kuweiicon.png"></image> - <view>物料编码:{{item.materialCode}}</view> + <!-- 控件 --> + <view class="control"> + <view class="button" @click="showControl = true" v-show="!showControl">批量操作</view> + <template v-if="showControl"> + <view class="button">反选</view> + + <view class="controlList"> + <view class="button" @click="handleBatchDel"> + 批量删除 + </view> + <view class="button" @click="handleBatchUp"> + 批量上架 + </view> + <view class="button" @click="handleBatchState"> + 状态修改 + </view> </view> - <view class="tpbx"> - <image src="/pagesHome/static/kuweiicon.png"></image> - <view>物料名称:{{item.materialName}}</view> - </view> - <!-- <view class="tpbx"> - <image src="/pagesHome/static/kuweiicon.png"></image> - <view>仓库地址:{{dtilobj.warehouseName}}</view> - </view> - <view class="tpbx"> - <image src="/pagesHome/static/kuweiicon.png"></image> - <view>库位信息:{{dtilobj.areaTitle + '-' + dtilobj.allocationTitle}}</view> - </view> --> - <view class="tpbx"> - <image src="/pagesHome/static/kuweiicon.png"></image> - <view>订单号:{{item.orderCode}}</view> - </view> - <view class="tpbx"> - <image src="/pagesHome/static/kuweiicon.png"></image> - <view>商场名称:{{item.marketName}}</view> - </view> - <view class="tpbx"> - <image src="/pagesHome/static/kuweiicon.png"></image> - <view>批次号:{{item.incomingBatch}}</view> + </template> + </view> + + <!-- 按库位盘点 --> + <!-- 表格 --> + <template v-if="renderList.length !== 0"> + <view class="list" v-for="(item, index) in renderList" :key="item"> + <view class="leftIcon"> + <image class="checkImage" + :src="checkindex.indexOf(index)!=-1?'/pagesHome/static/check.png':'/pagesHome/static/nocheck.png'"> + </image> </view> + + <!-- 定制品 --> + <template v-if="tabBarCode === 1"> + <view class="rightMsg"> + <view class="tpbx"> + <image src="/pagesHome/static/kuweiicon.png"></image> + <view>包条码:{{item.serviceNum}}</view> + </view> + <view class="tpbx"> + <image src="/pagesHome/static/kuweiicon.png"></image> + <view>合同号:{{item.orderCode}}</view> + </view> + <view class="tpbx"> + <image src="/pagesHome/static/kuweiicon.png"></image> + <view>库位:{{item.orderCode}}</view> + </view> + <view class="tpbx"> + <image src="/pagesHome/static/kuweiicon.png"></image> + <view>状态:{{item.orderCode}}</view> + </view> + </view> + </template> + + <!-- 零担 --> + <template v-else-if="tabBarCode === 2"> + <view class="rightMsg"> + <view class="tpbx"> + <image src="/pagesHome/static/kuweiicon.png"></image> + <view>运单号:{{item.waybillNo}}</view> + </view> + <view class="tpbx"> + <image src="/pagesHome/static/kuweiicon.png"></image> + <view>订单号:{{item.orderCode}}</view> + </view> + <!-- <view class="tpbx"> + <image src="/pagesHome/static/kuweiicon.png"></image> + <view>仓库地址:{{dtilobj.warehouseName}}</view> + </view> + <view class="tpbx"> + <image src="/pagesHome/static/kuweiicon.png"></image> + <view>库位信息:{{dtilobj.areaTitle + '-' + dtilobj.allocationTitle}}</view> + </view> --> + </view> + </template> + + <!-- 库存品 --> + <template v-else-if="tabBarCode === 3"> + <view class="rightMsg"> + <view class="tpbx"> + <image src="/pagesHome/static/kuweiicon.png"></image> + <view>物料编码:{{item.materialCode}}</view> + </view> + <view class="tpbx"> + <image src="/pagesHome/static/kuweiicon.png"></image> + <view>物料名称:{{item.materialName}}</view> + </view> + <!-- <view class="tpbx"> + <image src="/pagesHome/static/kuweiicon.png"></image> + <view>仓库地址:{{dtilobj.warehouseName}}</view> + </view> + <view class="tpbx"> + <image src="/pagesHome/static/kuweiicon.png"></image> + <view>库位信息:{{dtilobj.areaTitle + '-' + dtilobj.allocationTitle}}</view> + </view> --> + <view class="tpbx"> + <image src="/pagesHome/static/kuweiicon.png"></image> + <view>订单号:{{item.orderCode}}</view> + </view> + <view class="tpbx"> + <image src="/pagesHome/static/kuweiicon.png"></image> + <view>商场名称:{{item.marketName}}</view> + </view> + <view class="tpbx"> + <image src="/pagesHome/static/kuweiicon.png"></image> + <view>批次号:{{item.incomingBatch}}</view> + </view> + </view> + </template> </view> - </view> - </template> + </template> + + <!-- 提交 --> + <button @click="submitCheck" class="submitButton" type="primary">提交盘点</button> + </view> + <saomiao2></saomiao2> + </BasicContainer> - <!-- 提交 --> - <button @click="submitCheck" class="submitButton" type="primary">提交盘点</button> - </view> - <saomiao2></saomiao2> </template> <script setup lang="ts"> @@ -161,7 +170,21 @@ onLoad, onHide } from '@dcloudio/uni-app' - import { reactive, toRefs } from "vue"; + import { reactive, toRefs, watch } from "vue"; + + const option = reactive({ + title: '库位盘点', + isEnd: false, + haveData: true, + pullDownRefreshInitPage() { + console.log('下拉刷新') + // 页面信息清空 + details.articleList = [] + }, + reachBottomInitPage() { + console.log('触底加载') + } + }) const details = reactive({ // 页面标题 @@ -173,9 +196,33 @@ // 扫描后的值 scancode: '', // 渲染的列表 - renderList: [] + renderList: [], + // 定制品列表 + articleList: [], + // 库存品列表 + stockList: [], + // 零担列表 + zeroList: [], + // 复选框列表 + checkindex: [], + // 零担复选框列表 + articleCheckList: [], + // 库存品复选框列表 + stockCheckList: [], + // 零担复选框列表 + zeroCheckList: [], }) + const { + showControl, + tabBarCode, + renderList, + articleList, + stockList, + zeroList, + checkindex + } = toRefs(details) + // 页面初始化执行回调 onLoad((_info) => { @@ -210,19 +257,39 @@ details.tabBarCode = code } + /** + * 提交搜索请求 + */ + function submitSearch() { } + /** * 提交盘点 */ function submitCheck() { } - // 随机盘点 - function randomCheck() { } + /** + * 批量删除 + */ + function handleBatchDel() { } - const { - showControl, - tabBarCode, - renderList - } = toRefs(details) + /** + * 批量上架 + */ + function handleBatchUp() { } + + /** + * 批量修改状态 + */ + function handleBatchState() { } + + watch([articleList, zeroList, stockList, tabBarCode], () => { + // 定制品 + if (tabBarCode.value === 1) return renderList.value = articleList.value + // 零担 + if (tabBarCode.value === 2) return renderList.value = zeroList.value + // // 库存品 + if (tabBarCode.value === 3) return renderList.value = stockList.value + }) </script> <style lang="scss" scoped> @@ -352,6 +419,29 @@ } } + .list { + display: flex; + margin: 20upx 0; + padding: 0 10upx; + border-radius: 10upx; + box-shadow: 0 0 20upx #d3832a; + + .leftIcon { + flex: none; + margin-right: 30upx; + padding-top: 18upx; + + .checkImage { + width: 48upx; + height: 48upx; + } + } + + .rightMsg { + flex: 1; + } + } + // 列表 .tpbx { display: flex; @@ -368,6 +458,7 @@ } >view { + flex: 1; font-size: 28upx; font-weight: 400; color: #020B18; diff --git a/unpackage/dist/dev/app-plus/app-config-service.js b/unpackage/dist/dev/app-plus/app-config-service.js index 5f077aa..ffecde4 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.8.12","entryPagePath":"pages/index/index","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/reportForms/reportForms","iconPath":"/static/TabberIcon/icon3.png","selectedIconPath":"/static/TabberIcon/icon3check.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/index/index","meta":{"isQuit":true,"isEntry":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/login/login","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/user/user","meta":{"isQuit":true,"isTabBar":true,"tabBarIndex":4,"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":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/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":{"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":"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/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/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":"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":{"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","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.8.12","entryPagePath":"pages/index/index","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/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/index/index","meta":{"isQuit":true,"isEntry":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/login/login","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/user/user","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/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":{"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/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/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":"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":{"onReachBottomDistance":1,"animationDuration":300,"animationType":"zoom-fade-out","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 7bd0f44..0d387f2 100644 --- a/unpackage/dist/dev/app-plus/app-service.js +++ b/unpackage/dist/dev/app-plus/app-service.js @@ -4016,7 +4016,7 @@ if (uni.restoreGlobal) { }; }; const base64 = new Base64(); - const devhost = "http://192.168.10.48:8888/"; + const devhost = "http://ht.h5u.huitongys.com/login/"; const imghost = ""; const host = devhost; const APPKEY = "h5u:h5u_secret"; @@ -4312,7 +4312,7 @@ if (uni.restoreGlobal) { header["Blade-Auth"] = `bearer ${Store.state.access_token}`; } else { if (!token && params.url.indexOf("oauth/token") == -1) { - uni.navigateTo({ + uni.reLaunch({ url: "/pages/login/login" }); api.error("请登录"); @@ -4373,9 +4373,12 @@ if (uni.restoreGlobal) { utils.ttsspke("接口出错,请联系后端开发人员"); return; } else if (res.statusCode == 401) { - uni.navigateTo({ + uni.reLaunch({ url: "/pages/login/login" }); + uni.removeStorage({ + key: "access_token" + }); api.error("请登录"); return; } @@ -4383,7 +4386,7 @@ if (uni.restoreGlobal) { utils.ttsspke("连接服务器失败"); } }).catch((err) => { - formatAppLog("log", "at utils/request.js:132", err); + formatAppLog("log", "at utils/request.js:135", err); api.error("请检查是否连接到无线网络"); utils.ttsspke("请检查是否连接到无线网络"); uni.hideLoading(); @@ -5255,125 +5258,7 @@ if (uni.restoreGlobal) { __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" - }, - { - icon: "http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png", - name: "自提扫描", - router: "/pagesHome/pages/SelfPickupScan/SelfPickupScan" - } - ] - }, - { - type: 1, - name: "库内", - minilist: [ - { - 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" - } - ] - }, - { - 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 @@ -7550,7 +7435,7 @@ This will fail in production if not fixed.`); } uni.removeStorageSync(item); }); - uni.navigateTo({ + uni.reLaunch({ url: "/pages/login/login" }); formatAppLog("log", "at pages/user/user.vue:169", res.currentSize); @@ -22130,6 +22015,18 @@ This will fail in production if not fixed.`); } }); }); + onPullDownRefresh(() => { + setTimeout(() => { + details.scancode = ""; + details.allocationId = ""; + details.dtilobj = {}; + details.obldate = {}; + details.trayCode = ""; + details.scanlist = []; + details.isshowtot = false; + uni.stopPullDownRefresh(); + }, 1e3); + }); function goorderdetail(item) { uni.navigateTo({ url: "/pagesHome/pages/orderDetails/orderDetails?orderCode=" + item.orderCode @@ -22150,7 +22047,7 @@ This will fail in production if not fixed.`); details.scanlist.map((item) => { details.codenumer += item.shelfNum; }); - formatAppLog("log", "at pagesHome/pages/Relocation/Relocation.vue:294", details.codenumer); + formatAppLog("log", "at pagesHome/pages/Relocation/Relocation.vue:310", details.codenumer); }); async function scandata() { let res = null; @@ -22174,7 +22071,7 @@ This will fail in production if not fixed.`); if (res.code == 200) { details.trayCode = details.scancode; details.scanlist = res.data.list; - formatAppLog("log", "at pagesHome/pages/Relocation/Relocation.vue:319", "details.scanlist :>> ", details.scanlist); + formatAppLog("log", "at pagesHome/pages/Relocation/Relocation.vue:335", "details.scanlist :>> ", details.scanlist); details.obldate = res.data; } } else if (details.pagetype == "2") { @@ -22190,6 +22087,10 @@ This will fail in production if not fixed.`); } async function uplist() { let res = null; + uni.showLoading({ + mask: true, + title: "移库中" + }); if (details.pagetype == "1") { let data = { allocationId: details.allocationId, @@ -22203,7 +22104,12 @@ This will fail in production if not fixed.`); }; res = await warehouseUpdownTypemoveAllocationPackageList(data); } + uni.hideLoading(); if (res.code == 200) { + uni.showToast({ + title: "移库成功", + icon: "success" + }); details.scancode = ""; details.allocationId = ""; details.dtilobj = {}; @@ -22211,6 +22117,11 @@ This will fail in production if not fixed.`); details.trayCode = ""; details.scanlist = []; details.isshowtot = false; + } else { + uni.showToast({ + title: "移库失败", + icon: "error" + }); } } function setstate(flg) { @@ -22829,6 +22740,21 @@ This will fail in production if not fixed.`); } }); }); + onPullDownRefresh(() => { + setTimeout(() => { + details.scancode = ""; + details.allocationId = ""; + details.datalist = []; + details.reqobj = {}; + details.uplistarr = []; + details.waybillCode = ""; + details.codelist = []; + details.Marketlist = []; + details.checkmakindex = 0; + details.checkinarr = []; + uni.stopPullDownRefresh(); + }, 1e3); + }); vue.watchEffect(() => { if (Number(details.upshelfScanType) == 1 || Number(details.upshelfScanType) == 2) { details.uplistarr = fn2(details.uplistarr, "orderCode"); @@ -22882,7 +22808,7 @@ This will fail in production if not fixed.`); warehouseCode: "LQ" }; let res = await warehouseTrayTypefindAllMarket(data); - formatAppLog("log", "at pagesHome/pages/PeopleScanUp/PeopleScanUp.vue:395", res.data); + formatAppLog("log", "at pagesHome/pages/PeopleScanUp/PeopleScanUp.vue:416", res.data); details.Marketlist = res.data; } async function scanlist() { @@ -22902,7 +22828,7 @@ This will fail in production if not fixed.`); }; response = await warehouseUpdownTypegetStockByParam(data); } - formatAppLog("log", "at pagesHome/pages/PeopleScanUp/PeopleScanUp.vue:416", response); + formatAppLog("log", "at pagesHome/pages/PeopleScanUp/PeopleScanUp.vue:437", response); details.codelist = response.data; details.codelist.map((item) => { item["enterNum"] = 0; @@ -22930,7 +22856,7 @@ This will fail in production if not fixed.`); allocationId: details.scancode }; let res = await warehouseUpdownTypeupShelfScanAllocation(data); - formatAppLog("log", "at pagesHome/pages/PeopleScanUp/PeopleScanUp.vue:455", res); + formatAppLog("log", "at pagesHome/pages/PeopleScanUp/PeopleScanUp.vue:476", res); if (res.code == 200) { details.reqobj = res.data; details.allocationId = res.data.allocationId; @@ -22975,6 +22901,10 @@ This will fail in production if not fixed.`); }); return; } + uni.showLoading({ + mask: true, + title: "上架中" + }); let res; details.uplistarr.map((item) => { if (item.enterNum > item.totalNumber) { @@ -22994,6 +22924,7 @@ This will fail in production if not fixed.`); }; res = await warehouseUpdownTypeupShelfStockList(data); } + uni.hideLoading(); if (res.code == 200) { uni.showToast({ title: "上架成功", @@ -23003,6 +22934,11 @@ This will fail in production if not fixed.`); details.scancode = details.allocationId; details.allocationId = ""; scandata(); + } else { + uni.showToast({ + title: "上架失败", + icon: "error" + }); } tip.value.setisshow(false); }, @@ -23473,36 +23409,31 @@ This will fail in production if not fixed.`); 256 /* UNKEYED_FRAGMENT */ )) : vue.createCommentVNode("v-if", true), - vue.unref(checkstate) == 3 && vue.unref(reqobj).trayCode ? (vue.openBlock(), vue.createElementBlock( - vue.Fragment, - { key: 2 }, - vue.renderList([1], (item) => { - return vue.createElementVNode("view", { class: "item1" }, [ - vue.createElementVNode("view", null, [ - vue.createElementVNode("image", { src: "/pagesHome/static/kuweiicon.png" }), - vue.createElementVNode( - "view", - null, - "托盘码:" + vue.toDisplayString(vue.unref(reqobj).trayCode), - 1 - /* TEXT */ - ) - ]), - vue.createElementVNode("view", null, [ - vue.createElementVNode("image", { src: "/pagesHome/static/scanicon.png" }), - vue.createElementVNode( - "view", - null, - "扫码包数:" + vue.toDisplayString(vue.unref(reqobj).trayNum), - 1 - /* TEXT */ - ) - ]) - ]); - }), - 64 - /* STABLE_FRAGMENT */ - )) : vue.createCommentVNode("v-if", true) + vue.unref(checkstate) == 3 && vue.unref(reqobj).trayCode ? (vue.openBlock(), vue.createElementBlock("view", { + key: 2, + class: "item1" + }, [ + vue.createElementVNode("view", null, [ + vue.createElementVNode("image", { src: "/pagesHome/static/kuweiicon.png" }), + vue.createElementVNode( + "view", + null, + "托盘码:" + vue.toDisplayString(vue.unref(reqobj).trayCode), + 1 + /* TEXT */ + ) + ]), + vue.createElementVNode("view", null, [ + vue.createElementVNode("image", { src: "/pagesHome/static/scanicon.png" }), + vue.createElementVNode( + "view", + null, + "扫码包数:" + vue.toDisplayString(vue.unref(reqobj).trayNum), + 1 + /* TEXT */ + ) + ]) + ])) : vue.createCommentVNode("v-if", true) ]) ]) ]), @@ -24203,6 +24134,18 @@ This will fail in production if not fixed.`); } }); }); + onPullDownRefresh(() => { + setTimeout(() => { + details.scantype = 1; + details.beilist = {}; + details.newbeilist = {}; + details.scancode = ""; + details.renderList = []; + details.mergeTray = ""; + details.newmergeTray = ""; + uni.stopPullDownRefresh(); + }, 1e3); + }); function setstate(state) { details.scantype = state; } @@ -24274,11 +24217,16 @@ This will fail in production if not fixed.`); content: "是否确认合并?", confirmTxt: "合并", success: async () => { + uni.showLoading({ + mask: true, + title: "合并中" + }); let data = { sourceTrayCode: details.mergeTray, targetTrayCode: details.newmergeTray }; let res = await warehouseTrayTypemergeTray(data); + uni.hideLoading(); if (res.code == 200) { utils.ttsspke("合托成功"); uni.navigateTo({ @@ -25056,6 +25004,11 @@ This will fail in production if not fixed.`); details.scancode = ""; details.resdata = {}; details.isallcheck = false; + } else { + uni.showToast({ + icon: "error", + title: "下架失败" + }); } uni.hideLoading(); } @@ -26159,6 +26112,13 @@ This will fail in production if not fixed.`); } }); }); + onPullDownRefresh(() => { + setTimeout(() => { + details.datalist = []; + details.trayCodes = ""; + uni.stopPullDownRefresh(); + }, 1e3); + }); async function scandata() { var _a, _b, _c, _d; let data = { @@ -26166,7 +26126,7 @@ This will fail in production if not fixed.`); }; let res = await warehouseTrayTypetrayToNullScanTrayCode(data); if (res.code == 200) { - formatAppLog("log", "at pagesHome/pages/RemoveTray/RemoveTray.vue:93", res); + formatAppLog("log", "at pagesHome/pages/RemoveTray/RemoveTray.vue:103", res); details.datalist = (_a = res.data) == null ? void 0 : _a.list; details.statetype = (_b = res.data) == null ? void 0 : _b.type; if (((_d = (_c = res.data) == null ? void 0 : _c.list) == null ? void 0 : _d.length) > 0) { @@ -26182,10 +26142,22 @@ This will fail in production if not fixed.`); isshow: true, isshowcancel: true, success: async () => { + if (!details.trayCodes) { + tip.value.setisshow(false); + return uni.showToast({ + icon: "error", + title: "托盘码为空" + }); + } let data = { trayCode: details.trayCodes }; + uni.showLoading({ + mask: true, + title: "提交中" + }); let res = await warehouseTrayTypetrayToNull(data); + uni.hideLoading(); if (res.code == 200) { tip.value.setdetails({ title: "提示", @@ -26207,6 +26179,11 @@ This will fail in production if not fixed.`); details.datalist = []; details.trayCodes = ""; tip.value.setisshow(false); + } else { + uni.showToast({ + icon: "error", + title: "空置失败" + }); } }, cancel: () => { @@ -27028,12 +27005,21 @@ This will fail in production if not fixed.`); } async function uplist() { let res = null; + uni.showLoading({ + title: "移库中", + mask: true + }); let data = { allocationId: details.allocationId, targetAllocationId: details.targetAllocationId }; res = await warehouseUpdownTypemoveAllocationByAllocation(data); + uni.hideLoading(); if (res.code == 200) { + uni.showToast({ + title: "移库成功", + icon: "success" + }); details.scancode = ""; details.scancode1 = ""; details.allocationId = ""; @@ -27043,6 +27029,11 @@ This will fail in production if not fixed.`); details.trayCode = ""; details.scanlist = []; details.isshowtot = false; + } else { + uni.showToast({ + title: "移库失败", + icon: "error" + }); } } function setstate(flg) { diff --git a/unpackage/dist/dev/app-plus/manifest.json b/unpackage/dist/dev/app-plus/manifest.json index 5db9520..8d9c9b7 100644 --- a/unpackage/dist/dev/app-plus/manifest.json +++ b/unpackage/dist/dev/app-plus/manifest.json @@ -7,8 +7,8 @@ "id": "__UNI__EB22F37", "name": "货无忧", "version": { - "name": "1.0.1", - "code": 101 + "name": "1.0.2", + "code": 102 }, "description": "", "developer": { @@ -214,24 +214,6 @@ "selectedIconPath": "/static/TabberIcon/icon1check.png", "text": "工作台" }, - { - "pagePath": "pages/taskList/taskList", - "iconPath": "/static/TabberIcon/icon2.png", - "selectedIconPath": "/static/TabberIcon/icon2check.png", - "text": "任务" - }, - { - "pagePath": "pages/reportForms/reportForms", - "iconPath": "/static/TabberIcon/icon3.png", - "selectedIconPath": "/static/TabberIcon/icon3check.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",