diff --git a/src/main.ts b/src/main.ts index a5c6e497..e28e3ea4 100644 --- a/src/main.ts +++ b/src/main.ts @@ -4,7 +4,7 @@ import * as Pinia from 'pinia' import uView from 'vk-uview-ui' import App from './App.vue' import comMessage from '@/mycomponents/common/comMessage.vue' - +import noclick from './common/noclick.js' import tab from './plugins/tab' @@ -32,6 +32,8 @@ export function createApp() { app.config.globalProperties.$modal = modal // 时间对象 app.config.globalProperties.$time = time + // 节流 + app.config.globalProperties.$throttle = noclick.throttle; // 缓存 app.config.globalProperties.$storage = storage app.component('com-message', comMessage) diff --git a/src/pages.json b/src/pages.json index 921099e0..ed15ceeb 100644 --- a/src/pages.json +++ b/src/pages.json @@ -379,6 +379,13 @@ // } } }, + { + "path": "pages/purchaseReturn/job/returnDetailBatch", + "style": { + "navigationBarTitleText": "退货任务详情", + "enablePullDownRefresh": true + } + }, { "path": "pages/inspect/job/inspectJob", "style": { @@ -462,6 +469,41 @@ "enablePullDownRefresh": false } }, + { + "path": "pages/putaway/job/quantityPutawayJob", + "style": { + "navigationBarTitleText": "批量采购上架", + "enablePullDownRefresh": false, + "titleNView": { + // "autoBackButton": "true", + "buttons": [ + // 右边按钮 + { + + "float": "right", + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" + + }, + { + + "float": "right", + "fontSize": "52rpx", //按钮上文字的大小 + "text": "\ue6e2", + "fontSrc": "/static/ali_icon/iconfont.ttf" + } + ] + } + } + }, + { + "path": "pages/putaway/job/quantityPutawayJobDetail", + "style": { + "navigationBarTitleText": "采购上架(批量)详情", + "enablePullDownRefresh": false + } + }, { "path": "pages/putaway/record/putawayRecord", "style": { @@ -594,6 +636,41 @@ "enablePullDownRefresh": false } }, + { + "path": "pages/issue/job/issueJob0816", + "style": { + "navigationBarTitleText": "发料任务0816", + "enablePullDownRefresh": true, + "titleNView": { + "autoBackButton": "true", + "buttons": [ + // 右边按钮 + { + + "float": "right", + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" + + }, + { + + "float": "right", + "fontSize": "52rpx", //按钮上文字的大小 + "text": "\ue6e2", + "fontSrc": "/static/ali_icon/iconfont.ttf" + } + ] + } + } + }, + { + "path": "pages/issue/job/issueDetail0816", + "style": { + "navigationBarTitleText": "发料任务详情0816", + "enablePullDownRefresh": false + } + }, { "path": "pages/issue/record/issueRecord", "style": { @@ -610,7 +687,53 @@ "navigationBarTitleText": "直接发料记录", "enablePullDownRefresh": true, "titleNView": { - "autoBackButton": "true" + "autoBackButton": "true", + "buttons": [ + // 右边按钮 + { + + "float": "right", + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" + + }, + { + + "float": "right", + "fontSize": "52rpx", //按钮上文字的大小 + "text": "\ue6e2", + "fontSrc": "/static/ali_icon/iconfont.ttf" + } + ] + } + } + }, + { + "path": "pages/issue/record/directIssue0816", + "style": { + "navigationBarTitleText": "直接发料0816", + "enablePullDownRefresh": false, + "titleNView": { + "autoBackButton": "true", + "buttons": [ + // 右边按钮 + { + + "float": "right", + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" + + }, + { + + "float": "right", + "fontSize": "52rpx", //按钮上文字的大小 + "text": "\ue6e2", + "fontSrc": "/static/ali_icon/iconfont.ttf" + } + ] } } }, @@ -687,6 +810,16 @@ } } }, + { + "path": "pages/repleinsh/job/repleinshDetailBatch", + "style": { + "navigationBarTitleText": "补料详情", + "enablePullDownRefresh": true, + "titleNView": { + "autoBackButton": "true" + } + } + }, { "path": "pages/repleinsh/record/repleinshRecord", "style": { @@ -703,7 +836,25 @@ "navigationBarTitleText": "直接补料", "enablePullDownRefresh": true, "titleNView": { - "autoBackButton": "true" + "autoBackButton": "true", + "buttons": [ + // 右边按钮 + { + + "float": "right", + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" + + }, + { + + "float": "right", + "fontSize": "52rpx", //按钮上文字的大小 + "text": "\ue6e2", + "fontSrc": "/static/ali_icon/iconfont.ttf" + } + ] } } }, @@ -803,6 +954,113 @@ "enablePullDownRefresh": false } }, + { + "path": "pages/productionReturn/job/okToReturnJob", + "style": { + "navigationBarTitleText": "生产合格退料", + "enablePullDownRefresh": true, + "titleNView": { + // "autoBackButton": "true", + "buttons": [ + // 右边按钮 + { + + "float": "right", + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" + + }, + { + + "float": "right", + "fontSize": "52rpx", //按钮上文字的大小 + "text": "\ue6e2", + "fontSrc": "/static/ali_icon/iconfont.ttf" + } + ] + } + } + }, + { + "path": "pages/productionReturn/job/okToReturnDetail", + "style": { + "navigationBarTitleText": "生产合格退料详细", + "enablePullDownRefresh": false + } + }, + + { + "path": "pages/productionReturn/job/holdToReturnJob", + "style": { + "navigationBarTitleText": "生产隔离退料", + "enablePullDownRefresh": true, + "titleNView": { + // "autoBackButton": "true", + "buttons": [ + // 右边按钮 + { + + "float": "right", + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" + + }, + { + + "float": "right", + "fontSize": "52rpx", //按钮上文字的大小 + "text": "\ue6e2", + "fontSrc": "/static/ali_icon/iconfont.ttf" + } + ] + } + } + }, + { + "path": "pages/productionReturn/job/holdToReturnDetail", + "style": { + "navigationBarTitleText": "生产隔离退料详细", + "enablePullDownRefresh": false + } + }, + + { + "path": "pages/productionReturn/record/returnToHoldRecordList", + "style": { + "navigationBarTitleText": "隔离退料接收确认", + "enablePullDownRefresh": true, + "titleNView": { + // "autoBackButton": "true", + "buttons": [ + // 右边按钮 + { + + "float": "right", + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" + + }, + { + + "float": "right", + "fontSize": "52rpx", //按钮上文字的大小 + "text": "\ue6e2", + "fontSrc": "/static/ali_icon/iconfont.ttf" + } + ] + } + } + }, + { + "path": "pages/productionReturn/record/returnToHoldRecordListDetail", + "style": { + "navigationBarTitleText": "隔离退料接收确认详情", + "enablePullDownRefresh": false + } + }, { "path": "pages/productionReturn/request/returnToStoreRequest", "style": { @@ -847,7 +1105,7 @@ { "path": "pages/deliver/job/deliverJob", "style": { - "navigationBarTitleText": "制品发货任务", + "navigationBarTitleText": "成品发货任务", "enablePullDownRefresh": false, "titleNView": { // "autoBackButton": "true", @@ -873,14 +1131,21 @@ { "path": "pages/deliver/job/deliverDetail", "style": { - "navigationBarTitleText": "制品发货详情", + "navigationBarTitleText": "成品发货详情", + "enablePullDownRefresh": false + } + }, + { + "path": "pages/deliver/job/deliverDetailBatch", + "style": { + "navigationBarTitleText": "成品发货详情", "enablePullDownRefresh": false } }, { "path": "pages/deliver/record/deliverRecord", "style": { - "navigationBarTitleText": "制品发货记录", + "navigationBarTitleText": "成品发货记录", "enablePullDownRefresh": false } }, @@ -917,7 +1182,39 @@ "enablePullDownRefresh": false } }, + { + "path": "pages/productReceipt/record/recordList", + "style": { + "navigationBarTitleText": "隔离报工接收确认", + "enablePullDownRefresh": true, + "titleNView": { + // "autoBackButton": "true", + "buttons": [ + // 右边按钮 + { + "float": "right", + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" + }, + { + "float": "right", + "fontSize": "52rpx", //按钮上文字的大小 + "text": "\ue6e2", + "fontSrc": "/static/ali_icon/iconfont.ttf" + } + ] + } + } + }, + { + "path": "pages/productReceipt/record/recordListDetail", + "style": { + "navigationBarTitleText": "隔离报工接收确认详情", + "enablePullDownRefresh": false + } + }, { "path": "pages/productPutaway/job/semiProductPutawayJob", "style": { @@ -1382,7 +1679,39 @@ "enablePullDownRefresh": false } }, + { + "path": "pages/customerReturn/record/recordList", + "style": { + "navigationBarTitleText": "客户退货接收确认", + "enablePullDownRefresh": true, + "titleNView": { + // "autoBackButton": "true", + "buttons": [ + // 右边按钮 + { + "float": "right", + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" + }, + { + "float": "right", + "fontSize": "52rpx", //按钮上文字的大小 + "text": "\ue6e2", + "fontSrc": "/static/ali_icon/iconfont.ttf" + } + ] + } + } + }, + { + "path": "pages/customerReturn/record/recordListDetail", + "style": { + "navigationBarTitleText": "客户退货接收确认详情", + "enablePullDownRefresh": false + } + }, { "path": "pages/customerReturn/request/customerReturnRequest", "style": { @@ -1492,6 +1821,13 @@ "enablePullDownRefresh": true } }, + { + "path": "pages/stockUp/job/stockUpJobDetailBatch", + "style": { + "navigationBarTitleText": "备货任务详情", + "enablePullDownRefresh": true + } + }, { "path": "pages/scrap/record/scrapRecord", "style": { @@ -1685,6 +2021,32 @@ } } }, + { + "path": "pages/inventoryMove/job/holdToWipMoveJob", + "style": { + "navigationBarTitleText": "隔离转线边", + "enablePullDownRefresh": true, + "titleNView": { + // "autoBackButton": "true", + "buttons": [ + // 右边按钮 + { + "float": "right", + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" + + }, + { + "float": "right", + "fontSize": "52rpx", //按钮上文字的大小 + "text": "\ue6e2", + "fontSrc": "/static/ali_icon/iconfont.ttf" + } + ] + } + } + }, { "path": "pages/inventoryMove/job/holdToScrapMoveJob", "style": { @@ -2272,6 +2634,39 @@ "navigationBarTitleText": "无计划报工", "enablePullDownRefresh": false } + }, + { + "path": "pages/itemHold/record/recordList", + "style": { + "navigationBarTitleText": "物料隔离接收确认", + "enablePullDownRefresh": true, + "titleNView": { + // "autoBackButton": "true", + "buttons": [ + // 右边按钮 + { + "float": "right", + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" + }, + { + + "float": "right", + "fontSize": "52rpx", //按钮上文字的大小 + "text": "\ue6e2", + "fontSrc": "/static/ali_icon/iconfont.ttf" + } + ] + } + } + }, + { + "path": "pages/itemHold/record/recordListDetail", + "style": { + "navigationBarTitleText": "物料隔离接收确认详情", + "enablePullDownRefresh": false + } } ], "globalStyle": {