Max
NO.10-1M (MS91187)
142000
/ MS91187
$1.10
x
{
const inc = 20;
let q = Number($event.target.value) || inc;
if (q % inc !== 0) {
q = Math.max(inc, Math.ceil(q / inc) * inc);
quantity = q;
msg = `The unit size is ${inc}.`;
showMessage = true;
setTimeout(() => { showMessage = false }, 2000);
} else {
quantity = q;
}
})()
"
>
=
Max
NO.10-1M (MS91187)
142000
/ MS91187
$1.10
/ per pc
{
const inc = 20;
let q = Number($event.target.value) || inc;
if (q % inc !== 0) {
q = Math.max(inc, Math.ceil(q / inc) * inc);
quantity = q;
msg = `The unit size is ${inc}.`;
showMessage = true;
setTimeout(() => { showMessage = false }, 2000);
} else {
quantity = q;
}
})()
"
>