From 8fda2aa8704abad02a0f0ec0b0dce806a8ddc8ec Mon Sep 17 00:00:00 2001
From: yangle <admin@YINMOU>
Date: 星期日, 07 四月 2024 17:12:56 +0800
Subject: [PATCH] 1.生产订单单据列表 增加 2个自定义过滤,一共3个自定义过滤框 2.计划平台 选择源单返回时,如果这个物料对应的工艺路线的工作中心 下属只有 一个生产资源,则 默认带出这个 生产资源,并带入小时产能等信息; 3.选择生产资源列时,按F7出来全部生产资源,F8则出来这个物料工艺路线的工作中心下属的全部生产资源;(选择框可以另外单独做 一个)
---
WebTM/views/user/login2.html | 14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/WebTM/views/user/login2.html b/WebTM/views/user/login2.html
index 4907208..44643ec 100644
--- a/WebTM/views/user/login2.html
+++ b/WebTM/views/user/login2.html
@@ -116,7 +116,7 @@
if (i == 0)
Organization += '<option style="color:blue;" value="' + data[i].ID + '" selected>' + data[i].Name + '</option>';
else
- Organization += '<option style="color:blue;" value="' + data[i].ID + '">' + data[i].Name + '</option>';
+ Organization += '<option style="color:blue;" value="' + data[i].ID + '">' + data[i].Name + '</option>';
}
$("#Organization").append(Organization);
@@ -129,7 +129,7 @@
}
})
-
+
//form.render();
@@ -158,7 +158,7 @@
if (e.keyCode == 13) {
loging();
}
- });
+ });
//鐢ㄦ埛鍚嶆鍥炶溅鍏夋爣绉诲埌瀵嗙爜妗�
$('#LAY-user-login-username').on('keydown', function (e) {
if (e.keyCode == 13) {
@@ -203,7 +203,7 @@
var PassWord = $("#LAY-user-login-password").val();
layer.load(3);
$.ajax({
- type: "get",
+ type: "get",
url: GetWEBURL() + "/Web/GetUser",
data: { "UserName": UserName, "PassWord": PassWord, "HOrgName": $("#Organization").val() },
success: function (result) {
@@ -230,6 +230,8 @@
sessionStorage["Czmm"] = result.data[0].Czmm;
sessionStorage["Czybm"] = result.data[0].Czybm;
sessionStorage["HEmpID"] = result.data[0].HEmpID;
+ sessionStorage["HEmpNumber"] = result.data[0].HEmpNumber;
+ sessionStorage["HEmpName"] = result.data[0].HEmpName;
sessionStorage["HGroup"] = result.data[0].HGroup;
sessionStorage["HGroupID"] = result.data[0].HGroupID;
sessionStorage["HProc"] = result.data[0].HProc;
@@ -249,7 +251,7 @@
//if (!judgeMorPCflag) {//绉诲姩绔�
// window.location.href = '../../views/index_Mobile.html'
//} else {//PC绔�
- window.location.href = '../../views/indexMenu.html'
+ window.location.href = '../../views/indexMenu.html'
//}
get_WriteConfigFile();
}
@@ -273,7 +275,7 @@
$("body").append('<audio id="cs" hidden controls> <source src = "../video/jingbao.wav" type = "audio/ogg"> </audio >');
var audio = document.getElementById("cs");
audio.play();
- }
+ }
});
</script>
--
Gitblit v1.9.1