|
|
@ -209,6 +209,10 @@ const formsSuccess = async (formType, data) => { |
|
|
|
await CutItemApi.createCutItem(data) |
|
|
|
message.success(t('common.createSuccess')) |
|
|
|
} else { |
|
|
|
if(data.cutoverQty==0){ |
|
|
|
message.error('打切数量不能是0!') |
|
|
|
return |
|
|
|
} |
|
|
|
if(data.cutoverQty<data.planQty){ |
|
|
|
message.error('打切数量不可小于已要货数量!') |
|
|
|
return |
|
|
|