dequan.zhang 3 years ago
parent
commit
6c2f12fc2c
  1. 6
      APP/QMAPP.Web/App_Data/Menu.xml
  2. 4
      APP/QMAPP.Web/Web.config
  3. 23
      APPQ5/QMAPP.FJC.BLL/Operation/SignInfoBLL.cs
  4. 77
      APPQ5/QMAPP.FJC.DAL/Operation/SignInfoDAL.cs
  5. 7
      APPQ5/QMAPP.FJC.Entity/Operation/SignInfo.cs
  6. 6
      APPQ5/QMAPP.FJC.Web/Content/Xml/Dictionary.xml
  7. 226
      APPQ5/QMAPP.FJC.Web/Controllers/SignInfoController.cs
  8. 135
      APPQ5/QMAPP.FJC.Web/Models/Operation/SignInfoModel.cs
  9. 4
      APPQ5/QMAPP.FJC.Web/QMAPP.FJC.Web.csproj
  10. 62
      APPQ5/QMAPP.FJC.Web/Views/SignInfo/SignInfoEdit.aspx
  11. 90
      APPQ5/QMAPP.FJC.Web/Views/SignInfo/SignInfoList.aspx
  12. 4
      APPQ5/QMAPP.FJC.Web/Web.config
  13. 2
      APPQ5/QMAPP.WinForm/App.config
  14. 318
      APPQ5/QMAPP.WinForm/Forms/Operation/OperationForm.Designer.cs
  15. 4
      APPQ5/QMAPP.WinForm/Forms/Operation/OperationForm.cs
  16. 177
      APPQ5/QMAPP.WinForm/Forms/Operation/OperationForm.resx
  17. 117
      APPQ5/QMAPP.WinForm/Forms/Operation/SignInfoForm.cs
  18. 84
      APPQ5/QMAPP.WinForm/Forms/Operation/SignInfoForm.designer.cs
  19. 6
      AppCommon/QMAPP.ServicesAgent/ServiceEnums.cs
  20. 2
      ServicesCenter/WCF/QMFrameWork.WebServiceHost/Web.config

6
APP/QMAPP.Web/App_Data/Menu.xml

@ -442,6 +442,12 @@
<Action ContorllerName="StorageLog" ActionName="ExportExcel" PowerID="CD10070002">导出</Action>
</Actions>
</MenuItem>
<MenuItem MenuID="10080000" SystemID="FJC" MenuDes="登记信息" Action="/SignInfo/List" Target="url" PowerID="CD10080000" Visible="true" Ico="../../Content/Menu/images/ico/2.gif" SuperID="10000000" Seq="1">
<Actions>
<Action ContorllerName="SignInfo" ActionName="List" PowerID="CD10080001">查询</Action>
<Action ContorllerName="SignInfo" ActionName="ExportExcel" PowerID="CD10080002">导出</Action>
</Actions>
</MenuItem>
<!--<MenuItem MenuID="10040000" SystemID="FJC" MenuDes="生产进度查询" Action="" Target="url" PowerID="CD10040000" Visible="true" Ico="../../Content/Menu/images/ico/2.gif" SuperID="10000000" Seq="1">
<Actions>
</Actions>

4
APP/QMAPP.Web/Web.config

@ -45,9 +45,9 @@
<!--<add name="maindb" connectionString="Data Source=119.3.213.202,13315;Initial Catalog=ADIENT_CD_MES;User Id=sa;Password=ChangkeTec@2020;" providerName="System.Data.SqlClient"/>-->
<add name="maindb" connectionString="Data Source=10.111.144.98;Initial Catalog=ADIENT_CD_MES;User Id=CDMESADM;Password=CDmes123;max pool size=10240;" providerName="System.Data.SqlClient"/>
<!--<add name="maindb" connectionString="Data Source=10.111.144.98;Initial Catalog=ADIENT_CD_MES;User Id=CDMESADM;Password=CDmes123;max pool size=10240;" providerName="System.Data.SqlClient"/>-->
<!--<add name="maindb" connectionString="Data Source=123.56.115.74;Initial Catalog=ADIENT_TJ_MES;User Id=sa;Password=qwe123$%^;" providerName="System.Data.SqlClient" />-->
<add name="maindb" connectionString="Data Source=123.56.115.74;Initial Catalog=ADIENT_TJ_MES;User Id=sa;Password=qwe123$%^;" providerName="System.Data.SqlClient" />
<!--<add name="maindb" connectionString="Data Source=10.111.144.98;Initial Catalog=ADIENT_CD_MES;User Id=sa;Password=Password2018;max pool size=10240;" providerName="System.Data.SqlClient"/>
<add name="maindbBZD" connectionString="Data Source=10.111.144.98;Initial Catalog=BZD;User Id=sa;Password=Password2018;" providerName="System.Data.SqlClient"/>-->

23
APPQ5/QMAPP.FJC.BLL/Operation/SignInfoBLL.cs

@ -109,6 +109,29 @@ namespace QMAPP.FJC.BLL.Operation
}
}
/// <summary>
/// 获取列表
/// </summary>
/// <param name="condition">条件</param>
/// <returns>全部集合</returns>
public SignInfo GetAllListByLoc(string Loc)
{
try
{
//获取信息列表
return new SignInfoDAL().GetALLByLoc(Loc);
}
catch (Exception ex)
{
LogManager.LogHelper.Error(new LogInfo()
{
ErrorInfo = ex,
Tag = ex.StackTrace,
Info = "获取列表异常!"
});
throw ex;
}
}
#endregion

77
APPQ5/QMAPP.FJC.DAL/Operation/SignInfoDAL.cs

@ -86,7 +86,7 @@ namespace QMAPP.FJC.DAL.Operation
//分页关键字段及排序
page.KeyName = "PID";
if (string.IsNullOrEmpty(page.SortExpression))
page.SortExpression = "UPDATEDATE DESC";
page.SortExpression = "CREATEDATE DESC";
using (IDataSession session = AppDataFactory.CreateMainSession())
{
page = session.GetDataPage<SignInfo>(sql, parameters.ToArray(), page);
@ -125,6 +125,37 @@ namespace QMAPP.FJC.DAL.Operation
throw ex;
}
}
/// <summary>
/// 获取列表
/// </summary>
/// <param name="condition">条件</param>
/// <param name="page">数据页</param>
/// <returns>数据页</returns>
public SignInfo GetALLByLoc(string Loc)
{
string sql = null;
List<DataParameter> parameters = new List<DataParameter>();
try
{
sql = $"SELECT * FROM T_AW_SignInfo WHERE WorkLoc = '{Loc}' order by CREATEDATE desc";
//分页关键字段及排序
var LIST = new List<SignInfo>();
using (IDataSession session = AppDataFactory.CreateMainSession())
{
LIST = session.GetList<SignInfo>(sql, parameters.ToArray()).ToList();
}
if (LIST.Count > 0)
return LIST[0];
else
return new SignInfo();
}
catch (Exception ex)
{
throw ex;
}
}
#endregion
#region 获取查询语句
@ -142,30 +173,48 @@ namespace QMAPP.FJC.DAL.Operation
{
//构成查询语句
sqlBuilder.Append("SELECT PID,ProductCode,Type,WorkLoc,CREATEUSER,CREATEDATE ");
sqlBuilder.Append("FROM T_AW_SignInfo ");
sqlBuilder.Append("SELECT I.PID,I.ProductCode,I.Type,I.WorkLoc,L.WORKLOC_NAME AS 'WorkLocName',I.CREATEUSER,u.USERNAME as 'CREATEUSERNAME',I.CREATEDATE,I.SIGNDATE ");
sqlBuilder.Append("FROM T_AW_SignInfo as I LEFT JOIN T_QM_USER AS U ON I.CREATEUSER = U.USERID LEFT JOIN T_MD_WORKLOC AS L ON I.WorkLoc = L.WORKLOC_CODE ");
if (string.IsNullOrEmpty(condition.ProductCode) == false)
{
whereBuilder.Append(" AND ProductCode = @ProductCode");
whereBuilder.Append(" AND I.ProductCode = @ProductCode");
parameters.Add(new DataParameter { ParameterName = "ProductCode", DataType = DbType.String, Value = condition.ProductCode });
}
if (string.IsNullOrEmpty(condition.Type) == false)
if (string.IsNullOrEmpty(condition.Type) == false && condition.Type == "停工复工")
{
whereBuilder.Append(" AND Type = @Type");
whereBuilder.Append(" AND I.Type in ('停工','复工')");
parameters.Add(new DataParameter { ParameterName = "Type", DataType = DbType.String, Value = condition.Type });
if (condition.BeginTime != DateTime.MinValue.ToString())
{
whereBuilder.Append(" AND I.SIGNDATE >= @BeginTime");
parameters.Add(new DataParameter { ParameterName = "BeginTime", DataType = DbType.String, Value = condition.BeginTime });
}
if (condition.EndTime != DateTime.MinValue.ToString())
{
whereBuilder.Append(" AND I.SIGNDATE <= @EndTime");
parameters.Add(new DataParameter { ParameterName = "EndTime", DataType = DbType.String, Value = condition.EndTime });
}
}
if (condition.BeginTime != DateTime.MinValue.ToString())
{
whereBuilder.Append(" AND CREATEDATE >= @BeginTime");
parameters.Add(new DataParameter { ParameterName = "BeginTime", DataType = DbType.String, Value = condition.BeginTime });
}
if (condition.EndTime != DateTime.MinValue.ToString())
else if(string.IsNullOrEmpty(condition.Type) == false && condition.Type != "停工复工")
{
whereBuilder.Append(" AND CREATEDATE <= @EndTime");
parameters.Add(new DataParameter { ParameterName = "EndTime", DataType = DbType.String, Value = condition.EndTime });
whereBuilder.Append(" AND I.Type = @Type");
parameters.Add(new DataParameter { ParameterName = "Type", DataType = DbType.String, Value = condition.Type });
if (condition.BeginTime != DateTime.MinValue.ToString())
{
whereBuilder.Append(" AND I.CREATEDATE >= @BeginTime");
parameters.Add(new DataParameter { ParameterName = "BeginTime", DataType = DbType.String, Value = condition.BeginTime });
}
if (condition.EndTime != DateTime.MinValue.ToString())
{
whereBuilder.Append(" AND I.CREATEDATE <= @EndTime");
parameters.Add(new DataParameter { ParameterName = "EndTime", DataType = DbType.String, Value = condition.EndTime });
}
}
//查询条件
if (whereBuilder.Length > 0)
{

7
APPQ5/QMAPP.FJC.Entity/Operation/SignInfo.cs

@ -38,12 +38,14 @@ namespace QMAPP.FJC.Entity.Operation
///</summary>
[DBColumn(ColumnName = "WorkLoc", DataType = DbType.String)]
public string WorkLoc { get; set; }
public string WorkLocName { get; set; }
///<summary>
///标记用户
///</summary>
[DBColumn(ColumnName = "CREATEUSER", DataType = DbType.String)]
public string CREATEUSER { get; set; }
public string CREATEUSERNAME { get; set; }
///<summary>
///标记时间
@ -53,5 +55,10 @@ namespace QMAPP.FJC.Entity.Operation
public string BeginTime { get; set; }
public string EndTime { get; set; }
///<summary>
///停工、复工时间
///</summary>
[DBColumn(ColumnName = "SIGNDATE", DataType = DbType.DateTime2)]
public string SIGNDATE { get; set; }
}
}

