分切管理模块语言切换

This commit is contained in:
2023-12-25 17:58:31 +08:00
parent 070ad5b37e
commit 8a8f2359c9
9 changed files with 192 additions and 127 deletions

View File

@@ -10,8 +10,19 @@
"button.confirm-receipt": "Confirm receipt", "button.confirm-receipt": "Confirm receipt",
"button.confirm-outbound": "Confirm outbound", "button.confirm-outbound": "Confirm outbound",
"button.empty-shaft-return": "Empty shaft return", "button.empty-shaft-return": "Empty shaft return",
"button.through-shaft-confirm": "Through shaft confirm",
"button.pull-shaft-confirm": "Pull shaft confirm",
"button.overlap-shaft-confirm": "Overlap shaft confirm",
"button.manual-call": "Manual call", "button.manual-call": "Manual call",
"button.call": "Call", "button.call": "Call",
"button.vehicle-lateral-movement": "Vehicle lateral movement",
"button.call-vehicle": "Call vehicle",
"button.delivery-check": "Delivery check",
"button.delivery-confirm": "Delivery confirm",
"button.vehicle-return": "Vehicle return",
"button.upload-empty-shaft": "Upload empty shaft",
"button.scrap-foil-roll-down": "Scrap foil roll down",
"button.outbound-delivery": "Outbound delivery",
"login.username": "User name", "login.username": "User name",
"login.password": "Password", "login.password": "Password",
"login.remember": "Remember username", "login.remember": "Remember username",
@@ -43,8 +54,8 @@
"menu.splitting-management": "Splitting management", "menu.splitting-management": "Splitting management",
"menu.cutting-and-feeding": "Cutting and feeding", "menu.cutting-and-feeding": "Cutting and feeding",
"menu.hollow-shaft-sleeve": "Hollow shaft sleeve", "menu.hollow-shaft-sleeve": "Hollow shaft sleeve",
"menu.empty-axis-delivery": "Empty axis delivery", "menu.empty-shaft-delivery": "Empty shaft delivery",
"menu.empty-axis-entry-station": "Empty axis entry station", "menu.empty-shaft-entry-station": "Empty shaft entry station",
"menu.subroll-outbound": "Subroll Outbound", "menu.subroll-outbound": "Subroll Outbound",
"menu.point-management": "Point management", "menu.point-management": "Point management",
"menu.abnormal-outbound-unlocking": "Abnormal outbound unlocking", "menu.abnormal-outbound-unlocking": "Abnormal outbound unlocking",
@@ -62,8 +73,8 @@
"menu.in-stock-management": "In stock management", "menu.in-stock-management": "In stock management",
"menu.inventory-management": "Inventory management", "menu.inventory-management": "Inventory management",
"menu.vehicle-management": "Vehicle management", "menu.vehicle-management": "Vehicle management",
"menu.empty-tool-storage": "Empty tool storage", "menu.empty-vehicle-entering-the-warehouse": "Empty vehicle entering the warehouse",
"menu.empty-tools-leaving-the-warehouse": "Empty tools leaving the warehouse", "menu.empty-vehicle-leaving-the-warehouse": "Empty vehicle leaving the warehouse",
"menu.print-management": "Print management", "menu.print-management": "Print management",
"menu.customer-label-printing": "Customer label printing", "menu.customer-label-printing": "Customer label printing",
"menu.scheduling-management": "Scheduling management", "menu.scheduling-management": "Scheduling management",
@@ -75,7 +86,13 @@
"filter.state": "State", "filter.state": "State",
"filter.starting-point": "Starting point", "filter.starting-point": "Starting point",
"filter.finishing-point": "Finishing point", "filter.finishing-point": "Finishing point",
"filter.device": "Device",
"filter.air-shaft": "Air shaft",
"filter.vehicle-code": "Vehicle code",
"filter.last-roll-down": "Last roll down",
"filter.cache-point": "Cache point",
"grid.number": "No.", "grid.number": "No.",
"grid.select": "Select",
"grid.work-order-number": "Work order number", "grid.work-order-number": "Work order number",
"grid.mother-roll-number": "Mother roll number", "grid.mother-roll-number": "Mother roll number",
"grid.sub-roll-number": "Sub roll number", "grid.sub-roll-number": "Sub roll number",
@@ -103,5 +120,9 @@
"grid.paper-tube-specifications": "Paper tube specifications", "grid.paper-tube-specifications": "Paper tube specifications",
"grid.FRP-pipe-material-code": "FRP pipe material code", "grid.FRP-pipe-material-code": "FRP pipe material code",
"grid.FRP-pipe-material-description": "FRP pipe material description", "grid.FRP-pipe-material-description": "FRP pipe material description",
"grid.FRP-pipe-specifications": "FRP pipe specifications" "grid.FRP-pipe-specifications": "FRP pipe specifications",
"grid.place": "Place",
"grid.delivery-completed": "Delivery completed",
"toast.point-not-empty": "The point cannot be empty",
"toast.select-cache-point": "Please select a cache point"
} }

View File

