From 24053f10929f66813281398bb92a3a76b6ea90c7 Mon Sep 17 00:00:00 2001 From: YYC <1833023622@qq.com> Date: 星期三, 05 七月 2023 18:23:07 +0800 Subject: [PATCH] 出库值仓 --- igds-web/src/main/resources/static/admin/inout/out-register.js | 16 ++++++++++------ 1 files changed, 10 insertions(+), 6 deletions(-) diff --git a/igds-web/src/main/resources/static/admin/inout/out-register.js b/igds-web/src/main/resources/static/admin/inout/out-register.js index 04d532d..c47ef6f 100644 --- a/igds-web/src/main/resources/static/admin/inout/out-register.js +++ b/igds-web/src/main/resources/static/admin/inout/out-register.js @@ -101,9 +101,10 @@ layer.close(index); var data = json.content; if (data === "not found") { - layer.alert("娌℃湁鑾峰彇鍒拌韩浠借瘉淇℃伅锛�", { - offset: ['300px', '300px'] - }); + // layer.alert("娌℃湁鑾峰彇鍒拌韩浠借瘉淇℃伅锛�", { + // offset: ['300px', '300px'] + // }); + alertError("娌℃湁鑾峰彇鍒拌韩浠借瘉淇℃伅锛�"); return; } // 涓存椂璧嬪�� @@ -252,15 +253,18 @@ function submit() { var data = form.val("form-data"); if (!data.userName) { - notify("鎵胯繍浜轰俊鎭笉鑳戒负绌�", null); + // notify("鎵胯繍浜轰俊鎭笉鑳戒负绌�", null); + alertError("鎵胯繍浜轰俊鎭笉鑳戒负绌�"); return; } if (!data.plateNum) { - notify("杞︾墝鍙蜂笉鑳戒负绌�", null); + alertError("杞︾墝鍙蜂笉鑳戒负绌�"); + // notify("杞︾墝鍙蜂笉鑳戒负绌�", null); return; } if (!data.intelCard && !data.userId) { - notify("鏅烘収鍗″彿涓庤韩浠借瘉鍙蜂笉鑳藉悓鏃朵负绌�", null); + alertError("鏅烘収鍗″彿涓庤韩浠借瘉鍙蜂笉鑳藉悓鏃朵负绌�"); + // notify("鏅烘収鍗″彿涓庤韩浠借瘉鍙蜂笉鑳藉悓鏃朵负绌�", null); return; } -- Gitblit v1.9.3