Files
hht-tongbo/pages/ProductManage/EmptyPipeInStore.vue

102 lines
3.1 KiB
Vue
Raw Normal View History

2022-10-10 17:08:52 +08:00
<template>
2022-10-11 17:03:44 +08:00
<view class="container">
<nav-bar title="空管入库"></nav-bar>
<view class="content">
<view class="wrapper">
<view class="filter_item">
<view class="filter_label_wraper">
2022-10-12 08:51:05 +08:00
<span class="filter_label">点位</span>
2022-10-11 17:03:44 +08:00
</view>
<view class="filter_input_wraper">
2022-10-12 08:51:05 +08:00
<search-box
v-model="val1"
@toSearch="toSearch"
/>
2022-10-11 17:03:44 +08:00
</view>
</view>
<view class="filter_item">
<view class="filter_label">物料</view>
<view class="filter_input_wraper">
<input type="text" class="filter_input">
</view>
</view>
2022-10-12 08:51:05 +08:00
<view class="filter_item">
<view class="filter_label">区域</view>
<view class="filter_input_wraper">
<uni-data-select v-model="index" :localdata="options" @change="selectChange"></uni-data-select>
</view>
</view>
2022-10-11 17:03:44 +08:00
</view>
<view class="wrapper grid-wraper">
<view class="slide_new">
<table>
<thead>
<tr>
<th>任务号</th>
<th>指令号</th>
<th>起点</th>
<th>终点</th>
<th>状态</th>
<th>agv车号</th>
<th>物料类型</th>
<th>优先级</th>
<th>时间</th>
</tr>
</thead>
<tbody>
<tr v-for="(e, i) in dataList" :key="i">
<td>{{e.task_no}}</td>
<td>{{e.inst_no}}</td>
<td>{{e.start_devicecode}}</td>
<td>{{e.next_devicecode}}</td>
<td>{{e.inst_status_name}}</td>
<td>{{e.carno}}</td>
<td>{{e.material_type_name}}</td>
<td>{{e.priority}}</td>
<td>{{e.create_time}}</td>
</tr>
</tbody>
</table>
</view>
</view>
</view>
2022-10-10 19:58:07 +08:00
<view class="submit-bar">
<button class="submit-button btn-disabled">入库确认</button>
<button class="submit-button">查询</button>
</view>
2022-10-10 17:08:52 +08:00
</view>
</template>
<script>
2022-10-10 19:58:07 +08:00
import NavBar from '@/components/NavBar.vue'
2022-10-12 08:51:05 +08:00
import SearchBox from '@/components/SearchBox.vue'
2022-10-10 17:08:52 +08:00
export default {
2022-10-11 17:03:44 +08:00
components: {
2022-10-12 08:51:05 +08:00
NavBar,
SearchBox
2022-10-11 17:03:44 +08:00
},
2022-10-10 17:08:52 +08:00
data() {
return {
2022-10-12 08:51:05 +08:00
val1: '',
options: [],
index: 0,
dataList: [{task_no: '1', start_devicecode: '000fjopd', create_time: '2020-1-1'}, {task_no: '1', start_devicecode: '000fjopd', create_time: '2020-1-1'}, {task_no: '1', start_devicecode: '000fjopd', create_time: '2020-1-1'}, {task_no: '1', start_devicecode: '000fjopd', create_time: '2020-1-1'}, {task_no: '1', start_devicecode: '000fjopd', create_time: '2020-1-1'}, {task_no: '1', start_devicecode: '000fjopd', create_time: '2020-1-1'}, {task_no: '1', start_devicecode: '000fjopd', create_time: '2020-1-1'}, {task_no: '1', start_devicecode: '000fjopd', create_time: '2020-1-1'}, {task_no: '1', start_devicecode: '000fjopd', create_time: '2020-1-1'}, {task_no: '1', start_devicecode: '000fjopd', create_time: '2020-1-1'}, {task_no: '1', start_devicecode: '000fjopd', create_time: '2020-1-1'}, {task_no: '1', start_devicecode: '000fjopd', create_time: '2020-1-1444'}]
2022-10-10 17:08:52 +08:00
};
2022-10-10 19:58:07 +08:00
},
methods: {
2022-10-12 08:51:05 +08:00
toSearch (e) {
console.log(e)
},
/** 选择器 */
selectChange(e) {
this.index = e
}
2022-10-10 17:08:52 +08:00
}
}
</script>
<style lang="stylus">
2022-10-11 17:03:44 +08:00
.grid-wraper
height calc(100% - 238rpx)
2022-10-10 17:08:52 +08:00
</style>