@@ -10,8 +10,19 @@
"button.confirm-receipt": "Konfirmasi penerimaan", "button.confirm-receipt": "Konfirmasi penerimaan",
"button.confirm-outbound": "Konfirmasi keluar", "button.confirm-outbound": "Konfirmasi keluar",
"button.empty-shaft-return": "Kembali shaft kosong", "button.empty-shaft-return": "Kembali shaft kosong",
"button.through-shaft-confirm": "Melalui konfirmasi shaft",
"button.pull-shaft-confirm": "Pull shaft konfirmasi",
"button.overlap-shaft-confirm": "Konfirmasi paksi Overlap",
"button.manual-call": "Panggilan manual", "button.manual-call": "Panggilan manual",
"button.call": "Panggilan", "button.call": "Panggilan",
"button.vehicle-lateral-movement": "Gerakan lateral kendaraan",
"button.call-vehicle": "Panggil kendaraan",
"button.delivery-check": "Verifikasi pengiriman",
"button.delivery-confirm": "Konfirmasi pengiriman",
"button.vehicle-return": "Kembali kendaraan",
"button.upload-empty-shaft": "Memuat naik shaft kosong",
"button.scrap-foil-roll-down": "Scrap foil roll down",
"button.outbound-delivery": "Pengiriman keluar",
"login.username": "Nama pengguna", "login.username": "Nama pengguna",
"login.password": "Sandi", "login.password": "Sandi",
"login.remember": "Ingat nama pengguna", "login.remember": "Ingat nama pengguna",
@@ -43,8 +54,8 @@
"menu.splitting-management": "Manajemen pembagian", "menu.splitting-management": "Manajemen pembagian",
"menu.cutting-and-feeding": "Memotong dan memberi makan", "menu.cutting-and-feeding": "Memotong dan memberi makan",
"menu.hollow-shaft-sleeve": "Lengan peluru kosong", "menu.hollow-shaft-sleeve": "Lengan peluru kosong",
"menu.empty-axis-delivery": "Pengiriman paksi kosong", "menu.empty-shaft-delivery": "Pengiriman shaft kosong",
"menu.empty-axis-entry-station": "Stasiun masukan paksi kosong", "menu.empty-shaft-entry-station": "Stasiun masuk shaft kosong",
"menu.subroll-outbound": "Subroll Keluar", "menu.subroll-outbound": "Subroll Keluar",
"menu.point-management": "Manajemen titik", "menu.point-management": "Manajemen titik",
"menu.abnormal-outbound-unlocking": "Pembukaan keluar tidak normal", "menu.abnormal-outbound-unlocking": "Pembukaan keluar tidak normal",
@@ -62,8 +73,8 @@
"menu.in-stock-management": "Dalam manajemen saham", "menu.in-stock-management": "Dalam manajemen saham",
"menu.inventory-management": "Manajemen inventori", "menu.inventory-management": "Manajemen inventori",
"menu.vehicle-management": "Manajemen kendaraan", "menu.vehicle-management": "Manajemen kendaraan",
"menu.empty-tool-storage": "Penyimpanan alat kosong", "menu.empty-vehicle-entering-the-warehouse": "Kendaraan kosong masuk ke gudang",
"menu.empty-tools-leaving-the-warehouse": "Alat kosong meninggalkan gudang", "menu.empty-vehicle-leaving-the-warehouse": "Kendaraan kosong meninggalkan gudang",
"menu.print-management": "Manajemen Cetak", "menu.print-management": "Manajemen Cetak",
"menu.customer-label-printing": "Cetakan label pelanggan", "menu.customer-label-printing": "Cetakan label pelanggan",
"menu.scheduling-management": "Manajemen jadwal", "menu.scheduling-management": "Manajemen jadwal",
@@ -71,11 +82,17 @@
"menu.rgv-status-query": "Pertanyaan status RGV", "menu.rgv-status-query": "Pertanyaan status RGV",
"filter.area": "Daerah", "filter.area": "Daerah",
"grid.number": "Nomor", "grid.number": "Nomor",
"grid.select": "Pilihan",
"filter.point": "Posisi titik", "filter.point": "Posisi titik",
"filter.mother-roll": "Mother roll", "filter.mother-roll": "Mother roll",
"filter.state": "Keadaan", "filter.state": "Keadaan",
"filter.starting-point": "Titik awal", "filter.starting-point": "Titik awal",
"filter.finishing-point": "Titik akhir", "filter.finishing-point": "Titik akhir",
"filter.device": "Peralatan",
"filter.air-shaft": "Paksi inflasi",
"filter.vehicle-code": "Kode kendaraan",
"filter.last-roll-down": "Roll terakhir turun",
"filter.cache-point": "Titik Cache",
"grid.work-order-number": "Nomor urutan kerja", "grid.work-order-number": "Nomor urutan kerja",
"grid.mother-roll-number": "Nomor roll ibu", "grid.mother-roll-number": "Nomor roll ibu",
"grid.sub-roll-number": "Nomor sub roll", "grid.sub-roll-number": "Nomor sub roll",
@@ -103,5 +120,9 @@
"grid.paper-tube-specifications": "Spesifikasi tabung kertas", "grid.paper-tube-specifications": "Spesifikasi tabung kertas",
"grid.FRP-pipe-material-code": "Kode bahan pipa FRP", "grid.FRP-pipe-material-code": "Kode bahan pipa FRP",
"grid.FRP-pipe-material-description": "Deskripsi bahan pipa FRP", "grid.FRP-pipe-material-description": "Deskripsi bahan pipa FRP",
"grid.FRP-pipe-specifications": "Spesifikasi pipa FRP" "grid.FRP-pipe-specifications": "Spesifikasi pipa FRP",
"grid.place": "Tempat",
"grid.delivery-completed": "Pengiriman selesai",
"toast.point-not-empty": "Titik tidak dapat kosong",
"toast.select-cache-point": "Silakan pilih lokasi cache"
} }

