国际化

This commit is contained in:
2026-01-29 20:28:02 +08:00
parent b957c6c1c5
commit 53c80bce5e
6 changed files with 77 additions and 65 deletions

View File

@@ -64,6 +64,7 @@
"button.outstore-confirm": "Outbound Confirmation",
"button.verify": "Verify",
"button.return": "Return",
"button.call-empty-shaft": "Call for an empty shaft",
"login.username": "Username",
"login.password": "Password",
"login.remember": "Remember username",
@@ -291,6 +292,9 @@
"toast.subroll-exists-check": "This sub - roll already exists. Please check",
"toast.operation-success": "Operation successful!",
"toast.subroll-count-exceed": "The number of sub - rolls exceeds the maximum number of rolls that the wooden box can hold.",
"toast.is-large-vehicle-A2": "Is it a large vehicle (used in Workshop A2)",
"toast.tempera-input-B2": "The temperature needs to be input in Workshop B2",
"toast.time-input-B2": "The time needs to be input in Workshop B2",
"select.coaster": "Small pallet",
"select.large-tray": "Large pallet",
"select.lualified-products": "Qualified products",

View File

@@ -64,6 +64,7 @@
"button.outstore-confirm": "Konfirmasi Deposit",
"button.verify": "Verifikasi",
"button.return": "Kembali",
"button.call-empty-shaft": "Panggil poros kosong",
"login.username": "Nama pengguna",
"login.password": "Kata sandi",
"login.remember": "Ingat nama pengguna",
@@ -291,6 +292,9 @@
"toast.subroll-exists-check": "Sub - gulungan ini sudah ada. Mohon periksa",
"toast.operation-success": "Operasi berhasil!",
"toast.subroll-count-exceed": "Jumlah sub - gulungan melebihi jumlah maksimum gulungan yang dapat dimuat oleh kotak kayu.",
"toast.is-large-vehicle-A2": "Apakah kendaraan besar (digunakan di Workshop A2)",
"toast.tempera-input-B2": "Suhu perlu dimasukkan di Workshop B2",
"toast.time-input-B2": "Waktu perlu dimasukkan di Workshop B2",
"select.coaster": "Palet kecil",
"select.large-tray": "Palet besar",
"select.lualified-products": "Produk layak",

View File

@@ -64,6 +64,7 @@
"button.outstore-confirm": "出库确认",
"button.verify": "校验",
"button.return": "返回",
"button.call-empty-shaft": "呼叫空轴",
"login.username": "用户名",
"login.password": "密码",
"login.remember": "记住用户名",
@@ -291,6 +292,9 @@
"toast.subroll-exists-check": "该子卷已存在,请检查",
"toast.operation-success": "操作成功!",
"toast.subroll-count-exceed": "子卷数量超过木箱的最大装卷数!",
"toast.is-large-vehicle-A2": "是否大车 (A2 车间使用)",
"toast.tempera-input-B2": "B2车间需要输入温度",
"toast.time-input-B2": "B2车间需要输入时间",
"select.coaster": "小托盘",
"select.large-tray": "大托盘",
"select.lualified-products": "合格品",

View File

