update - 入库返修率

master
yinq 8 months ago
parent 1462b4d276
commit f96210b377

@ -2,7 +2,7 @@
<div class="app-container">
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="100px">
<el-form-item label="工作中心" prop="workCenterCode" >
<el-select v-model="queryParams.workCenterCode" placeholder="请选择工作中心" >
<el-select v-model="queryParams.workCenterCode" placeholder="请选择工作中心" clearable>
<el-option
v-for="item in productLineList"
:key="item.workCenterCode"

@ -16,7 +16,7 @@
}};&nbsp;达成率{{ ((finishedProductOutput.sj / finishedProductOutput.mb) * 100).toFixed(2) }}% </span>
<span style="position: absolute;top: 54.3%;left: 19%;color: #fff;font-size: 0.9vw">目标{{ finalInspection.mb }} &nbsp;&nbsp;&nbsp;实际{{
finalInspection.sj
}}% &nbsp;&nbsp;&nbsp;累计不良数{{ finalInspection.bls }}</span>
}} &nbsp;&nbsp;&nbsp;累计不良数{{ finalInspection.bls }}</span>
<span style="position: absolute;top: 54.3%;left: 66.7%;color: #CFD2D0;font-size: 0.9vw">合计{{ zhddhj }}</span>
<div class="scrollTable">
@ -486,7 +486,7 @@ export default {
name: '目标',
type: 'line',
yAxisIndex: 1,
data: e.map(val => 3),
data: e.map(val => 10),
itemStyle: {
normal: {
color: '#0DB99D',
@ -789,8 +789,8 @@ export default {
f: (e) => {
this.finalInspection = {
mb: e?.[0]?.COLUMN_A || '',
sj: e?.[0]?.COLUMN_C || '',
bls: e?.[0]?.COLUMN_B || '',
sj: e?.[0]?.COLUMN_B || '',
bls: e?.[0]?.COLUMN_C || '',
}
}
},
@ -882,7 +882,8 @@ export default {
itemStyle: {
normal: {
color: function (val) {
if (e[val.dataIndex].Y_VALUE_TWO < 3) {
console.log(e[val.dataIndex].Y_VALUE_TWO)
if (e[val.dataIndex].Y_VALUE_TWO < 10) {
return '#30e391'
} else {
return '#FE70A6'
@ -916,7 +917,7 @@ export default {
name: '目标',
type: 'line',
yAxisIndex: 1,
data: e.map(val => 3),
data: e.map(val => 10),
itemStyle: {
normal: {
color: '#0DB99D',

@ -2,7 +2,7 @@
<div class="app-container">
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="100px">
<el-form-item label="产线" prop="productLineCode">
<el-select v-model="queryParams.productLineCode" placeholder="请选择产线">
<el-select v-model="queryParams.productLineCode" placeholder="请选择产线" clearable>
<el-option
v-for="item in productLineList"
:key="item.productLineCode"

@ -300,7 +300,10 @@ export default {
/** 查看明细 */
handleOrderDetails(row) {
// this.$tab.openPage("SAP","/order/orderInfo" , {ORDER_CODE: row.ORDER_CODE})
console.log(row)
if (row.BOX_CODE == null){
this.$modal.msgError('该产品无MES条码')
return;
}
this.form.BOX_CODE= row.BOX_CODE
this.form.ORDER_CODE= row.ORDER_CODE
productTraceabilityDetailList({ BOX_CODE: row.BOX_CODE }).then(response => {

Loading…
Cancel
Save