Browse Source

2026-03-27

优化
master
fengyuan_yang 3 weeks ago
parent
commit
9f5c4ef1b3
  1. 13
      src/views/modules/qc/FQCResultEntry.vue
  2. 19
      src/views/modules/qc/IQCResultEntry.vue

13
src/views/modules/qc/FQCResultEntry.vue

@ -5387,19 +5387,6 @@
border: none; border: none;
} }
.dialog-footer .el-button--success:hover {
background: linear-gradient(135deg, #15b39d 0%, #4af58e 100%);
}
.dialog-footer .el-button--primary:hover {
background: linear-gradient(135deg, #7b8ff5 0%, #8a5bb3 100%);
}
.dialog-footer .el-button--success {
background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
border: none;
}
.dialog-footer .el-button--success:hover { .dialog-footer .el-button--success:hover {
background: linear-gradient(135deg, #15b39d 0%, #4af58e 100%); background: linear-gradient(135deg, #15b39d 0%, #4af58e 100%);
} }

19
src/views/modules/qc/IQCResultEntry.vue

@ -280,24 +280,22 @@
@row-click="IQCClickRow" @row-click="IQCClickRow"
@selection-change="selectionIQC" @selection-change="selectionIQC"
style="width: 100%;"> style="width: 100%;">
<el-table-column
type="selection"
header-align="center"
align="center"
width="50">
</el-table-column>
<el-table-column <el-table-column
prop="defectTrackingFlag" prop="defectTrackingFlag"
header-align="center" header-align="center"
align="center" align="center"
width="32" width="32"
label=" "
class-name="defect-flag-column"
label-class-name="defect-flag-header">
label="">
<template slot-scope="scope"> <template slot-scope="scope">
<svg v-if="scope.row.defectTrackingFlag && scope.row.defectTrackingFlag.trim().toUpperCase() === 'Y'" t="1774593315836" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3431" id="mx_n_1774593315837" width="22" height="22"><path d="M765.4 331.5c-23.4-33.1-23.4-38 0-71.1l85.2-105.2c16-22.5-0.2-53.7-27.8-53.7H337.2c-21.7 0-39.4 17.6-39.4 39.4V810c0 21.7 17.6 39.4 39.4 39.4 21.7 0 39.4-17.6 39.4-39.4V490.3h446.3c27.6 0 43.7-31.2 27.8-53.7l-85.3-105.1z" fill="#d92e71" p-id="3432" data-spm-anchor-id="a313x.search_index.0.i13.5c113a810rcz2v" class=""></path><path d="M70.5 840.3a260.2 92.9 0 1 0 520.4 0 260.2 92.9 0 1 0-520.4 0Z" fill="#d92e71" opacity=".2" p-id="3433"></path></svg> <svg v-if="scope.row.defectTrackingFlag && scope.row.defectTrackingFlag.trim().toUpperCase() === 'Y'" t="1774593315836" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3431" id="mx_n_1774593315837" width="22" height="22"><path d="M765.4 331.5c-23.4-33.1-23.4-38 0-71.1l85.2-105.2c16-22.5-0.2-53.7-27.8-53.7H337.2c-21.7 0-39.4 17.6-39.4 39.4V810c0 21.7 17.6 39.4 39.4 39.4 21.7 0 39.4-17.6 39.4-39.4V490.3h446.3c27.6 0 43.7-31.2 27.8-53.7l-85.3-105.1z" fill="#d92e71" p-id="3432" data-spm-anchor-id="a313x.search_index.0.i13.5c113a810rcz2v" class=""></path><path d="M70.5 840.3a260.2 92.9 0 1 0 520.4 0 260.2 92.9 0 1 0-520.4 0Z" fill="#d92e71" opacity=".2" p-id="3433"></path></svg>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column
type="selection"
header-align="center"
align="center"
width="50">
</el-table-column>
<el-table-column <el-table-column
prop="state" prop="state"
header-align="center" header-align="center"
@ -366,6 +364,7 @@
<div class="section-title"> <div class="section-title">
<i class="el-icon-document"></i> <i class="el-icon-document"></i>
<span>检验单信息</span> <span>检验单信息</span>
<svg v-if="detailData.defectTrackingFlag && detailData.defectTrackingFlag.trim().toUpperCase() === 'Y'" style="margin-left: 8px; margin-top: -2px;" t="1774593315836" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3431" id="mx_n_1774593315837" width="22" height="22"><path d="M765.4 331.5c-23.4-33.1-23.4-38 0-71.1l85.2-105.2c16-22.5-0.2-53.7-27.8-53.7H337.2c-21.7 0-39.4 17.6-39.4 39.4V810c0 21.7 17.6 39.4 39.4 39.4 21.7 0 39.4-17.6 39.4-39.4V490.3h446.3c27.6 0 43.7-31.2 27.8-53.7l-85.3-105.1z" fill="#d92e71" p-id="3432" data-spm-anchor-id="a313x.search_index.0.i13.5c113a810rcz2v" class=""></path><path d="M70.5 840.3a260.2 92.9 0 1 0 520.4 0 260.2 92.9 0 1 0-520.4 0Z" fill="#d92e71" opacity=".2" p-id="3433"></path></svg>
</div> </div>
<!-- 第一行物料信息 --> <!-- 第一行物料信息 -->
<el-row :gutter="12" class="info-row"> <el-row :gutter="12" class="info-row">
@ -2129,6 +2128,7 @@
rollQty: '', rollQty: '',
samplingQty: '', samplingQty: '',
noBatchQualifiedQty: 0, noBatchQualifiedQty: 0,
defectTrackingFlag: '',
unqualifiedQty: 0, unqualifiedQty: 0,
unqualifiedQuantity: '', unqualifiedQuantity: '',
disposalMeasures: '', disposalMeasures: '',
@ -3066,6 +3066,7 @@
this.detailData.partDesc = row.partDesc this.detailData.partDesc = row.partDesc
this.detailData.cinvSourceCode = row.cinvSourceCode this.detailData.cinvSourceCode = row.cinvSourceCode
this.detailData.sku = row.sku this.detailData.sku = row.sku
this.detailData.defectTrackingFlag = row.defectTrackingFlag
this.detailData.rollQty = row.rollQty this.detailData.rollQty = row.rollQty
this.detailData.samplingQty = row.samplingQty this.detailData.samplingQty = row.samplingQty
this.detailData.unqualifiedQty = row.unqualifiedQty this.detailData.unqualifiedQty = row.unqualifiedQty

Loading…
Cancel
Save