From 2f63acadcd111fe47b2feedf13adb9cffcd64b2c Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期五, 25 十月 2024 13:28:50 +0800
Subject: [PATCH] mes调用立即出库修改
---
src/main/webapp/views/pda/login.html | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/src/main/webapp/views/pda/login.html b/src/main/webapp/views/pda/login.html
index 4aa73f5..a03b30f 100644
--- a/src/main/webapp/views/pda/login.html
+++ b/src/main/webapp/views/pda/login.html
@@ -78,7 +78,7 @@
</header>
<div class="layui-form layadmin-user-login-body">
<div class="layui-form-item">
- <input id="mobile" class="layui-input" type="text" name="mobile" lay-verify="mobile" placeholder="璐﹀彿" autocomplete="off">
+ <input id="username" class="layui-input" type="text" name="username" lay-verify="username" placeholder="璐﹀彿" autocomplete="off">
</div>
<div class="layui-form-item">
<input id="password" class="layui-input" type="password" name="password" lay-verify="password" placeholder="瀵嗙爜" autocomplete="off">
@@ -103,10 +103,10 @@
$ = layui.jquery;
form.on('submit(login)', function (data) {
- var mobile = $("#mobile").val();
- if (mobile === "") {
+ var username = $("#username").val();
+ if (username === "") {
layer.msg("璇疯緭鍏ヨ处鍙�", {icon: 2})
- $("#mobile").focus();
+ $("#username").focus();
return;
}
var password = $("#password").val();
@@ -117,9 +117,10 @@
}
var user = {
- mobile: mobile,
+ username: username,
password: hex_md5(password)
};
+ debugger
$.ajax({
url: baseUrl+"/login.action",
data: user,
--
Gitblit v1.9.1