View File

@@ -10,8 +10,19 @@
"button.confirm-receipt": "确认入库", "button.confirm-receipt": "确认入库",
"button.confirm-outbound": "确认出库", "button.confirm-outbound": "确认出库",
"button.empty-shaft-return": "空轴送回", "button.empty-shaft-return": "空轴送回",
"button.through-shaft-confirm": "穿轴确认",
"button.pull-shaft-confirm": "拔轴确认",
"button.overlap-shaft-confirm": "套轴确认",
"button.manual-call": "人工呼叫", "button.manual-call": "人工呼叫",
"button.call": "呼叫", "button.call": "呼叫",
"button.vehicle-lateral-movement": "载具横移",
"button.call-vehicle": "呼叫载具",
"button.delivery-check": "配送校验",
"button.delivery-confirm": "配送确认",
"button.vehicle-return": "载具送回",
"button.upload-empty-shaft": "上空轴",
"button.scrap-foil-roll-down": "废箔下卷",
"button.outbound-delivery": "出站配送",
"login.username": "用户名", "login.username": "用户名",
"login.password": "密码", "login.password": "密码",
"login.remember": "记住用户名", "login.remember": "记住用户名",
@@ -43,8 +54,8 @@
"menu.splitting-management": "分切管理", "menu.splitting-management": "分切管理",
"menu.cutting-and-feeding": "分切上料", "menu.cutting-and-feeding": "分切上料",
"menu.hollow-shaft-sleeve": "空轴套管", "menu.hollow-shaft-sleeve": "空轴套管",
"menu.empty-axis-delivery": "空轴配送", "menu.empty-shaft-delivery": "空轴配送",
"menu.empty-axis-entry-station": "空轴进站", "menu.empty-shaft-entry-station": "空轴进站",
"menu.subroll-outbound": "子卷出站", "menu.subroll-outbound": "子卷出站",
"menu.point-management": "点位管理", "menu.point-management": "点位管理",
"menu.abnormal-outbound-unlocking": "异常出库解锁", "menu.abnormal-outbound-unlocking": "异常出库解锁",
@@ -62,8 +73,8 @@
"menu.in-stock-management": "在库管理", "menu.in-stock-management": "在库管理",
"menu.inventory-management": "盘点管理", "menu.inventory-management": "盘点管理",
"menu.vehicle-management": "载具管理", "menu.vehicle-management": "载具管理",
"menu.empty-tool-storage": "空载具入库", "menu.empty-vehicle-entering-the-warehouse": "空载具入库",
"menu.empty-tools-leaving-the-warehouse": "空载具出库", "menu.empty-vehicle-leaving-the-warehouse": "空载具出库",
"menu.print-management": "打印管理", "menu.print-management": "打印管理",
"menu.customer-label-printing": "客户标签打印", "menu.customer-label-printing": "客户标签打印",
"menu.scheduling-management": "调度管理", "menu.scheduling-management": "调度管理",
@@ -75,7 +86,13 @@
"filter.state": "状态", "filter.state": "状态",
"filter.starting-point": "起点", "filter.starting-point": "起点",
"filter.finishing-point": "起点", "filter.finishing-point": "起点",
"filter.device": "设备",
"filter.air-shaft": "气涨轴",
"filter.vehicle-code": "载具码",
"filter.last-roll-down": "末次下卷",
"filter.cache-point": "缓存点位",
"grid.number": "序号", "grid.number": "序号",
"grid.select": "选择",
"grid.work-order-number": "工单号", "grid.work-order-number": "工单号",
"grid.mother-roll-number": "母卷号", "grid.mother-roll-number": "母卷号",
"grid.sub-roll-number": "子卷号", "grid.sub-roll-number": "子卷号",
@@ -103,5 +120,9 @@
"grid.paper-tube-specifications": "纸筒规格", "grid.paper-tube-specifications": "纸筒规格",
"grid.FRP-pipe-material-code": "FRP管物料编码", "grid.FRP-pipe-material-code": "FRP管物料编码",
"grid.FRP-pipe-material-description": "FRP管物料描述", "grid.FRP-pipe-material-description": "FRP管物料描述",
"grid.FRP-pipe-specifications": "FRP管规格" "grid.FRP-pipe-specifications": "FRP管规格",
"grid.place": "位置",
"grid.delivery-completed": "配送完成",
"toast.point-not-empty": "点位不能为空",
"toast.select-cache-point": "请选择缓存点位"
} }

View File