6
APPQ5/QMAPP.FJC.Web/Content/Xml/Dictionary.xml

@ -187,6 +187,12 @@
<items key="15" value="红外焊接" />
<items key="16" value="总成装配" />
</Dictionary>
<Dictionary Name="SignType">
<items key="配胶" value="配胶" />
<items key="清胶" value="清胶" />
<items key="表皮新料" value="表皮新料" />
<items key="停工复工" value="停工复工" />
</Dictionary>
<Dictionary Name="ISCONTROL">
<items key="0" value="不发送不读取" />
<items key="1" value="只发送不读取" />

226
APPQ5/QMAPP.FJC.Web/Controllers/SignInfoController.cs

@ -0,0 +1,226 @@
using System;
using System.Collections.Generic;
using System.Web.Mvc;
using QMAPP.Common.Web.Controllers;
using QMFrameWork.WebUI.Attribute;
using QMFrameWork.Data;
using QMAPP.ServicesAgent;
using QMFrameWork.WebUI.DataSource;
using QMFrameWork.Common.Serialization;
using QMAPP.Entity;
using QMAPP.FJC.Web.Models.Operation;
using QMAPP.FJC.Entity.Operation;
namespace QMAPP.FJC.Web.Controllers
{
/// <summary>
/// 模块名称:标记信息--佛山VW276
/// 作 者:张松男
/// 编写日期:2022年05月23日
/// </summary>
public class SignInfoController : QController
{
#region 获取列表
/// <summary>
/// 加载列表
/// </summary>
/// <returns>结果</returns>
[HandleException]
public ActionResult List(bool? callBack)
{
SignInfoModel seachModel = new SignInfoModel();
if (callBack == true)
TryGetSelectBuffer<SignInfoModel>(out seachModel);
seachModel.rownumbers = false;
seachModel.url = "/SignInfo/GetList";
seachModel.EndTime = DateTime.Now.AddDays(+1).ToString("yyyy-MM-dd");
seachModel.BeginTime = DateTime.Now.AddDays(-5).ToString("yyyy-MM-dd");
return View("SignInfoList", seachModel);
}
/// <summary>
/// 获取列表
/// </summary>
/// <param name="callBack">是否回调</param>
/// <returns>列表</returns>
[HandleException]
public ActionResult GetList(bool? callBack)
{
SignInfoModel seachModel = null;
DataPage page = null;
ServiceAgent wcfAgent = this.GetServiceAgent();
SignInfo condition = null;
DataResult<DataPage> pageResult = new DataResult<DataPage>();
try
{
//获取查询对象
seachModel = GetModel<SignInfoModel>();
#region 获取缓存值
if (callBack != null)
{
TryGetSelectBuffer<SignInfoModel>(out seachModel);
}
else
{
//保存搜索条件
SetSelectBuffer<SignInfoModel>(seachModel);
}
#endregion
//获取前台分页设置信息
page = this.GetDataPage(seachModel);
condition = CopyToModel<SignInfo, SignInfoModel>(seachModel);
#region wcf服务统一接口
pageResult = wcfAgent.InvokeServiceFunction<DataResult<DataPage>>("SignInfoBLL_GetList", condition, page);
if (pageResult.IsSuccess == false)
{
SetMessage(pageResult.Msg);
return List(true);
}
DateGridResult<SignInfo> result = new DateGridResult<SignInfo>();
result.Total = pageResult.Result.RecordCount;
result.Rows = JsonConvertHelper.GetDeserialize<List<SignInfo>>(pageResult.Result.Result.ToString());
#endregion
string tempstr = "";
tempstr = result.GetJsonSource();
return Content(tempstr);
}
catch (Exception ex)
{
throw ex;
}
}
#endregion
#region 编辑
/// <summary>
/// 编辑载入
/// </summary>
/// <returns>处理结果</returns>
[HandleException]
public ActionResult Edit()
{
SignInfoModel model = new SignInfoModel();
string ID = Request.Params["PID"];
SignInfo Entity = new SignInfo();
ServiceAgent wcfAgent = this.GetServiceAgent();
DataResult<SignInfo> result = new DataResult<SignInfo>();
try
{
if (string.IsNullOrEmpty(ID) == false)
{
//修改获取原数据
Entity.PID = ID;
result = wcfAgent.InvokeServiceFunction<DataResult<SignInfo>>(QMAPP.ServicesAgent.B9IPCService.SignInfoBLL_Get.ToString(), Entity);
if (result.IsSuccess == false)
{
SetMessage(result.Msg);
return View("SignInfoEdit", model);
}
model = CopyToModel<SignInfoModel, SignInfo>(result.Result);
//根据工位信息获得工序信息
//string kind = model.WORKLOC_CODE;
//var WORKCELL_CODE = "";
//ServiceAgent wcfAgent1 = this.GetServiceAgent();
//if (string.IsNullOrEmpty(kind) == false)
//{
// var dataResult = wcfAgent1.InvokeServiceFunction<List<WorkLoc>>
// ("WorkLocBLL_GetWorkCellFromWorkLocList", new WorkLoc(), kind);
// foreach (WorkLoc item in dataResult)
// {
// WORKCELL_CODE = item.WORKCELL_CODE;
// }
//}
//model.WORKCELL_CODE = WORKCELL_CODE;
}
return View("SignInfoEdit", model);
}
catch (Exception ex)
{
throw ex;
}
}
#endregion
#region 保存
/// <summary>
/// 保存
/// </summary>
/// <param name="model"></param>
/// <returns>处理结果</returns>
[HttpPost]
[HandleException]
[ValidateInput(false)]
public ActionResult Save(SignInfoModel saveModel)
{
SignInfo Entity = null;
ServiceAgent wcfAgent = this.GetServiceAgent();
DataResult<int> result = new DataResult<int>();
try
{
Entity = CopyToModel<SignInfo, SignInfoModel>(saveModel);
if (string.IsNullOrEmpty(Entity.PID) == true)
{
//新增
result = wcfAgent.InvokeServiceFunction<DataResult<int>>(QMAPP.ServicesAgent.B9IPCService.SignInfoBLL_Insert.ToString(), Entity);
}
else
{
//修改
result = wcfAgent.InvokeServiceFunction<DataResult<int>>(QMAPP.ServicesAgent.B9IPCService.SignInfoBLL_Update.ToString(), Entity);
}
if (result.IsSuccess == false)
{
SetMessage(result.Msg);
return View("SignInfoEdit", saveModel);
}
return this.GetJsViewResult(string.Format("parent.List(1);parent.showTitle('{0}');parent.closeAppWindow1();", AppResource.SaveMessge));
}
catch (Exception ex)
{
throw ex;
}
}
#endregion
#region 删除
/// <summary>
/// 删除
/// </summary>
/// <returns>结果</returns>
[HttpPost]
[HandleException]
public ActionResult Delete(SignInfoModel saveModel)
{
string selectKey = Request.Form["selectKey"];
SignInfo Entity = null;
Entity = CopyToModel<SignInfo, SignInfoModel>(saveModel);
Entity.PID = selectKey;
ServiceAgent wcfAgent = this.GetServiceAgent();
DataResult<int> result = new DataResult<int>();
try
{
result = wcfAgent.InvokeServiceFunction<DataResult<int>>("SignInfoBLL_Delete", selectKey);
if (result.IsSuccess == false)
{
SetMessage(result.Msg);
return List(true);
}
SetMessage(AppResource.DeleteMessage);
return List(true);
}
catch (Exception ex)
{
throw ex;
}
}
#endregion
}
}

