气胀轴库维护
This commit is contained in:
@@ -455,6 +455,14 @@
|
||||
}
|
||||
|
||||
}
|
||||
,{
|
||||
"path" : "pages/SecondPhase/slitting/ShaftSave",
|
||||
"style" :
|
||||
{
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
|
||||
}
|
||||
],
|
||||
"globalStyle": {
|
||||
// "pageOrientation": "landscape",
|
||||
|
||||
61
pages/SecondPhase/slitting/ShaftSave.vue
Normal file
61
pages/SecondPhase/slitting/ShaftSave.vue
Normal file
@@ -0,0 +1,61 @@
|
||||
<template>
|
||||
<view class="zd_container">
|
||||
<nav-bar title="气胀轴库维护"></nav-bar>
|
||||
<view class="zd_content">
|
||||
<view class="zd_wrapper">
|
||||
<view class="filter_item">
|
||||
<view class="filter_label">点位</view>
|
||||
<view class="filter_input_wraper">
|
||||
<search-box v-model="val1" />
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd-row submitbar">
|
||||
<button class="zd-col-5 btn-submit btn-default letter-30" @tap="clearUp">清空</button>
|
||||
<button class="zd-col-8 btn-submit btn-success letter-30" :class="{'btn-info': !val1}" :disabled="disabled" @tap="_shaftMaintenanceInventory('0')">清轴</button>
|
||||
<button class="zd-col-8 btn-submit btn-success letter-30" :class="{'btn-info': !val1}" :disabled="disabled" @tap="_shaftMaintenanceInventory('1')">放轴</button>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import NavBar from '@/components/NavBar.vue'
|
||||
import SearchBox from '@/components/SearchBox.vue'
|
||||
import {shaftMaintenanceInventory} from '@/utils/getData3.js'
|
||||
export default {
|
||||
components: {
|
||||
NavBar,
|
||||
SearchBox
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
val1: '',
|
||||
disabled: false
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
async _shaftMaintenanceInventory (type) {
|
||||
this.disabled = true
|
||||
if (!this.val1) {
|
||||
this.disabled = false
|
||||
return
|
||||
}
|
||||
try {
|
||||
let res = await shaftMaintenanceInventory(this.val1, type)
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
})
|
||||
this.disabled = false
|
||||
} catch (e) {
|
||||
this.disabled = false
|
||||
}
|
||||
},
|
||||
clearUp () {
|
||||
this.val1 = ''
|
||||
this.disabled = false
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -255,7 +255,7 @@
|
||||
padding 20rpx 0
|
||||
overflow hidden
|
||||
border-bottom 1px solid #c5c6c7
|
||||
.bgc_1, .bgc_6
|
||||
.bgc_1, .bgc_6, .bgc_11
|
||||
background linear-gradient(to right, rgba(73,102,255,0.8) 0%, rgba(117,142,255,0.8) 100%)
|
||||
.bgc_2, .bgc_7
|
||||
background linear-gradient(to right, rgba(254, 168, 20,0.8) 0%, rgba(255, 177, 1,0.8) 100%)
|
||||
|
||||
@@ -191,4 +191,11 @@ export const getBoxInfo = (code) => request({
|
||||
export const saveBoxInfo = (code, weight) => request({
|
||||
url:'api/boxinfo/saveBoxInfo',
|
||||
data: {box_no: code, box_weight: weight}
|
||||
})
|
||||
/**
|
||||
* 气胀轴库维护
|
||||
*/
|
||||
export const shaftMaintenanceInventory = (code, type) => request({
|
||||
url:'api/pda/slitter/shaftMaintenanceInventory',
|
||||
data: {point_code: code, type: type}
|
||||
})
|
||||
@@ -83,7 +83,8 @@ export const allAuthority = () => {
|
||||
{menu_id: '7', title: '穿拔轴初始化', path: '/pages/SecondPhase/slitting/DoInitShaft'},
|
||||
{menu_id: '8', title: '纸管绑定', path: '/pages/SecondPhase/slitting/PaperBind'},
|
||||
{menu_id: '8', title: '分切暂存下料', path: '/pages/SecondPhase/slitting/CacheCut'},
|
||||
{menu_id: '8', title: '分切暂存清除', path: '/pages/SecondPhase/slitting/CacheClean'}
|
||||
{menu_id: '8', title: '分切暂存清除', path: '/pages/SecondPhase/slitting/CacheClean'},
|
||||
{menu_id: '8', title: '气胀轴库维护', path: '/pages/SecondPhase/slitting/ShaftSave'}
|
||||
]},
|
||||
{menu_id: '6', path: 'RF04', title: '点位管理', sonTree: [
|
||||
{menu_id: '1', title: '点位管理', path: '/pages/SecondPhase/point/PointManage'},
|
||||
@@ -123,7 +124,7 @@ export const authority = () => {
|
||||
{title: '空木箱入库',sonTree: [{title: '空木箱入库'}]},
|
||||
{title: '发货区',sonTree: [{title: '发货区解绑'}]},
|
||||
{title: '生产管理',sonTree: [{title: '生箔生产进度'},{title: '生箔工序'},{title: '烘烤工序'},{title: '表处工序'},{title: '人工烘烤'},{title: '子卷质检'}]},
|
||||
{title: '分切管理', sonTree: [{title: '分切上料'},{title: '分切下料'},{title: '空轴套管'},{title: '空轴配送'},{title: '空轴进站'},{title: '子卷出站'},{title: '穿拔轴初始化'},{title: '纸管绑定'},{title: '分切暂存下料'},{title: '分切暂存清除'}]},
|
||||
{title: '分切管理', sonTree: [{title: '分切上料'},{title: '分切下料'},{title: '空轴套管'},{title: '空轴配送'},{title: '空轴进站'},{title: '子卷出站'},{title: '穿拔轴初始化'},{title: '纸管绑定'},{title: '分切暂存下料'},{title: '分切暂存清除'},{title: '气胀轴库维护'}]},
|
||||
{title: '点位管理', sonTree: [{title: '点位管理'},{title: '异常出库解锁'}]},
|
||||
{title: '成品入库', sonTree: [{title: '退货口入库'},{title: '异常口入库'},{title: '木箱称重'}]}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user