@@ -1,25 +1,25 @@
<template> <template>
<view class="zd_container"> <view class="zd_container">
<nav-bar title="空轴套管"></nav-bar> <nav-bar :title="$t('menu.hollow-shaft-sleeve')"></nav-bar>
<view class="zd_content"> <view class="zd_content">
<view class="zd_wrapper"> <view class="zd_wrapper">
<view class="filter_item"> <view class="filter_item">
<view class="filter_label">区域</view> <view class="filter_label">{{$t('filter.area')}}</view>
<view class="filter_input_wraper"> <view class="filter_input_wraper">
<uni-data-select v-model="index1" :localdata="options1" @change="selectChange1"></uni-data-select> <uni-data-select v-model="index1" :placeholder="$t('uni.dataSelect.placeholder')" :emptyTips="$t('uni.dataSelect.emptyTips')" :localdata="options1" @change="selectChange1"></uni-data-select>
</view> </view>
</view> </view>
<view class="filter_item"> <view class="filter_item">
<view class="filter_label_wraper"> <view class="filter_label_wraper">
<span class="filter_label">设备</span> <span class="filter_label">{{$t('filter.device')}}</span>
</view> </view>
<view class="filter_input_wraper"> <view class="filter_input_wraper">
<uni-data-select v-model="index2" :localdata="options2" @change="selectChange2"></uni-data-select> <uni-data-select v-model="index2" :placeholder="$t('uni.dataSelect.placeholder')" :emptyTips="$t('uni.dataSelect.emptyTips')" :localdata="options2" @change="selectChange2"></uni-data-select>
</view> </view>
</view> </view>
<view class="filter_item"> <view class="filter_item">
<view class="filter_label_wraper"> <view class="filter_label_wraper">
<span class="filter_label">子卷号</span> <span class="filter_label">{{$t('filter.mother-roll')}}</span>
</view> </view>
<view class="filter_input_wraper"> <view class="filter_input_wraper">
<search-box <search-box
@@ -29,7 +29,7 @@
</view> </view>
<view class="filter_item"> <view class="filter_item">
<view class="filter_label_wraper"> <view class="filter_label_wraper">
<span class="filter_label">点位</span> <span class="filter_label">{{$t('filter.point')}}</span>
</view> </view>
<view class="filter_input_wraper"> <view class="filter_input_wraper">
<search-box <search-box
@@ -39,7 +39,7 @@
</view> </view>
<view class="filter_item"> <view class="filter_item">
<view class="filter_label_wraper"> <view class="filter_label_wraper">
<span class="filter_label">气涨轴</span> <span class="filter_label">{{$t('filter.air-shaft')}}</span>
</view> </view>
<view class="filter_input_wraper"> <view class="filter_input_wraper">
<search-box <search-box
@@ -53,21 +53,21 @@
<table> <table>
<thead> <thead>
<tr> <tr>
<th>序号</th> <th>{{$t('grid.number')}}</th>
<th>选择</th> <th>{{$t('grid.select')}}</th>
<th>子卷号</th> <th>{{$t('grid.sub-roll-number')}}</th>
<th>机台编号</th> <th>{{$t('grid.machine-code')}}</th>
<th>分切组</th> <th>{{$t('grid.split-group')}}</th>
<th>生产顺序</th> <th>{{$t('grid.production-sequence')}}</th>
<th>生产日期</th> <th>{{$t('grid.date-of-manufacture')}}</th>
<th>纸筒/FRP管</th> <th>{{$t('grid.paper-FRP-tube')}}</th>
<th>纸筒物料编码</th> <th>{{$t('grid.paper-tube-material-code')}}</th>
<th>纸筒物料描述</th> <th>{{$t('grid.paper-tube-material-description')}}</th>
<th>纸筒规格</th> <th>{{$t('grid.paper-tube-specifications')}}</th>
<th>FRP管物料编码</th> <th>{{$t('grid.FRP-pipe-material-code')}}</th>
<th>FRP管物料描述</th> <th>{{$t('grid.FRP-pipe-material-description')}}</th>
<th>FRP管规格</th> <th>{{$t('grid.FRP-pipe-specifications')}}</th>
<th>订单号</th> <th>{{$t('grid.order-number')}}</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@@ -95,10 +95,10 @@
<uni-load-more color="#007AFF" iconType="circle" :status="status" :icon-size="14" :content-text="contentText" v-if="dataList.length > 0"/> <uni-load-more color="#007AFF" iconType="circle" :status="status" :icon-size="14" :content-text="contentText" v-if="dataList.length > 0"/>
</view> </view>
<view class="submit-bar"> <view class="submit-bar">
<button class="submit-button" :class="{'btn-disabled': !val1 || !val2}" :disabled="disabled2" @tap="_casingWearConfirm">穿轴确认</button> <button class="submit-button" :class="{'btn-disabled': !val1 || !val2}" :disabled="disabled2" @tap="_casingWearConfirm">{{$t('button.through-shaft-confirm')}}</button>
<button class="submit-button" :class="{'btn-disabled': !val1 || !val2}" :disabled="disabled1" @tap="_casingOutConfirm">拔轴确认</button> <button class="submit-button" :class="{'btn-disabled': !val1 || !val2}" :disabled="disabled1" @tap="_casingOutConfirm">{{$t('button.pull-shaft-confirm')}}</button>
<button class="submit-button" :class="{'btn-disabled': !checkArr.length || !val2}" :disabled="disabled" @tap="_casingConfirm">套轴确认</button> <button class="submit-button" :class="{'btn-disabled': !checkArr.length || !val2}" :disabled="disabled" @tap="_casingConfirm">{{$t('button.overlap-shaft-confirm')}}</button>
<button class="submit-button" @tap="searchList">查询</button> <button class="submit-button" @tap="searchList">{{$t('button.search')}}</button>
</view> </view>
</view> </view>
</template> </template>
@@ -128,9 +128,9 @@
reload: false, reload: false,
status: 'more', status: 'more',
contentText: { contentText: {
contentdown: '查看更多', contentdown: this.$t('utils.read-more'),
contentrefresh: '加载中', contentrefresh: this.$t('utils.loading'),
contentnomore: '没有更多' contentnomore: this.$t('utils.no-more')
}, },
totalCount: 0, totalCount: 0,
pageNum: 1, pageNum: 1,