135
APPQ5/QMAPP.FJC.Web/Models/Operation/SignInfoModel.cs

@ -0,0 +1,135 @@
using System;
using System.Web.Mvc.Html;
using QMFrameWork.WebUI;
using QMFrameWork.WebUI.Attribute;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Mvc.Html;
using QMAPP.Web;
using QMFrameWork.WebUI;
using QMFrameWork.WebUI.Attribute;
namespace QMAPP.FJC.Web.Models.Operation
{
/// <summary>
/// 模块名称:标记信息--佛山VW276
/// 作 者:张松男
/// 编写日期:2022年05月23日
/// </summary>
public class SignInfoModel : QDGModel
{
///<summary>
///
///</summary>
[Description("")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
[InputType(inputType.text)]
[DGColumn(Hidden = true, PrimaryKey = true)]
public string PID { get; set; }
///<summary>
/// 类别
///</summary>
[Description("类别")]
[HTMLInput(UpdateRead = false, required = true, JsonUtl = "/Dict/GetFixedComboxSource?kind=SignType", MaxLength = 2)]
[InputType(inputType.combotree)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string Type { get; set; }
///<summary>
/// 登记条码
///</summary>
[Description("登记条码")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 30)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 200, DataAlign = DataAlign.center)]
public string ProductCode { get; set; }
///<summary>
/// 工位
///</summary>
[Description("工位")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 1)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 200, DataAlign = DataAlign.center,Hidden = true)]
public string WorkLoc { get; set; }
///<summary>
/// 工位
///</summary>
[Description("工位")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 1)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 200, DataAlign = DataAlign.center)]
public string WorkLocName { get; set; }
///<summary>
/// 登记用户
///</summary>
[Description("登记用户")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 200, DataAlign = DataAlign.center, Hidden = true)]
public string CREATEUSER { get; set; }
///<summary>
/// 登记用户
///</summary>
[Description("登记用户")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 200, DataAlign = DataAlign.center)]
public string CREATEUSERNAME { get; set; }
///<summary>
/// 创建时间
///</summary>
[Description("创建时间")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 200, DataAlign = DataAlign.center)]
public string CREATEDATE { get; set; }
///<summary>
/// 开始时间
///</summary>
[Description("开始时间")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
[InputType(inputType.dateTimeBox)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 200, DataAlign = DataAlign.center, Hidden = true)]
public string BeginTime { get; set; }
///<summary>
/// 结束时间
///</summary>
[Description("结束时间")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
[InputType(inputType.dateTimeBox)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 200, DataAlign = DataAlign.center,Hidden = true)]
public string EndTime { get; set; }
///<summary>
/// 标记时间
///</summary>
[Description("标记时间")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = false, Width = 200, DataAlign = DataAlign.center)]
public string SIGNDATE { get; set; }
}
}

4
APPQ5/QMAPP.FJC.Web/QMAPP.FJC.Web.csproj

@ -163,6 +163,7 @@
<Compile Include="Controllers\BomHdrController.cs" />
<Compile Include="Controllers\BarCodeReplacementController.cs" />
<Compile Include="Controllers\APPConfigController.cs" />
<Compile Include="Controllers\SignInfoController.cs" />
<Compile Include="Controllers\TJDoorPlankPlanPrintController.cs" />
<Compile Include="Controllers\StorageLogController.cs" />
<Compile Include="Controllers\StorageController.cs" />
@ -332,6 +333,7 @@
<Compile Include="Models\FIS\OrderPlanTraceModel.cs" />
<Compile Include="Models\FIS\FISAssemblyModel.cs" />
<Compile Include="Models\Operation\ProductCheckModel.cs" />
<Compile Include="Models\Operation\SignInfoModel.cs" />
<Compile Include="Models\Operation\ProductOutModel.cs" />
<Compile Include="Models\Monitor\ShipmentMonitorModel.cs" />
<Compile Include="Models\ODS\VideoInfoModel.cs" />
@ -914,6 +916,8 @@
<Content Include="Views\BarCodeReplacement\BarCodeReplacementList.aspx" />
<Content Include="Views\AppConfig\AppConfigEdit.aspx" />
<Content Include="Views\AppConfig\AppConfigList.aspx" />
<Content Include="Views\SignInfo\SignInfoEdit.aspx" />
<Content Include="Views\SignInfo\SignInfoList.aspx" />
<Content Include="Views\BucketMaterialClass\BucketMaterialClassEdit.aspx" />
<Content Include="Views\BucketMaterialClass\BucketMaterialClassList.aspx" />
<Content Include="Views\TJDoorPlankPlanPrint\AddWholeDoorEdit.aspx" />

62
APPQ5/QMAPP.FJC.Web/Views/SignInfo/SignInfoEdit.aspx

@ -0,0 +1,62 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AppMaster.Master"
Inherits="System.Web.Mvc.ViewPage<QMAPP.FJC.Web.Models.Bucket.BucketInfoModel>" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
工厂信息编辑
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<%=Html.QPEdit("信息", string.IsNullOrEmpty(Model.PID) ? QMFrameWork.WebUI.panelType.Add : QMFrameWork.WebUI.panelType.Update)%>
<table id="editTable" cellpadding="0" cellspacing="0">
<tr>
<td>
<table>
<tr>
<th align="right">
<%=Html.QV(p=>p.BucketCode) %>
</th>
<td>
<%=Html.QC(p => p.BucketCode)%>
</td>
</tr>
<tr>
<th align="right">
<%=Html.QV(p => p.BucketName)%>
</th>
<td>
<%=Html.QC(p => p.BucketName)%>
</td>
</tr>
</table>
</td>
</tr>
</table>
<%=Html.HiddenFor(p=>p.PID) %>
<%=Html.HiddenFor(p => p.IsCheck)%>
<%=Html.HiddenFor(p=>p.CREATEDATE) %>
<%=Html.HiddenFor(p=>p.CREATEUSER) %>
<%=Html.HiddenFor(p=>p.UPDATEDATE)%>
<%=Html.HiddenFor(p=>p.UPDATEUSER) %>
<%=Html.QPEnd() %>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ToolContent" runat="server">
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td>
<%=Html.QTButtonSave("User", "Save", "return Save();")%>
<%=Html.QTButtonBack("close", "BucketInfo", "parent.closeAppWindow1();return false;")%>
</td>
</tr>
</table>
<script type="text/javascript">
function Save() {
if (isValidate() == false) {
return false;
}
submitByButton("Save");
}
</script>
</asp:Content>

90
APPQ5/QMAPP.FJC.Web/Views/SignInfo/SignInfoList.aspx

