部分页面国际化

This commit is contained in:
2025-06-06 16:05:31 +08:00
parent 9dddf7df6d
commit 9b0835a7b5
30 changed files with 229 additions and 156 deletions

View File

@@ -5,14 +5,14 @@
<view class="zd_content">
<view class="zd_wrapper">
<view class="filter_item">
<view class="filter_label">区域</view>
<view class="filter_label">{{$t('filter.area')}}</view>
<view class="filter_input_wraper">
<uni-data-select v-model="index" :localdata="options" @change="selectChange"></uni-data-select>
<uni-data-select v-model="index" :placeholder="$t('uni.dataSelect.placeholder')" :emptyTips="$t('uni.dataSelect.emptyTips')" :localdata="options" @change="selectChange"></uni-data-select>
</view>
</view>
<view class="filter_item">
<view class="filter_label_wraper">
<span class="filter_label">点位</span>
<span class="filter_label">{{$t('grid.point-code')}}</span>
</view>
<view class="filter_input_wraper">
<search-box v-model="val1" />
@@ -20,7 +20,7 @@
</view>
<view class="filter_item">
<view class="filter_label_wraper">
<span class="filter_label">母卷</span>
<span class="filter_label">{{$t('grid.mother-roll-number')}}</span>
</view>
<view class="filter_input_wraper">
<search-box v-model="val2" />
@@ -32,15 +32,15 @@
<table>
<thead>
<tr>
<th>母卷号</th>
<th>开始时间</th>
<th>预计结束时间</th>
<th>机台编码</th>
<th>点位编码</th>
<th>产品编码</th>
<th>理论长度</th>
<th>工单号</th>
<th>剩余时间()</th>
<th>{{$t('grid.mother-roll-number')}}</th>
<th>{{$t('grid.start-time')}}</th>
<th>{{$t('grid.expected-end-time')}}</th>
<th>{{$t('grid.machine-code')}}</th>
<th>{{$t('grid.point-code')}}</th>
<th>{{$t('grid.product-code')}}</th>
<th>{{$t('grid.theoretical-length')}}</th>
<th>{{$t('grid.work-order-number')}}</th>
<th>{{$t('grid.remain-time')}}</th>
</tr>
</thead>
<tbody>
@@ -62,7 +62,7 @@
<uni-load-more color="#007AFF" iconType="circle" :status="status" :icon-size="14" :content-text="contentText" v-if="dataList.length > 0"/>
</view>
<view class="zd-row submitbar">
<button class="zd-col-22 btn-submit btn-success" @tap="searchList">查询</button>
<button class="zd-col-22 btn-submit btn-success" @tap="searchList">{{$t('button.search')}}</button>
</view>
<up-top ref="UT" :scrollTop="top"></up-top>
</view>