update - 入库返修率

master
yinq 8 months ago
parent 1462b4d276
commit f96210b377

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

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

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

@ -300,7 +300,10 @@ export default {
/** 查看明细 */ /** 查看明细 */
handleOrderDetails(row) { handleOrderDetails(row) {
// this.$tab.openPage("SAP","/order/orderInfo" , {ORDER_CODE: row.ORDER_CODE}) // 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.BOX_CODE= row.BOX_CODE
this.form.ORDER_CODE= row.ORDER_CODE this.form.ORDER_CODE= row.ORDER_CODE
productTraceabilityDetailList({ BOX_CODE: row.BOX_CODE }).then(response => { productTraceabilityDetailList({ BOX_CODE: row.BOX_CODE }).then(response => {

Loading…
Cancel
Save