瀏覽代碼

no message

production
tommy 2 天之前
父節點
當前提交
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.failQty = it.failQty
this.qcPassed = it.qcPassed
this.type = "qc" // default as qc for now
this.remarks = it.remarks
this.escalationLog = escalationLogService.find(escLogId).getOrNull()
}
@@ -1079,7 +1079,7 @@ open class StockInLineService(
if (putAwayStockQty >= requiredStockQty) {
val _tStatus = System.nanoTime()
stockInLine.apply {
val isWipJobOrder = stockInLine.jobOrder?.bom?.bomKind == "WIP"
val isWipJobOrder = stockInLine.jobOrder?.bom?.description == "WIP"
this.status = if (isWipJobOrder) {
StockInLineStatus.COMPLETE.status
} else {


Loading…
取消
儲存