zhiling
This commit is contained in:
14
pages.json
14
pages.json
@@ -19,7 +19,19 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/management/inscanerror",
|
"path": "pages/management/HcxOutError",
|
||||||
|
"style": {
|
||||||
|
"navigationStyle": "custom"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "pages/management/ZlOperate",
|
||||||
|
"style": {
|
||||||
|
"navigationStyle": "custom"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "pages/management/HcxErrorHandle",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationStyle": "custom"
|
"navigationStyle": "custom"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -22,16 +22,16 @@
|
|||||||
<text class="nav-text" @click="toJump('/pages/management/agvinerror')">AGV入箱异常</text>
|
<text class="nav-text" @click="toJump('/pages/management/agvinerror')">AGV入箱异常</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="nav-item">
|
<view class="nav-item">
|
||||||
<text class="nav-text" @click="toJump('/pages/equipStatus/equipStatus')">AGV出箱异常</text>
|
<text class="nav-text" @click="toJump('/pages/management/AgvOutError')">AGV出箱异常</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="nav-item">
|
<view class="nav-item">
|
||||||
<text class="nav-text" @click="toJump('/pages/equipStatus/equipStatus')">缓存线出箱异常</text>
|
<text class="nav-text" @click="toJump('/pages/management/HcxOutError')">缓存线出箱异常</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="nav-item">
|
<view class="nav-item">
|
||||||
<text class="nav-text" @click="toJump('/pages/equipStatus/equipStatus')">指令操作</text>
|
<text class="nav-text" @click="toJump('/pages/management/ZlOperate')">指令操作</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="nav-item">
|
<view class="nav-item">
|
||||||
<text class="nav-text" @click="toJump('/pages/equipStatus/equipStatus')">缓存线异常处理</text>
|
<text class="nav-text" @click="toJump('/pages/management/HcxErrorHandle')">缓存线异常处理</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
81
pages/management/HcxErrorHandle.vue
Normal file
81
pages/management/HcxErrorHandle.vue
Normal file
@@ -0,0 +1,81 @@
|
|||||||
|
<template>
|
||||||
|
<view class="content">
|
||||||
|
<nav-bar title="缓存线异常处理"></nav-bar>
|
||||||
|
<view class="search-confirm-wrap">
|
||||||
|
<view class="search-wrap">
|
||||||
|
<view class="search-item">
|
||||||
|
<label class="search-label">缓存线</label>
|
||||||
|
<view class="filter_input_wraper">
|
||||||
|
<uni-data-select v-model="index1" :localdata="options1" @change="selectChange1"></uni-data-select>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="confirm-button-wrap">
|
||||||
|
<button class="confirm-button" :disabled="disabled" @tap="toSure()">暂停</button>
|
||||||
|
<button class="confirm-button" :disabled="disabled" @tap="toSure()">启动</button>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import NavBar from '@/components/NavBar.vue'
|
||||||
|
import SearchBox from '@/components/SearchBox.vue'
|
||||||
|
import {queryInstraction, instOperation} from '@/utils/getData2.js'
|
||||||
|
export default {
|
||||||
|
components: {
|
||||||
|
NavBar,
|
||||||
|
SearchBox
|
||||||
|
},
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
options1: [],
|
||||||
|
index1: '',
|
||||||
|
val1: '',
|
||||||
|
val2: '',
|
||||||
|
dataList: [],
|
||||||
|
pkId: '',
|
||||||
|
disabled: false
|
||||||
|
};
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
/** 选择器1 */
|
||||||
|
selectChange1(e) {
|
||||||
|
this.index1 = e
|
||||||
|
},
|
||||||
|
toSearch () {
|
||||||
|
this.dataList = []
|
||||||
|
this._queryInstraction()
|
||||||
|
},
|
||||||
|
async _queryInstraction () {
|
||||||
|
let res = await queryInstraction()
|
||||||
|
this.dataList = [...res.data]
|
||||||
|
},
|
||||||
|
toSure () {
|
||||||
|
this.disabled = true
|
||||||
|
if (!this.pkId) {
|
||||||
|
uni.showToast({
|
||||||
|
title: '请选择',
|
||||||
|
icon: 'none'
|
||||||
|
})
|
||||||
|
this.disabled = false
|
||||||
|
return
|
||||||
|
}
|
||||||
|
this._instOperation()
|
||||||
|
},
|
||||||
|
async _instOperation () {
|
||||||
|
let res = await instOperation()
|
||||||
|
this.dataList = [...res.data]
|
||||||
|
},
|
||||||
|
toRadio (e) {
|
||||||
|
this.pkId = this.pkId === e.instruct_uuid ? '' : e.instruct_uuid
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="stylus" scoped>
|
||||||
|
@import '../../common/style/mixin.styl';
|
||||||
|
.grid-wrap
|
||||||
|
height calc(100% - 526rpx)
|
||||||
|
</style>
|
||||||
@@ -4,11 +4,15 @@
|
|||||||
<view class="search-wrap">
|
<view class="search-wrap">
|
||||||
<view class="search-item">
|
<view class="search-item">
|
||||||
<label class="search-label">缓存线</label>
|
<label class="search-label">缓存线</label>
|
||||||
<input type="text" class="search-input" v-model="keyword">
|
<view class="filter_input_wraper">
|
||||||
|
<input type="text" class="search-input-l" v-model="val1">
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="search-item">
|
<view class="search-item">
|
||||||
<label class="search-label">车号</label>
|
<label class="search-label">车号</label>
|
||||||
<input type="text" class="search-input" v-model="startPoint">
|
<view class="filter_input_wraper">
|
||||||
|
<input type="text" class="search-input-l" v-model="val2">
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="confirm-button-wrap">
|
<view class="confirm-button-wrap">
|
||||||
|
|||||||
166
pages/management/ZlOperate.vue
Normal file
166
pages/management/ZlOperate.vue
Normal file
@@ -0,0 +1,166 @@
|
|||||||
|
<template>
|
||||||
|
<view class="content">
|
||||||
|
<nav-bar title="指令操作"></nav-bar>
|
||||||
|
<view class="search-confirm-wrap">
|
||||||
|
<view class="search-wrap">
|
||||||
|
<view class="search-item">
|
||||||
|
<label class="search-label">状态</label>
|
||||||
|
<view class="filter_input_wraper">
|
||||||
|
<uni-data-select v-model="index1" :localdata="options1" @change="selectChange1"></uni-data-select>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="search-item">
|
||||||
|
<label class="search-label">指令号</label>
|
||||||
|
<view class="filter_input_wraper">
|
||||||
|
<search-box
|
||||||
|
v-model="val1"
|
||||||
|
/>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="search-item">
|
||||||
|
<label class="search-label">AGV号</label>
|
||||||
|
<view class="filter_input_wraper">
|
||||||
|
<search-box
|
||||||
|
v-model="val2"
|
||||||
|
/>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="search-item">
|
||||||
|
<label class="search-label">条码</label>
|
||||||
|
<view class="filter_input_wraper">
|
||||||
|
<search-box
|
||||||
|
v-model="val2"
|
||||||
|
/>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="search-item">
|
||||||
|
<label class="search-label">起点</label>
|
||||||
|
<view class="filter_input_wraper">
|
||||||
|
<search-box
|
||||||
|
v-model="val2"
|
||||||
|
/>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="search-item">
|
||||||
|
<label class="search-label">终点</label>
|
||||||
|
<view class="filter_input_wraper">
|
||||||
|
<search-box
|
||||||
|
v-model="val2"
|
||||||
|
/>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="search-item">
|
||||||
|
<label class="search-label">开始日期</label>
|
||||||
|
<view class="filter_input_wraper">
|
||||||
|
<search-box
|
||||||
|
v-model="val2"
|
||||||
|
/>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="search-item">
|
||||||
|
<label class="search-label">结束日期</label>
|
||||||
|
<view class="filter_input_wraper">
|
||||||
|
<search-box
|
||||||
|
v-model="val2"
|
||||||
|
/>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="confirm-button-wrap">
|
||||||
|
<button class="confirm-button" @tap="toSearch()">查询</button>
|
||||||
|
<button class="confirm-button" :disabled="disabled" @tap="toSure()">取消</button>
|
||||||
|
<button class="confirm-button" :disabled="disabled" @tap="toSure()">完成</button>
|
||||||
|
<button class="confirm-button" :disabled="disabled" @tap="toSure()">重发</button>
|
||||||
|
<button class="confirm-button" :disabled="disabled" @tap="toSure()">WCS取消</button>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="grid-wrap">
|
||||||
|
<table class="grid-table">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>选择</th>
|
||||||
|
<th>指令编号</th>
|
||||||
|
<th>设备编号</th>
|
||||||
|
<th>起点</th>
|
||||||
|
<th>目的</th>
|
||||||
|
<th>目的2</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr v-for="e in dataList" :key="e.instruct_uuid" @click="toRadio(e)">
|
||||||
|
<td>
|
||||||
|
<view class="iconfont icon-check" :class="{'icon-checked': pkId === e.instruct_uuid}"></view>
|
||||||
|
</td>
|
||||||
|
<td>{{e.instructorder_no}}</td>
|
||||||
|
<td>{{e.wcsdevice_code}}</td>
|
||||||
|
<td>{{e.startpoint_code}}</td>
|
||||||
|
<td>{{e.nextpoint_code}}</td>
|
||||||
|
<td>{{e.nextpoint_code2}}</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import NavBar from '@/components/NavBar.vue'
|
||||||
|
import SearchBox from '@/components/SearchBox.vue'
|
||||||
|
import {queryInstraction, instOperation} from '@/utils/getData2.js'
|
||||||
|
export default {
|
||||||
|
components: {
|
||||||
|
NavBar,
|
||||||
|
SearchBox
|
||||||
|
},
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
options1: [],
|
||||||
|
index1: '',
|
||||||
|
val1: '',
|
||||||
|
val2: '',
|
||||||
|
dataList: [],
|
||||||
|
pkId: '',
|
||||||
|
disabled: false
|
||||||
|
};
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
/** 选择器1 */
|
||||||
|
selectChange1(e) {
|
||||||
|
this.index1 = e
|
||||||
|
},
|
||||||
|
toSearch () {
|
||||||
|
this.dataList = []
|
||||||
|
this._queryInstraction()
|
||||||
|
},
|
||||||
|
async _queryInstraction () {
|
||||||
|
let res = await queryInstraction()
|
||||||
|
this.dataList = [...res.data]
|
||||||
|
},
|
||||||
|
toSure () {
|
||||||
|
this.disabled = true
|
||||||
|
if (!this.pkId) {
|
||||||
|
uni.showToast({
|
||||||
|
title: '请选择',
|
||||||
|
icon: 'none'
|
||||||
|
})
|
||||||
|
this.disabled = false
|
||||||
|
return
|
||||||
|
}
|
||||||
|
this._instOperation()
|
||||||
|
},
|
||||||
|
async _instOperation () {
|
||||||
|
let res = await instOperation()
|
||||||
|
this.dataList = [...res.data]
|
||||||
|
},
|
||||||
|
toRadio (e) {
|
||||||
|
this.pkId = this.pkId === e.instruct_uuid ? '' : e.instruct_uuid
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="stylus" scoped>
|
||||||
|
@import '../../common/style/mixin.styl';
|
||||||
|
.grid-wrap
|
||||||
|
height calc(100% - 526rpx)
|
||||||
|
</style>
|
||||||
Reference in New Issue
Block a user