国际化
This commit is contained in:
@@ -5,10 +5,10 @@
|
||||
<view class="zd_content">
|
||||
<view class="zd_wrapper">
|
||||
<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.djbm')}}</span>
|
||||
</view>
|
||||
<view class="zd-col-24">
|
||||
<view class="filter_select" :class="$i18n.locale !== 'zh-Hans' ? 'zd-col-12' : 'zd-col-17'">
|
||||
<search-box
|
||||
v-model="code"
|
||||
@handleChange="handleChange"
|
||||
@@ -21,17 +21,17 @@
|
||||
<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>{{$t('filter.djbm')}}</th>
|
||||
<th>{{$t('filter.djlx')}}</th>
|
||||
<th>{{$t('filter.remark')}}</th>
|
||||
<th>{{$t('filter.cjsj')}}</th>
|
||||
<th>{{$t('filter.cjr')}}</th>
|
||||
<th>{{$t('filter.wlbm')}}</th>
|
||||
<th>{{$t('filter.sqsl')}}</th>
|
||||
<th>{{$t('filter.jhsl')}}</th>
|
||||
<th>{{$t('filter.yfpsl')}}</th>
|
||||
<th>{{$t('filter.pcsn')}}</th>
|
||||
<th>{{$t('filter.unit')}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -55,8 +55,8 @@
|
||||
<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-6 button-primary" @tap="seachList">查询</button>
|
||||
<button class="zd-col-16 button-primary" :class="{'button-info': !pkId}" @tap="toSure">确认</button>
|
||||
<button class="zd-col-6 button-primary" @tap="seachList">{{$t('btn.search')}}</button>
|
||||
<button class="zd-col-16 button-primary" :class="{'button-info': !pkId}" @tap="toSure">{{$t('btn.confirm')}}</button>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
@@ -82,9 +82,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