|
|
@ -2185,12 +2185,12 @@ |
|
|
normalizeIpqcInspectionMethod (row) { |
|
|
normalizeIpqcInspectionMethod (row) { |
|
|
if (!row) return |
|
|
if (!row) return |
|
|
if (this.isIPQCInspectionType(row)) { |
|
|
if (this.isIPQCInspectionType(row)) { |
|
|
if (!row.ipqcInspectionMethod || this.ipqcInspectionMethodOptions.indexOf(row.ipqcInspectionMethod) === -1) { |
|
|
|
|
|
this.$set(row, 'ipqcInspectionMethod', '首件检') |
|
|
|
|
|
|
|
|
if (row.ipqcInspectionMethod && this.ipqcInspectionMethodOptions.indexOf(row.ipqcInspectionMethod) === -1) { |
|
|
|
|
|
this.$set(row, 'ipqcInspectionMethod', '') |
|
|
} |
|
|
} |
|
|
} else if (this.isIQCInspectionType(row)) { |
|
|
} else if (this.isIQCInspectionType(row)) { |
|
|
if (!row.ipqcInspectionMethod || this.iqcInspectionMethodOptions.indexOf(row.ipqcInspectionMethod) === -1) { |
|
|
|
|
|
this.$set(row, 'ipqcInspectionMethod', '材料进货检验') |
|
|
|
|
|
|
|
|
if (row.ipqcInspectionMethod && this.iqcInspectionMethodOptions.indexOf(row.ipqcInspectionMethod) === -1) { |
|
|
|
|
|
this.$set(row, 'ipqcInspectionMethod', '') |
|
|
} |
|
|
} |
|
|
} else { |
|
|
} else { |
|
|
if (row.ipqcInspectionMethod) { |
|
|
if (row.ipqcInspectionMethod) { |
|
|
|