View File

@@ -1,17 +1,17 @@
<template> <template>
<view class="zd_container"> <view class="zd_container">
<nav-bar title="空轴配送"></nav-bar> <nav-bar :title="$t('menu.empty-shaft-delivery')"></nav-bar>
<view class="zd_content"> <view class="zd_content">
<view class="zd_wrapper"> <view class="zd_wrapper">
<view class="filter_item"> <view class="filter_item">
<view class="filter_label">区域</view> <view class="filter_label">{{$t('filter.area')}}</view>
<view class="filter_input_wraper"> <view class="filter_input_wraper">
<uni-data-select v-model="index1" :localdata="options1" @change="selectChange1"></uni-data-select> <uni-data-select v-model="index1" :localdata="options1" @change="selectChange1"></uni-data-select>
</view> </view>
</view> </view>
<view class="filter_item"> <view class="filter_item">
<view class="filter_label_wraper"> <view class="filter_label_wraper">
<span class="filter_label">设备</span> <span class="filter_label">{{$t('filter.device')}}</span>
</view> </view>
<view class="filter_input_wraper"> <view class="filter_input_wraper">
<uni-data-select v-model="index2" :localdata="options2" @change="selectChange2"></uni-data-select> <uni-data-select v-model="index2" :localdata="options2" @change="selectChange2"></uni-data-select>
@@ -19,7 +19,7 @@
</view> </view>
<view class="filter_item"> <view class="filter_item">
<view class="filter_label_wraper"> <view class="filter_label_wraper">
<span class="filter_label">气涨轴</span> <span class="filter_label">{{$t('filter.air-shaft')}}</span>
</view> </view>
<view class="filter_input_wraper"> <view class="filter_input_wraper">
<search-box <search-box
@@ -29,7 +29,7 @@
</view> </view>
<view class="filter_item"> <view class="filter_item">
<view class="filter_label_wraper"> <view class="filter_label_wraper">
<span class="filter_label">载具码</span> <span class="filter_label">{{$t('filter.vehicle-code')}}</span>
</view> </view>
<view class="filter_input_wraper"> <view class="filter_input_wraper">
<search-box <search-box
@@ -39,7 +39,7 @@
</view> </view>
<view class="filter_item"> <view class="filter_item">
<view class="filter_label_wraper"> <view class="filter_label_wraper">
<span class="filter_label">起点</span> <span class="filter_label">{{$t('filter.starting-point')}}</span>
</view> </view>
<view class="filter_input_wraper"> <view class="filter_input_wraper">
<search-box <search-box
@@ -53,22 +53,22 @@
<table> <table>
<thead> <thead>
<tr> <tr>
<th>序号</th> <th>{{$t('grid.number')}}</th>
<th>选择</th> <th>{{$t('grid.select')}}</th>
<th>气涨轴</th> <th>{{$t('filter.air-shaft')}}</th>
<th>机台编号</th> <th>{{$t('grid.machine-code')}}</th>
<th>分切组</th> <th>{{$t('grid.split-group')}}</th>
<th>生产顺序</th> <th>{{$t('grid.production-sequence')}}</th>
<th>生产日期</th> <th>{{$t('grid.date-of-manufacture')}}</th>
<th>子卷号</th> <th>{{$t('grid.sub-roll-number')}}</th>
<th>纸筒/FRP管</th> <th>{{$t('grid.paper-FRP-tube')}}</th>
<th>纸筒物料编码</th> <th>{{$t('grid.paper-tube-material-code')}}</th>
<th>纸筒物料描述</th> <th>{{$t('grid.paper-tube-material-description')}}</th>
<th>纸筒规格</th> <th>{{$t('grid.paper-tube-specifications')}}</th>
<th>FRP管物料编码</th> <th>{{$t('grid.FRP-pipe-material-code')}}</th>
<th>FRP管物料描述</th> <th>{{$t('grid.FRP-pipe-material-description')}}</th>
<th>FRP管规格</th> <th>{{$t('grid.FRP-pipe-specifications')}}</th>
<th>订单号</th> <th>{{$t('grid.order-number')}}</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@@ -96,12 +96,12 @@
</view> </view>
</view> </view>
<view class="submit-bar"> <view class="submit-bar">
<button class="submit-button" :class="{'btn-disabled': !val3}" :disabled="disabled5" @tap="_acrossVehicle">载具横移</button> <button class="submit-button" :class="{'btn-disabled': !val3}" :disabled="disabled5" @tap="_acrossVehicle">{{$t('button.vehicle-lateral-movement')}}</button>
<button class="submit-button" :class="{'btn-disabled': checkArr.length === 0 || checkArr.length > 1}" :disabled="disabled1" @tap="_needVehicle">呼叫载具</button> <button class="submit-button" :class="{'btn-disabled': checkArr.length === 0 || checkArr.length > 1}" :disabled="disabled1" @tap="_needVehicle">{{$t('button.call-vehicle')}}</button>
<button class="submit-button" :class="{'btn-disabled': !val1 || !val2}" :disabled="disabled4" @tap="_shippingCheck">配送校验</button> <button class="submit-button" :class="{'btn-disabled': !val1 || !val2}" :disabled="disabled4" @tap="_shippingCheck">{{$t('button.delivery-check')}}</button>
<button class="submit-button" :class="{'btn-disabled': !checkArr.length || !val3}" :disabled="disabled2" @tap="_shippingConfirm">配送确认</button> <button class="submit-button" :class="{'btn-disabled': !checkArr.length || !val3}" :disabled="disabled2" @tap="_shippingConfirm">{{$t('button.delivery-confirm')}}</button>
<button class="submit-button" :class="{'btn-disabled': !val3 || checkArr.length > 0}" :disabled="disabled3" @tap="_returnVehicle">载具送回</button> <button class="submit-button" :class="{'btn-disabled': !val3 || checkArr.length > 0}" :disabled="disabled3" @tap="_returnVehicle">{{$t('button.vehicle-return')}}</button>
<button class="submit-button" @tap="_queryMaterialInfo">查询</button> <button class="submit-button" @tap="_queryMaterialInfo">{{$t('button.search')}}</button>
</view> </view>
</view> </view>
</template> </template>