@ -0,0 +1,90 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AppMaster.Master"
Inherits="System.Web.Mvc.ViewPage<QMAPP.FJC.Web.Models.Operation.SignInfoModel>" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
工厂信息列表
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<%=Html.QPSeach(80,true) %>
<table id="condiTable">
<tr>
<th align="right">
<%=Html.QV(p => p.ProductCode)%>
</th>
<td>
<%=Html.QC(p => p.ProductCode)%>
</td>
<th align="right">
<%=Html.QV(p => p.Type)%>
</th>
<td>
<%=Html.QC(p => p.Type)%>
</td>
<th align="right">
<%=Html.QV(p => p.BeginTime)%>
</th>
<td>
<%=Html.QC(p => p.BeginTime)%>
</td>
<th align="right">
<%=Html.QV(p => p.EndTime)%>
</th>
<td>
<%=Html.QC(p => p.EndTime)%>
</td>
</tr>
</table>
<%=Html.QPEnd()%>
<%=Html.QPList() %>
<%=Html.QDateGrid<QMAPP.FJC.Web.Models.Operation.SignInfoModel>(Model)%>
<%=Html.QPEnd() %>
<%=Html.Hidden("selectKey")%>
<%=Html.Hidden("PID")%>
<script language="javascript" type="text/javascript">
//添加
function Add() {
openAppWindow1('信息添加', 'Edit', '350', '380');
}
//修改
function Update() {
var ids = getSelectKey();
if (ids == "") {
MSI("提示", "请选择修改记录。");
return;
}
if (ids.indexOf(":") > 0) {
MSI("提示", "每次只能修改一条记录。");
return;
}
document.getElementById("selectKey").value = ids;
openAppWindow1('修改', 'Edit?PID=' + ids, '350', '380');
}
//删除
function Delete() {
var ids = getSelectKey();
if (ids == "") {
MSI("错误", "至少选择一条记录");
}
else {
document.getElementById("selectKey").value = ids;
MSQ("提示", "确定要删除选中的记录吗?", function () {
submitByButton("Delete");
})
}
}
</script>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ToolContent" runat="server">
<table cellpadding="0" cellspacing="0">
<tr>
<td align="center">
<%=Html.QTButtonSearch("SignInfo", "List", "List(1)", QMAPP.Common.Web.SystemLimit.isLimt)%>
<%-- <%=Html.QTButtonAdd("SignInfo", "Add", "Add()", QMAPP.Common.Web.SystemLimit.isLimt)%>
<%=Html.QTButtonUpdate("SignInfo", "Edit", "Update()", QMAPP.Common.Web.SystemLimit.isLimt)%>
<%=Html.QTButtonDelete("SignInfo", "Delete", "Delete()", QMAPP.Common.Web.SystemLimit.isLimt)%>--%>
</td>
</tr>
</table>
</asp:Content>

4
APPQ5/QMAPP.FJC.Web/Web.config

@ -36,9 +36,9 @@
<!--<add name="maindb" connectionString="Data Source=119.3.213.202,13315;Initial Catalog=ADIENT_CD_MES;User Id=sa;Password=ChangkeTec@2020;" providerName="System.Data.SqlClient"/>-->
<add name="maindb" connectionString="Data Source=10.111.144.98;Initial Catalog=ADIENT_CD_MES;User Id=CDMESADM;Password=CDmes123;" providerName="System.Data.SqlClient"/>
<!--<add name="maindb" connectionString="Data Source=10.111.144.98;Initial Catalog=ADIENT_CD_MES;User Id=CDMESADM;Password=CDmes123;" providerName="System.Data.SqlClient"/>-->
<!--<add name="maindb" connectionString="Data Source=123.56.115.74;Initial Catalog=ADIENT_TJ_MES;User Id=sa;Password=qwe123$%^;" providerName="System.Data.SqlClient" />-->
<add name="maindb" connectionString="Data Source=123.56.115.74;Initial Catalog=ADIENT_TJ_MES;User Id=sa;Password=qwe123$%^;" providerName="System.Data.SqlClient" />
<!--<add name="maindb" connectionString="Data Source=10.111.144.98;Initial Catalog=ADIENT_CD_MES;User Id=sa;Password=Password2018;max pool size=10240;" providerName="System.Data.SqlClient"/>
<add name="maindbBZD" connectionString="Data Source=10.111.144.98;Initial Catalog=BZD;User Id=sa;Password=Password2018;" providerName="System.Data.SqlClient"/>-->

2
APPQ5/QMAPP.WinForm/App.config

@ -10,7 +10,7 @@
<!--<add name="maindb" connectionString="Data Source=.;Initial Catalog=ADIENT_CD_MES;User Id=sa;Password=Microsoft2008;" providerName="System.Data.SqlClient"/>
<add name="maindbBZD" connectionString="Data Source=.;Initial Catalog=BZD;User Id=sa;Password=Microsoft2008;" providerName="System.Data.SqlClient"/>-->
<!--<add name="maindb" connectionString="Data Source=123.56.115.74;Initial Catalog=ADIENT_TJ_MES;User Id=sa;Password=qwe123$%^;" providerName="System.Data.SqlClient" />-->
<add name="maindb" connectionString="Data Source=123.56.115.74;Initial Catalog=ADIENT_TJ_MES;User Id=sa;Password=qwe123$%^;" providerName="System.Data.SqlClient" />

318
APPQ5/QMAPP.WinForm/Forms/Operation/OperationForm.Designer.cs

