|
@@ -383,8 +383,8 @@ onActivated(() => {
|
|
|
onMounted(() => {
|
|
onMounted(() => {
|
|
|
subscribe.start(goodscode)
|
|
subscribe.start(goodscode)
|
|
|
if (goods?.canautoadddeposit === 1) { formData.IsAutoAddDeposit = 1 }
|
|
if (goods?.canautoadddeposit === 1) { formData.IsAutoAddDeposit = 1 }
|
|
|
- orderQty.value = qtyStepList.value.at(-1) ?? 1
|
|
|
|
|
- qtyStep.value = qtyStepList.value.at(-1) ?? 1
|
|
|
|
|
|
|
+ orderQty.value = Math.min(...qtyStepList.value)
|
|
|
|
|
+ qtyStep.value = Math.min(...qtyStepList.value)
|
|
|
getSBYJMyOrders()
|
|
getSBYJMyOrders()
|
|
|
})
|
|
})
|
|
|
|
|
|