国际化

This commit is contained in:
2025-06-13 15:44:52 +08:00
parent 50c6651cdc
commit 6aa55bb786
18 changed files with 501 additions and 402 deletions

View File

@@ -6,7 +6,7 @@
<view class="zd_wrapper">
<view class="filter_item">
<view class="filter_label_wraper">
<span class="filter_label">装箱点</span>
<span class="filter_label">{{$t('filter.pack-point')}}</span>
</view>
<view class="filter_input_wraper">
<search-box

View File

@@ -15,7 +15,7 @@
<view v-if="editValue.length" class="msg_item" style="margin-bottom:16rpx;">已扫木箱号{{editValue.toString()}}</view>
<view class="filter_item">
<view class="filter_label_wraper">
<span class="filter_label">已选木箱数</span>
<span class="filter_label">{{$t('filter.select-box-num')}}</span>
</view>
<view class="filter_input_wraper">
<view class="filter_input" style="font-size: 34rpx; color: #ff6a00;text-align: center;">{{selectedNum}}</view>
@@ -23,7 +23,7 @@
</view>
<view class="filter_item">
<view class="filter_label_wraper">
<span class="filter_label">可选木箱数</span>
<span class="filter_label">{{$t('filter.selectable-box-num')}}</span>
</view>
<view class="filter_input_wraper">
<view class="filter_input" style="font-size: 34rpx; color: #ff6a00;text-align: center;">{{selectedNum}}</view>
@@ -38,14 +38,14 @@
<th>{{$t('grid.select')}}</th>
<th>{{$t('filter.box-no')}}</th>
<th>木箱料号</th>
<th>木箱描述</th>
<th>最大子卷数</th>
<th>木箱长度</th>
<th>木箱宽度</th>
<th>木箱高度</th>
<th>{{$t('filter.wooden-box-description')}}</th>
<th>{{$t('filter.max-sub-num')}}</th>
<th>{{$t('grid.wooden-box-length')}}</th>
<th>{{$t('grid.wooden-box-width')}}</th>
<th>{{$t('grid.wooden-box-height')}}</th>
<th>{{$t('filter.vehicle-type')}}</th>
<th>木箱重量</th>
<th>仓位</th>
<th>{{$t('grid.wooden-box-weight')}}</th>
<th>{{$t('filter.storage-location')}}</th>
</tr>
</thead>
<tbody>

View File