@ -29,37 +29,37 @@
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle31 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle41 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle42 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle32 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle33 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle34 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle35 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle36 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle37 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle38 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle39 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle40 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(OperationForm));
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle43 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle51 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle52 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle44 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle45 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle46 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle47 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle48 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle49 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle50 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle53 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle60 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle54 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle55 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle56 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle57 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle58 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle59 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle23 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle30 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle25 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle26 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle27 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle28 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle29 = new System.Windows.Forms.DataGridViewCellStyle();
this.panel2 = new System.Windows.Forms.Panel();
this.tBMat = new System.Windows.Forms.TextBox();
this.cBoxVAN = new System.Windows.Forms.CheckBox();
@ -107,10 +107,11 @@
this.tsmiIgnoreFISBreak = new System.Windows.Forms.ToolStripMenuItem();
this.tsbAndon = new System.Windows.Forms.ToolStripButton();
this.tsbSearch = new System.Windows.Forms.ToolStripButton();
this.btnSignInfo = new System.Windows.Forms.ToolStripButton();
this.btnEditProduct = new System.Windows.Forms.ToolStripButton();
this.btnRefresh = new System.Windows.Forms.ToolStripButton();
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
this.toolStripButton3 = new System.Windows.Forms.ToolStripButton();
this.toolStripButton4 = new System.Windows.Forms.ToolStripButton();
this.panel4 = new System.Windows.Forms.Panel();
this.plInfo = new System.Windows.Forms.Panel();
this.gbMlist = new System.Windows.Forms.GroupBox();
@ -162,7 +163,6 @@
this.PType = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.OPERATESTATE = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.btnSignInfo = new System.Windows.Forms.ToolStripButton();
this.panel2.SuspendLayout();
this.panelSearch.SuspendLayout();
this.plDAI.SuspendLayout();
@ -415,14 +415,14 @@
this.DGView.AllowUserToDeleteRows = false;
this.DGView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
this.DGView.BackgroundColor = System.Drawing.SystemColors.ButtonFace;
dataGridViewCellStyle31.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle31.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle31.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold);
dataGridViewCellStyle31.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle31.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle31.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle31.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.DGView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle31;
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold);
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.DGView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
this.DGView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.DGView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.dgcMouldCode,
@ -435,28 +435,28 @@
this.davalue,
this.daresult,
this.Pid});
dataGridViewCellStyle41.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle41.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle41.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle41.ForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle41.Padding = new System.Windows.Forms.Padding(0, 0, 14, 0);
dataGridViewCellStyle41.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle41.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle41.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.DGView.DefaultCellStyle = dataGridViewCellStyle41;
dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle11.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle11.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle11.ForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle11.Padding = new System.Windows.Forms.Padding(0, 0, 14, 0);
dataGridViewCellStyle11.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle11.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.DGView.DefaultCellStyle = dataGridViewCellStyle11;
this.DGView.Dock = System.Windows.Forms.DockStyle.Fill;
this.DGView.GridColor = System.Drawing.SystemColors.ControlDarkDark;
this.DGView.Location = new System.Drawing.Point(0, 0);
this.DGView.Name = "DGView";
this.DGView.ReadOnly = true;
dataGridViewCellStyle42.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle42.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle42.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle42.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle42.SelectionBackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle42.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle42.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.DGView.RowHeadersDefaultCellStyle = dataGridViewCellStyle42;
dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle12.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle12.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle12.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle12.SelectionBackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle12.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.DGView.RowHeadersDefaultCellStyle = dataGridViewCellStyle12;
this.DGView.RowTemplate.Height = 30;
this.DGView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.DGView.Size = new System.Drawing.Size(1698, 127);
@ -467,9 +467,9 @@
// dgcMouldCode
//
this.dgcMouldCode.DataPropertyName = "MouldCode";
dataGridViewCellStyle32.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle32.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold);
this.dgcMouldCode.DefaultCellStyle = dataGridViewCellStyle32;
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold);
this.dgcMouldCode.DefaultCellStyle = dataGridViewCellStyle2;
this.dgcMouldCode.HeaderText = "模架编号";
this.dgcMouldCode.Name = "dgcMouldCode";
this.dgcMouldCode.ReadOnly = true;
@ -479,8 +479,8 @@
// dgcMouldName
//
this.dgcMouldName.DataPropertyName = "MouldName";
dataGridViewCellStyle33.Font = new System.Drawing.Font("微软雅黑", 15.25F, System.Drawing.FontStyle.Bold);
this.dgcMouldName.DefaultCellStyle = dataGridViewCellStyle33;
dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 15.25F, System.Drawing.FontStyle.Bold);
this.dgcMouldName.DefaultCellStyle = dataGridViewCellStyle3;
this.dgcMouldName.HeaderText = "模架";
this.dgcMouldName.Name = "dgcMouldName";
this.dgcMouldName.ReadOnly = true;
@ -489,8 +489,8 @@
// daname
//
this.daname.DataPropertyName = "DAName";
dataGridViewCellStyle34.Font = new System.Drawing.Font("宋体", 15.75F);
this.daname.DefaultCellStyle = dataGridViewCellStyle34;
dataGridViewCellStyle4.Font = new System.Drawing.Font("宋体", 15.75F);
this.daname.DefaultCellStyle = dataGridViewCellStyle4;
this.daname.HeaderText = "采集项名称";
this.daname.Name = "daname";
this.daname.ReadOnly = true;
@ -499,8 +499,8 @@
// statename
//
this.statename.DataPropertyName = "StateName";
dataGridViewCellStyle35.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.statename.DefaultCellStyle = dataGridViewCellStyle35;
dataGridViewCellStyle5.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.statename.DefaultCellStyle = dataGridViewCellStyle5;
this.statename.HeaderText = "采集时序";
this.statename.Name = "statename";
this.statename.ReadOnly = true;
@ -510,8 +510,8 @@
// datype
//
this.datype.DataPropertyName = "DAType";
dataGridViewCellStyle36.Font = new System.Drawing.Font("宋体", 15.75F);
this.datype.DefaultCellStyle = dataGridViewCellStyle36;
dataGridViewCellStyle6.Font = new System.Drawing.Font("宋体", 15.75F);
this.datype.DefaultCellStyle = dataGridViewCellStyle6;
this.datype.HeaderText = "数据类型";
this.datype.Name = "datype";
this.datype.ReadOnly = true;
@ -521,8 +521,8 @@
//
this.materialtypename.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.materialtypename.DataPropertyName = "MaterialCode";
dataGridViewCellStyle37.Font = new System.Drawing.Font("宋体", 15.75F);
this.materialtypename.DefaultCellStyle = dataGridViewCellStyle37;
dataGridViewCellStyle7.Font = new System.Drawing.Font("宋体", 15.75F);
this.materialtypename.DefaultCellStyle = dataGridViewCellStyle7;
this.materialtypename.FillWeight = 50F;
this.materialtypename.HeaderText = "物料类型";
this.materialtypename.Name = "materialtypename";
@ -532,8 +532,8 @@
//
this.dgcDAMaterialCode.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.dgcDAMaterialCode.DataPropertyName = "MaterialName";
dataGridViewCellStyle38.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.dgcDAMaterialCode.DefaultCellStyle = dataGridViewCellStyle38;
dataGridViewCellStyle8.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.dgcDAMaterialCode.DefaultCellStyle = dataGridViewCellStyle8;
this.dgcDAMaterialCode.FillWeight = 50F;
this.dgcDAMaterialCode.HeaderText = "物料名称";
this.dgcDAMaterialCode.Name = "dgcDAMaterialCode";
@ -543,8 +543,8 @@
//
this.davalue.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.davalue.DataPropertyName = "DAValue";
dataGridViewCellStyle39.Font = new System.Drawing.Font("宋体", 15.75F);
this.davalue.DefaultCellStyle = dataGridViewCellStyle39;
dataGridViewCellStyle9.Font = new System.Drawing.Font("宋体", 15.75F);
this.davalue.DefaultCellStyle = dataGridViewCellStyle9;
this.davalue.HeaderText = "采集值";
this.davalue.Name = "davalue";
this.davalue.ReadOnly = true;
@ -552,8 +552,8 @@
// daresult
//
this.daresult.DataPropertyName = "DAResult";
dataGridViewCellStyle40.Font = new System.Drawing.Font("宋体", 15.75F);
this.daresult.DefaultCellStyle = dataGridViewCellStyle40;
dataGridViewCellStyle10.Font = new System.Drawing.Font("宋体", 15.75F);
this.daresult.DefaultCellStyle = dataGridViewCellStyle10;
this.daresult.HeaderText = "结果";
this.daresult.Name = "daresult";
this.daresult.ReadOnly = true;
@ -588,7 +588,7 @@
this.btnEditProduct,
this.btnRefresh,
this.toolStripButton1,
this.toolStripButton3});
this.toolStripButton4});
this.toolStrip1.Location = new System.Drawing.Point(0, 380);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(1698, 70);
@ -768,6 +768,17 @@
this.tsbSearch.Text = "查询";
this.tsbSearch.Click += new System.EventHandler(this.tsbSearch_Click);
//
// btnSignInfo
//
this.btnSignInfo.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnSignInfo.Image = global::QMAPP.WinForm.Resource1.edit;
this.btnSignInfo.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.btnSignInfo.ImageTransparentColor = System.Drawing.Color.White;
this.btnSignInfo.Name = "btnSignInfo";
this.btnSignInfo.Size = new System.Drawing.Size(126, 67);
this.btnSignInfo.Text = "登记信息";
this.btnSignInfo.Click += new System.EventHandler(this.btnSignInfo_Click);
//
// btnEditProduct
//
this.btnEditProduct.Font = new System.Drawing.Font("微软雅黑", 12F);
@ -801,17 +812,16 @@
this.toolStripButton1.Text = "缺陷统计卡";
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
//
// toolStripButton3
// toolStripButton4
//
this.toolStripButton3.AutoSize = false;
this.toolStripButton3.Font = new System.Drawing.Font("微软雅黑", 12F);
this.toolStripButton3.Image = global::QMAPP.WinForm.Resource1.print1;
this.toolStripButton3.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.White;
this.toolStripButton3.Name = "toolStripButton3";
this.toolStripButton3.Size = new System.Drawing.Size(140, 60);
this.toolStripButton3.Text = "补打总成码";
this.toolStripButton3.Click += new System.EventHandler(this.toolStripButton3_Click);
this.toolStripButton4.AutoSize = false;
this.toolStripButton4.Font = new System.Drawing.Font("微软雅黑", 12F);
this.toolStripButton4.Image = global::QMAPP.WinForm.Resource1.print1;
this.toolStripButton4.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.toolStripButton4.ImageTransparentColor = System.Drawing.Color.White;
this.toolStripButton4.Name = "toolStripButton4";
this.toolStripButton4.Size = new System.Drawing.Size(140, 60);
this.toolStripButton4.Text = "补打总成码";
//
// panel4
//
@ -1032,14 +1042,14 @@
this.dgvPlan.AllowUserToDeleteRows = false;
this.dgvPlan.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
this.dgvPlan.BackgroundColor = System.Drawing.SystemColors.ButtonFace;
dataGridViewCellStyle43.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle43.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle43.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle43.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle43.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle43.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle43.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvPlan.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle43;
dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle13.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle13.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle13.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle13.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle13.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvPlan.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle13;
this.dgvPlan.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvPlan.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.dgcOrderNo,
@ -1057,16 +1067,16 @@
this.dgvPlan.Location = new System.Drawing.Point(0, 0);
this.dgvPlan.Name = "dgvPlan";
this.dgvPlan.ReadOnly = true;
dataGridViewCellStyle51.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle51.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle51.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle51.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle51.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle51.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle51.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvPlan.RowHeadersDefaultCellStyle = dataGridViewCellStyle51;
dataGridViewCellStyle52.Padding = new System.Windows.Forms.Padding(0, 0, 8, 0);
this.dgvPlan.RowsDefaultCellStyle = dataGridViewCellStyle52;
dataGridViewCellStyle21.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle21.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle21.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle21.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle21.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle21.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle21.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvPlan.RowHeadersDefaultCellStyle = dataGridViewCellStyle21;
dataGridViewCellStyle22.Padding = new System.Windows.Forms.Padding(0, 0, 8, 0);
this.dgvPlan.RowsDefaultCellStyle = dataGridViewCellStyle22;
this.dgvPlan.RowTemplate.Height = 23;
this.dgvPlan.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dgvPlan.Size = new System.Drawing.Size(1525, 27);
@ -1077,8 +1087,8 @@
// dgcOrderNo
//
this.dgcOrderNo.DataPropertyName = "ORDERPLAN_NO";
dataGridViewCellStyle44.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.dgcOrderNo.DefaultCellStyle = dataGridViewCellStyle44;
dataGridViewCellStyle14.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.dgcOrderNo.DefaultCellStyle = dataGridViewCellStyle14;
this.dgcOrderNo.HeaderText = "订单号";
this.dgcOrderNo.Name = "dgcOrderNo";
this.dgcOrderNo.ReadOnly = true;
@ -1087,8 +1097,8 @@
// dgcSeq
//
this.dgcSeq.DataPropertyName = "SEQ";
dataGridViewCellStyle45.Font = new System.Drawing.Font("宋体", 15.75F);
this.dgcSeq.DefaultCellStyle = dataGridViewCellStyle45;
dataGridViewCellStyle15.Font = new System.Drawing.Font("宋体", 15.75F);
this.dgcSeq.DefaultCellStyle = dataGridViewCellStyle15;
this.dgcSeq.HeaderText = "顺序号";
this.dgcSeq.Name = "dgcSeq";
this.dgcSeq.ReadOnly = true;
@ -1097,8 +1107,8 @@
// dgcMaterialCode
//
this.dgcMaterialCode.DataPropertyName = "MATERIAL_CODE";
dataGridViewCellStyle46.Font = new System.Drawing.Font("宋体", 15.75F);
this.dgcMaterialCode.DefaultCellStyle = dataGridViewCellStyle46;
dataGridViewCellStyle16.Font = new System.Drawing.Font("宋体", 15.75F);
this.dgcMaterialCode.DefaultCellStyle = dataGridViewCellStyle16;
this.dgcMaterialCode.HeaderText = "零件号";
this.dgcMaterialCode.Name = "dgcMaterialCode";
this.dgcMaterialCode.ReadOnly = true;
@ -1107,8 +1117,8 @@
// dgcMaterialName
//
this.dgcMaterialName.DataPropertyName = "MATERIAL_NAME";
dataGridViewCellStyle47.Font = new System.Drawing.Font("宋体", 15.75F);
this.dgcMaterialName.DefaultCellStyle = dataGridViewCellStyle47;
dataGridViewCellStyle17.Font = new System.Drawing.Font("宋体", 15.75F);
this.dgcMaterialName.DefaultCellStyle = dataGridViewCellStyle17;
this.dgcMaterialName.HeaderText = "零件描述";
this.dgcMaterialName.Name = "dgcMaterialName";
this.dgcMaterialName.ReadOnly = true;
@ -1116,8 +1126,8 @@
//
// dgcState
//
dataGridViewCellStyle48.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.dgcState.DefaultCellStyle = dataGridViewCellStyle48;
dataGridViewCellStyle18.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.dgcState.DefaultCellStyle = dataGridViewCellStyle18;
this.dgcState.HeaderText = "工单状态";
this.dgcState.MinimumWidth = 80;
this.dgcState.Name = "dgcState";
@ -1127,8 +1137,8 @@
// dgcPlanDate
//
this.dgcPlanDate.DataPropertyName = "PLAN_DATE";
dataGridViewCellStyle49.Font = new System.Drawing.Font("宋体", 15.75F);
this.dgcPlanDate.DefaultCellStyle = dataGridViewCellStyle49;
dataGridViewCellStyle19.Font = new System.Drawing.Font("宋体", 15.75F);
this.dgcPlanDate.DefaultCellStyle = dataGridViewCellStyle19;
this.dgcPlanDate.HeaderText = "计划日期";
this.dgcPlanDate.Name = "dgcPlanDate";
this.dgcPlanDate.ReadOnly = true;
@ -1137,8 +1147,8 @@
// dgcShift
//
this.dgcShift.DataPropertyName = "SHIFT_CODE";
dataGridViewCellStyle50.Font = new System.Drawing.Font("宋体", 15.75F);
this.dgcShift.DefaultCellStyle = dataGridViewCellStyle50;
dataGridViewCellStyle20.Font = new System.Drawing.Font("宋体", 15.75F);
this.dgcShift.DefaultCellStyle = dataGridViewCellStyle20;
this.dgcShift.HeaderText = "班次";
this.dgcShift.Name = "dgcShift";
this.dgcShift.ReadOnly = true;
@ -1312,14 +1322,14 @@
this.DGViewProList.AllowUserToDeleteRows = false;
this.DGViewProList.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
this.DGViewProList.BackgroundColor = System.Drawing.SystemColors.ButtonFace;
dataGridViewCellStyle53.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle53.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle53.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle53.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle53.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle53.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle53.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.DGViewProList.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle53;
dataGridViewCellStyle23.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle23.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle23.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle23.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle23.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle23.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle23.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.DGViewProList.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle23;
this.DGViewProList.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.DGViewProList.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.PRODUCTCODE,
@ -1336,14 +1346,14 @@
this.DGViewProList.Location = new System.Drawing.Point(0, 0);
this.DGViewProList.Name = "DGViewProList";
this.DGViewProList.ReadOnly = true;
dataGridViewCellStyle60.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle60.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle60.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle60.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle60.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle60.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle60.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.DGViewProList.RowHeadersDefaultCellStyle = dataGridViewCellStyle60;
dataGridViewCellStyle30.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle30.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle30.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle30.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle30.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle30.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle30.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.DGViewProList.RowHeadersDefaultCellStyle = dataGridViewCellStyle30;
this.DGViewProList.RowTemplate.Height = 23;
this.DGViewProList.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.DGViewProList.Size = new System.Drawing.Size(1690, 27);
@ -1354,8 +1364,8 @@
//
this.PRODUCTCODE.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
this.PRODUCTCODE.DataPropertyName = "PRODUCTCODE";
dataGridViewCellStyle54.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.PRODUCTCODE.DefaultCellStyle = dataGridViewCellStyle54;
dataGridViewCellStyle24.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.PRODUCTCODE.DefaultCellStyle = dataGridViewCellStyle24;
this.PRODUCTCODE.FillWeight = 29.82234F;
this.PRODUCTCODE.HeaderText = "条码";
this.PRODUCTCODE.Name = "PRODUCTCODE";
@ -1366,8 +1376,8 @@
//
this.PRODUCTCODESTR.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
this.PRODUCTCODESTR.DataPropertyName = "PRODUCTCODESTR";
dataGridViewCellStyle55.Font = new System.Drawing.Font("宋体", 15.75F);
this.PRODUCTCODESTR.DefaultCellStyle = dataGridViewCellStyle55;
dataGridViewCellStyle25.Font = new System.Drawing.Font("宋体", 15.75F);
this.PRODUCTCODESTR.DefaultCellStyle = dataGridViewCellStyle25;
this.PRODUCTCODESTR.HeaderText = "骨架条码";
this.PRODUCTCODESTR.Name = "PRODUCTCODESTR";
this.PRODUCTCODESTR.ReadOnly = true;
@ -1378,8 +1388,8 @@
//
this.MOLDNUMBER.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
this.MOLDNUMBER.DataPropertyName = "MOLDNUMBER";
dataGridViewCellStyle56.Font = new System.Drawing.Font("宋体", 15.75F);
this.MOLDNUMBER.DefaultCellStyle = dataGridViewCellStyle56;
dataGridViewCellStyle26.Font = new System.Drawing.Font("宋体", 15.75F);
this.MOLDNUMBER.DefaultCellStyle = dataGridViewCellStyle26;
this.MOLDNUMBER.FillWeight = 380.7106F;
this.MOLDNUMBER.HeaderText = "模架号";
this.MOLDNUMBER.Name = "MOLDNUMBER";
@ -1390,8 +1400,8 @@
//
this.dataGridViewTextBoxColumn2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
this.dataGridViewTextBoxColumn2.DataPropertyName = "OPERATESTATETEXT";
dataGridViewCellStyle57.Font = new System.Drawing.Font("宋体", 15.75F);
this.dataGridViewTextBoxColumn2.DefaultCellStyle = dataGridViewCellStyle57;
dataGridViewCellStyle27.Font = new System.Drawing.Font("宋体", 15.75F);
this.dataGridViewTextBoxColumn2.DefaultCellStyle = dataGridViewCellStyle27;
this.dataGridViewTextBoxColumn2.FillWeight = 29.82234F;
this.dataGridViewTextBoxColumn2.HeaderText = "加工状态";
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
@ -1402,8 +1412,8 @@
//
this.Column5.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
this.Column5.DataPropertyName = "CREATEDATE";
dataGridViewCellStyle58.Font = new System.Drawing.Font("宋体", 15.75F);
this.Column5.DefaultCellStyle = dataGridViewCellStyle58;
dataGridViewCellStyle28.Font = new System.Drawing.Font("宋体", 15.75F);
this.Column5.DefaultCellStyle = dataGridViewCellStyle28;
this.Column5.FillWeight = 29.82234F;
this.Column5.HeaderText = "加工时间";
this.Column5.Name = "Column5";
@ -1414,8 +1424,8 @@
//
this.OPERATEDDATE.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
this.OPERATEDDATE.DataPropertyName = "OPERATEDDATE";
dataGridViewCellStyle59.Font = new System.Drawing.Font("宋体", 15.75F);
this.OPERATEDDATE.DefaultCellStyle = dataGridViewCellStyle59;
dataGridViewCellStyle29.Font = new System.Drawing.Font("宋体", 15.75F);
this.OPERATEDDATE.DefaultCellStyle = dataGridViewCellStyle29;
this.OPERATEDDATE.FillWeight = 29.82234F;
this.OPERATEDDATE.HeaderText = "加工完成时间";
this.OPERATEDDATE.Name = "OPERATEDDATE";
@ -1460,17 +1470,6 @@
this.timer1.Interval = 1000;
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
//
// btnSignInfo
//
this.btnSignInfo.Font = new System.Drawing.Font("微软雅黑", 12F);
this.btnSignInfo.Image = global::QMAPP.WinForm.Resource1.edit;
this.btnSignInfo.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.btnSignInfo.ImageTransparentColor = System.Drawing.Color.White;
this.btnSignInfo.Name = "btnSignInfo";
this.btnSignInfo.Size = new System.Drawing.Size(126, 67);
this.btnSignInfo.Text = "标记信息";
this.btnSignInfo.Click += new System.EventHandler(this.btnSignInfo_Click);
//
// OperationForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
@ -1613,10 +1612,9 @@
private System.Windows.Forms.DataGridViewTextBoxColumn daresult;
private System.Windows.Forms.DataGridViewTextBoxColumn Pid;
private System.Windows.Forms.ToolStripMenuItem tsmiIgnoreFISBreak;
private System.Windows.Forms.ToolStripButton toolStripButton3;
private System.Windows.Forms.CheckBox cBoxVAN;
private System.Windows.Forms.TextBox tBMat;
private System.Windows.Forms.ToolStripButton btnSignInfo;
private System.Windows.Forms.ToolStripButton toolStripButton4;
}
}

