空管入库空管出库
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
<template>
|
||||
<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_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')" :emptyTips="$t('uni.dataSelect.emptyTips')" :localdata="options" @change="selectChange"></uni-data-select>
|
||||
</view>
|
||||
</view>
|
||||
<view class="filter_item">
|
||||
<view class="filter_label">数量</view>
|
||||
<view class="filter_label">{{$t('filter.quantity')}}</view>
|
||||
<view class="filter_input_wraper">
|
||||
<input type="text" class="filter_input" v-model="qty">
|
||||
</view>
|
||||
@@ -21,9 +21,9 @@
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>设备</th>
|
||||
<th>物料名称</th>
|
||||
<th>数量</th>
|
||||
<th>{{$t('filter.device')}}</th>
|
||||
<th>{{$t('grid.material-name')}}</th>
|
||||
<th>{{$t('filter.quantity')}}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -38,8 +38,8 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="submit-bar">
|
||||
<button class="submit-button" :class="{'btn-disabled': !pkId || !qty}" :disabled="disabled" @tap="_emptyConfirm">确认</button>
|
||||
<button class="submit-button" @tap="_queryPaperTubeInfo">查询</button>
|
||||
<button class="submit-button" :class="{'btn-disabled': !pkId || !qty}" :disabled="disabled" @tap="_emptyConfirm">{{$t('button.confirm')}}</button>
|
||||
<button class="submit-button" @tap="_queryPaperTubeInfo">{{$t('button.search')}}</button>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
@@ -87,7 +87,8 @@
|
||||
this.disabled = true
|
||||
if (!this.pkId) {
|
||||
uni.showToast({
|
||||
title: '请选择一行',
|
||||
// title: '请选择一行',
|
||||
title: this.$t('toast.select-row'),
|
||||
icon: 'none'
|
||||
})
|
||||
this.disabled = false
|
||||
@@ -95,7 +96,8 @@
|
||||
}
|
||||
if (!this.qty) {
|
||||
uni.showToast({
|
||||
title: '请填写数量',
|
||||
// title: '请填写数量',
|
||||
title: this.$t('toast.quantity-not-empty'),
|
||||
icon: 'none'
|
||||
})
|
||||
this.disabled = false
|
||||
|
||||
Reference in New Issue
Block a user