@@ -48,7 +48,7 @@
return {
title: '',
val1: '',
options: [{value: '1', text: '小托盘'}, {value: '2', text: '大托盘'}],
options: [{value: '1', text: this.$t('select.coaster')}, {value: '2', text: this.$t('select.large-tray')}],
index: '',
val2: '',
disabled: false

View File

@@ -6,14 +6,14 @@
<view class="zd_wrapper">
<view class="filter_item">
<view class="filter_label_wraper">
<span class="filter_label">人工点</span>
<span class="filter_label">{{$t('filter.manual-point')}}</span>
</view>
<view class="filter_input_wraper">
<search-box v-model="val1" />
</view>
</view>
<view class="filter_item">
<view class="filter_label">检验结果</view>
<view class="filter_label">{{$t('filter.inspection-results')}}</view>
<view class="filter_input_wraper">
<uni-data-select v-model="index" :localdata="options" @change="selectChange"></uni-data-select>
</view>

View File

@@ -20,7 +20,7 @@
</view>
<view class="filter_item">
<view class="filter_label_wraper">
<span class="filter_label">托盘号</span>
<span class="filter_label">{{$t('filter.pallet-number')}}</span>
</view>
<view class="filter_input_wraper">
<search-box v-model="val2" />

View File

@@ -13,7 +13,7 @@
</view>
</view>
<view class="filter_item">
<view class="filter_label">木箱描述</view>
<view class="filter_label">{{$t('filter.wooden-box-description')}}</view>
<view class="filter_input_wraper">
<input type="text" class="filter_input" v-model="val2">
</view>
@@ -34,14 +34,14 @@
<tr>
<th>{{$t('filter.box-no')}}</th>
<th>木箱料号</th>
<th>木箱描述</th>
<th>最大子卷数</th>
<th>木箱长度</th>
<th>木箱宽度</th>
<th>木箱高度</th>
<th>载具类型</th>
<th>木箱重量</th>
<th>仓位</th>
<th>{{$t('filter.wooden-box-description')}}</th>
<th>{{$t('filter.max-sub-num')}}</th>
<th>{{$t('grid.wooden-box-length')}}</th>
<th>{{$t('grid.wooden-box-width')}}</th>
<th>{{$t('grid.wooden-box-height')}}</th>
<th>{{$t('filter.vehicle-type')}}</th>
<th>{{$t('grid.wooden-box-weight')}}</th>
<th>{{$t('filter.storage-location')}}</th>
</tr>
</thead>
<tbody>

View File

@@ -14,7 +14,7 @@
</view>
<view class="filter_item">
<view class="filter_label_wraper">
<span class="filter_label">空轴/{{$t('filter.mother-roll')}}</span>
<span class="filter_label">{{$t('filter.empty-shaft')}}/{{$t('filter.mother-roll')}}</span>
</view>
<view class="filter_input_wraper">
<search-box
@@ -23,7 +23,7 @@
</view>
</view>
<view class="filter_item">
<view class="filter_label">是否有货</view>
<view class="filter_label">{{$t('grid.is-stock')}}</view>
<view class="filter_input_wraper">
<input type="text" class="filter_input" v-model="val3" :class="{'filter_input_disabled': disabled0}" :disabled="disabled0">
</view>

View File

@@ -27,13 +27,13 @@
</view>
</view>
<view class="filter_item">
<view class="filter_label">{{$t('filter.time')}}()</view>
<view class="filter_label">{{$t('filter.time')}}({{$t('unit.minute')}})</view>
<view class="filter_input_wraper">
<input type="number" class="filter_input" v-model="val4">
</view>
</view>
<view class="filter_item">
<view class="filter_label">类型</view>
<view class="filter_label">{{$t('filter.type')}}</view>
<view class="filter_input_wraper">
<uni-data-select v-model="index" :placeholder="$t('uni.dataSelect.placeholder')" :emptyTips="$t('uni.dataSelect.emptyTips')" :localdata="options"></uni-data-select>
</view>

View File

@@ -19,9 +19,9 @@
<thead>
<tr>
<th>{{$t('filter.box-no')}}</th>
<th>木箱编码</th>
<th>{{$t('filter.box-code')}}</th>
<th>{{$t('grid.point-code')}}</th>
<th>木箱规格</th>
<th>{{$t('grid.wooden-box-specs')}}</th>
</tr>
</thead>
<tbody>

View File

@@ -13,7 +13,7 @@
</view>
</view>
<view class="filter_item">
<view class="filter_label">类型</view>
<view class="filter_label">{{$t('filter.type')}}</view>
<view class="filter_input_wraper">
<uni-data-select v-model="index" :placeholder="$t('uni.dataSelect.placeholder')" :emptyTips="$t('uni.dataSelect.emptyTips')" :localdata="options"></uni-data-select>
</view>

View File

@@ -13,13 +13,13 @@
</view>
</view>
<view class="filter_item">
<view class="filter_label">打印机</view>
<view class="filter_label">{{$t('filter.printer')}}</view>
<view class="filter_input_wraper">
<uni-data-select v-model="index1" :placeholder="$t('uni.dataSelect.placeholder')" :emptyTips="$t('uni.dataSelect.emptyTips')" :localdata="options1" @change="selectChange1"></uni-data-select>
</view>
</view>
<view class="filter_item">
<view class="filter_label">标签类型</view>
<view class="filter_label">{{$t('filter.label-type')}}</view>
<view class="filter_input_wraper">
<uni-data-select v-model="index2" :placeholder="$t('uni.dataSelect.placeholder')" :emptyTips="$t('uni.dataSelect.emptyTips')" :localdata="options2" @change="selectChange2"></uni-data-select>
</view>

View File

@@ -34,12 +34,12 @@
<tr>
<th>{{$t('grid.point-code')}}</th>
<th>{{$t('grid.mother-roll-number')}}</th>
<th>满轴位</th>
<th>满轴位状态</th>
<th>空轴位</th>
<th>空轴位状态</th>
<th>母卷来源</th>
<th>母卷状态</th>
<th>{{$t('grid.full-axis-position')}}</th>
<th>{{$t('grid.full-axis-position-status')}}</th>
<th>{{$t('grid.empty-axis-position')}}</th>
<th>{{$t('grid.grid.empty-axis-position-status')}}</th>
<th>{{$t('grid.mother-roll-source')}}</th>
<th>{{$t('grid.mother-roll-status')}}</th>
</tr>
</thead>
<tbody>

View File

@@ -22,10 +22,10 @@
<th class="th_2">{{$t('grid.order-number')}}</th>
<th>{{$t('grid.customer-name')}}</th>
<th>{{$t('grid.sub-roll-number')}}</th>
<th>{{$t('grid.sub-roll')}}{{$t('grid.specifications')}}</th>
<th>{{$t('grid.sub-roll')}}{{$t('grid.weight')}}</th>
<th>{{$t('grid.subtube')}}{{$t('grid.weight')}}</th>
<th>木箱料号</th>
<th>{{$t('grid.sub-roll-spec')}}</th>
<th>{{$t('grid.sub-roll-weight')}}</th>
<th>{{$t('grid.subtube-weight')}}</th>
<th>{{$t('filter.box-type')}}</th>
</tr>
</thead>
<tbody>
@@ -46,7 +46,7 @@
</view>
<view class="zd-row submitbar">
<button class="zd-col-6 btn-submit btn-default letter-30" @tap="clearUp">{{$t('button.clear')}}</button>
<button class="zd-col-15 btn-submit btn-success letter-30" :class="{'btn-info': !dataList.length}" @tap="toSure">组盘</button>
<button class="zd-col-15 btn-submit btn-success letter-30" :class="{'btn-info': !dataList.length}" @tap="toSure">{{$t('button.group-disk')}}</button>
</view>
<view class="msg_wrapper" :class="show ? 'popshow' : 'pophide'">
<view class="pop-line"></view>
@@ -64,13 +64,13 @@
<table>
<thead>
<tr>
<th>木箱规格</th>
<th>{{$t('grid.wooden-box-specs')}}</th>
<th>{{$t('grid.material-name')}}</th>
<th>木箱长度</th>
<th>木箱宽度</th>
<th>木箱高度</th>
<th>木箱库存数</th>
<th>最大装卷数</th>
<th>{{$t('grid.wooden-box-length')}}</th>
<th>{{$t('grid.wooden-box-width')}}</th>
<th>{{$t('grid.wooden-box-height')}}</th>
<th>{{$t('grid.wooden-box-quantity')}}</th>
<th>{{$t('grid.maximum-rolls')}}</th>
</tr>
</thead>
<tbody>

View File

@@ -18,7 +18,7 @@
</view>
<view class="filter_input_wraper filter_input_wraper_1">
<view class="iconfont icon_unchecked" :class="{'icon_checked': isV === '1'}" @tap="isVirtual">&#xe66b;</view>
<view class="filter_input_wraper_inn_text">直接入库</view>
<view class="filter_input_wraper_inn_text">{{$t('filter.direct-storage')}}</view>
</view>
</view>
</view>
@@ -28,14 +28,14 @@
<thead>
<tr>
<th>{{$t('filter.box-no')}}</th>
<th>子卷容量</th>
<th>{{$t('grid.sub-roll-capacity')}}</th>
<th>{{$t('grid.product-description')}}</th>
<th>sap批次</th>
<th>产品规格(幅宽)</th>
<th>木箱重量</th>
<th>木箱长</th>
<th>木箱宽</th>
<th>木箱高</th>
<th>{{$t('grid.sap-batch')}}</th>
<th>{{$t('grid.product-spec')}}</th>
<th>{{$t('grid.wooden-box-weight')}}</th>
<th>{{$t('grid.wooden-box-length')}}</th>
<th>{{$t('grid.wooden-box-width')}}</th>
<th>{{$t('grid.wooden-box-height')}}</th>
</tr>
</thead>
<tbody>

View File

@@ -187,7 +187,7 @@
height: 100%
padding-left 40rpx
padding-right 40rpx
background linear-gradient(to bottom, #f8e6db 0%, #f6f6f6 30%, #f6f6f6 100%)
// background linear-gradient(to bottom, #f8eddb 0%, #f6f6f6 30%, #f6f6f6 100%)
overflow: hidden
.version-name
width 100%