4
APPQ5/QMAPP.WinForm/Forms/Operation/OperationForm.cs

@ -3639,12 +3639,12 @@ namespace QMAPP.WinForm.Forms.Operation
/// <param name="e"></param>
private void btnSignInfo_Click(object sender, EventArgs e)
{
if (string.IsNullOrEmpty(_operationServiceParam.machineInfo.MACHINECODDE))
if (string.IsNullOrEmpty(_operationServiceParam.machineInfo.WORKLOC_CODE))
{
MessageBox.Show("请先选择工位!");
return;
}
SignInfoForm frm = new SignInfoForm(this);
SignInfoForm frm = new SignInfoForm(_operationServiceParam.machineInfo.WORKLOC_CODE);
frm.ShowDialog();
}
#endregion

177
APPQ5/QMAPP.WinForm/Forms/Operation/OperationForm.resx

@ -505,89 +505,89 @@
<data name="tsbSearch.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAABMaSURBVGhD1VkJdFvllU5pCzPT0kJLmSnTFkiBAqfLdMrS
liVDWQsdTiAJdIYyhQAhUBJSChTSUiUhk8R2EieOsy8KsSXb8iJblmTtz4vkfZFs2fIuy1osyfIS75be
+7+5T34J5Jg0oWeYw3zn3ONj/0//u9/dr7zk0wCAz6ncuLTYx64p7Wc/0vawn+v6Eg/qfOw2/QC7Ve3F
FSrg89Ljn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9acOiL9Jls+RlL/zLMunlO//xT9Lj346gVkxYdee
ZfkPh4302KcXGFj9geXzb0FIc0dCcN0t/1SHzYeRSthiUl55C2C9HaS8+v+N8kuWLPkfPTnVzy+o/hsA
AAAASUVORK5CYII=
</value>
</data>
<metadata name="dgcMListMaterialName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
@ -599,15 +599,6 @@
<metadata name="dgcMListQty.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dgcMListMaterialName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dgcMListMaterialCode.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dgcMListQty.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dgcOrderNo.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
@ -675,6 +666,6 @@
<value>127, 17</value>
</metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>49</value>
<value>74</value>
</metadata>
</root>

