国际化

This commit is contained in:
蔡玲
2024-12-23 15:36:05 +08:00
parent e172f8620a
commit 1a153dd60c
25 changed files with 749 additions and 280 deletions

View File

@@ -1,15 +1,15 @@
<template>
<view class="home_wraper">
<view class="zd_content">
<view class="header">首页</view>
<view class="header">{{$t('home.title')}}</view>
<view class="userInfo-wrap">
<view class="userInfo">
<text v-if="userName !== ''" class="p1">{{userName}}</text>
<text class="p2">欢迎进入恒森WMS手持系统</text>
<text class="p2">{{$t('home.message')}}</text>
</view>
<view class="exit" @tap="Quit">
<view class="icon-exit"></view>
<view class="exit-text">退出</view>
<view class="exit-text">{{$t('home.exit')}}</view>
</view>
</view>
<view class="zd_home_wrapper">
@@ -50,12 +50,16 @@
{title: '设备操控', path: 'RF07', sonTree: [{title: '切换出入库模式', path: '/pages/mode/switch-in-out'}, {title: '拣选工位启停模式', path: '/pages/mode/pick'}, {title: '下发输送线运动命令', path: '/pages/mode/command'}]},
{title: '转运管理', path: 'RF09', sonTree: [{title: '托盘转运', path: '/pages/transfer/tray-transfer'}]}
],
// menuList: [
// {title: '入库管理', path: 'RF01', sonTree: [{title: '物料组盘入库', path: '/pages/entry/mater-group-to-store'}, {title: '合格证入库', path: '/pages/entry/qualified-to-store'}, {title: '空托盘入库', path: '/pages/entry/empty-tray-to-store'}]},
// {title: '出库管理', path: 'RF02', sonTree: [{title: '空托盘出库', path: '/pages/outbound/tray-out-store'}, {title: '出库确认', path: '/pages/outbound/out-store-confirm'}, {title: '单据出库', path: '/pages/outbound/bill-out-store'}, {title: '库存出库', path: '/pages/outbound/stock-out-store'}]},
// {title: '拣选管理', path: 'RF04', sonTree: [{title: '拣选作业', path: '/pages/pick/pick-task'}]},
// {title: '设备操控', path: 'RF07', sonTree: [{title: '切换出入库模式', path: '/pages/mode/switch-in-out'}, {title: '拣选工位启停模式', path: '/pages/mode/pick'}, {title: '下发输送线运动命令', path: '/pages/mode/command'}]},
// {title: '转运管理', path: 'RF09', sonTree: [{title: '托盘转运', path: '/pages/transfer/tray-transfer'}]}
// ],
menuList: [
{title: '入库管理', path: 'RF01', sonTree: [{title: '物料组盘入库', path: '/pages/entry/mater-group-to-store'}, {title: '合格证入库', path: '/pages/entry/qualified-to-store'}, {title: '空托盘入库', path: '/pages/entry/empty-tray-to-store'}]},
{title: '出库管理', path: 'RF02', sonTree: [{title: '空托盘出库', path: '/pages/outbound/tray-out-store'}, {title: '出库确认', path: '/pages/outbound/out-store-confirm'}, {title: '单据出库', path: '/pages/outbound/bill-out-store'}, {title: '库存出库', path: '/pages/outbound/stock-out-store'}]},
{title: '拣选管理', path: 'RF04', sonTree: [{title: '拣选作业', path: '/pages/pick/pick-task'}]},
{title: '设备操控', path: 'RF07', sonTree: [{title: '切换出入库模式', path: '/pages/mode/switch-in-out'}, {title: '拣选工位启停模式', path: '/pages/mode/pick'}, {title: '下发输送线运动命令', path: '/pages/mode/command'}]},
{title: '转运管理', path: 'RF09', sonTree: [{title: '托盘转运', path: '/pages/transfer/tray-transfer'}]}
{title: this.$t('nav.rk'), path: 'RF01', sonTree: [{title: this.$t('nav.wlzprk'), path: '/pages/entry/mater-group-to-store'}, {title: this.$t('nav.hgzrk'), path: '/pages/entry/qualified-to-store'}, {title: this.$t('nav.ktprk'), path: '/pages/entry/empty-tray-to-store'}]},
{title: this.$t('nav.ck'), path: 'RF02', sonTree: [{title: this.$t('nav.ktpck'), path: '/pages/outbound/tray-out-store'}, {title: this.$t('nav.ckqr'), path: '/pages/outbound/out-store-confirm'}, {title: this.$t('nav.djck'), path: '/pages/outbound/bill-out-store'}, {title: this.$t('nav.kcck'), path: '/pages/outbound/stock-out-store'}]}
],
show: false,
secM: [],
@@ -226,6 +230,7 @@
_font(28rpx, 30rpx, #fff, 700, center)
border-radius 10rpx
padding 10rpx
word-break: break-all;
overflow hidden
.pop-title
margin 60rpx 38rpx 0 38rpx