Commit 9063027f by qinjianhui

fix: 去掉创建出库单校验

parent 6436872e
......@@ -325,11 +325,11 @@ const addOtherCurrency = async () => {
ElMessage.error('请输入出库数量')
return
}
const usableInventory = arr[i].usableInventory || 0
if ((arr[i].outCount as number) > usableInventory) {
ElMessage.error('出库数量不能大于可用库存数量')
return
}
// const usableInventory = arr[i].usableInventory || 0
// if ((arr[i].outCount as number) > usableInventory) {
// ElMessage.error('出库数量不能大于可用库存数量')
// return
// }
if (!arr[i].locationId) {
ElMessage.error('请选择库位')
return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment