计数功能校验输入正整数

其他几个页面扫码出错后,清空已扫描的值
This commit is contained in:
zhougf committed 2024-04-25 18:53:35 +08:00
1 parent c286bf55d7
commit a869449034
5 files changed
+57 -43

No files matched your search

@@ -125,11 +125,12 @@
});
if (t == -1) {
_this.$message({
message: "扫描失败 " + data + " 不存在!",
type: "error",
duration: "10000",
});
_this.$message({
message: "扫描失败 " + data + " 不存在!",
type: "error",
duration: "10000",
});
_this.form.uniqueCode = "";
} else {
var value = _this.invTable[t];
_this.form.uniqueCode = value.UniqueCode;