This commit is contained in:
2023-12-28 16:47:46 +08:00
13 changed files with 341 additions and 186 deletions

View File

@@ -1,28 +1,28 @@
<template>
<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_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="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 class="filter_item">
<view class="filter_label">设备</view>
<view class="filter_label">{{$t('filter.device')}}</view>
<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 class="filter_item">
<view class="filter_label">物料</view>
<view class="filter_label">{{$t('filter.material')}}</view>
<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 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 filter_input_disabled" v-model="qty" disabled="disabled">
</view>
@@ -30,8 +30,8 @@
</view>
</view>
<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': !index2}" @tap="_taskQuerydevice">查询</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">{{$t('button.search')}}</button>
</view>
</view>
</template>
@@ -127,7 +127,8 @@
async _taskQuerydevice () {
if (!this.index2) {
uni.showToast({
title: '请选择设备',
// title: '请选择设备',
title: this.$t('toast.select-device'),
icon: 'none'
})
return
@@ -142,7 +143,8 @@
this.disabled = true
if (!this.index2) {
uni.showToast({
title: '设备不能为空',
// title: '设备不能为空',
title: this.$t('toast.device-not-empty'),
icon: 'none'
})
this.disabled = false
@@ -150,7 +152,8 @@
}
if (!this.index3) {
uni.showToast({
title: '物料不能为空',
// title: '物料不能为空',
title: this.$t('toast.material-not-empty'),
icon: 'none'
})
this.disabled = false

View File

@@ -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

View File

@@ -1,17 +1,17 @@
<template>
<view class="zd_container">
<nav-bar title="分切上料"></nav-bar>
<nav-bar :title="$t('menu.cutting-and-feeding')"></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_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 class="filter_item">
<view class="filter_label_wraper">
<span class="filter_label">母卷号</span>
<span class="filter_label">{{$t('filter.mother-roll')}}</span>
</view>
<view class="filter_input_wraper">
<search-box
@@ -35,21 +35,21 @@
<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>{{$t('grid.number')}}</th>
<th>{{$t('grid.mother-roll-number')}}</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.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>
@@ -77,15 +77,15 @@
<uni-load-more color="#007AFF" iconType="circle" :status="status" :icon-size="14" :content-text="contentText" v-if="dataList.length > 0"/>
</view>
<view class="submit-bar">
<button class="submit-button" :class="{'btn-disabled': !val1}" :disabled="disabled2" @tap="_feedingVehicleReturn">空轴送回</button>
<button class="submit-button" @tap="handleSure">人工呼叫</button>
<button class="submit-button" :class="{'btn-disabled': !pkId}" :disabled="disabled" @tap="toSure">呼叫</button>
<button class="submit-button" @tap="searchList">查询</button>
<button class="submit-button" :class="{'btn-disabled': !val1}" :disabled="disabled2" @tap="_feedingVehicleReturn">{{$t('button.empty-shaft-return')}}</button>
<button class="submit-button" @tap="handleSure">{{$t('button.manual-call')}}</button>
<button class="submit-button" :class="{'btn-disabled': !pkId}" :disabled="disabled" @tap="toSure">{{$t('button.call')}}</button>
<button class="submit-button" @tap="searchList">{{$t('button.search')}}</button>
</view>
<view v-if="active" class="msg_wrapper msg_wrapper_1">
<view class="msg_box">
<view class="filter_item">
<view class="filter_label">起点</view>
<view class="filter_label">{{$t('filter.starting-point')}}</view>
<view class="filter_input_wraper">
<search-box
v-model="val3"
@@ -94,7 +94,7 @@
</view>
</view>
<view class="filter_item">
<view class="filter_label">母卷号</view>
<view class="filter_label">{{$t('filter.mother-roll')}}</view>
<view class="filter_input_wraper">
<search-box
v-model="val4"
@@ -102,7 +102,7 @@
</view>
</view>
<view class="filter_item">
<view class="filter_label">终点</view>
<view class="filter_label">{{$t('filter.finishing-point')}}</view>
<view class="filter_input_wraper">
<search-box
v-model="val5"
@@ -110,8 +110,8 @@
</view>
</view>
<view class="msg_btns">
<button class="submit-button msg_btn" @tap="cancleModal">取消</button>
<button class="submit-button msg_btn" @tap="modalToSure">确认</button>
<button class="submit-button msg_btn" @tap="cancleModal">{{$t('button.cancel')}}</button>
<button class="submit-button msg_btn" @tap="modalToSure">{{$t('button.confirm')}}</button>
</view>
</view>
</view>
@@ -141,9 +141,9 @@
reload: false,
status: 'more',
contentText: {
contentdown: '查看更多',
contentrefresh: '加载中',
contentnomore: '没有更多'
contentdown: this.$t('utils.read-more'),
contentrefresh: this.$t('utils.loading'),
contentnomore: this.$t('utils.no-more')
},
totalCount: 0,
pageNum: 1,
@@ -319,9 +319,10 @@
<style lang="stylus">
.slide_new table td:first-child, .slide_new table th:first-child
width 92rpx
min-width 92rpx
.slide_new table td:nth-child(2), .slide_new table th:nth-child(2)
position sticky
left 89rpx
left 92rpx
z-index 102
box-shadow 1px 0 2px rgba(0,0,0,.12)
</style>

View File

@@ -1,25 +1,25 @@
<template>
<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_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="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 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="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 class="filter_item">
<view class="filter_label_wraper">
<span class="filter_label">子卷号</span>
<span class="filter_label">{{$t('filter.mother-roll')}}</span>
</view>
<view class="filter_input_wraper">
<search-box
@@ -29,7 +29,7 @@
</view>
<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
@@ -39,7 +39,7 @@
</view>
<view class="filter_item">
<view class="filter_label_wraper">
<span class="filter_label">气涨轴</span>
<span class="filter_label">{{$t('filter.air-shaft')}}</span>
</view>
<view class="filter_input_wraper">
<search-box
@@ -53,21 +53,21 @@
<table>
<thead>
<tr>
<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('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.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>
@@ -95,10 +95,10 @@
<uni-load-more color="#007AFF" iconType="circle" :status="status" :icon-size="14" :content-text="contentText" v-if="dataList.length > 0"/>
</view>
<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="disabled1" @tap="_casingOutConfirm">拔轴确认</button>
<button class="submit-button" :class="{'btn-disabled': !checkArr.length || !val2}" :disabled="disabled" @tap="_casingConfirm">套轴确认</button>
<button class="submit-button" @tap="searchList">查询</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">{{$t('button.pull-shaft-confirm')}}</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">{{$t('button.search')}}</button>
</view>
</view>
</template>
@@ -128,9 +128,9 @@
reload: false,
status: 'more',
contentText: {
contentdown: '查看更多',
contentrefresh: '加载中',
contentnomore: '没有更多'
contentdown: this.$t('utils.read-more'),
contentrefresh: this.$t('utils.loading'),
contentnomore: this.$t('utils.no-more')
},
totalCount: 0,
pageNum: 1,

View File

@@ -1,17 +1,17 @@
<template>
<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_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="index1" :localdata="options1" @change="selectChange1"></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="index2" :localdata="options2" @change="selectChange2"></uni-data-select>
@@ -19,7 +19,7 @@
</view>
<view class="filter_item">
<view class="filter_label_wraper">
<span class="filter_label">气涨轴</span>
<span class="filter_label">{{$t('filter.air-shaft')}}</span>
</view>
<view class="filter_input_wraper">
<search-box
@@ -29,7 +29,7 @@
</view>
<view class="filter_item">
<view class="filter_label_wraper">
<span class="filter_label">载具码</span>
<span class="filter_label">{{$t('filter.vehicle-code')}}</span>
</view>
<view class="filter_input_wraper">
<search-box
@@ -39,7 +39,7 @@
</view>
<view class="filter_item">
<view class="filter_label_wraper">
<span class="filter_label">起点</span>
<span class="filter_label">{{$t('filter.starting-point')}}</span>
</view>
<view class="filter_input_wraper">
<search-box
@@ -53,22 +53,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.machine-code')}}</th>
<th>{{$t('grid.split-group')}}</th>
<th>{{$t('grid.production-sequence')}}</th>
<th>{{$t('grid.date-of-manufacture')}}</th>
<th>{{$t('grid.sub-roll-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>
<th>{{$t('grid.order-number')}}</th>
</tr>
</thead>
<tbody>
@@ -96,12 +96,12 @@
</view>
</view>
<view class="submit-bar">
<button class="submit-button" :class="{'btn-disabled': !val3}" :disabled="disabled5" @tap="_acrossVehicle">载具横移</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': !val1 || !val2}" :disabled="disabled4" @tap="_shippingCheck">配送校验</button>
<button class="submit-button" :class="{'btn-disabled': !checkArr.length || !val3}" :disabled="disabled2" @tap="_shippingConfirm">配送确认</button>
<button class="submit-button" :class="{'btn-disabled': !val3 || checkArr.length > 0}" :disabled="disabled3" @tap="_returnVehicle">载具送回</button>
<button class="submit-button" @tap="_queryMaterialInfo">查询</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">{{$t('button.call-vehicle')}}</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">{{$t('button.delivery-confirm')}}</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">{{$t('button.search')}}</button>
</view>
</view>
</template>

View File

@@ -1,24 +1,24 @@
<template>
<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_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="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.point')}}</view>
<view class="filter_input_wraper">
<uni-data-select v-model="index1" :localdata="options1" @change="selectChange1"></uni-data-select>
</view>
@@ -29,16 +29,16 @@
<table>
<thead>
<tr>
<th>序号</th>
<th>气涨轴</th>
<th>子卷号</th>
<th>机台编号</th>
<th>分切组</th>
<th>位置</th>
<th>配送完成</th>
<th>生产顺序</th>
<th>生产日期</th>
<th>订单号</th>
<th>{{$t('grid.number')}}</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.place')}}</th>
<th>{{$t('grid.delivery-completed')}}</th>
<th>{{$t('grid.production-sequence')}}</th>
<th>{{$t('grid.grid.date-of-manufacture')}}</th>
<th>{{$t('grid.order-number')}}</th>
</tr>
</thead>
<tbody>
@@ -60,8 +60,8 @@
</view>
</view>
<view class="submit-bar">
<button class="submit-button" :class="{'btn-disabled': !index1 || !pkId}" :disabled="disabled" @tap="_inConfirm">上空轴</button>
<button class="submit-button" @tap="_queryMaterialInfo">查询</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">{{$t('button.search')}}</button>
</view>
</view>
</template>

View File

@@ -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">&#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>
@@ -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

View File

@@ -26,7 +26,7 @@
<view class="filter_item">
<view class="filter_label">{{$t('filter.state')}}</view>
<view class="filter_input_wraper">
<uni-data-select v-model="index" :placeholder="$t('uni.dataSelect.placeholder')" :emptyTips="$t('uni.dataSelect.emptyTips')" :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 File

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