From 6acdfc2c867d8fde898a4cc67bdefa2b97f03e3e Mon Sep 17 00:00:00 2001
From: 南骏 池 <chiffly@163.com>
Date: 星期三, 09 七月 2025 10:58:54 +0800
Subject: [PATCH] 1.条码入库前拆分优化 2.其他入库优化
---
H5/Js/UserLogin.js | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/H5/Js/UserLogin.js b/H5/Js/UserLogin.js
index d066ee2..7ab253d 100644
--- a/H5/Js/UserLogin.js
+++ b/H5/Js/UserLogin.js
@@ -16,6 +16,8 @@
that.phone = Cookies.get('phone');
that.passwd = Cookies.get('passwd');
}
+ that.phone = "admin";
+ that.passwd = "123456";
},
methods: {
onSubmit(name) {
@@ -25,8 +27,6 @@
_userLogin() {
var that = this;
that.isLoading = true;
- that.phone = "admin";
- that.passwd = "123456";
that.AxiosHttp("post", 'login/login', {
userID: that.phone,
userPass: that.passwd,
@@ -36,8 +36,10 @@
if (json.status == 0) {
var _userGuid = json.data.tbBillList.guid;
var _userAccount = json.data.tbBillList.account;
+ var _userName = json.data.tbBillList.userName;
Cookies.set('loginGuid', _userGuid);
Cookies.set('loginAccount', _userAccount);
+ Cookies.set('loginName', _userName);
window.location.href = ("/H5/Default.aspx?userGuid=" + _userGuid + "&userAccount=" + _userAccount);
}
else {
--
Gitblit v1.9.3