半成品入库语言切换
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
<template>
|
||||
<view class="zd_container">
|
||||
<nav-bar title="半成品入库"></nav-bar>
|
||||
<nav-bar :title="$t('menu.semi-finished-product-warehousing')"></nav-bar>
|
||||
<view class="zd_content">
|
||||
<view class="zd_wrapper">
|
||||
<view class="filter_item">
|
||||
<view class="filter_label_wraper">
|
||||
<span class="filter_label">点位</span>
|
||||
<span class="filter_label">{{$t('filter.point')}}</span>
|
||||
</view>
|
||||
<view class="filter_input_wraper">
|
||||
<search-box
|
||||
@@ -15,7 +15,7 @@
|
||||
</view>
|
||||
<view class="filter_item">
|
||||
<view class="filter_label_wraper">
|
||||
<span class="filter_label">母卷</span>
|
||||
<span class="filter_label">{{$t('filter.mother-roll')}}</span>
|
||||
</view>
|
||||
<view class="filter_input_wraper">
|
||||
<search-box
|
||||
@@ -24,9 +24,9 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="filter_item">
|
||||
<view class="filter_label">状态</view>
|
||||
<view class="filter_label">{{$t('filter.state')}}</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>
|
||||
@@ -35,18 +35,18 @@
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>状态</th>
|
||||
<th>工单号</th>
|
||||
<th>母卷号</th>
|
||||
<th>机台编码</th>
|
||||
<th>产品编码</th>
|
||||
<th>理论长度</th>
|
||||
<th>开始时间</th>
|
||||
<th>结束时间</th>
|
||||
<th>总重量</th>
|
||||
<th>车号</th>
|
||||
<th>生产区域</th>
|
||||
<th>更新时间</th>
|
||||
<th>{{$t('filter.state')}}</th>
|
||||
<th>{{$t('grid.work-order-number')}}</th>
|
||||
<th>{{$t('grid.mother-roll-number')}}</th>
|
||||
<th>{{$t('grid.machine-code')}}</th>
|
||||
<th>{{$t('grid.product-code')}}</th>
|
||||
<th>{{$t('grid.theoretical-length')}}</th>
|
||||
<th>{{$t('grid.start-time')}}</th>
|
||||
<th>{{$t('grid.end-time')}}</th>
|
||||
<th>{{$t('grid.total-weight')}}</th>
|
||||
<th>{{$t('grid.car-number')}}</th>
|
||||
<th>{{$t('grid.production-area')}}</th>
|
||||
<th>{{$t('grid.update-time')}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -71,8 +71,8 @@
|
||||
<uni-load-more color="#007AFF" iconType="circle" :status="status" :icon-size="14" :content-text="contentText" v-if="dataList.length > 0"/>
|
||||
</view>
|
||||
<view class="submit-bar">
|
||||
<button class="submit-button" :class="{'btn-disabled': !val1 || !pkId || !index}" :disabled="disabled" @tap="_confirmInstor">确认入库</button>
|
||||
<button class="submit-button" @tap="searchList">查询</button>
|
||||
<button class="submit-button" :class="{'btn-disabled': !val1 || !pkId || !index}" :disabled="disabled" @tap="_confirmInstor">{{$t('button.receipt-confirmation')}}</button>
|
||||
<button class="submit-button" @tap="searchList">{{$t('button.search')}}</button>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
@@ -99,9 +99,9 @@
|
||||
reload: false,
|
||||
status: 'more',
|
||||
contentText: {
|
||||
contentdown: '查看更多',
|
||||
contentrefresh: '加载中',
|
||||
contentnomore: '没有更多'
|
||||
contentdown: this.$t('utils.read-more'),
|
||||
contentrefresh: this.$t('utils.loading'),
|
||||
contentnomore: this.$t('utils.no-more')
|
||||
},
|
||||
totalCount: 0,
|
||||
pageNum: 1,
|
||||
|
||||
Reference in New Issue
Block a user