分切管理模块语言切换
This commit is contained in:
@@ -1,24 +1,24 @@
|
||||
<template>
|
||||
<view class="zd_container">
|
||||
<nav-bar title="子卷出站"></nav-bar>
|
||||
<nav-bar :title="$t('menu.subroll-outbound')"></nav-bar>
|
||||
<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="index2" :localdata="options2" @change="selectChange2"></uni-data-select>
|
||||
</view>
|
||||
</view>
|
||||
<view class="filter_item">
|
||||
<view class="filter_label_wraper">
|
||||
<span class="filter_label">设备</span>
|
||||
<span class="filter_label">{{$t('filter.device')}}</span>
|
||||
</view>
|
||||
<view class="filter_input_wraper">
|
||||
<uni-data-select v-model="index5" :localdata="options5" @change="selectChange5"></uni-data-select>
|
||||
</view>
|
||||
</view>
|
||||
<view class="filter_item">
|
||||
<view class="filter_label">点位</view>
|
||||
<view class="filter_label">{{$t('filter.point')}}</view>
|
||||
<view class="filter_input_wraper">
|
||||
<uni-data-select v-model="index1" :localdata="options1" @change="selectChange1"></uni-data-select>
|
||||
</view>
|
||||
@@ -29,7 +29,7 @@
|
||||
</view>
|
||||
<view class="filter_input_wraper filter_input_wraper_1">
|
||||
<view class="iconfont icon_unchecked" :class="{'icon_checked': isV === '1'}" @tap="isVirtual"></view>
|
||||
<view class="filter_input_wraper_inn_text">末次下卷</view>
|
||||
<view class="filter_input_wraper_inn_text">{{$t('filter.last-roll-down')}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -38,22 +38,22 @@
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>序号</th>
|
||||
<th>选择</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>订单号</th>
|
||||
<th>{{$t('grid.number')}}</th>
|
||||
<th>{{$t('grid.select')}}</th>
|
||||
<th>{{$t('filter.air-shaft')}}</th>
|
||||
<th>{{$t('grid.sub-roll-number')}}</th>
|
||||
<th>{{$t('grid.machine-code')}}</th>
|
||||
<th>{{$t('grid.split-group')}}</th>
|
||||
<th>{{$t('grid.production-sequence')}}</th>
|
||||
<th>{{$t('grid.grid.date-of-manufacture')}}</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>
|
||||
<th>{{$t('grid.order-number')}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -81,29 +81,29 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="submit-bar">
|
||||
<button class="submit-button" :class="{'btn-disabled': !index1 || checkArr.length > 0}" :disabled="disabled3" @tap="_disuseConfirm">废箔下卷</button>
|
||||
<button class="submit-button" :class="{'btn-disabled': !index1 || !checkArr.length}" :disabled="disabled1" @tap="_outConfirm">子卷出站</button>
|
||||
<button class="submit-button" @tap="showModal">出站配送</button>
|
||||
<button class="submit-button" @tap="_queryMaterialInfo">查询</button>
|
||||
<button class="submit-button" :class="{'btn-disabled': !index1 || checkArr.length > 0}" :disabled="disabled3" @tap="_disuseConfirm">{{$t('button.scrap-foil-roll-down')}}</button>
|
||||
<button class="submit-button" :class="{'btn-disabled': !index1 || !checkArr.length}" :disabled="disabled1" @tap="_outConfirm">{{$t('menu.subroll-outbound')}}</button>
|
||||
<button class="submit-button" @tap="showModal">{{$t('button.outbound-delivery')}}</button>
|
||||
<button class="submit-button" @tap="_queryMaterialInfo">{{$t('button.search')}}</button>
|
||||
</view>
|
||||
<view v-if="active" class="msg_wrapper">
|
||||
<view class="msg_box">
|
||||
<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="index3" :localdata="options3" @change="selectChange3"></uni-data-select>
|
||||
</view>
|
||||
</view>
|
||||
<view class="filter_item">
|
||||
<view class="filter_label">缓存点位</view>
|
||||
<view class="filter_label">{{$t('filter.cache-point')}}</view>
|
||||
<view class="filter_input_wraper">
|
||||
<uni-data-select v-model="index4" :localdata="options4" @change="selectChange4"></uni-data-select>
|
||||
</view>
|
||||
<view class="filter_search" @tap="_conveyPointQuery">查询</view>
|
||||
<view class="filter_search" @tap="_conveyPointQuery">{{$t('button.search')}}</view>
|
||||
</view>
|
||||
<view class="msg_btns">
|
||||
<button class="submit-button msg_btn" @tap="cancleModal">取消</button>
|
||||
<button class="submit-button msg_btn" :class="{'btn-disabled': !index4}" :disabled="disabled2" @tap="_conveyConfirm">确认</button>
|
||||
<button class="submit-button msg_btn" @tap="cancleModal">{{$t('button.cancel')}}</button>
|
||||
<button class="submit-button msg_btn" :class="{'btn-disabled': !index4}" :disabled="disabled2" @tap="_conveyConfirm">{{$t('button.confirm')}}</button>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -206,7 +206,8 @@
|
||||
this.disabled1 = true
|
||||
if (!this.index1) {
|
||||
uni.showToast({
|
||||
title: '点位不能为空',
|
||||
// title: '点位不能为空',
|
||||
title: this.$t('toast.point-not-empty'),
|
||||
icon: 'none'
|
||||
})
|
||||
this.disabled1 = false
|
||||
@@ -237,7 +238,8 @@
|
||||
this.disabled3 = true
|
||||
if (!this.index1) {
|
||||
uni.showToast({
|
||||
title: '点位不能为空',
|
||||
// title: '点位不能为空',
|
||||
title: this.$t('toast.point-not-empty'),
|
||||
icon: 'none'
|
||||
})
|
||||
this.disabled3 = false
|
||||
@@ -287,7 +289,8 @@
|
||||
this.disabled2 = true
|
||||
if (!this.index4) {
|
||||
uni.showToast({
|
||||
title: '请选择缓存点位',
|
||||
// title: '请选择缓存点位',
|
||||
title: this.$t('toast.select-cache-point'),
|
||||
icon: 'none'
|
||||
})
|
||||
this.disabled2 = false
|
||||
|
||||
Reference in New Issue
Block a user