空管入库空管出库
This commit is contained in:
@@ -23,6 +23,7 @@
|
|||||||
"button.upload-empty-shaft": "Upload empty shaft",
|
"button.upload-empty-shaft": "Upload empty shaft",
|
||||||
"button.scrap-foil-roll-down": "Scrap foil roll down",
|
"button.scrap-foil-roll-down": "Scrap foil roll down",
|
||||||
"button.outbound-delivery": "Outbound delivery",
|
"button.outbound-delivery": "Outbound delivery",
|
||||||
|
"button.storage-settings": "Storage settings",
|
||||||
"login.username": "User name",
|
"login.username": "User name",
|
||||||
"login.password": "Password",
|
"login.password": "Password",
|
||||||
"login.remember": "Remember username",
|
"login.remember": "Remember username",
|
||||||
@@ -87,6 +88,8 @@
|
|||||||
"filter.starting-point": "Starting point",
|
"filter.starting-point": "Starting point",
|
||||||
"filter.finishing-point": "Finishing point",
|
"filter.finishing-point": "Finishing point",
|
||||||
"filter.device": "Device",
|
"filter.device": "Device",
|
||||||
|
"filter.material": "Material",
|
||||||
|
"filter.quantity": "Quantity",
|
||||||
"filter.air-shaft": "Air shaft",
|
"filter.air-shaft": "Air shaft",
|
||||||
"filter.vehicle-code": "Vehicle code",
|
"filter.vehicle-code": "Vehicle code",
|
||||||
"filter.last-roll-down": "Last roll down",
|
"filter.last-roll-down": "Last roll down",
|
||||||
@@ -123,6 +126,12 @@
|
|||||||
"grid.FRP-pipe-specifications": "FRP pipe specifications",
|
"grid.FRP-pipe-specifications": "FRP pipe specifications",
|
||||||
"grid.place": "Place",
|
"grid.place": "Place",
|
||||||
"grid.delivery-completed": "Delivery completed",
|
"grid.delivery-completed": "Delivery completed",
|
||||||
|
"grid.material-name": "Material name",
|
||||||
"toast.point-not-empty": "The point cannot be empty",
|
"toast.point-not-empty": "The point cannot be empty",
|
||||||
"toast.select-cache-point": "Please select a cache point"
|
"toast.select-cache-point": "Please select a cache point",
|
||||||
|
"toast.select-device": "Please select a device",
|
||||||
|
"toast.select-row": "Please select a row",
|
||||||
|
"toast.device-not-empty": "The device cannot be empty",
|
||||||
|
"toast.material-not-empty": "Material cannot be empty",
|
||||||
|
"toast.quantity-not-empty": "数量不能为空"
|
||||||
}
|
}
|
||||||
@@ -23,6 +23,7 @@
|
|||||||
"button.upload-empty-shaft": "Memuat naik shaft kosong",
|
"button.upload-empty-shaft": "Memuat naik shaft kosong",
|
||||||
"button.scrap-foil-roll-down": "Scrap foil roll down",
|
"button.scrap-foil-roll-down": "Scrap foil roll down",
|
||||||
"button.outbound-delivery": "Pengiriman keluar",
|
"button.outbound-delivery": "Pengiriman keluar",
|
||||||
|
"button.storage-settings": "Pengaturan penyimpanan",
|
||||||
"login.username": "Nama pengguna",
|
"login.username": "Nama pengguna",
|
||||||
"login.password": "Sandi",
|
"login.password": "Sandi",
|
||||||
"login.remember": "Ingat nama pengguna",
|
"login.remember": "Ingat nama pengguna",
|
||||||
@@ -89,6 +90,8 @@
|
|||||||
"filter.starting-point": "Titik awal",
|
"filter.starting-point": "Titik awal",
|
||||||
"filter.finishing-point": "Titik akhir",
|
"filter.finishing-point": "Titik akhir",
|
||||||
"filter.device": "Peralatan",
|
"filter.device": "Peralatan",
|
||||||
|
"filter.material": "Material",
|
||||||
|
"filter.quantity": "Jumlah",
|
||||||
"filter.air-shaft": "Paksi inflasi",
|
"filter.air-shaft": "Paksi inflasi",
|
||||||
"filter.vehicle-code": "Kode kendaraan",
|
"filter.vehicle-code": "Kode kendaraan",
|
||||||
"filter.last-roll-down": "Roll terakhir turun",
|
"filter.last-roll-down": "Roll terakhir turun",
|
||||||
@@ -123,6 +126,12 @@
|
|||||||
"grid.FRP-pipe-specifications": "Spesifikasi pipa FRP",
|
"grid.FRP-pipe-specifications": "Spesifikasi pipa FRP",
|
||||||
"grid.place": "Tempat",
|
"grid.place": "Tempat",
|
||||||
"grid.delivery-completed": "Pengiriman selesai",
|
"grid.delivery-completed": "Pengiriman selesai",
|
||||||
|
"grid.material-name": "Nama Material",
|
||||||
"toast.point-not-empty": "Titik tidak dapat kosong",
|
"toast.point-not-empty": "Titik tidak dapat kosong",
|
||||||
"toast.select-cache-point": "Silakan pilih lokasi cache"
|
"toast.select-cache-point": "Silakan pilih lokasi cache",
|
||||||
|
"toast.select-device": "Silakan pilih perangkat",
|
||||||
|
"toast.select-row": "Silakan pilih baris",
|
||||||
|
"toast.device-not-empty": "Perangkat tidak dapat kosong",
|
||||||
|
"toast.material-not-empty": "Material tidak dapat kosong",
|
||||||
|
"toast.quantity-not-empty": "Kuantitas tidak dapat kosong"
|
||||||
}
|
}
|
||||||
@@ -23,6 +23,7 @@
|
|||||||
"button.upload-empty-shaft": "上空轴",
|
"button.upload-empty-shaft": "上空轴",
|
||||||
"button.scrap-foil-roll-down": "废箔下卷",
|
"button.scrap-foil-roll-down": "废箔下卷",
|
||||||
"button.outbound-delivery": "出站配送",
|
"button.outbound-delivery": "出站配送",
|
||||||
|
"button.storage-settings": "入库设置",
|
||||||
"login.username": "用户名",
|
"login.username": "用户名",
|
||||||
"login.password": "密码",
|
"login.password": "密码",
|
||||||
"login.remember": "记住用户名",
|
"login.remember": "记住用户名",
|
||||||
@@ -87,6 +88,8 @@
|
|||||||
"filter.starting-point": "起点",
|
"filter.starting-point": "起点",
|
||||||
"filter.finishing-point": "起点",
|
"filter.finishing-point": "起点",
|
||||||
"filter.device": "设备",
|
"filter.device": "设备",
|
||||||
|
"filter.material": "物料",
|
||||||
|
"filter.quantity": "数量",
|
||||||
"filter.air-shaft": "气涨轴",
|
"filter.air-shaft": "气涨轴",
|
||||||
"filter.vehicle-code": "载具码",
|
"filter.vehicle-code": "载具码",
|
||||||
"filter.last-roll-down": "末次下卷",
|
"filter.last-roll-down": "末次下卷",
|
||||||
@@ -123,6 +126,12 @@
|
|||||||
"grid.FRP-pipe-specifications": "FRP管规格",
|
"grid.FRP-pipe-specifications": "FRP管规格",
|
||||||
"grid.place": "位置",
|
"grid.place": "位置",
|
||||||
"grid.delivery-completed": "配送完成",
|
"grid.delivery-completed": "配送完成",
|
||||||
|
"grid.material-name": "物料名称",
|
||||||
"toast.point-not-empty": "点位不能为空",
|
"toast.point-not-empty": "点位不能为空",
|
||||||
"toast.select-cache-point": "请选择缓存点位"
|
"toast.select-cache-point": "请选择缓存点位",
|
||||||
|
"toast.select-device": "请选择设备",
|
||||||
|
"toast.select-row": "请选择一行",
|
||||||
|
"toast.device-not-empty": "设备不能为空",
|
||||||
|
"toast.material-not-empty": "物料不能为空",
|
||||||
|
"toast.quantity-not-empty": "数量不能为空"
|
||||||
}
|
}
|
||||||
@@ -1,28 +1,28 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="zd_container">
|
<view class="zd_container">
|
||||||
<nav-bar title="空管入库"></nav-bar>
|
<nav-bar :title="$t('menu.air-traffic-control-warehousing')"></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">设备</view>
|
<view class="filter_label">{{$t('filter.device')}}</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">物料</view>
|
<view class="filter_label">{{$t('filter.material')}}</view>
|
||||||
<view class="filter_input_wraper">
|
<view class="filter_input_wraper">
|
||||||
<uni-data-select v-model="index3" :searchInput="true" :localdata="newoptions3" @change="selectChange3" @handleChange="handleChange" @showSelector="showSelector"></uni-data-select>
|
<uni-data-select v-model="index3" :placeholder="$t('uni.dataSelect.placeholder')" :emptyTips="$t('uni.dataSelect.emptyTips')" :searchInput="true" :localdata="newoptions3" @change="selectChange3" @handleChange="handleChange" @showSelector="showSelector"></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.quantity')}}</view>
|
||||||
<view class="filter_input_wraper">
|
<view class="filter_input_wraper">
|
||||||
<input type="text" class="filter_input filter_input_disabled" v-model="qty" disabled="disabled">
|
<input type="text" class="filter_input filter_input_disabled" v-model="qty" disabled="disabled">
|
||||||
</view>
|
</view>
|
||||||
@@ -30,8 +30,8 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="submit-bar">
|
<view class="submit-bar">
|
||||||
<button class="submit-button" :class="{'btn-disabled': !index1 || !index3}" :disabled="disabled" @tap="_emptyConfirm">入库设置</button>
|
<button class="submit-button" :class="{'btn-disabled': !index1 || !index3}" :disabled="disabled" @tap="_emptyConfirm">{{$t('button.storage-settings')}}</button>
|
||||||
<button class="submit-button" :class="{'btn-disabled': !index2}" @tap="_taskQuerydevice">查询</button>
|
<button class="submit-button" :class="{'btn-disabled': !index2}" @tap="_taskQuerydevice">{{$t('button.search')}}</button>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
@@ -127,7 +127,8 @@
|
|||||||
async _taskQuerydevice () {
|
async _taskQuerydevice () {
|
||||||
if (!this.index2) {
|
if (!this.index2) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '请选择设备',
|
// title: '请选择设备',
|
||||||
|
title: this.$t('toast.select-device'),
|
||||||
icon: 'none'
|
icon: 'none'
|
||||||
})
|
})
|
||||||
return
|
return
|
||||||
@@ -142,7 +143,8 @@
|
|||||||
this.disabled = true
|
this.disabled = true
|
||||||
if (!this.index2) {
|
if (!this.index2) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '设备不能为空',
|
// title: '设备不能为空',
|
||||||
|
title: this.$t('toast.device-not-empty'),
|
||||||
icon: 'none'
|
icon: 'none'
|
||||||
})
|
})
|
||||||
this.disabled = false
|
this.disabled = false
|
||||||
@@ -150,7 +152,8 @@
|
|||||||
}
|
}
|
||||||
if (!this.index3) {
|
if (!this.index3) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '物料不能为空',
|
// title: '物料不能为空',
|
||||||
|
title: this.$t('toast.material-not-empty'),
|
||||||
icon: 'none'
|
icon: 'none'
|
||||||
})
|
})
|
||||||
this.disabled = false
|
this.disabled = false
|
||||||
|
|||||||
@@ -1,16 +1,16 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="zd_container">
|
<view class="zd_container">
|
||||||
<nav-bar title="空管出库"></nav-bar>
|
<nav-bar :title="$t('menu.air-traffic-control-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="index" :localdata="options" @change="selectChange"></uni-data-select>
|
<uni-data-select v-model="index" :placeholder="$t('uni.dataSelect.placeholder')" :emptyTips="$t('uni.dataSelect.emptyTips')" :localdata="options" @change="selectChange"></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.quantity')}}</view>
|
||||||
<view class="filter_input_wraper">
|
<view class="filter_input_wraper">
|
||||||
<input type="text" class="filter_input" v-model="qty">
|
<input type="text" class="filter_input" v-model="qty">
|
||||||
</view>
|
</view>
|
||||||
@@ -21,9 +21,9 @@
|
|||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>设备</th>
|
<th>{{$t('filter.device')}}</th>
|
||||||
<th>物料名称</th>
|
<th>{{$t('grid.material-name')}}</th>
|
||||||
<th>数量</th>
|
<th>{{$t('filter.quantity')}}</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@@ -38,8 +38,8 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="submit-bar">
|
<view class="submit-bar">
|
||||||
<button class="submit-button" :class="{'btn-disabled': !pkId || !qty}" :disabled="disabled" @tap="_emptyConfirm">确认</button>
|
<button class="submit-button" :class="{'btn-disabled': !pkId || !qty}" :disabled="disabled" @tap="_emptyConfirm">{{$t('button.confirm')}}</button>
|
||||||
<button class="submit-button" @tap="_queryPaperTubeInfo">查询</button>
|
<button class="submit-button" @tap="_queryPaperTubeInfo">{{$t('button.search')}}</button>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
@@ -87,7 +87,8 @@
|
|||||||
this.disabled = true
|
this.disabled = true
|
||||||
if (!this.pkId) {
|
if (!this.pkId) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '请选择一行',
|
// title: '请选择一行',
|
||||||
|
title: this.$t('toast.select-row'),
|
||||||
icon: 'none'
|
icon: 'none'
|
||||||
})
|
})
|
||||||
this.disabled = false
|
this.disabled = false
|
||||||
@@ -95,7 +96,8 @@
|
|||||||
}
|
}
|
||||||
if (!this.qty) {
|
if (!this.qty) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '请填写数量',
|
// title: '请填写数量',
|
||||||
|
title: this.$t('toast.quantity-not-empty'),
|
||||||
icon: 'none'
|
icon: 'none'
|
||||||
})
|
})
|
||||||
this.disabled = false
|
this.disabled = false
|
||||||
|
|||||||
Reference in New Issue
Block a user