@@ -6,7 +6,7 @@
<view class="zd_wrapper">
<view class="filter_item is-required">
<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 v-model="val1" @handleChange="handleChange1"/>
@@ -14,14 +14,14 @@
</view>
<view class="filter_item is-required">
<view class="filter_label_wraper">
<span class="filter_label">母卷</span>
<span class="filter_label">{{$t('grid.mother-roll-number')}}</span>
</view>
<view class="filter_input_wraper">
<search-box v-model="val2" />
</view>
</view>
<view class="filter_item is-required">
<view class="filter_label">温度</view>
<view class="filter_label">{{$t('filter.temperature')}}</view>
<view class="filter_input_wraper">
<!-- <input type="text" class="filter_input" v-model="val3"> -->
<NumberInput
@@ -33,7 +33,7 @@
</view>
</view>
<view class="filter_item is-required">
<view class="filter_label">时间</view>
<view class="filter_label">{{$t('filter.time')}}</view>
<view class="filter_input_wraper">
<!-- <input type="text" class="filter_input" v-model="val4"> -->
<NumberInput
@@ -46,10 +46,10 @@
</view>
</view>
<view class="zd-row submitbar">
<button class="zd-col-6 btn-submit btn-success letter-30" :class="{'btn-info': !val1 || !val2 || !val3 || !val4}" :disabled="disabled" @tap="_ovenInAndOut1('1')">入箱</button>
<button class="zd-col-6 btn-submit btn-success letter-30" :class="{'btn-info': !val1 || !val2}" :disabled="disabled" @tap="_ovenInAndOut2('2')">出箱</button>
<button class="zd-col-6 btn-submit btn-success" :class="{'btn-info': !val1 || !val2}" :disabled="disabled3" @tap="_inCoolIvt">质检合格</button>
<button class="zd-col-6 btn-submit btn-success letter-30" :class="{'btn-info': !val1}" :disabled="disabled4" @tap="_bakingrelease">解警</button>
<button class="zd-col-6 btn-submit btn-success letter-30" :class="{'btn-info': !val1 || !val2 || !val3 || !val4}" :disabled="disabled" @tap="_ovenInAndOut1('1')">{{$t('button.enter-box')}}</button>
<button class="zd-col-6 btn-submit btn-success letter-30" :class="{'btn-info': !val1 || !val2}" :disabled="disabled" @tap="_ovenInAndOut2('2')">{{$t('button.out-box')}}</button>
<button class="zd-col-6 btn-submit btn-success" :class="{'btn-info': !val1 || !val2}" :disabled="disabled3" @tap="_inCoolIvt">{{$t('button.quality-approved')}}</button>
<button class="zd-col-6 btn-submit btn-success letter-30" :class="{'btn-info': !val1}" :disabled="disabled4" @tap="_bakingrelease">{{$t('button.all-clear')}}</button>
</view>
</view>
</template>

View File

