国际化

This commit is contained in:
蔡玲
2024-12-23 15:36:05 +08:00
parent e172f8620a
commit 1a153dd60c
25 changed files with 749 additions and 280 deletions

View File

@@ -6,7 +6,7 @@
<view class="zd_wrapper">
<view class="zd-row border-bottom">
<view class="zd-col-7">
<span class="filter_label">物料</span>
<span class="filter_label">{{$t('filter.wl')}}</span>
</view>
<view class="zd-col-24">
<input type="text" class="filter_input" v-model="val1">
@@ -18,15 +18,15 @@
<table>
<thead>
<tr>
<th>物料编码</th>
<th>物料名称</th>
<th>物料规格</th>
<th>单位</th>
<th>物料单重</th>
<th>物料批次</th>
<th>物料数量</th>
<th>载具编码</th>
<th>仓库编码</th>
<th>{{$t('filter.wlbm')}}</th>
<th>{{$t('filter.wlmc')}}</th>
<th>{{$t('filter.wlgg')}}</th>
<th>{{$t('filter.unit')}}</th>
<th>{{$t('filter.wldz')}}</th>
<th>{{$t('filter.wlpc')}}</th>
<th>{{$t('filter.wlsl')}}</th>
<th>{{$t('filter.zjbm')}}</th>
<th>{{$t('filter.ckbm')}}</th>
</tr>
</thead>
<tbody>
@@ -48,9 +48,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>
@@ -74,9 +74,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,