tommy 2 дней назад
Родитель
Сommit
b632df1d91
1 измененных файлов: 2 добавлений и 2 удалений
  1. +2
    -2
      src/main/java/com/ffii/fpsms/modules/stock/service/StockInLineService.kt

+ 2
- 2
src/main/java/com/ffii/fpsms/modules/stock/service/StockInLineService.kt Просмотреть файл

@@ -581,7 +581,7 @@ open class StockInLineService(
this.stockInLine = stockInLine this.stockInLine = stockInLine
this.failQty = it.failQty this.failQty = it.failQty
this.qcPassed = it.qcPassed this.qcPassed = it.qcPassed
this.type = "qc" // default as qc for now
this.remarks = it.remarks this.remarks = it.remarks
this.escalationLog = escalationLogService.find(escLogId).getOrNull() this.escalationLog = escalationLogService.find(escLogId).getOrNull()
} }
@@ -1079,7 +1079,7 @@ open class StockInLineService(
if (putAwayStockQty >= requiredStockQty) { if (putAwayStockQty >= requiredStockQty) {
val _tStatus = System.nanoTime() val _tStatus = System.nanoTime()
stockInLine.apply { stockInLine.apply {
val isWipJobOrder = stockInLine.jobOrder?.bom?.bomKind == "WIP"
val isWipJobOrder = stockInLine.jobOrder?.bom?.description == "WIP"
this.status = if (isWipJobOrder) { this.status = if (isWipJobOrder) {
StockInLineStatus.COMPLETE.status StockInLineStatus.COMPLETE.status
} else { } else {


Загрузка…
Отмена
Сохранить