View File

@@ -1,24 +1,24 @@
<template> <template>
<view class="zd_container"> <view class="zd_container">
<nav-bar title="空轴进站"></nav-bar> <nav-bar :title="$t('menu.empty-shaft-entry-station')"></nav-bar>
<view class="zd_content"> <view class="zd_content">
<view class="zd_wrapper"> <view class="zd_wrapper">
<view class="filter_item"> <view class="filter_item">
<view class="filter_label">区域</view> <view class="filter_label">{{$t('filter.area')}}</view>
<view class="filter_input_wraper"> <view class="filter_input_wraper">
<uni-data-select v-model="index2" :localdata="options2" @change="selectChange2"></uni-data-select> <uni-data-select v-model="index2" :localdata="options2" @change="selectChange2"></uni-data-select>
</view> </view>
</view> </view>
<view class="filter_item"> <view class="filter_item">
<view class="filter_label_wraper"> <view class="filter_label_wraper">
<span class="filter_label">设备</span> <span class="filter_label">{{$t('filter.device')}}</span>
</view> </view>
<view class="filter_input_wraper"> <view class="filter_input_wraper">
<uni-data-select v-model="index3" :localdata="options3" @change="selectChange3"></uni-data-select> <uni-data-select v-model="index3" :localdata="options3" @change="selectChange3"></uni-data-select>
</view> </view>
</view> </view>
<view class="filter_item"> <view class="filter_item">
<view class="filter_label">点位</view> <view class="filter_label">{{$t('filter.point')}}</view>
<view class="filter_input_wraper"> <view class="filter_input_wraper">
<uni-data-select v-model="index1" :localdata="options1" @change="selectChange1"></uni-data-select> <uni-data-select v-model="index1" :localdata="options1" @change="selectChange1"></uni-data-select>
</view> </view>
@@ -29,16 +29,16 @@
<table> <table>
<thead> <thead>
<tr> <tr>
<th>序号</th> <th>{{$t('grid.number')}}</th>
<th>气涨轴</th> <th>{{$t('filter.air-shaft')}}</th>
<th>子卷号</th> <th>{{$t('grid.sub-roll-number')}}</th>
<th>机台编号</th> <th>{{$t('grid.machine-code')}}</th>
<th>分切组</th> <th>{{$t('grid.split-group')}}</th>
<th>位置</th> <th>{{$t('grid.place')}}</th>
<th>配送完成</th> <th>{{$t('grid.delivery-completed')}}</th>
<th>生产顺序</th> <th>{{$t('grid.production-sequence')}}</th>
<th>生产日期</th> <th>{{$t('grid.grid.date-of-manufacture')}}</th>
<th>订单号</th> <th>{{$t('grid.order-number')}}</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@@ -60,8 +60,8 @@
</view> </view>
</view> </view>
<view class="submit-bar"> <view class="submit-bar">
<button class="submit-button" :class="{'btn-disabled': !index1 || !pkId}" :disabled="disabled" @tap="_inConfirm">上空轴</button> <button class="submit-button" :class="{'btn-disabled': !index1 || !pkId}" :disabled="disabled" @tap="_inConfirm">{{$t('button.upload-empty-shaft')}}</button>
<button class="submit-button" @tap="_queryMaterialInfo">查询</button> <button class="submit-button" @tap="_queryMaterialInfo">{{$t('button.search')}}</button>
</view> </view>
</view> </view>
</template> </template>

View File

