Browse Source

main.ts pages.json修改 文件迁移Vue2升级Vue3 8/2-10/25

hella_vue3
王志国 2 weeks ago
parent
commit
0b268ed2e2
  1. 4
      src/main.ts
  2. 405
      src/pages.json

4
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)

405
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": {

Loading…
Cancel
Save