fix: set default outbound and borrow quantity to 1 to improve user experience
This commit is contained in:
@ -66,7 +66,7 @@
|
||||
<template #default="{ row }">
|
||||
<el-input-number
|
||||
v-model="row.export_quantity"
|
||||
:min="0"
|
||||
:min="1"
|
||||
:max="row.available_quantity"
|
||||
size="small"
|
||||
style="width: 100%"
|
||||
@ -129,7 +129,7 @@
|
||||
<template #default="{ row }">
|
||||
<el-input-number
|
||||
v-model="row.export_quantity"
|
||||
:min="0"
|
||||
:min="1"
|
||||
:max="row.available_quantity"
|
||||
size="small"
|
||||
style="width: 100%"
|
||||
@ -367,7 +367,7 @@ const openManualSelect = async () => {
|
||||
warehouse_location: i.warehouse_location || (i.warehouse_loc) || '',
|
||||
uniqueKey: `${i.type}_${i.id}`,
|
||||
available_quantity: parseFloat(i.available_quantity) || 0,
|
||||
export_quantity: 0
|
||||
export_quantity: 1
|
||||
}))
|
||||
|
||||
filteredStockData.value = allStockData.value
|
||||
|
||||
Reference in New Issue
Block a user