117
APPQ5/QMAPP.WinForm/Forms/Operation/SignInfoForm.cs

@ -18,21 +18,24 @@ namespace QMAPP.WinForm.Forms.Operation
//获取服务代理
QMAPP.ServicesAgent.ServiceAgent _agent = ClientContext.GetServiceAgent();
List<Config> _bzdConfig = null;
List<Config> _bzdConfig = new List<Config>();
private SignInfo signInfo = new SignInfo();
Product _CurrentProduct = null;
private OperationForm _parentForm;
private string Locs = string.Empty;
/// <summary>
///
/// </summary>
/// <param name="parentForm"></param>
public SignInfoForm(OperationForm parentForm)
/// <param name="loc"></param>
public SignInfoForm(string loc)
{
InitializeComponent();
infolabel.Text = "";
infolabel.ForeColor = Color.Red;
_parentForm = parentForm;
Locs = loc;
PrintForm_Load();
}
#region 打印按钮
@ -46,7 +49,6 @@ namespace QMAPP.WinForm.Forms.Operation
{
try
{
if (string.IsNullOrWhiteSpace(cbMaterial.Text))
{
infolabel.Text = "请选择标记类型!";
@ -55,42 +57,70 @@ namespace QMAPP.WinForm.Forms.Operation
}
signInfo.ProductCode = txtMainCode.Text;
signInfo.WorkLoc = _parentForm._SignMachineInfo.MACHINECODDE;
signInfo.WorkLoc = Locs;
signInfo.Type = cbMaterial.Text;
var result = _agent.InvokeServiceFunction<DataResult<int>>(B9IPCService.SignInfoBLL_Insert.ToString(), signInfo);
var T = _agent.InvokeServiceFunction<SignInfo>(B9IPCService.SignInfoBLL_GetAllListByLoc.ToString(), Locs);
if (result.Result > 0)
if (cbMaterial.Text == T.Type)
{
infolabel.Text = "保存成功!";
txtMainCode.Text = "";
if (cbMaterial.Text == "配胶")
{
infolabel.Text = "请先进行清胶,才能配胶!";
cbMaterial.Focus();
return;
}
if (cbMaterial.Text == "清胶")
{
infolabel.Text = "请先进行配胶,才能清胶!";
cbMaterial.Focus();
return;
}
}
if (cbMaterial.Text == "表皮新料" && string.IsNullOrEmpty(txtMainCode.Text))
{
infolabel.Text = "表皮新料,条码不能为空!";
cbMaterial.Focus();
return;
}
if (cbMaterial.Text == "停工&复工")
{
signInfo.SIGNDATE = dtpCREATEDATESTART.Text;
signInfo.Type = "停工";
_agent.InvokeServiceFunction<DataResult<int>>(B9IPCService.SignInfoBLL_Insert.ToString(), signInfo);
signInfo.SIGNDATE = dtpCREATEDATEEND.Text;
signInfo.Type = "复工";
_agent.InvokeServiceFunction<DataResult<int>>(B9IPCService.SignInfoBLL_Insert.ToString(), signInfo);
infolabel.Text = "保存成功!";
this.dtpCREATEDATESTART.Text = "";
this.dtpCREATEDATEEND.Text = "";
return;
}
else
{
var result = _agent.InvokeServiceFunction<DataResult<int>>(B9IPCService.SignInfoBLL_Insert.ToString(), signInfo);
if (result.Result > 0)
{
infolabel.Text = "保存成功!";
txtMainCode.Text = "";
return;
}
}
}
catch (Exception exception)
{
MessageBox.Show("打印失败!");
MessageBox.Show("提交失败!");
throw;
}
}
#endregion
#region 查找Product
/// <summary>
/// 查找Product
/// </summary>
/// <returns></returns>
public Product SelectProduct(string Products)
{
var list = new List<string>();
var ProductList = _agent.InvokeServiceFunction<Product>(B9IPCService.ProductBLL_Get.ToString(), new Product() { PRODUCTCODE = Products });
return ProductList;
}
#endregion
#region 初始界面
/// <summary>
@ -98,11 +128,13 @@ namespace QMAPP.WinForm.Forms.Operation
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void PrintForm_Load(object sender, EventArgs e)
private void PrintForm_Load()
{
_bzdConfig.Add(new Config { PID = "配胶", MATERIALCODDE = "配胶" });
_bzdConfig.Add(new Config { PID = "清胶", MATERIALCODDE = "清胶" });
_bzdConfig.Add(new Config { PID = "表皮新料", MATERIALCODDE = "表皮新料" });
//停工时间&复工
_bzdConfig.Add(new Config { PID = "停工&复工", MATERIALCODDE = "停工&复工" });
LoadAssyMaterial();
}
@ -138,9 +170,38 @@ namespace QMAPP.WinForm.Forms.Operation
#endregion
private void label2_Click(object sender, EventArgs e)
/// <summary>
/// 回车事件
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void txtCode_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Enter)//如果输入的是回车键
{
button1_Click(sender, e);//触发button事件
}
}
private void cbMaterial_SelectedIndexChanged(object sender, EventArgs e)
{
if (cbMaterial.Text == "停工&复工")
{
this.txtMainCode.Enabled = false;
this.dtpCREATEDATESTART.Enabled = true;
this.dtpCREATEDATEEND.Enabled = true;
this.dtpCREATEDATESTART.ShowUpDown = true;
}
else
{
this.txtMainCode.Enabled = true;
this.dtpCREATEDATESTART.Enabled = false;
this.dtpCREATEDATEEND.Enabled = false;
}
}
}
}

