分切管理模块语言切换

This commit is contained in:
2023-12-25 17:58:31 +08:00
parent 070ad5b37e
commit 8a8f2359c9
9 changed files with 192 additions and 127 deletions

View File

@@ -1,24 +1,24 @@
<template>
<view class="zd_container">
<nav-bar title="空轴进站"></nav-bar>
<nav-bar :title="$t('menu.empty-shaft-entry-station')"></nav-bar>
<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="index2" :localdata="options2" @change="selectChange2"></uni-data-select>
</view>
</view>
<view class="filter_item">
<view class="filter_label_wraper">
<span class="filter_label">设备</span>
<span class="filter_label">{{$t('filter.device')}}</span>
</view>
<view class="filter_input_wraper">
<uni-data-select v-model="index3" :localdata="options3" @change="selectChange3"></uni-data-select>
</view>
</view>
<view class="filter_item">
<view class="filter_label">点位</view>
<view class="filter_label">{{$t('filter.point')}}</view>
<view class="filter_input_wraper">
<uni-data-select v-model="index1" :localdata="options1" @change="selectChange1"></uni-data-select>
</view>
@@ -29,16 +29,16 @@
<table>
<thead>
<tr>
<th>序号</th>
<th>气涨轴</th>
<th>子卷号</th>
<th>机台编号</th>
<th>分切组</th>
<th>位置</th>
<th>配送完成</th>
<th>生产顺序</th>
<th>生产日期</th>
<th>订单号</th>
<th>{{$t('grid.number')}}</th>
<th>{{$t('filter.air-shaft')}}</th>
<th>{{$t('grid.sub-roll-number')}}</th>
<th>{{$t('grid.machine-code')}}</th>
<th>{{$t('grid.split-group')}}</th>
<th>{{$t('grid.place')}}</th>
<th>{{$t('grid.delivery-completed')}}</th>
<th>{{$t('grid.production-sequence')}}</th>
<th>{{$t('grid.grid.date-of-manufacture')}}</th>
<th>{{$t('grid.order-number')}}</th>
</tr>
</thead>
<tbody>
@@ -60,8 +60,8 @@
</view>
</view>
<view class="submit-bar">
<button class="submit-button" :class="{'btn-disabled': !index1 || !pkId}" :disabled="disabled" @tap="_inConfirm">上空轴</button>
<button class="submit-button" @tap="_queryMaterialInfo">查询</button>
<button class="submit-button" :class="{'btn-disabled': !index1 || !pkId}" :disabled="disabled" @tap="_inConfirm">{{$t('button.upload-empty-shaft')}}</button>
<button class="submit-button" @tap="_queryMaterialInfo">{{$t('button.search')}}</button>
</view>
</view>
</template>