提交代码
This commit is contained in:
parent
fbeb8cb491
commit
affe0aee52
@ -1327,7 +1327,8 @@ function disphand(process: ProcessPlanItemVO, order?: OrderProcessPlanVO) {
|
||||
const planQty = Number(entity.quantity) || 0
|
||||
const completedQty = Number(process.completedQty) || 0
|
||||
const patchNum = Number(process.patchNum) || 0
|
||||
const remainQty = Math.max(0, planQty - patchNum)
|
||||
const refillNum = Number(process.refillNum) || 0 //补料数量
|
||||
const remainQty = Math.max(0, (planQty+refillNum) - patchNum)
|
||||
dispatchmodal.value = true
|
||||
dispatchformRef.value?.restoreValidation()
|
||||
dispatchform.id = entity.id
|
||||
|
||||
Loading…
Reference in New Issue
Block a user