国际化

This commit is contained in:
2025-09-12 13:13:29 +08:00
parent caef2ecc53
commit 2ebaeac1e9
18 changed files with 533 additions and 331 deletions

View File

@@ -4,13 +4,9 @@
<nav-bar :title="title" :inner="true"></nav-bar>
<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>
<view class="zd-col-24">
<input type="text" class="filter_input" v-model="val1">
</view>
<view>
<view class="filter_label">{{$t('label.Material')}}</view>
<input type="text" class="filter_input" v-model="val1">
</view>
</view>
<view class="zd_wrapper grid-wraper">
@@ -18,9 +14,9 @@
<table>
<thead>
<tr>
<th>物料名称</th>
<th><view style="width: 300rpx;">物料规格</view></th>
<th>物料编码</th>
<th>{{$t('label.MaterialName')}}</th>
<th><view style="width: 300rpx;">{{$t('MaterialSpecification')}}</view></th>
<th>{{$t('MaterialCode')}}</th>
</tr>
</thead>
<tbody>
@@ -36,9 +32,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('button.clear')}}</button>
<button class="zd-col-8 button-primary" @tap="searchList">{{$t('button.search')}}</button>
<button class="zd-col-8 button-primary" :class="{'button-info': !pkId}" @tap="toSure">{{$t('button.confirm')}}</button>
</view>
</view>
</template>