|
|
@ -487,7 +487,7 @@ const handleAbnormal = (dealType, title) => { |
|
|
|
details.loadingObj.pageLoading = true; |
|
|
|
details.loadingObj.pageLoading = true; |
|
|
|
const submitData = { abnormalRecordId: details.abnormalInfo.id, dealType }; |
|
|
|
const submitData = { abnormalRecordId: details.abnormalInfo.id, dealType }; |
|
|
|
if (dealType === 6) { |
|
|
|
if (dealType === 6) { |
|
|
|
if (!submitData.num) return ElMessage.warning('请输入入库数量'); |
|
|
|
if (!details.abnormalInfo.handleNum) return ElMessage.warning('请输入入库数量'); |
|
|
|
submitData.num = details.abnormalInfo.handleNum; |
|
|
|
submitData.num = details.abnormalInfo.handleNum; |
|
|
|
} |
|
|
|
} |
|
|
|
const res = await postDealAbnormal(submitData); |
|
|
|
const res = await postDealAbnormal(submitData); |
|
|
|