This commit is contained in:
quantulr
2023-08-31 16:24:37 +08:00
parent 0288146b0d
commit 5bbe958729
32 changed files with 317 additions and 105 deletions

View File

@ -70,6 +70,8 @@ Page({
[`form.${field}`]: e.detail.value,
});
if (field === "total") {
console.log(e.detail);
if (
parseInt(e.detail.value) > this.data.stockLimit &&
this.data.form.type == 2