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

File diff suppressed because one or more lines are too long

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>

View File

@@ -224,6 +224,7 @@ header
.filter-table
width 100%
text-align center
user-select none
th
position: sticky;
top -1px
@@ -384,6 +385,8 @@ input::-webkit-input-placeholder
.selected_icon
background-color: #fff;
color: $red
td
color: $red
.overall_lightgreen
background linear-gradient(#00d9a1 0%,#00c0a5 30%,#115fae 100%)
.body-container
@@ -403,5 +406,7 @@ input::-webkit-input-placeholder
.selected_icon
background-color: #fff;
color: #008f8f
td
color: #008f8f
.overall_blue
background linear-gradient(#031f6d 0%,#011a60 20%,#060346 100%)

View File

@@ -56,8 +56,8 @@ li {
}
::-webkit-scrollbar {
width: 5px;
height: 5px;
width: 15px;
height: 15px;
}
::-webkit-scrollbar-track-piece {
@@ -66,13 +66,13 @@ li {
}
::-webkit-scrollbar-thumb:vertical {
height: 5px;
height: 15px;
background-color: rgba(125, 125, 125, 0.7);
-webkit-border-radius: 6px;
}
::-webkit-scrollbar-thumb:horizontal {
width: 5px;
width: 15px;
background-color: rgba(125, 125, 125, 0.7);
-webkit-border-radius: 6px;
}