- |
+ |
@@ -70,7 +66,10 @@ td{
- 账号 |
+ 账号
+
+ |
+
@@ -133,10 +132,10 @@ td{
var obj = document.getElementById('factory');
for (var i = 0; obj.options.length; i++) {
- if ('QDVALEO' == obj.options[i].value) {
+ if ('2000' == obj.options[i].value) {
obj.options[i].selected = true;
_factory = document.getElementById(_factoryValue);
- _factory.value = 'QDVALEO';
+ _factory.value = '2000';
}
}
}
diff --git a/SCP/Default1.aspx.cs b/SCP/Default_FW.aspx.cs
similarity index 94%
rename from SCP/Default1.aspx.cs
rename to SCP/Default_FW.aspx.cs
index 812bdde..c7ad145 100644
--- a/SCP/Default1.aspx.cs
+++ b/SCP/Default_FW.aspx.cs
@@ -117,14 +117,14 @@ namespace SCP
}
catch (Exception ex)
{
-
+ Alert.Show(ex.Message);
}
}
private void Login(string p_userName, string p_password)
{
if (string.IsNullOrEmpty(txtUserName.Text) || string.IsNullOrEmpty(txtPassword.Text))
{
- Alert.Show(GetResourceKey("用户名或密码不能为空!"));
+ lb.Text = (GetResourceKey("用户名或密码不能为空!"));
return;
}
User user = DB.Users.Where(u => u.Name == p_userName).FirstOrDefault();
@@ -136,7 +136,7 @@ namespace SCP
if (!user.Enabled)
{
- Alert.Show(GetResourceKey("用户未启用,请联系管理员!"));
+ lb.Text=(GetResourceKey("用户未启用,请联系管理员!"));
}
else
{
@@ -150,7 +150,7 @@ namespace SCP
}
else
{
- Alert.Show("不选定工厂下供应商");
+ lb.Text = ("不选定工厂下供应商");
return;
}
return;
@@ -158,13 +158,13 @@ namespace SCP
}
else
{
- Alert.Show(GetResourceKey("用户名或密码错误!"));
+ lb.Text = (GetResourceKey("用户名或密码错误!"));
return;
}
}
else
{
- Alert.Show(GetResourceKey("用户名或密码错误!"));
+ lb.Text = (GetResourceKey("用户名或密码错误!"));
return;
}
}
diff --git a/SCP/Default1.aspx.designer.cs b/SCP/Default_FW.aspx.designer.cs
similarity index 92%
rename from SCP/Default1.aspx.designer.cs
rename to SCP/Default_FW.aspx.designer.cs
index 5951a79..21533db 100644
--- a/SCP/Default1.aspx.designer.cs
+++ b/SCP/Default_FW.aspx.designer.cs
@@ -41,6 +41,15 @@ namespace SCP
///
protected global::System.Web.UI.HtmlControls.HtmlSelect factory;
+ ///
+ /// lb 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.WebControls.Label lb;
+
///
/// txtUserName 控件。
///
diff --git a/SCP/SCP.csproj b/SCP/SCP.csproj
index 5499da4..f100203 100644
--- a/SCP/SCP.csproj
+++ b/SCP/SCP.csproj
@@ -208,7 +208,7 @@
-
+
@@ -4919,12 +4919,12 @@
-
- Default1.aspx
+
+ Default_FW.aspx
ASPXCodeBehind
-
- Default1.aspx
+
+ Default_FW.aspx
Error.aspx
diff --git a/SCP/Views/富维冲插件/SCP_PO_EXTEND_DETAIL.aspx.cs b/SCP/Views/富维冲插件/SCP_PO_EXTEND_DETAIL.aspx.cs
index 699643d..7c9f6f2 100644
--- a/SCP/Views/富维冲插件/SCP_PO_EXTEND_DETAIL.aspx.cs
+++ b/SCP/Views/富维冲插件/SCP_PO_EXTEND_DETAIL.aspx.cs
@@ -25,7 +25,7 @@ namespace SCP.Views.富维冲插件
ResultObject saveret = new ResultObject();
DataTable _dt = new DataTable();
var list = ConvertHelper.ToList(ExcelHelper.RemoveEmpty(_dt)).ToList();
- var ls = SCP_PO_CONTROLLER.Save_EXCEL_PO_MOD1(list, CurrentUser.FactoryList[0], CurrentUser.Name, DateTime.Now, CurrentUser.SubSiteList[0], CurrentUser.ChineseName, CurrentUser.CellPhone, TXT_CreateTime.Text, TXT_EN.Text, TXT_EndTime.Text, TXT_PartCode.Text,
+ var ls = SCP_PO_CONTROLLER.Save_TEXT_FWCCJ(list, CurrentUser.FactoryList[0], CurrentUser.Name, DateTime.Now, CurrentUser.SubSiteList[0], CurrentUser.ChineseName, CurrentUser.CellPhone, TXT_CreateTime.Text, TXT_EN.Text, TXT_EndTime.Text, TXT_PartCode.Text,
TXT_PoBillNum.Text, TXT_Remark.Text, TXT_Time.Text, TXT_VendId.Text, TXT_PoUnit.Text);
diff --git a/SCP/Web.config b/SCP/Web.config
index 4b2f69c..5c07e66 100644
--- a/SCP/Web.config
+++ b/SCP/Web.config
@@ -80,7 +80,7 @@
minFreeThreads="8" minLocalRequestFreeThreads="4" appRequestQueueLimit="100" enableVersionHeader="false"/>
-
+
| | |