优化
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -64,7 +64,7 @@
|
|||||||
export default {
|
export default {
|
||||||
data () {
|
data () {
|
||||||
return {
|
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,
|
timer: null,
|
||||||
time: '',
|
time: '',
|
||||||
date: '',
|
date: '',
|
||||||
|
|||||||
@@ -26,31 +26,33 @@
|
|||||||
<div class="grid_wraper">
|
<div class="grid_wraper">
|
||||||
<table class="filter-table">
|
<table class="filter-table">
|
||||||
<tr>
|
<tr>
|
||||||
<th width="4%"></th>
|
<!-- <th width="4%"></th> -->
|
||||||
<th width="8%">工单日期</th>
|
<th width="13%">工单日期</th>
|
||||||
<th width="8%">工单号</th>
|
<th width="10%">工单号</th>
|
||||||
<th width="7%">状态</th>
|
<th width="7%">状态</th>
|
||||||
<th width="8%">设备</th>
|
<th width="10%">设备</th>
|
||||||
<th width="8%">物料名称</th>
|
<!-- <th width="8%">物料名称</th> -->
|
||||||
<th width="10%">物料规格</th>
|
<th width="9%">物料规格</th>
|
||||||
<th width="10%">工序</th>
|
<!-- <th width="10%">工序</th> -->
|
||||||
<th width="9%">计划生产</th>
|
<th width="8%">计划生产</th>
|
||||||
<th width="9%">待生产</th>
|
<th width="10%">电气数量</th>
|
||||||
<th width="9%">已生产</th>
|
<th width="10%">待生产</th>
|
||||||
<th width="9%">开工时间</th>
|
<th width="10%">已生产</th>
|
||||||
|
<th width="13%">开工时间</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr v-for="e in dataList" :key="e.workorder_id">
|
<tr v-for="e in dataList" :key="e.workorder_id" :class="{'selected_icon': pkId === e.workorder_id}" @click="toRadio(e)">
|
||||||
<td>
|
<!-- <td>
|
||||||
<button class="iconfont select_icon" :class="{'selected_icon': pkId === e.workorder_id}" @click="toRadio(e)"></button>
|
<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.create_time}}</td>
|
||||||
<td>{{e.workorder_code}}</td>
|
<td>{{e.workorder_code}}</td>
|
||||||
<td>{{e.workorder_status_name}}</td>
|
<td>{{e.workorder_status_name}}</td>
|
||||||
<td>{{e.device_code}}</td>
|
<td>{{e.device_code}}</td>
|
||||||
<td>{{e.material_name}}</td>
|
<!-- <td>{{e.material_name}}</td> -->
|
||||||
<td>{{e.material_spec}}</td>
|
<td>{{e.material_spec}}</td>
|
||||||
<td>{{e.workprocedure_name}}</td>
|
<!-- <td>{{e.workprocedure_name}}</td> -->
|
||||||
<td>{{e.plan_qty}}</td>
|
<td>{{e.plan_qty}}</td>
|
||||||
|
<td>{{ e.dq_real_qty }}</td>
|
||||||
<td>{{ e.report_qty }}</td>
|
<td>{{ e.report_qty }}</td>
|
||||||
<td>{{ e.real_qty }}</td>
|
<td>{{ e.real_qty }}</td>
|
||||||
<td>{{ e.realproducestart_date }}</td>
|
<td>{{ e.realproducestart_date }}</td>
|
||||||
|
|||||||
@@ -43,25 +43,25 @@
|
|||||||
<div class="grid_wraper">
|
<div class="grid_wraper">
|
||||||
<table class="filter-table">
|
<table class="filter-table">
|
||||||
<tr>
|
<tr>
|
||||||
<th width="4%"></th>
|
<!-- <th width="4%"></th> -->
|
||||||
<th width="8%">工单日期</th>
|
<th width="8%">工单日期</th>
|
||||||
<th width="8%">工单号</th>
|
<th width="8%">工单号</th>
|
||||||
<th width="7%">设备</th>
|
<th width="7%">设备</th>
|
||||||
<th width="4%">状态</th>
|
<th width="5%">状态</th>
|
||||||
<th width="8%">物料名称</th>
|
<th width="9%">物料名称</th>
|
||||||
<th width="8%">物料规格</th>
|
<th width="8%">物料规格</th>
|
||||||
<th width="5%">工序</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="8%">报修数量</th>
|
<th width="8%">报修数量</th>
|
||||||
<th width="8%">开始时间</th>
|
<th width="9%">开始时间</th>
|
||||||
<th width="8%">开始时间</th>
|
<th width="9%">开始时间</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr v-for="e in dataList" :key="e.workorder_id">
|
<tr v-for="e in dataList" :key="e.workorder_id" :class="{'selected_icon': pkId === e.workorder_id}" @click="toRadio(e)">
|
||||||
<td>
|
<!-- <td>
|
||||||
<button class="iconfont select_icon" :class="{'selected_icon': pkId === e.workorder_id}" @click="toRadio(e)"></button>
|
<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.create_time}}</td>
|
||||||
<td>{{e.workorder_code}}</td>
|
<td>{{e.workorder_code}}</td>
|
||||||
<td>{{e.device_code}}</td>
|
<td>{{e.device_code}}</td>
|
||||||
|
|||||||
@@ -44,15 +44,15 @@
|
|||||||
<div class="grid_wraper">
|
<div class="grid_wraper">
|
||||||
<table class="filter-table">
|
<table class="filter-table">
|
||||||
<tr>
|
<tr>
|
||||||
<th width="4%"></th>
|
<!-- <th width="4%"></th> -->
|
||||||
<th width="6%">工单号</th>
|
<th width="6%">工单号</th>
|
||||||
<th width="6%">设备</th>
|
<th width="6%">设备</th>
|
||||||
<th width="6%">顺序号</th>
|
<th width="6%">顺序号</th>
|
||||||
<th width="5%">班次</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="8%">结束时间</th>
|
<th width="10%">结束时间</th>
|
||||||
<th width="7%">电气数量</th>
|
<th width="7%">电气数量</th>
|
||||||
<th width="7%">上报合格数</th>
|
<th width="7%">上报合格数</th>
|
||||||
<th width="7%">上报报废数</th>
|
<th width="7%">上报报废数</th>
|
||||||
@@ -60,10 +60,10 @@
|
|||||||
<th width="6%">操作工</th>
|
<th width="6%">操作工</th>
|
||||||
<th width="5%">状态</th>
|
<th width="5%">状态</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr v-for="e in dataList" :key="e.macoperate_id">
|
<tr v-for="e in dataList" :key="e.macoperate_id" :class="{'selected_icon': pkId === e.workorder_id}" @click="toRadio(e)">
|
||||||
<td>
|
<!-- <td>
|
||||||
<button class="iconfont select_icon" :class="{'selected_icon': pkId === e.macoperate_id}" @click="toRadio(e)"></button>
|
<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.workorder_code}}</td>
|
||||||
<td>{{e.device_code}}</td>
|
<td>{{e.device_code}}</td>
|
||||||
<td>{{e.seq_number}}</td>
|
<td>{{e.seq_number}}</td>
|
||||||
|
|||||||
@@ -224,6 +224,7 @@ header
|
|||||||
.filter-table
|
.filter-table
|
||||||
width 100%
|
width 100%
|
||||||
text-align center
|
text-align center
|
||||||
|
user-select none
|
||||||
th
|
th
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top -1px
|
top -1px
|
||||||
@@ -384,6 +385,8 @@ input::-webkit-input-placeholder
|
|||||||
.selected_icon
|
.selected_icon
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
color: $red
|
color: $red
|
||||||
|
td
|
||||||
|
color: $red
|
||||||
.overall_lightgreen
|
.overall_lightgreen
|
||||||
background linear-gradient(#00d9a1 0%,#00c0a5 30%,#115fae 100%)
|
background linear-gradient(#00d9a1 0%,#00c0a5 30%,#115fae 100%)
|
||||||
.body-container
|
.body-container
|
||||||
@@ -403,5 +406,7 @@ input::-webkit-input-placeholder
|
|||||||
.selected_icon
|
.selected_icon
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
color: #008f8f
|
color: #008f8f
|
||||||
|
td
|
||||||
|
color: #008f8f
|
||||||
.overall_blue
|
.overall_blue
|
||||||
background linear-gradient(#031f6d 0%,#011a60 20%,#060346 100%)
|
background linear-gradient(#031f6d 0%,#011a60 20%,#060346 100%)
|
||||||
@@ -56,8 +56,8 @@ li {
|
|||||||
}
|
}
|
||||||
|
|
||||||
::-webkit-scrollbar {
|
::-webkit-scrollbar {
|
||||||
width: 5px;
|
width: 15px;
|
||||||
height: 5px;
|
height: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
::-webkit-scrollbar-track-piece {
|
::-webkit-scrollbar-track-piece {
|
||||||
@@ -66,13 +66,13 @@ li {
|
|||||||
}
|
}
|
||||||
|
|
||||||
::-webkit-scrollbar-thumb:vertical {
|
::-webkit-scrollbar-thumb:vertical {
|
||||||
height: 5px;
|
height: 15px;
|
||||||
background-color: rgba(125, 125, 125, 0.7);
|
background-color: rgba(125, 125, 125, 0.7);
|
||||||
-webkit-border-radius: 6px;
|
-webkit-border-radius: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
::-webkit-scrollbar-thumb:horizontal {
|
::-webkit-scrollbar-thumb:horizontal {
|
||||||
width: 5px;
|
width: 15px;
|
||||||
background-color: rgba(125, 125, 125, 0.7);
|
background-color: rgba(125, 125, 125, 0.7);
|
||||||
-webkit-border-radius: 6px;
|
-webkit-border-radius: 6px;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user