|
|
@ -466,16 +466,18 @@ |
|
|
|
detail.toInventoryStatus = "NOK" |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} else { |
|
|
|
detail.sampleQty = detail.qty; |
|
|
|
detail.failedQty = 0; |
|
|
|
detail.crackQty = 0; |
|
|
|
detail.notPassedQty = 0; |
|
|
|
detail.goodQty = detail.qty; |
|
|
|
detail.inspectUser = this.$store.state.user.id |
|
|
|
detail.toInventoryStatus = "OK" |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// else { |
|
|
|
// detail.sampleQty = detail.qty; |
|
|
|
// detail.failedQty = 0; |
|
|
|
// detail.crackQty = 0; |
|
|
|
// detail.notPassedQty = 0; |
|
|
|
// detail.handleQty = 0; |
|
|
|
// detail.goodQty = detail.qty; |
|
|
|
// detail.inspectUser = this.$store.state.user.id |
|
|
|
// detail.toInventoryStatus = "OK" |
|
|
|
// } |
|
|
|
|
|
|
|
list.push(detail) |
|
|
|
}) |
|
|
|