立库库存-空木箱库存

This commit is contained in:
2024-08-05 14:45:45 +08:00
parent 6a869b8215
commit 6eb7818002
5 changed files with 139 additions and 1 deletions

View File

@@ -495,6 +495,14 @@
} }
} }
,{
"path" : "pages/SecondPhase/lvt/EmptyBox",
"style" :
{
"navigationStyle": "custom"
}
}
], ],
"globalStyle": { "globalStyle": {
// "pageOrientation": "landscape", // "pageOrientation": "landscape",

View File

@@ -0,0 +1,118 @@
<template>
<view class="zd_container">
<!-- <nav-bar title="空木箱库存"></nav-bar> -->
<nav-bar :title="title"></nav-bar>
<view class="zd_content">
<view class="zd_wrapper">
<view class="filter_item">
<view class="filter_label_wraper">
<span class="filter_label">木箱料号</span>
</view>
<view class="filter_input_wraper">
<input type="text" class="filter_input" v-model="val1">
</view>
</view>
<view class="filter_item">
<view class="filter_label">木箱描述</view>
<view class="filter_input_wraper">
<input type="text" class="filter_input" v-model="val2">
</view>
</view>
<view class="filter_item">
<view class="filter_label_wraper">
<span class="filter_label">木箱号</span>
</view>
<view class="filter_input_wraper">
<input type="text" class="filter_input" v-model="val3">
</view>
</view>
</view>
<view class="zd_wrapper grid-wraper">
<view class="slide_new">
<table>
<thead>
<tr>
<th>木箱号</th>
<th>木箱料号</th>
<th>木箱描述</th>
<th>最大子卷数</th>
<th>木箱长度</th>
<th>木箱宽度</th>
<th>木箱高度</th>
<th>载具类型</th>
<th>木箱重量</th>
<th>仓位</th>
</tr>
</thead>
<tbody>
<tr v-for="(e, i) in dataList" :key="i">
<td>{{e.box_no}}</td>
<td>{{e.material_code}}</td>
<td>{{e.material_name}}</td>
<td>{{e.num}}</td>
<td>{{e.box_length}}</td>
<td>{{e.box_width}}</td>
<td>{{e.box_high}}</td>
<td>{{e.vehicle_type}}</td>
<td>{{e.box_weight}}</td>
<td>{{e.struct_code}}</td>
</tr>
</tbody>
</table>
</view>
</view>
</view>
<view class="zd-row submitbar">
<button class="zd-col-6 btn-submit btn-default" @tap="clearUp">清空</button>
<button class="zd-col-15 btn-submit btn-success" @tap="_queryBoxIvt">查询</button>
</view>
<up-top ref="UT" :scrollTop="top"></up-top>
</view>
</template>
<script>
import NavBar from '@/components/NavBar.vue'
import UpTop from '@/components/upTop.vue'
import {queryBoxIvt} from '@/utils/getData3.js'
export default {
components: {
NavBar,
UpTop
},
data() {
return {
title: '',
top: 0,
val1: '',
val2: '',
val3: '',
dataList: []
};
},
onPageScroll(e) {
this.$refs.UT.topData(e.scrollTop)
},
onLoad (options) {
this.title = options.title
},
methods: {
selectChange (e) {
this.index = e
},
async _queryBoxIvt () {
try {
let res = await queryBoxIvt(this.val1, this.val2, this.val3)
this.dataList = [...res.data]
} catch (e) {
console.log(e)
}
},
clearUp () {
this.val1 = ''
this.val3 = ''
this.val2 = ''
this.dataList = []
}
}
}
</script>

BIN
static/image/menu/RF13.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@@ -261,3 +261,11 @@ export const updateEntityList = (checked, arr) => request({
url:'api/pdmBiSubpackagerelation/updateEntityList', url:'api/pdmBiSubpackagerelation/updateEntityList',
data: {checked: checked, tableMater: arr} data: {checked: checked, tableMater: arr}
}) })
/**
* 立库库存
*/
// 空木箱库存
export const queryBoxIvt = (code, na, no) => request({
url:'api/twoPda/st/queryBoxIvt',
data: {material_code: code, material_name: na, box_no: no}
})

View File

@@ -98,6 +98,9 @@ export const allAuthority = () => {
{menu_id: '1', title: '退货口入库', path: '/pages/SecondPhase/finished/ReturnToStore'}, {menu_id: '1', title: '退货口入库', path: '/pages/SecondPhase/finished/ReturnToStore'},
{menu_id: '2', title: '异常口入库', path: '/pages/SecondPhase/finished/abnorToStore'}, {menu_id: '2', title: '异常口入库', path: '/pages/SecondPhase/finished/abnorToStore'},
{menu_id: '3', title: '木箱称重', path: '/pages/SecondPhase/finished/BoxWeight'} {menu_id: '3', title: '木箱称重', path: '/pages/SecondPhase/finished/BoxWeight'}
]},
{menu_id: '8', path: 'RF13', title: '立库库存', sonTree: [
{menu_id: '1', title: '空木箱库存', path: '/pages/SecondPhase/lvt/EmptyBox'}
]} ]}
] ]
} }
@@ -130,7 +133,8 @@ export const authority = () => {
{title: '生产管理',sonTree: [{title: '生箔生产进度'},{title: '生箔工序'},{title: '烘烤工序'},{title: '表处工序'},{title: '人工烘烤'},{title: '子卷质检'}, {title: '子卷装箱'}]}, {title: '生产管理',sonTree: [{title: '生箔生产进度'},{title: '生箔工序'},{title: '烘烤工序'},{title: '表处工序'},{title: '人工烘烤'},{title: '子卷质检'}, {title: '子卷装箱'}]},
{title: '分切管理', sonTree: [{title: '分切上料'},{title: '分切下料'},{title: '空轴套管'},{title: '空轴配送'},{title: '空轴进站'},{title: '子卷出站'},{title: '穿拔轴初始化'},{title: '纸管绑定'},{title: '分切暂存下料'},{title: '分切暂存清除'},{title: '气胀轴库维护'}, {title: '分切子卷维护'}, {title: '备货区管理'}, {title: 'AGV放行'}]}, {title: '分切管理', sonTree: [{title: '分切上料'},{title: '分切下料'},{title: '空轴套管'},{title: '空轴配送'},{title: '空轴进站'},{title: '子卷出站'},{title: '穿拔轴初始化'},{title: '纸管绑定'},{title: '分切暂存下料'},{title: '分切暂存清除'},{title: '气胀轴库维护'}, {title: '分切子卷维护'}, {title: '备货区管理'}, {title: 'AGV放行'}]},
{title: '点位管理', sonTree: [{title: '点位管理'},{title: '异常出库解锁'}]}, {title: '点位管理', sonTree: [{title: '点位管理'},{title: '异常出库解锁'}]},
{title: '成品入库', sonTree: [{title: '退货口入库'},{title: '异常口入库'},{title: '木箱称重'}]} {title: '成品入库', sonTree: [{title: '退货口入库'},{title: '异常口入库'},{title: '木箱称重'}]},
{title: '立库库存', sonTree: [{title: '空木箱库存'}]}
] ]
} }
} }