@@ -1,24 +1,24 @@
<template> <template>
<view class="zd_container"> <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_content">
<view class="zd_wrapper"> <view class="zd_wrapper">
<view class="filter_item"> <view class="filter_item">
<view class="filter_label">区域</view> <view class="filter_label">{{$t('filter.area')}}</view>
<view class="filter_input_wraper"> <view class="filter_input_wraper">
<uni-data-select v-model="index2" :localdata="options2" @change="selectChange2"></uni-data-select> <uni-data-select v-model="index2" :localdata="options2" @change="selectChange2"></uni-data-select>
</view> </view>
</view> </view>
<view class="filter_item"> <view class="filter_item">
<view class="filter_label_wraper"> <view class="filter_label_wraper">
<span class="filter_label">设备</span> <span class="filter_label">{{$t('filter.device')}}</span>
</view> </view>
<view class="filter_input_wraper"> <view class="filter_input_wraper">
<uni-data-select v-model="index5" :localdata="options5" @change="selectChange5"></uni-data-select> <uni-data-select v-model="index5" :localdata="options5" @change="selectChange5"></uni-data-select>
</view> </view>
</view> </view>
<view class="filter_item"> <view class="filter_item">
<view class="filter_label">点位</view> <view class="filter_label">{{$t('filter.point')}}</view>
<view class="filter_input_wraper"> <view class="filter_input_wraper">
<uni-data-select v-model="index1" :localdata="options1" @change="selectChange1"></uni-data-select> <uni-data-select v-model="index1" :localdata="options1" @change="selectChange1"></uni-data-select>
</view> </view>
@@ -29,7 +29,7 @@
</view> </view>
<view class="filter_input_wraper filter_input_wraper_1"> <view class="filter_input_wraper filter_input_wraper_1">
<view class="iconfont icon_unchecked" :class="{'icon_checked': isV === '1'}" @tap="isVirtual">&#xe66b;</view> <view class="iconfont icon_unchecked" :class="{'icon_checked': isV === '1'}" @tap="isVirtual">&#xe66b;</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> </view>
</view> </view>
@@ -38,22 +38,22 @@
<table> <table>
<thead> <thead>
<tr> <tr>
<th>序号</th> <th>{{$t('grid.number')}}</th>
<th>选择</th> <th>{{$t('grid.select')}}</th>
<th>气涨轴</th> <th>{{$t('filter.air-shaft')}}</th>
<th>子卷号</th> <th>{{$t('grid.sub-roll-number')}}</th>
<th>机台编号</th> <th>{{$t('grid.machine-code')}}</th>
<th>分切组</th> <th>{{$t('grid.split-group')}}</th>
<th>生产顺序</th> <th>{{$t('grid.production-sequence')}}</th>
<th>生产日期</th> <th>{{$t('grid.grid.date-of-manufacture')}}</th>
<th>纸筒/FRP管</th> <th>{{$t('grid.paper-FRP-tube')}}</th>
<th>纸筒物料编码</th> <th>{{$t('grid.paper-tube-material-code')}}</th>
<th>纸筒物料描述</th> <th>{{$t('grid.paper-tube-material-description')}}</th>
<th>纸筒规格</th> <th>{{$t('grid.paper-tube-specifications')}}</th>
<th>FRP管物料编码</th> <th>{{$t('grid.FRP-pipe-material-code')}}</th>
<th>FRP管物料描述</th> <th>{{$t('grid.FRP-pipe-material-description')}}</th>
<th>FRP管规格</th> <th>{{$t('grid.FRP-pipe-specifications')}}</th>
<th>订单号</th> <th>{{$t('grid.order-number')}}</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@@ -81,29 +81,29 @@
</view> </view>
</view> </view>
<view class="submit-bar"> <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 > 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">子卷出站</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">出站配送</button> <button class="submit-button" @tap="showModal">{{$t('button.outbound-delivery')}}</button>
<button class="submit-button" @tap="_queryMaterialInfo">查询</button> <button class="submit-button" @tap="_queryMaterialInfo">{{$t('button.search')}}</button>
</view> </view>
<view v-if="active" class="msg_wrapper"> <view v-if="active" class="msg_wrapper">
<view class="msg_box"> <view class="msg_box">
<view class="filter_item"> <view class="filter_item">
<view class="filter_label">区域</view> <view class="filter_label">{{$t('filter.area')}}</view>
<view class="filter_input_wraper"> <view class="filter_input_wraper">
<uni-data-select v-model="index3" :localdata="options3" @change="selectChange3"></uni-data-select> <uni-data-select v-model="index3" :localdata="options3" @change="selectChange3"></uni-data-select>
</view> </view>
</view> </view>
<view class="filter_item"> <view class="filter_item">
<view class="filter_label">缓存点位</view> <view class="filter_label">{{$t('filter.cache-point')}}</view>
<view class="filter_input_wraper"> <view class="filter_input_wraper">
<uni-data-select v-model="index4" :localdata="options4" @change="selectChange4"></uni-data-select> <uni-data-select v-model="index4" :localdata="options4" @change="selectChange4"></uni-data-select>
</view> </view>
<view class="filter_search" @tap="_conveyPointQuery">查询</view> <view class="filter_search" @tap="_conveyPointQuery">{{$t('button.search')}}</view>
</view> </view>
<view class="msg_btns"> <view class="msg_btns">
<button class="submit-button msg_btn" @tap="cancleModal">取消</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">确认</button> <button class="submit-button msg_btn" :class="{'btn-disabled': !index4}" :disabled="disabled2" @tap="_conveyConfirm">{{$t('button.confirm')}}</button>
</view> </view>
</view> </view>
</view> </view>
@@ -206,7 +206,8 @@
this.disabled1 = true this.disabled1 = true
if (!this.index1) { if (!this.index1) {
uni.showToast({ uni.showToast({
title: '点位不能为空', // title: '点位不能为空',
title: this.$t('toast.point-not-empty'),
icon: 'none' icon: 'none'
}) })
this.disabled1 = false this.disabled1 = false
@@ -237,7 +238,8 @@
this.disabled3 = true this.disabled3 = true
if (!this.index1) { if (!this.index1) {
uni.showToast({ uni.showToast({
title: '点位不能为空', // title: '点位不能为空',
title: this.$t('toast.point-not-empty'),
icon: 'none' icon: 'none'
}) })
this.disabled3 = false this.disabled3 = false
@@ -287,7 +289,8 @@
this.disabled2 = true this.disabled2 = true
if (!this.index4) { if (!this.index4) {
uni.showToast({ uni.showToast({
title: '请选择缓存点位', // title: '请选择缓存点位',
title: this.$t('toast.select-cache-point'),
icon: 'none' icon: 'none'
}) })
this.disabled2 = false this.disabled2 = false

View File

@@ -50,7 +50,6 @@
async _authority () { async _authority () {
let res = await authority() let res = await authority()
this.menuList = [...res.sonTree] this.menuList = [...res.sonTree]
}, },
toPage1 (e) { toPage1 (e) {
if (e.sonTree.length > 0) { if (e.sonTree.length > 0) {

View File

@@ -46,8 +46,8 @@ export const authority = () => {
{'menu_id': '3', 'path': 'RF03', 'name': i18n.tc('menu.splitting-management'), 'sonTree': [ {'menu_id': '3', 'path': 'RF03', 'name': i18n.tc('menu.splitting-management'), 'sonTree': [
{'menu_id': '1', 'name': i18n.tc('menu.cutting-and-feeding'), 'path': '/pages/ProductManage/SlittingFeeding'}, {'menu_id': '1', 'name': i18n.tc('menu.cutting-and-feeding'), 'path': '/pages/ProductManage/SlittingFeeding'},
{'menu_id': '2', 'name': i18n.tc('menu.hollow-shaft-sleeve'), 'path': '/pages/ProductManage/ZjCasing'}, {'menu_id': '2', 'name': i18n.tc('menu.hollow-shaft-sleeve'), 'path': '/pages/ProductManage/ZjCasing'},
{'menu_id': '3', 'name': i18n.tc('menu.empty-axis-delivery'), 'path': '/pages/ProductManage/ZjDelivery'}, {'menu_id': '3', 'name': i18n.tc('menu.empty-shaft-delivery'), 'path': '/pages/ProductManage/ZjDelivery'},
{'menu_id': '4', 'name': i18n.tc('menu.empty-axis-entry-station'), 'path': '/pages/ProductManage/ZjInStore'}, {'menu_id': '4', 'name': i18n.tc('menu.empty-shaft-entry-station'), 'path': '/pages/ProductManage/ZjInStore'},
{'menu_id': '5', 'name': i18n.tc('menu.subroll-outbound'), 'path': '/pages/ProductManage/ZjOutStore'}, {'menu_id': '5', 'name': i18n.tc('menu.subroll-outbound'), 'path': '/pages/ProductManage/ZjOutStore'},
]}, ]},
{'menu_id': '4', 'path': 'RF04', 'name': i18n.tc('menu.point-management'), 'sonTree': [ {'menu_id': '4', 'path': 'RF04', 'name': i18n.tc('menu.point-management'), 'sonTree': [
@@ -71,8 +71,8 @@ export const authority = () => {
{'menu_id': '1', 'name': i18n.tc('menu.inventory-management'), 'path': '/pages/WarehouseManage/CheckList'}, {'menu_id': '1', 'name': i18n.tc('menu.inventory-management'), 'path': '/pages/WarehouseManage/CheckList'},
]}, ]},
{'menu_id': '8', 'path': 'RF08', 'name': i18n.tc('menu.vehicle-management'), 'sonTree': [ {'menu_id': '8', 'path': 'RF08', 'name': i18n.tc('menu.vehicle-management'), 'sonTree': [
{'menu_id': '1', 'name': i18n.tc('menu.empty-tool-storage'), 'path': '/pages/WarehouseManage/EmptyInStore'}, {'menu_id': '1', 'name': i18n.tc('menu.menu.empty-vehicle-entering-the-warehouse'), 'path': '/pages/WarehouseManage/EmptyInStore'},
{'menu_id': '2', 'name': i18n.tc('menu.empty-tools-leaving-the-warehouse'), 'path': '/pages/WarehouseManage/EmptyOutStore'}, {'menu_id': '2', 'name': i18n.tc('menu.empty-vehicle-leaving-the-warehouse'), 'path': '/pages/WarehouseManage/EmptyOutStore'},
]}, ]},
{'menu_id': '9', 'path': 'RF09', 'name': i18n.tc('menu.print-management'), 'sonTree': [ {'menu_id': '9', 'path': 'RF09', 'name': i18n.tc('menu.print-management'), 'sonTree': [
{'menu_id': '1', 'name': i18n.tc('menu.customer-label-printing'), 'path': '/pages/WarehouseManage/CustomerLabelPrint'}, {'menu_id': '1', 'name': i18n.tc('menu.customer-label-printing'), 'path': '/pages/WarehouseManage/CustomerLabelPrint'},