84
APPQ5/QMAPP.WinForm/Forms/Operation/SignInfoForm.designer.cs

@ -37,6 +37,10 @@ namespace QMAPP.WinForm.Forms.Operation
this.infolabel = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.cbMaterial = new System.Windows.Forms.ComboBox();
this.label4 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.dtpCREATEDATEEND = new DateTimePickerA();
this.dtpCREATEDATESTART = new DateTimePickerA();
this.SuspendLayout();
//
// label1
@ -47,31 +51,32 @@ namespace QMAPP.WinForm.Forms.Operation
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(245, 37);
this.label1.TabIndex = 0;
this.label1.Text = "标记信息登记";
this.label1.Text = "信息登记";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Font = new System.Drawing.Font("宋体", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label3.Location = new System.Drawing.Point(27, 198);
this.label3.Location = new System.Drawing.Point(27, 164);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(106, 24);
this.label3.TabIndex = 2;
this.label3.Text = "记条码";
this.label3.Text = "记条码";
//
// txtMainCode
//
this.txtMainCode.BackColor = System.Drawing.SystemColors.Window;
this.txtMainCode.Font = new System.Drawing.Font("宋体", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtMainCode.Location = new System.Drawing.Point(172, 187);
this.txtMainCode.Location = new System.Drawing.Point(172, 153);
this.txtMainCode.Name = "txtMainCode";
this.txtMainCode.Size = new System.Drawing.Size(416, 35);
this.txtMainCode.TabIndex = 4;
this.txtMainCode.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtCode_KeyDown);
//
// button1
//
this.button1.Font = new System.Drawing.Font("宋体", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button1.Location = new System.Drawing.Point(262, 254);
this.button1.Location = new System.Drawing.Point(262, 337);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(206, 60);
this.button1.TabIndex = 5;
@ -84,7 +89,7 @@ namespace QMAPP.WinForm.Forms.Operation
this.infolabel.AutoSize = true;
this.infolabel.Font = new System.Drawing.Font("微软雅黑", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.infolabel.ForeColor = System.Drawing.Color.Red;
this.infolabel.Location = new System.Drawing.Point(50, 334);
this.infolabel.Location = new System.Drawing.Point(50, 444);
this.infolabel.Name = "infolabel";
this.infolabel.Size = new System.Drawing.Size(0, 31);
this.infolabel.TabIndex = 6;
@ -93,27 +98,79 @@ namespace QMAPP.WinForm.Forms.Operation
//
this.label5.AutoSize = true;
this.label5.Font = new System.Drawing.Font("宋体", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label5.Location = new System.Drawing.Point(27, 110);
this.label5.Location = new System.Drawing.Point(27, 101);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(106, 24);
this.label5.TabIndex = 2;
this.label5.Text = "记类型";
this.label5.Text = "记类型";
//
// cbMaterial
//
this.cbMaterial.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cbMaterial.Font = new System.Drawing.Font("微软雅黑", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.cbMaterial.FormattingEnabled = true;
this.cbMaterial.Location = new System.Drawing.Point(173, 98);
this.cbMaterial.Location = new System.Drawing.Point(173, 89);
this.cbMaterial.Name = "cbMaterial";
this.cbMaterial.Size = new System.Drawing.Size(415, 36);
this.cbMaterial.TabIndex = 7;
this.cbMaterial.SelectedIndexChanged += new System.EventHandler(this.cbMaterial_SelectedIndexChanged);
//
// label4
//
this.label4.AutoSize = true;
this.label4.Font = new System.Drawing.Font("宋体", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label4.Location = new System.Drawing.Point(27, 218);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(106, 24);
this.label4.TabIndex = 28;
this.label4.Text = "停工时间";
//
// label6
//
this.label6.AutoSize = true;
this.label6.Font = new System.Drawing.Font("宋体", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label6.Location = new System.Drawing.Point(27, 275);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(106, 24);
this.label6.TabIndex = 29;
this.label6.Text = "复工时间";
//
// dtpCREATEDATEEND
//
this.dtpCREATEDATEEND.CustomFormat = " ";
this.dtpCREATEDATEEND.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold);
this.dtpCREATEDATEEND.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
this.dtpCREATEDATEEND.FormatString = "yyyy-MM-dd HH:mm:ss";
this.dtpCREATEDATEEND.Location = new System.Drawing.Point(227, 273);
this.dtpCREATEDATEEND.Name = "dtpCREATEDATEEND";
this.dtpCREATEDATEEND.OriginalFormat = System.Windows.Forms.DateTimePickerFormat.Custom;
this.dtpCREATEDATEEND.Size = new System.Drawing.Size(295, 26);
this.dtpCREATEDATEEND.TabIndex = 27;
this.dtpCREATEDATEEND.ValueX = null;
//
// dtpCREATEDATESTART
//
this.dtpCREATEDATESTART.CustomFormat = " ";
this.dtpCREATEDATESTART.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold);
this.dtpCREATEDATESTART.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
this.dtpCREATEDATESTART.FormatString = "yyyy-MM-dd HH:mm:ss";
this.dtpCREATEDATESTART.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.dtpCREATEDATESTART.Location = new System.Drawing.Point(226, 216);
this.dtpCREATEDATESTART.Name = "dtpCREATEDATESTART";
this.dtpCREATEDATESTART.OriginalFormat = System.Windows.Forms.DateTimePickerFormat.Custom;
this.dtpCREATEDATESTART.Size = new System.Drawing.Size(297, 26);
this.dtpCREATEDATESTART.TabIndex = 26;
this.dtpCREATEDATESTART.ValueX = null;
//
// SignInfoForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(665, 399);
this.ClientSize = new System.Drawing.Size(665, 515);
this.Controls.Add(this.label6);
this.Controls.Add(this.label4);
this.Controls.Add(this.dtpCREATEDATEEND);
this.Controls.Add(this.dtpCREATEDATESTART);
this.Controls.Add(this.cbMaterial);
this.Controls.Add(this.infolabel);
this.Controls.Add(this.button1);
@ -123,8 +180,7 @@ namespace QMAPP.WinForm.Forms.Operation
this.Controls.Add(this.label1);
this.Name = "SignInfoForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "标记信息登记";
this.Load += new System.EventHandler(this.PrintForm_Load);
this.Text = "信息登记";
this.ResumeLayout(false);
this.PerformLayout();
@ -139,5 +195,9 @@ namespace QMAPP.WinForm.Forms.Operation
private System.Windows.Forms.Label infolabel;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.ComboBox cbMaterial;
private DateTimePickerA dtpCREATEDATEEND;
private DateTimePickerA dtpCREATEDATESTART;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label6;
}
}

6
AppCommon/QMAPP.ServicesAgent/ServiceEnums.cs

@ -4109,6 +4109,12 @@ namespace QMAPP.ServicesAgent
SignInfoBLL_Insert,
SignInfoBLL_GetAllListByLoc,
SignInfoBLL_Get,
SignInfoBLL_Update,
#endregion
#region 时间验证

2
ServicesCenter/WCF/QMFrameWork.WebServiceHost/Web.config

@ -66,7 +66,7 @@
<!--<add name="maindb" connectionString="Data Source=10.111.144.98;Initial Catalog=ADIENT_CD_MES;User Id=CDMESADM;Password=CDmes123;max pool size=10240;" providerName="System.Data.SqlClient"/>-->
<!--<add name="maindb" connectionString="Data Source=123.56.115.74;Initial Catalog=ADIENT_TJ_MES;User Id=sa;Password=qwe123$%^;" providerName="System.Data.SqlClient" />-->
<add name="maindb" connectionString="Data Source=123.56.115.74;Initial Catalog=ADIENT_TJ_MES;User Id=sa;Password=qwe123$%^;" providerName="System.Data.SqlClient" />
<add name="maindb" connectionString="Data Source=10.111.144.98;Initial Catalog=ADIENT_CD_MES;User Id=sa;Password=Password2018;max pool size=10240;" providerName="System.Data.SqlClient"/>
<add name="maindbBZD" connectionString="Data Source=10.111.144.98;Initial Catalog=BZD;User Id=sa;Password=Password2018;" providerName="System.Data.SqlClient"/>

Loading…
Cancel
Save