@@ -6,7 +6,7 @@
<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 v-model="val1"
@@ -14,7 +14,7 @@
</view>
</view>
<view class="filter_item">
<view class="filter_label">母卷</view>
<view class="filter_label">{{$t('filter.mother-roll')}}</view>
<view class="zd-row">
<view class="zd-col-21 filter_input_wraper">
<search-box
@@ -32,15 +32,15 @@
</view>
<view class="filter_input_wraper filter_input_wraper_1 mgb20">
<view class="iconfont icon_unchecked" :class="{'icon_checked': isV === '1'}" @tap="isVirtual">&#xe66b;</view>
<view class="filter_input_wraper_inn_text">是否大车(A2车间使用)</view>
<view class="filter_input_wraper_inn_text">{{$t('toast.is-large-vehicle-A2')}}</view>
</view>
</view>
<view class="filter_item mgb40">
<view class="filter_label_wraper">
<span class="filter_label">温度</span>
<span class="filter_label">{{$t('filter.temperature')}}()</span>
</view>
<view class="relative filter_input_wraper">
<view class="absolute filter_tip">B2车间需要输入温度</view>
<view class="absolute filter_tip">{{$t('toast.tempera-input-B2')}}</view>
<NumberInput
v-model="val3"
input-class="filter_input"
@@ -51,10 +51,10 @@
</view>
<view class="filter_item mgb40">
<view class="filter_label_wraper">
<span class="filter_label">时间小时</span>
<span class="filter_label">{{$t('filter.time')}}(h)</span>
</view>
<view class="relative filter_input_wraper">
<view class="absolute filter_tip">B2车间需要输入时间</view>
<view class="absolute filter_tip">{{$t('toast.time-input-B2')}}</view>
<NumberInput
v-model="val4"
input-class="filter_input"
@@ -68,18 +68,18 @@
<table>
<thead>
<tr>
<th>状态</th>
<th class="th_2">母卷号</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 class="th_2">{{$t('grid.mother-roll-number')}}</th>
<th>{{$t('grid.work-order-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>
@@ -104,10 +104,10 @@
<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 submitbar">
<button class="zd-col-4 btn-submit btn-success" :class="{'btn-info': !pkId}" :disabled="disabled1" @tap="_needEmptyAxis">呼叫</button>
<button class="zd-col-6 btn-submit btn-success" :class="{'btn-info': !(val1 && !pkId)}" :disabled="disabled5" @tap="_needEmptyVehicle">呼叫空轴</button>
<button class="zd-col-6 btn-submit btn-success" :class="{'btn-info': !pkId}" :disabled="disabled2" @tap="_confirmBlanking">准备就绪</button>
<button class="zd-col-6 btn-submit btn-success" :class="{'btn-info': !pkId}" :disabled="disabled3" @tap="_finishBlanking">确认下卷</button>
<button class="zd-col-4 btn-submit btn-success" :class="{'btn-info': !pkId}" :disabled="disabled1" @tap="_needEmptyAxis">{{$t('button.call')}}</button>
<button class="zd-col-6 btn-submit btn-success" :class="{'btn-info': !(val1 && !pkId)}" :disabled="disabled5" @tap="_needEmptyVehicle">{{$t('button.call-empty-shaft')}}</button>
<button class="zd-col-6 btn-submit btn-success" :class="{'btn-info': !pkId}" :disabled="disabled2" @tap="_confirmBlanking">{{$t('button.ready-to-go')}}</button>
<button class="zd-col-6 btn-submit btn-success" :class="{'btn-info': !pkId}" :disabled="disabled3" @tap="_finishBlanking">{{$t('button.surerolldown')}}</button>
</view>
</view>
</template>
@@ -139,9 +139,9 @@
reload: false,
status: 'more',
contentText: {
contentdown: '查看更多',
contentrefresh: '加载中',
contentnomore: '没有更多'
contentdown: this.$t('uni-load-more.contentdown'),
contentrefresh: this.$t('uni-load-more.contentrefresh'),
contentnomore: this.$t('uni-load-more.contentnomore')
},
totalCount: 0,
pageNum: 1,

View File

@@ -5,14 +5,14 @@
<view class="zd_content">
<view class="zd_wrapper">
<view class="filter_item">
<view class="filter_label">区域</view>
<view class="filter_label">{{$t('filter.area')}}</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')" :localdata="options" @change="selectChange"></uni-data-select>
</view>
</view>
<view class="filter_item is-required">
<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
@@ -21,7 +21,7 @@
</view>
</view>
<view class="filter_item">
<view class="filter_label">母卷号</view>
<view class="filter_label">{{$t('grid.mother-roll-number')}}</view>
<view class="zd-row">
<view class="zd-col-21 filter_input_wraper">
<search-box
@@ -37,21 +37,21 @@
<table>
<thead>
<tr>
<th>序号</th>
<th class="th_2">母卷号</th>
<th>子卷号</th>
<th>机台编号</th>
<th>分切组</th>
<th>生产顺序</th>
<th>生产日期</th>
<th>订单号</th>
<th>纸筒/FRP管</th>
<th>纸筒物料编码</th>
<th>纸筒物料描述</th>
<th>纸筒规格</th>
<th>FRP管物料编码</th>
<th>FRP管物料描述</th>
<th>FRP管规格</th>
<th>{{$t('grid.number')}}</th>
<th class="th_2">{{$t('grid.mother-roll-number')}}</th>
<th>{{$t('grid.sub-roll-number')}}</th>
<th>{{$t('grid.jtcode')}}</th>
<th>{{$t('grid.split-group')}}</th>
<th>{{$t('grid.production-sequence')}}</th>
<th>{{$t('grid.date-of-manufacture')}}</th>
<th>{{$t('grid.order-number')}}</th>
<th>{{$t('grid.paper-FRP-tube')}}</th>
<th>{{$t('grid.paper-tube-material-code')}}</th>
<th>{{$t('grid.paper-tube-material-description')}}</th>
<th>{{$t('grid.paper-tube-specifications')}}</th>
<th>{{$t('grid.FRP-pipe-material-code')}}</th>
<th>{{$t('grid.FRP-pipe-material-description')}}</th>
<th>{{$t('grid.FRP-pipe-specifications')}}</th>
</tr>
</thead>
<tbody>
@@ -79,17 +79,17 @@
<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 submitbar">
<button class="zd-col-6 btn-submit btn-success" :class="{'btn-info': !val1}" :disabled="disabled2" @tap="_feedingVehicleReturn('2')">满轴送回</button>
<button class="zd-col-6 btn-submit btn-success" :class="{'btn-info': !val1}" :disabled="disabled2" @tap="_feedingVehicleReturn('1')">空轴送回</button>
<button class="zd-col-6 btn-submit btn-success" @tap="handleSure">人工呼叫</button>
<button class="zd-col-6 btn-submit btn-success" :class="{'btn-info': !pkId}" :disabled="disabled" @tap="toSure">呼叫</button>
<button class="zd-col-6 btn-submit btn-success" :class="{'btn-info': !val1}" :disabled="disabled2" @tap="_feedingVehicleReturn('2')">{{$t('button.full-shaft-return')}}</button>
<button class="zd-col-6 btn-submit btn-success" :class="{'btn-info': !val1}" :disabled="disabled2" @tap="_feedingVehicleReturn('1')">{{$t('button.empty-shaft-return')}}</button>
<button class="zd-col-6 btn-submit btn-success" @tap="handleSure">{{$t('button.manual-call')}}</button>
<button class="zd-col-6 btn-submit btn-success" :class="{'btn-info': !pkId}" :disabled="disabled" @tap="toSure">{{$t('button.call')}}</button>
</view>
<view class="msg_wrapper h-50" :class="active ? 'popshow' : 'pophide'">
<view class="pop-line"></view>
<view class="msg_content">
<view class="zd_wrapper zd_wrapper-1">
<view class="filter_item filter_item-1">
<view class="filter_label">起点</view>
<view class="filter_label">{{$t('filter.starting-point')}}</view>
<view class="filter_input_wraper">
<search-box
v-model="val3"
@@ -98,7 +98,7 @@
</view>
</view>
<view class="filter_item filter_item-1">
<view class="filter_label">母卷号</view>
<view class="filter_label">{{$t('grid.mother-roll-number')}}</view>
<view class="filter_input_wraper">
<search-box
v-model="val4"
@@ -106,7 +106,7 @@
</view>
</view>
<view class="filter_item filter_item-1">
<view class="filter_label">终点</view>
<view class="filter_label">{{$t('filter.end')}}</view>
<view class="filter_input_wraper">
<search-box
v-model="val5"
@@ -116,8 +116,8 @@
</view>
</view>
<view class="zd-row submitbar">
<button class="zd-col-11 btn-submit btn-default letter-30" @tap="cancleModal">取消</button>
<button class="zd-col-11 btn-submit btn-success letter-30" @tap="modalToSure">确认</button>
<button class="zd-col-11 btn-submit btn-default letter-30" @tap="cancleModal">{{$t('button.cancel')}}</button>
<button class="zd-col-11 btn-submit btn-success letter-30" @tap="modalToSure">{{$t('button.confirm')}}</button>
</view>
</view>
<view v-if="active" class="msg_mask"></view>
@@ -147,9 +147,9 @@
reload: false,
status: 'more',
contentText: {
contentdown: '查看更多',
contentrefresh: '加载中',
contentnomore: '没有更多'
contentdown: this.$t('uni-load-more.contentdown'),
contentrefresh: this.$t('uni-load-more.contentrefresh'),
contentnomore: this.$t('uni-load-more.contentnomore')
},
totalCount: 0,
pageNum: 1,