国际化
This commit is contained in:
@@ -5,18 +5,18 @@
|
||||
<view class="zd_content">
|
||||
<view class="zd_wrapper">
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label">仓库</span>
|
||||
<view :class="$i18n.locale !== 'zh-Hans' ? 'zd-col-12' : 'zd-col-7'">
|
||||
<span class="filter_label">{{$t('filter.ck')}}</span>
|
||||
</view>
|
||||
<view class="zd-col-24 filter_select">
|
||||
<uni-data-select v-model="index" :localdata="options"></uni-data-select>
|
||||
<view class="filter_select" :class="$i18n.locale !== 'zh-Hans' ? 'zd-col-12' : 'zd-col-17'">
|
||||
<uni-data-select v-model="index" :placeholder="$t('uni.dataSelect.placeholder')" :emptyTips="$t('uni.dataSelect.emptyTips')" :localdata="options"></uni-data-select>
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd-row">
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label">物料编码</span>
|
||||
<view :class="$i18n.locale !== 'zh-Hans' ? 'zd-col-12' : 'zd-col-7'">
|
||||
<span class="filter_label">{{$t('filter.wlbm')}}</span>
|
||||
</view>
|
||||
<view class="zd-col-24 filter_select">
|
||||
<view :class="$i18n.locale !== 'zh-Hans' ? 'zd-col-12' : 'zd-col-17'">
|
||||
<input type="text" class="filter_input" v-model="val1">
|
||||
</view>
|
||||
</view>
|
||||
@@ -26,12 +26,12 @@
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>仓库编码</th>
|
||||
<th>库位编码</th>
|
||||
<th>载具编码</th>
|
||||
<th>物料编码</th>
|
||||
<th>物料批次</th>
|
||||
<th>出库库存</th>
|
||||
<th>{{$t('filter.ckbm')}}</th>
|
||||
<th>{{$t('filter.kwbm')}}</th>
|
||||
<th>{{$t('filter.zjbm')}}</th>
|
||||
<th>{{$t('filter.wlbm')}}</th>
|
||||
<th>{{$t('filter.wlpc')}}</th>
|
||||
<th>{{$t('filter.ckkc')}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -50,9 +50,9 @@
|
||||
<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 submit-bar">
|
||||
<button class="zd-col-5 button-default" @tap="toEmpty">清空</button>
|
||||
<button class="zd-col-8 button-primary" @tap="searchList">查询</button>
|
||||
<button class="zd-col-8 button-primary" :class="{'button-info': !pkId}" @tap="toSure">确认</button>
|
||||
<button class="zd-col-5 button-default" @tap="toEmpty">{{$t('btn.cancle')}}</button>
|
||||
<button class="zd-col-8 button-primary" @tap="searchList">{{$t('btn.search')}}</button>
|
||||
<button class="zd-col-8 button-primary" :class="{'button-info': !pkId}" @tap="toSure">{{$t('btn.confirm')}}</button>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
@@ -70,7 +70,7 @@
|
||||
return {
|
||||
title: '',
|
||||
val1: '',
|
||||
options: [{value: 'FStockPallet', text: '托盘库'}, {value: 'FStockId', text: '料箱库'}],
|
||||
options: [{value: 'FStockPallet', text: this.$t('text.tpk')}, {value: 'FStockId', text: this.$t('text.lxk')}],
|
||||
index: '',
|
||||
dataList: [],
|
||||
pkId: '',
|
||||
@@ -78,9 +78,9 @@
|
||||
reload: false,
|
||||
status: 'more',
|
||||
contentText: {
|
||||
contentdown: '查看更多',
|
||||
contentrefresh: '加载中',
|
||||
contentnomore: '没有更多'
|
||||
contentdown: this.$t('more.ckgd'),
|
||||
contentrefresh: this.$t('more.jzz'),
|
||||
contentnomore: this.$t('more.mygd')
|
||||
},
|
||||
totalCount: 0,
|
||||
pageNum: 1,
|
||||
|
||||
Reference in New Issue
Block a user