提交代码

This commit is contained in:
shaoleiliu-netizen123 2026-08-26 16:33:00 +08:00
parent fbeb8cb491
commit affe0aee52

View File

@ -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