木箱库存

This commit is contained in:
2025-01-09 11:28:39 +08:00
parent d83ffe536c
commit b8d70542fa
5 changed files with 326 additions and 207 deletions

View File

@@ -254,311 +254,319 @@
"navigationStyle": "custom" "navigationStyle": "custom"
} }
} }
,{ ,{
"path" : "pages/SecondPhase/EmptyVehicleInStore", "path" : "pages/SecondPhase/EmptyVehicleInStore",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}
,{
"path" : "pages/SecondPhase/EmptyBoxInStore",
"style" :
{
"navigationStyle": "custom"
}
}
,{
"path" : "pages/SecondPhase/DeliveryUnbind",
"style" :
{
"navigationStyle": "custom"
}
}
,{
"path" : "pages/SecondPhase/DeliveryUnbindConfirm",
"style" :
{
"navigationStyle": "custom"
}
}
,{
"path" : "pages/SecondPhase/production/SboProdProgress",
"style" :
{
"navigationStyle": "custom"
}
}
,{
"path" : "pages/SecondPhase/production/SboProcess",
"style" :
{
"navigationStyle": "custom"
}
}
,{
"path" : "pages/SecondPhase/production/BakeProcess",
"style" :
{
"navigationStyle": "custom"
}
}
,{
"path" : "pages/SecondPhase/production/ManmadeBake",
"style" :
{
"navigationStyle": "custom"
}
}
,{
"path" : "pages/SecondPhase/production/SurfaceProcess",
"style" :
{
"navigationStyle": "custom"
}
}
,{
"path" : "pages/SecondPhase/slitting/SlittingFeeding",
"style" :
{
"navigationStyle": "custom"
}
}
,{
"path" : "pages/SecondPhase/slitting/ZjCasing",
"style" :
{
"navigationStyle": "custom"
}
}
,{
"path" : "pages/SecondPhase/slitting/ZjDelivery",
"style" :
{
"navigationStyle": "custom"
}
}
,{
"path" : "pages/SecondPhase/slitting/ZjInStore",
"style" :
{
"navigationStyle": "custom"
}
}
,{
"path" : "pages/SecondPhase/slitting/ZjOutStore",
"style" :
{
"navigationStyle": "custom"
}
} }
,{
,{ "path" : "pages/SecondPhase/EmptyBoxInStore",
"path" : "pages/SecondPhase/point/PointManage",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
} }
,{ ,{
"path" : "pages/SecondPhase/point/ErrorOutUnlock", "path" : "pages/SecondPhase/DeliveryUnbind",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
} }
,{ ,{
"path" : "pages/SecondPhase/finished/ReturnToStore", "path" : "pages/SecondPhase/DeliveryUnbindConfirm",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
} }
,{ ,{
"path" : "pages/SecondPhase/finished/abnorToStore", "path" : "pages/SecondPhase/production/SboProdProgress",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
} }
,{ ,{
"path" : "pages/SecondPhase/slitting/SlittingCutting", "path" : "pages/SecondPhase/production/SboProcess",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
} }
,{ ,{
"path" : "pages/SecondPhase/slitting/DoInitShaft", "path" : "pages/SecondPhase/production/BakeProcess",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
} }
,{ ,{
"path" : "pages/SecondPhase/production/ZjCheck", "path" : "pages/SecondPhase/production/ManmadeBake",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
} }
,{ ,{
"path" : "pages/SecondPhase/slitting/PaperBind", "path" : "pages/SecondPhase/production/SurfaceProcess",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
} }
,{ ,{
"path" : "pages/SecondPhase/slitting/CacheCut", "path" : "pages/SecondPhase/slitting/SlittingFeeding",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
} }
,{ ,{
"path" : "pages/SecondPhase/slitting/CacheClean", "path" : "pages/SecondPhase/slitting/ZjCasing",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
} }
,{ ,{
"path" : "pages/SecondPhase/finished/BoxWeight", "path" : "pages/SecondPhase/slitting/ZjDelivery",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
} }
,{ ,{
"path" : "pages/SecondPhase/slitting/ShaftSave", "path" : "pages/SecondPhase/slitting/ZjInStore",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
} }
,{ ,{
"path" : "pages/SecondPhase/slitting/ZjSave", "path" : "pages/SecondPhase/slitting/ZjOutStore",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
} }
,{
"path" : "pages/SecondPhase/slitting/StockingArea", ,{
"path" : "pages/SecondPhase/point/PointManage",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
} }
,{ ,{
"path" : "pages/SecondPhase/slitting/AGVPass", "path" : "pages/SecondPhase/point/ErrorOutUnlock",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
} }
,{ ,{
"path" : "pages/SecondPhase/production/ZjContainer", "path" : "pages/SecondPhase/finished/ReturnToStore",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
} }
,{ ,{
"path" : "pages/SecondPhase/lvt/EmptyBox", "path" : "pages/SecondPhase/finished/abnorToStore",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
} }
,{ ,{
"path" : "pages/SecondPhase/point/ManPass", "path" : "pages/SecondPhase/slitting/SlittingCutting",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
} }
,{ ,{
"path" : "pages/SecondPhase/production/PrintTable", "path" : "pages/SecondPhase/slitting/DoInitShaft",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
} }
,{ ,{
"path" : "pages/SecondPhase/slitting/SubRollWeight", "path" : "pages/SecondPhase/production/ZjCheck",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
} }
,{ ,{
"path" : "pages/SecondPhase/slitting/UpperShaftCut", "path" : "pages/SecondPhase/slitting/PaperBind",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
} }
,{ ,{
"path" : "pages/ProductManage/AxisApply", "path" : "pages/SecondPhase/slitting/CacheCut",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
} }
,{ ,{
"path" : "pages/SecondPhase/slitting/UpperShaftCut2", "path" : "pages/SecondPhase/slitting/CacheClean",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
} }
,{ ,{
"path" : "pages/SecondPhase/production/ZjInStore", "path" : "pages/SecondPhase/finished/BoxWeight",
"style" : "style" :
{ {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
} }
,{
"path" : "pages/SecondPhase/slitting/ShaftSave",
"style" :
{
"navigationStyle": "custom"
}
}
,{
"path" : "pages/SecondPhase/slitting/ZjSave",
"style" :
{
"navigationStyle": "custom"
}
}
,{
"path" : "pages/SecondPhase/slitting/StockingArea",
"style" :
{
"navigationStyle": "custom"
}
}
,{
"path" : "pages/SecondPhase/slitting/AGVPass",
"style" :
{
"navigationStyle": "custom"
}
}
,{
"path" : "pages/SecondPhase/production/ZjContainer",
"style" :
{
"navigationStyle": "custom"
}
}
,{
"path" : "pages/SecondPhase/production/BoxStock",
"style" :
{
"navigationStyle": "custom"
}
}
,{
"path" : "pages/SecondPhase/lvt/EmptyBox",
"style" :
{
"navigationStyle": "custom"
}
}
,{
"path" : "pages/SecondPhase/point/ManPass",
"style" :
{
"navigationStyle": "custom"
}
}
,{
"path" : "pages/SecondPhase/production/PrintTable",
"style" :
{
"navigationStyle": "custom"
}
}
,{
"path" : "pages/SecondPhase/slitting/SubRollWeight",
"style" :
{
"navigationStyle": "custom"
}
}
,{
"path" : "pages/SecondPhase/slitting/UpperShaftCut",
"style" :
{
"navigationStyle": "custom"
}
}
,{
"path" : "pages/ProductManage/AxisApply",
"style" :
{
"navigationStyle": "custom"
}
}
,{
"path" : "pages/SecondPhase/slitting/UpperShaftCut2",
"style" :
{
"navigationStyle": "custom"
}
}
,{
"path" : "pages/SecondPhase/production/ZjInStore",
"style" :
{
"navigationStyle": "custom"
}
}
], ],
"globalStyle": { "globalStyle": {
// "pageOrientation": "landscape", // "pageOrientation": "landscape",

View File

@@ -0,0 +1,99 @@
<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">
<search-box v-model="val1" @handleChange="handleChange" />
</view>
</view>
</view>
<view class="zd_wrapper grid-wraper">
<view class="slide_new">
<table>
<thead>
<tr>
<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_name}}</td>
<td>{{e.struct_code}}</td>
<td>{{e.material_code}}</td>
</tr>
</tbody>
</table>
</view>
</view>
<uni-load-more color="#007AFF" iconType="circle" :status="status" :icon-size="14" :content-text="contentText" v-if="dataList.length > 0"/>
</view>
<view class="zd-row submitbar">
<button class="zd-col-6 btn-submit btn-default letter-30" @tap="clearUp">清空</button>
<button class="zd-col-15 btn-submit btn-success letter-30" @tap="toSure">查询</button>
</view>
<up-top ref="UT" :scrollTop="top"></up-top>
</view>
</template>
<script>
import NavBar from '@/components/NavBar.vue'
import SearchBox from '@/components/SearchBox.vue'
import UpTop from '@/components/upTop.vue'
import {woodenBoxPoint} from '@/utils/getData1.js'
export default {
components: {
NavBar,
SearchBox,
UpTop
},
data() {
return {
title: '',
top: 0,
val1: '',
dataList: []
};
},
onPageScroll(e) {
this.$refs.UT.topData(e.scrollTop)
},
onLoad (options) {
this.title = options.title
},
methods: {
handleChange (e) {
this._woodenBoxPoint(e)
},
clearUp () {
this.val1 = ''
this.dataList = []
},
toSure () {
this._woodenBoxPoint()
},
async _woodenBoxPoint (e) {
let res = await woodenBoxPoint(this.val1)
if (res.content.length) {
this.dataList = [...this.dataList, ...res.content]
}
}
}
}
</script>
<style lang="stylus" scoped>
.slide_new table .bgred td:first-child
background-image linear-gradient(to right,#E9B451,#fff)
.slide_new table .bgyellow td:first-child
background-image linear-gradient(to right,#c2cde3,#fff)
</style>

View File

@@ -199,9 +199,9 @@
position relative position relative
opacity 1 opacity 1
_wh(55%, auto) _wh(55%, auto)
background-color: #f3f5f8 background-color: #f3f5f8
box-shadow 8rpx 6rpx 10rpx 0px rgba(0,0,0,0.1) box-shadow 8rpx 6rpx 10rpx 0px rgba(0,0,0,0.1)
padding 16rpx padding 16rpx
border-radius 50% border-radius 50%
margin 0 auto 0.2rpx margin 0 auto 0.2rpx
.menu-name .menu-name

View File

@@ -324,3 +324,14 @@ export const abnormalOut = (bno, pcode) => request({
point_code: pcode point_code: pcode
} }
}) })
/**
* 木箱库存(二期)
*/
// 1.1查询木箱规格点位
export const woodenBoxPoint = (cname) => request({
url: 'api/twoPda/st/woodenBoxPoint',
data: {
container_name: cname
}
})

View File

@@ -74,6 +74,7 @@ export const allAuthority = () => {
{menu_id: '5', title: '人工烘烤', path: '/pages/SecondPhase/production/ManmadeBake'}, {menu_id: '5', title: '人工烘烤', path: '/pages/SecondPhase/production/ManmadeBake'},
{menu_id: '6', title: '子卷质检', path: '/pages/SecondPhase/production/ZjCheck'}, {menu_id: '6', title: '子卷质检', path: '/pages/SecondPhase/production/ZjCheck'},
{menu_id: '8', title: '子卷装箱', path: '/pages/SecondPhase/production/ZjContainer'}, {menu_id: '8', title: '子卷装箱', path: '/pages/SecondPhase/production/ZjContainer'},
{menu_id: '8', title: '木箱库存', path: '/pages/SecondPhase/production/BoxStock'},
{menu_id: '8', title: '子卷入库', path: '/pages/SecondPhase/production/ZjInStore'}, {menu_id: '8', title: '子卷入库', path: '/pages/SecondPhase/production/ZjInStore'},
{menu_id: '8', title: '标签打印', path: '/pages/SecondPhase/production/PrintTable'} {menu_id: '8', title: '标签打印', path: '/pages/SecondPhase/production/PrintTable'}
]}, ]},