This commit is contained in:
2023-06-08 14:55:52 +08:00
parent 83cb43669b
commit c195e29835
7 changed files with 44 additions and 37 deletions

View File

@@ -64,7 +64,7 @@
export default {
data () {
return {
userName: this.$store.getters.userInfo !== '' ? JSON.parse(this.$store.getters.userInfo).username : '',
userName: this.$store.getters.userInfo !== '' ? JSON.parse(this.$store.getters.userInfo).person_name : '',
timer: null,
time: '',
date: '',

View File

@@ -26,31 +26,33 @@
<div class="grid_wraper">
<table class="filter-table">
<tr>
<th width="4%"></th>
<th width="8%">工单日期</th>
<th width="8%">工单号</th>
<!-- <th width="4%"></th> -->
<th width="13%">工单日期</th>
<th width="10%">工单号</th>
<th width="7%">状态</th>
<th width="8%">设备</th>
<th width="8%">物料名称</th>
<th width="10%">物料规格</th>
<th width="10%">工序</th>
<th width="9%">计划生产</th>
<th width="9%">待生产</th>
<th width="9%">生产</th>
<th width="9%">开工时间</th>
<th width="10%">设备</th>
<!-- <th width="8%">物料名称</th> -->
<th width="9%">物料规格</th>
<!-- <th width="10%">工序</th> -->
<th width="8%">计划生产</th>
<th width="10%">电气数量</th>
<th width="10%">生产</th>
<th width="10%">已生产</th>
<th width="13%">开工时间</th>
</tr>
<tr v-for="e in dataList" :key="e.workorder_id">
<td>
<tr v-for="e in dataList" :key="e.workorder_id" :class="{'selected_icon': pkId === e.workorder_id}" @click="toRadio(e)">
<!-- <td>
<button class="iconfont select_icon" :class="{'selected_icon': pkId === e.workorder_id}" @click="toRadio(e)"></button>
</td>
</td> -->
<td>{{e.create_time}}</td>
<td>{{e.workorder_code}}</td>
<td>{{e.workorder_status_name}}</td>
<td>{{e.device_code}}</td>
<td>{{e.material_name}}</td>
<!-- <td>{{e.material_name}}</td> -->
<td>{{e.material_spec}}</td>
<td>{{e.workprocedure_name}}</td>
<!-- <td>{{e.workprocedure_name}}</td> -->
<td>{{e.plan_qty}}</td>
<td>{{ e.dq_real_qty }}</td>
<td>{{ e.report_qty }}</td>
<td>{{ e.real_qty }}</td>
<td>{{ e.realproducestart_date }}</td>

View File

@@ -43,25 +43,25 @@
<div class="grid_wraper">
<table class="filter-table">
<tr>
<th width="4%"></th>
<!-- <th width="4%"></th> -->
<th width="8%">工单日期</th>
<th width="8%">工单号</th>
<th width="7%">设备</th>
<th width="4%">状态</th>
<th width="8%">物料名称</th>
<th width="5%">状态</th>
<th width="9%">物料名称</th>
<th width="8%">物料规格</th>
<th width="5%">工序</th>
<th width="8%">工单数量</th>
<th width="8%">实际数量</th>
<th width="8%">报废数量</th>
<th width="8%">报修数量</th>
<th width="8%">开始时间</th>
<th width="8%">开始时间</th>
<th width="9%">开始时间</th>
<th width="9%">开始时间</th>
</tr>
<tr v-for="e in dataList" :key="e.workorder_id">
<td>
<tr v-for="e in dataList" :key="e.workorder_id" :class="{'selected_icon': pkId === e.workorder_id}" @click="toRadio(e)">
<!-- <td>
<button class="iconfont select_icon" :class="{'selected_icon': pkId === e.workorder_id}" @click="toRadio(e)"></button>
</td>
</td> -->
<td>{{e.create_time}}</td>
<td>{{e.workorder_code}}</td>
<td>{{e.device_code}}</td>

View File

@@ -44,15 +44,15 @@
<div class="grid_wraper">
<table class="filter-table">
<tr>
<th width="4%"></th>
<!-- <th width="4%"></th> -->
<th width="6%">工单号</th>
<th width="6%">设备</th>
<th width="6%">顺序号</th>
<th width="5%">班次</th>
<th width="8%">物料名称</th>
<th width="10%">物料名称</th>
<th width="8%">物料规格</th>
<th width="8%">开始时间</th>
<th width="8%">结束时间</th>
<th width="10%">开始时间</th>
<th width="10%">结束时间</th>
<th width="7%">电气数量</th>
<th width="7%">上报合格数</th>
<th width="7%">上报报废数</th>
@@ -60,10 +60,10 @@
<th width="6%">操作工</th>
<th width="5%">状态</th>
</tr>
<tr v-for="e in dataList" :key="e.macoperate_id">
<td>
<tr v-for="e in dataList" :key="e.macoperate_id" :class="{'selected_icon': pkId === e.workorder_id}" @click="toRadio(e)">
<!-- <td>
<button class="iconfont select_icon" :class="{'selected_icon': pkId === e.macoperate_id}" @click="toRadio(e)"></button>
</td>
</td> -->
<td>{{e.workorder_code}}</td>
<td>{{e.device_code}}</td>
<td>{{e.seq_number}}</td>