CANCERYS\kw093 3 周前
父节点
当前提交
9bf4bb47dd
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. +5
    -0
      src/components/FinishedGoodSearch/GoodPickExecutionForm.tsx

+ 5
- 0
src/components/FinishedGoodSearch/GoodPickExecutionForm.tsx 查看文件

@@ -189,9 +189,14 @@ const validateForm = (): boolean => {
newErrors.actualPickQty = t('Qty cannot be negative');
}
<<<<<<< HEAD
// 2. 检查 actualPickQty 不能超过可用数量或需求数量
if (ap > Math.min(req)) {
=======


if (ap > Math.min( req)) {
>>>>>>> 129d67d30ab8a0996700d8fe19644e25a5fe0471
newErrors.actualPickQty = t('Qty is not allowed to be greater than required/available qty');
}


正在加载...
取消
保存