翻译3个页面

This commit is contained in:
2024-01-12 17:58:33 +08:00
parent f35d800396
commit ba4cf1d1b3
6 changed files with 113 additions and 44 deletions

View File

@@ -22,16 +22,16 @@
<thead>
<tr>
<th>{{$t('filter.wooden-box-code')}}</th>
<th>卷数</th>
<th>木箱毛重</th>
<th>销售订单及行号</th>
<th>物料编码</th>
<th>物料名称</th>
<th>规格</th>
<th>子卷号</th>
<th>净重</th>
<th>入库日期</th>
<th>生产日期</th>
<th>{{$t('grid.volume-number')}}</th>
<th>{{$t('grid.gross-weight-of-wooden-box')}}</th>
<th>{{$t('grid.sales-order-and-line-number')}}</th>
<th>{{$t('grid.material-code')}}</th>
<th>{{$t('grid.material-name')}}</th>
<th>{{$t('grid.specifications')}}</th>
<th>{{$t('grid.sub-roll-number')}}</th>
<th>{{$t('grid.net-weight')}}</th>
<th>{{$t('grid.warehousing-date')}}</th>
<th>{{$t('grid.date-of-manufacture')}}</th>
</tr>
</thead>
<tbody>
@@ -54,8 +54,8 @@
</view>
</view>
<view class="submit-bar">
<button class="submit-button" :class="{'btn-disabled': !val1}" :disabled="disabled2" @tap="_customerPrint">打印</button>
<button class="submit-button" @tap="_customerInfo(val1)">查询</button>
<button class="submit-button" :class="{'btn-disabled': !val1}" :disabled="disabled2" @tap="_customerPrint">{{$t('button.print')}}</button>
<button class="submit-button" @tap="_customerInfo(val1)">{{$t('button.search')}}</button>
</view>
</view>
</template>
@@ -85,7 +85,7 @@
async _customerInfo (e) {
if (!this.val1) {
uni.showToast({
title: '请扫木箱码',
title: this.$t('toast.scan-wooden-box-code'),
icon: 'none'
})
return
@@ -98,7 +98,7 @@
this.disabled2 = true
if (!this.val1) {
uni.showToast({
title: '请扫木箱码',
title: this.$t('toast.scan-wooden-box-code'),
icon: 'none'
})
this.disabled2 = false