add 烘箱暂存
This commit is contained in:
@@ -146,6 +146,14 @@
|
||||
}
|
||||
|
||||
}
|
||||
,{
|
||||
"path" : "pages/manage/oven-store",
|
||||
"style" :
|
||||
{
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
|
||||
}
|
||||
],
|
||||
"globalStyle": {
|
||||
// "pageOrientation": "landscape",
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
</view>
|
||||
<uni-icons type="right" size="14" color="#999"></uni-icons>
|
||||
</view>
|
||||
<view class="zd-row">
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label">管芯尺寸</span>
|
||||
</view>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd-row">
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label">分切设备</span>
|
||||
</view>
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
</view>
|
||||
<view class="zd-col-2 filter_label">度</view>
|
||||
</view>
|
||||
<view class="zd-row">
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-5">
|
||||
<span class="filter_label">时间</span>
|
||||
</view>
|
||||
@@ -83,7 +83,7 @@
|
||||
</view>
|
||||
<view class="zd-col-19 filter_msg">{{obj.status}}</view>
|
||||
</view>
|
||||
<view class="zd-row">
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-5">
|
||||
<span class="filter_label">提示</span>
|
||||
</view>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd-row">
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-5">
|
||||
<span class="filter_label">终点</span>
|
||||
</view>
|
||||
|
||||
95
pages/manage/oven-store.vue
Normal file
95
pages/manage/oven-store.vue
Normal file
@@ -0,0 +1,95 @@
|
||||
<template>
|
||||
<view class="zd_container">
|
||||
<nav-bar :title="title"></nav-bar>
|
||||
<view class="zd_content">
|
||||
<view class="zd_wrapper">
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label">大小卷</span>
|
||||
</view>
|
||||
<view class="zd-col-17">
|
||||
<search-box
|
||||
v-model="val1"
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label">设备</span>
|
||||
</view>
|
||||
<view class="zd-col-17 filter_select">
|
||||
<zxz-uni-data-select v-model="index" :localdata="options"></zxz-uni-data-select>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd-row submit-bar">
|
||||
<button class="zd-col-8 button-default" @tap="clearUp">清空</button>
|
||||
<button class="zd-col-15 button-primary" :class="{'button-info': !index || !val1}" :disabled="disabled" @tap="_temporaryStorage">确认暂存</button>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import NavBar from '@/components/NavBar.vue'
|
||||
import SearchBox from '@/components/SearchBox.vue'
|
||||
import {getSlitterDeviceBox, temporaryStorage} from '@/utils/getData2.js'
|
||||
export default {
|
||||
components: {
|
||||
NavBar,
|
||||
SearchBox
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
title: '',
|
||||
val1: '',
|
||||
index: '',
|
||||
options: [],
|
||||
disabled: false
|
||||
};
|
||||
},
|
||||
onLoad (options) {
|
||||
this.title = options.title
|
||||
this._getSlitterDeviceBox()
|
||||
},
|
||||
methods: {
|
||||
async _getSlitterDeviceBox () {
|
||||
let res = await getSlitterDeviceBox()
|
||||
this.options = [...res]
|
||||
},
|
||||
clearUp () {
|
||||
this.index = ''
|
||||
this.val1 = ''
|
||||
this.disabled = false
|
||||
},
|
||||
async _temporaryStorage () {
|
||||
this.disabled = true
|
||||
if (!this.index || !this.val1) {
|
||||
this.disabled = false
|
||||
return
|
||||
}
|
||||
try {
|
||||
let res = await temporaryStorage(this.val1, this.index)
|
||||
this.clearUp()
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
})
|
||||
} catch (e) {
|
||||
this.disabled = false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="stylus" scoped>
|
||||
.zd_content
|
||||
height: calc(100% - var(--status-bar-height) - 212rpx);
|
||||
padding: 20rpx 14rpx 0 14rpx;
|
||||
.grid-wraper
|
||||
height: 100%;
|
||||
overflow: auto;
|
||||
.slide_new table td, .slide_new table th
|
||||
overflow: visible;
|
||||
</style>
|
||||
@@ -21,7 +21,7 @@
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd-row">
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-5">
|
||||
<span class="filter_label">子卷号</span>
|
||||
</view>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<zxz-uni-data-select v-model="index1" filterable :localdata="options"></zxz-uni-data-select>
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd-row">
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-5">
|
||||
<span class="filter_label">终点</span>
|
||||
</view>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<nav-bar :title="title"></nav-bar>
|
||||
<view class="zd_content">
|
||||
<view class="zd_wrapper">
|
||||
<view class="zd-row">
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label">点位</span>
|
||||
</view>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<nav-bar :title="title"></nav-bar>
|
||||
<view class="zd_content">
|
||||
<view class="zd_wrapper">
|
||||
<view class="zd-row">
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label">点位</span>
|
||||
</view>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<nav-bar :title="title"></nav-bar>
|
||||
<view class="zd_content">
|
||||
<view class="zd_wrapper">
|
||||
<view class="zd-row">
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label">设备</span>
|
||||
</view>
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<zxz-uni-data-select v-model="index2" filterable :localdata="options2"></zxz-uni-data-select>
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd-row">
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-5">
|
||||
<span class="filter_label">子卷号</span>
|
||||
</view>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<nav-bar :title="title"></nav-bar>
|
||||
<view class="zd_content">
|
||||
<view class="zd_wrapper">
|
||||
<view class="zd-row">
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-9">
|
||||
<span class="filter_label">成品称重暂存区</span>
|
||||
</view>
|
||||
|
||||
@@ -11,11 +11,11 @@
|
||||
<zxz-uni-data-select v-model="index" filterable :localdata="options"></zxz-uni-data-select>
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd-row">
|
||||
<view class="zd-col-5">
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label">管芯数量</span>
|
||||
</view>
|
||||
<view class="zd-col-19">
|
||||
<view class="zd-col-17">
|
||||
<input v-model=" val1" type="number" class="filter_input" @blur="handleBlur">
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<nav-bar :title="title"></nav-bar>
|
||||
<view class="zd_content">
|
||||
<view class="zd_wrapper">
|
||||
<view class="zd-row">
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-5">
|
||||
<span class="filter_label">点位</span>
|
||||
</view>
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
<input v-model="val2" type="number" class="filter_input">
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd-row">
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-5">
|
||||
<span class="filter_label">子卷重量</span>
|
||||
</view>
|
||||
|
||||
@@ -204,4 +204,9 @@ export const doSubVolumeDown = (code) => request({
|
||||
export const getWastePointList = (type) => request({
|
||||
url:'api/schBasePoint/getWastePointList?point_type=' + type,
|
||||
method: 'get'
|
||||
})
|
||||
})
|
||||
// 烘箱暂存
|
||||
export const temporaryStorage = (plan, code) => request({
|
||||
url:'api/pda/baking/temporaryStorage',
|
||||
data: {plan: plan, point_code: code}
|
||||
})
|
||||
|
||||
@@ -11,7 +11,7 @@ export const authority = () => {
|
||||
{path: 'RF04', title: '内包间', sonTree: [{title: '管芯入库', path: '/pages/manage/tube-core-storage'}, {title: '管芯出库', path: '/pages/manage/tube-core-out'}, {title: '套轴绑定', path: '/pages/manage/axis-bind'}, {title: '重量维护', path: '/pages/manage/weight-bind'}, {title: '套轴申请', path: '/pages/manage/axis-application'}]},
|
||||
{path: 'RF05', title: '装箱区', sonTree: [{title: '装箱暂存管理', path: '/pages/manage/pack-storage'}]},
|
||||
{path: 'RF06', title: '分切管理', sonTree: [{title: '分切上料', path: '/pages/manage/split-feed'}, {title: '分切下料', path: '/pages/manage/split-cut'}, {title: '子卷维护', path: '/pages/manage/sub-vol-bind'}, {title: '子卷下线', path: '/pages/manage/sub-vol-offline'}]},
|
||||
{path: 'RF07', title: '生产管理', sonTree: [{title: '生箔工序', path: '/pages/manage/raw-foil-progess'}, {title: '烘烤工序', path: '/pages/manage/bake-process'}]}
|
||||
{path: 'RF07', title: '生产管理', sonTree: [{title: '生箔工序', path: '/pages/manage/raw-foil-progess'}, {title: '烘烤工序', path: '/pages/manage/bake-process'}, {title: '烘箱暂存', path: '/pages/manage/oven-store'}]}
|
||||
]
|
||||
}
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user