From 4813bf5781140ecd5c2c7a75d36bf0a2d45a50f4 Mon Sep 17 00:00:00 2001 From: schangxiang@126.com <schangxiang@126.com> Date: 周二, 02 9月 2025 09:48:42 +0800 Subject: [PATCH] 增加 页面查询 --- WMS/WMS/Service References/yunneiWCS/item3.xsd | 84 +- WMS/WMS/WMS.csproj | 9 WMS/WMS/UI/SynthesizeQuery/FrmMesDetails.Designer.cs | 531 +++++++++++++ wcs/yunneiWCS/yunneiWCS/wcf/IyunneiWcf.cs | 9 WMS/WMS/UI/SynthesizeQuery/FrmMesDetails.cs | 332 ++++++++ sql/DBScript/01_DDL/01_DDL_TABLE_YunNeiDongLi.sql | 1 wcs/yunneiWCS/yunneiWCS/ORM/Wms_outInStockRecord_Details_V2_Mes.cs | 3 WMS/WMS/WMSFrmMain.Designer.cs | 34 WMS/WMS/Service References/yunneiWCS/item.xsd | 123 +- wcs/yunneiWCS/yunneiWCS/wcf/yunneiWcf.cs | 105 ++ WMS/WMS/Service References/yunneiWCS/Reference.cs | 754 ++++++++++--------- WMS/WMS/WMSFrmMain.cs | 5 WMS/WMS/Service References/yunneiWCS/item2.xsd | 43 WMS/WMS/UI/SynthesizeQuery/FrmMesDetails.resx | 170 ++++ wcs/yunneiWCS/yunneiWCS/DataAccess/OutInStockRecord_V2_MesHandler.cs | 2 WMS/WMS/Service References/yunneiWCS/yunneiWcf.wsdl | 19 WMS/WMS/WMSFrmMain.resx | 2 17 files changed, 1,735 insertions(+), 491 deletions(-) diff --git a/WMS/WMS/Service References/yunneiWCS/Reference.cs b/WMS/WMS/Service References/yunneiWCS/Reference.cs index 0f78022..48b7f74 100644 --- a/WMS/WMS/Service References/yunneiWCS/Reference.cs +++ b/WMS/WMS/Service References/yunneiWCS/Reference.cs @@ -3071,6 +3071,384 @@ [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="Wms_outInStockRecord_Details_V2_Mes", Namespace="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM")] + [System.SerializableAttribute()] + public partial class Wms_outInStockRecord_Details_V2_Mes : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { + + [System.NonSerializedAttribute()] + private System.Runtime.Serialization.ExtensionDataObject extensionDataField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private System.Nullable<System.DateTime> CreateTimeField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string CreatorField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private long IDField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string LastModifierField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private System.Nullable<System.DateTime> LastModifyTimeField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string RemarkField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string containerCodeField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private System.Nullable<long> mainIdField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string productCodeField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string productNameField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string serialNumberField; + + [global::System.ComponentModel.BrowsableAttribute(false)] + public System.Runtime.Serialization.ExtensionDataObject ExtensionData { + get { + return this.extensionDataField; + } + set { + this.extensionDataField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public System.Nullable<System.DateTime> CreateTime { + get { + return this.CreateTimeField; + } + set { + if ((this.CreateTimeField.Equals(value) != true)) { + this.CreateTimeField = value; + this.RaisePropertyChanged("CreateTime"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Creator { + get { + return this.CreatorField; + } + set { + if ((object.ReferenceEquals(this.CreatorField, value) != true)) { + this.CreatorField = value; + this.RaisePropertyChanged("Creator"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public long ID { + get { + return this.IDField; + } + set { + if ((this.IDField.Equals(value) != true)) { + this.IDField = value; + this.RaisePropertyChanged("ID"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string LastModifier { + get { + return this.LastModifierField; + } + set { + if ((object.ReferenceEquals(this.LastModifierField, value) != true)) { + this.LastModifierField = value; + this.RaisePropertyChanged("LastModifier"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public System.Nullable<System.DateTime> LastModifyTime { + get { + return this.LastModifyTimeField; + } + set { + if ((this.LastModifyTimeField.Equals(value) != true)) { + this.LastModifyTimeField = value; + this.RaisePropertyChanged("LastModifyTime"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string Remark { + get { + return this.RemarkField; + } + set { + if ((object.ReferenceEquals(this.RemarkField, value) != true)) { + this.RemarkField = value; + this.RaisePropertyChanged("Remark"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string containerCode { + get { + return this.containerCodeField; + } + set { + if ((object.ReferenceEquals(this.containerCodeField, value) != true)) { + this.containerCodeField = value; + this.RaisePropertyChanged("containerCode"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public System.Nullable<long> mainId { + get { + return this.mainIdField; + } + set { + if ((this.mainIdField.Equals(value) != true)) { + this.mainIdField = value; + this.RaisePropertyChanged("mainId"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string productCode { + get { + return this.productCodeField; + } + set { + if ((object.ReferenceEquals(this.productCodeField, value) != true)) { + this.productCodeField = value; + this.RaisePropertyChanged("productCode"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string productName { + get { + return this.productNameField; + } + set { + if ((object.ReferenceEquals(this.productNameField, value) != true)) { + this.productNameField = value; + this.RaisePropertyChanged("productName"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string serialNumber { + get { + return this.serialNumberField; + } + set { + if ((object.ReferenceEquals(this.serialNumberField, value) != true)) { + this.serialNumberField = value; + this.RaisePropertyChanged("serialNumber"); + } + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] + [System.Runtime.Serialization.DataContractAttribute(Name="resMsgOfWms_outInStockRecord_Details_V2_MesFj0h9u9J", Namespace="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine")] + [System.SerializableAttribute()] + public partial class resMsgOfWms_outInStockRecord_Details_V2_MesFj0h9u9J : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { + + [System.NonSerializedAttribute()] + private System.Runtime.Serialization.ExtensionDataObject extensionDataField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private WMS.yunneiWCS.Wms_outInStockRecord_Details_V2_Mes[] dateField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private WMS.yunneiWCS.Wms_outInStockRecord_Details_V2_Mes[] dateAllField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string[] dateListField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string msgField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private int quantityField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private int statusField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private string titleField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private int totalField; + + [System.Runtime.Serialization.OptionalFieldAttribute()] + private int totalNumField; + + [global::System.ComponentModel.BrowsableAttribute(false)] + public System.Runtime.Serialization.ExtensionDataObject ExtensionData { + get { + return this.extensionDataField; + } + set { + this.extensionDataField = value; + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public WMS.yunneiWCS.Wms_outInStockRecord_Details_V2_Mes[] date { + get { + return this.dateField; + } + set { + if ((object.ReferenceEquals(this.dateField, value) != true)) { + this.dateField = value; + this.RaisePropertyChanged("date"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public WMS.yunneiWCS.Wms_outInStockRecord_Details_V2_Mes[] dateAll { + get { + return this.dateAllField; + } + set { + if ((object.ReferenceEquals(this.dateAllField, value) != true)) { + this.dateAllField = value; + this.RaisePropertyChanged("dateAll"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string[] dateList { + get { + return this.dateListField; + } + set { + if ((object.ReferenceEquals(this.dateListField, value) != true)) { + this.dateListField = value; + this.RaisePropertyChanged("dateList"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string msg { + get { + return this.msgField; + } + set { + if ((object.ReferenceEquals(this.msgField, value) != true)) { + this.msgField = value; + this.RaisePropertyChanged("msg"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public int quantity { + get { + return this.quantityField; + } + set { + if ((this.quantityField.Equals(value) != true)) { + this.quantityField = value; + this.RaisePropertyChanged("quantity"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public int status { + get { + return this.statusField; + } + set { + if ((this.statusField.Equals(value) != true)) { + this.statusField = value; + this.RaisePropertyChanged("status"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public string title { + get { + return this.titleField; + } + set { + if ((object.ReferenceEquals(this.titleField, value) != true)) { + this.titleField = value; + this.RaisePropertyChanged("title"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public int total { + get { + return this.totalField; + } + set { + if ((this.totalField.Equals(value) != true)) { + this.totalField = value; + this.RaisePropertyChanged("total"); + } + } + } + + [System.Runtime.Serialization.DataMemberAttribute()] + public int totalNum { + get { + return this.totalNumField; + } + set { + if ((this.totalNumField.Equals(value) != true)) { + this.totalNumField = value; + this.RaisePropertyChanged("totalNum"); + } + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] [System.Runtime.Serialization.DataContractAttribute(Name="resMsgOfpositionFj0h9u9J", Namespace="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine")] [System.SerializableAttribute()] public partial class resMsgOfpositionFj0h9u9J : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { @@ -6745,368 +7123,6 @@ [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] - [System.Runtime.Serialization.DataContractAttribute(Name="resMsgOfWms_outInStockRecord_Details_V2_MesFj0h9u9J", Namespace="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine")] - [System.SerializableAttribute()] - public partial class resMsgOfWms_outInStockRecord_Details_V2_MesFj0h9u9J : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { - - [System.NonSerializedAttribute()] - private System.Runtime.Serialization.ExtensionDataObject extensionDataField; - - [System.Runtime.Serialization.OptionalFieldAttribute()] - private WMS.yunneiWCS.Wms_outInStockRecord_Details_V2_Mes[] dateField; - - [System.Runtime.Serialization.OptionalFieldAttribute()] - private WMS.yunneiWCS.Wms_outInStockRecord_Details_V2_Mes[] dateAllField; - - [System.Runtime.Serialization.OptionalFieldAttribute()] - private string[] dateListField; - - [System.Runtime.Serialization.OptionalFieldAttribute()] - private string msgField; - - [System.Runtime.Serialization.OptionalFieldAttribute()] - private int quantityField; - - [System.Runtime.Serialization.OptionalFieldAttribute()] - private int statusField; - - [System.Runtime.Serialization.OptionalFieldAttribute()] - private string titleField; - - [System.Runtime.Serialization.OptionalFieldAttribute()] - private int totalField; - - [System.Runtime.Serialization.OptionalFieldAttribute()] - private int totalNumField; - - [global::System.ComponentModel.BrowsableAttribute(false)] - public System.Runtime.Serialization.ExtensionDataObject ExtensionData { - get { - return this.extensionDataField; - } - set { - this.extensionDataField = value; - } - } - - [System.Runtime.Serialization.DataMemberAttribute()] - public WMS.yunneiWCS.Wms_outInStockRecord_Details_V2_Mes[] date { - get { - return this.dateField; - } - set { - if ((object.ReferenceEquals(this.dateField, value) != true)) { - this.dateField = value; - this.RaisePropertyChanged("date"); - } - } - } - - [System.Runtime.Serialization.DataMemberAttribute()] - public WMS.yunneiWCS.Wms_outInStockRecord_Details_V2_Mes[] dateAll { - get { - return this.dateAllField; - } - set { - if ((object.ReferenceEquals(this.dateAllField, value) != true)) { - this.dateAllField = value; - this.RaisePropertyChanged("dateAll"); - } - } - } - - [System.Runtime.Serialization.DataMemberAttribute()] - public string[] dateList { - get { - return this.dateListField; - } - set { - if ((object.ReferenceEquals(this.dateListField, value) != true)) { - this.dateListField = value; - this.RaisePropertyChanged("dateList"); - } - } - } - - [System.Runtime.Serialization.DataMemberAttribute()] - public string msg { - get { - return this.msgField; - } - set { - if ((object.ReferenceEquals(this.msgField, value) != true)) { - this.msgField = value; - this.RaisePropertyChanged("msg"); - } - } - } - - [System.Runtime.Serialization.DataMemberAttribute()] - public int quantity { - get { - return this.quantityField; - } - set { - if ((this.quantityField.Equals(value) != true)) { - this.quantityField = value; - this.RaisePropertyChanged("quantity"); - } - } - } - - [System.Runtime.Serialization.DataMemberAttribute()] - public int status { - get { - return this.statusField; - } - set { - if ((this.statusField.Equals(value) != true)) { - this.statusField = value; - this.RaisePropertyChanged("status"); - } - } - } - - [System.Runtime.Serialization.DataMemberAttribute()] - public string title { - get { - return this.titleField; - } - set { - if ((object.ReferenceEquals(this.titleField, value) != true)) { - this.titleField = value; - this.RaisePropertyChanged("title"); - } - } - } - - [System.Runtime.Serialization.DataMemberAttribute()] - public int total { - get { - return this.totalField; - } - set { - if ((this.totalField.Equals(value) != true)) { - this.totalField = value; - this.RaisePropertyChanged("total"); - } - } - } - - [System.Runtime.Serialization.DataMemberAttribute()] - public int totalNum { - get { - return this.totalNumField; - } - set { - if ((this.totalNumField.Equals(value) != true)) { - this.totalNumField = value; - this.RaisePropertyChanged("totalNum"); - } - } - } - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] - [System.Runtime.Serialization.DataContractAttribute(Name="Wms_outInStockRecord_Details_V2_Mes", Namespace="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM")] - [System.SerializableAttribute()] - public partial class Wms_outInStockRecord_Details_V2_Mes : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { - - [System.NonSerializedAttribute()] - private System.Runtime.Serialization.ExtensionDataObject extensionDataField; - - [System.Runtime.Serialization.OptionalFieldAttribute()] - private System.Nullable<System.DateTime> CreateTimeField; - - [System.Runtime.Serialization.OptionalFieldAttribute()] - private string CreatorField; - - [System.Runtime.Serialization.OptionalFieldAttribute()] - private long IDField; - - [System.Runtime.Serialization.OptionalFieldAttribute()] - private string LastModifierField; - - [System.Runtime.Serialization.OptionalFieldAttribute()] - private System.Nullable<System.DateTime> LastModifyTimeField; - - [System.Runtime.Serialization.OptionalFieldAttribute()] - private string RemarkField; - - [System.Runtime.Serialization.OptionalFieldAttribute()] - private System.Nullable<long> mainIdField; - - [System.Runtime.Serialization.OptionalFieldAttribute()] - private string productCodeField; - - [System.Runtime.Serialization.OptionalFieldAttribute()] - private string productNameField; - - [System.Runtime.Serialization.OptionalFieldAttribute()] - private string serialNumberField; - - [global::System.ComponentModel.BrowsableAttribute(false)] - public System.Runtime.Serialization.ExtensionDataObject ExtensionData { - get { - return this.extensionDataField; - } - set { - this.extensionDataField = value; - } - } - - [System.Runtime.Serialization.DataMemberAttribute()] - public System.Nullable<System.DateTime> CreateTime { - get { - return this.CreateTimeField; - } - set { - if ((this.CreateTimeField.Equals(value) != true)) { - this.CreateTimeField = value; - this.RaisePropertyChanged("CreateTime"); - } - } - } - - [System.Runtime.Serialization.DataMemberAttribute()] - public string Creator { - get { - return this.CreatorField; - } - set { - if ((object.ReferenceEquals(this.CreatorField, value) != true)) { - this.CreatorField = value; - this.RaisePropertyChanged("Creator"); - } - } - } - - [System.Runtime.Serialization.DataMemberAttribute()] - public long ID { - get { - return this.IDField; - } - set { - if ((this.IDField.Equals(value) != true)) { - this.IDField = value; - this.RaisePropertyChanged("ID"); - } - } - } - - [System.Runtime.Serialization.DataMemberAttribute()] - public string LastModifier { - get { - return this.LastModifierField; - } - set { - if ((object.ReferenceEquals(this.LastModifierField, value) != true)) { - this.LastModifierField = value; - this.RaisePropertyChanged("LastModifier"); - } - } - } - - [System.Runtime.Serialization.DataMemberAttribute()] - public System.Nullable<System.DateTime> LastModifyTime { - get { - return this.LastModifyTimeField; - } - set { - if ((this.LastModifyTimeField.Equals(value) != true)) { - this.LastModifyTimeField = value; - this.RaisePropertyChanged("LastModifyTime"); - } - } - } - - [System.Runtime.Serialization.DataMemberAttribute()] - public string Remark { - get { - return this.RemarkField; - } - set { - if ((object.ReferenceEquals(this.RemarkField, value) != true)) { - this.RemarkField = value; - this.RaisePropertyChanged("Remark"); - } - } - } - - [System.Runtime.Serialization.DataMemberAttribute()] - public System.Nullable<long> mainId { - get { - return this.mainIdField; - } - set { - if ((this.mainIdField.Equals(value) != true)) { - this.mainIdField = value; - this.RaisePropertyChanged("mainId"); - } - } - } - - [System.Runtime.Serialization.DataMemberAttribute()] - public string productCode { - get { - return this.productCodeField; - } - set { - if ((object.ReferenceEquals(this.productCodeField, value) != true)) { - this.productCodeField = value; - this.RaisePropertyChanged("productCode"); - } - } - } - - [System.Runtime.Serialization.DataMemberAttribute()] - public string productName { - get { - return this.productNameField; - } - set { - if ((object.ReferenceEquals(this.productNameField, value) != true)) { - this.productNameField = value; - this.RaisePropertyChanged("productName"); - } - } - } - - [System.Runtime.Serialization.DataMemberAttribute()] - public string serialNumber { - get { - return this.serialNumberField; - } - set { - if ((object.ReferenceEquals(this.serialNumberField, value) != true)) { - this.serialNumberField = value; - this.RaisePropertyChanged("serialNumber"); - } - } - } - - public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; - - protected void RaisePropertyChanged(string propertyName) { - System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; - if ((propertyChanged != null)) { - propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] [System.Runtime.Serialization.DataContractAttribute(Name="resMsgOfoutInStockRecordFj0h9u9J", Namespace="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine")] [System.SerializableAttribute()] public partial class resMsgOfoutInStockRecordFj0h9u9J : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged { @@ -9697,6 +9713,12 @@ [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IyunneiWcf/findOutInStockRecord_V2_Mes", ReplyAction="http://tempuri.org/IyunneiWcf/findOutInStockRecord_V2_MesResponse")] System.Threading.Tasks.Task<WMS.yunneiWCS.resMsgOfWms_outInStockRecord_V2_MesFj0h9u9J> findOutInStockRecord_V2_MesAsync(WMS.yunneiWCS.paging page, WMS.yunneiWCS.Wms_outInStockRecord_V2_Mes value); + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IyunneiWcf/findOutInStockRecord_Details_V2_Mes_Page", ReplyAction="http://tempuri.org/IyunneiWcf/findOutInStockRecord_Details_V2_Mes_PageResponse")] + WMS.yunneiWCS.resMsgOfWms_outInStockRecord_Details_V2_MesFj0h9u9J findOutInStockRecord_Details_V2_Mes_Page(WMS.yunneiWCS.paging page, WMS.yunneiWCS.Wms_outInStockRecord_Details_V2_Mes value); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IyunneiWcf/findOutInStockRecord_Details_V2_Mes_Page", ReplyAction="http://tempuri.org/IyunneiWcf/findOutInStockRecord_Details_V2_Mes_PageResponse")] + System.Threading.Tasks.Task<WMS.yunneiWCS.resMsgOfWms_outInStockRecord_Details_V2_MesFj0h9u9J> findOutInStockRecord_Details_V2_Mes_PageAsync(WMS.yunneiWCS.paging page, WMS.yunneiWCS.Wms_outInStockRecord_Details_V2_Mes value); + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IyunneiWcf/findPosition", ReplyAction="http://tempuri.org/IyunneiWcf/findPositionResponse")] WMS.yunneiWCS.resMsgOfpositionFj0h9u9J findPosition(WMS.yunneiWCS.paging page, string position, int islock, int isfree); @@ -10117,6 +10139,14 @@ return base.Channel.findOutInStockRecord_V2_MesAsync(page, value); } + public WMS.yunneiWCS.resMsgOfWms_outInStockRecord_Details_V2_MesFj0h9u9J findOutInStockRecord_Details_V2_Mes_Page(WMS.yunneiWCS.paging page, WMS.yunneiWCS.Wms_outInStockRecord_Details_V2_Mes value) { + return base.Channel.findOutInStockRecord_Details_V2_Mes_Page(page, value); + } + + public System.Threading.Tasks.Task<WMS.yunneiWCS.resMsgOfWms_outInStockRecord_Details_V2_MesFj0h9u9J> findOutInStockRecord_Details_V2_Mes_PageAsync(WMS.yunneiWCS.paging page, WMS.yunneiWCS.Wms_outInStockRecord_Details_V2_Mes value) { + return base.Channel.findOutInStockRecord_Details_V2_Mes_PageAsync(page, value); + } + public WMS.yunneiWCS.resMsgOfpositionFj0h9u9J findPosition(WMS.yunneiWCS.paging page, string position, int islock, int isfree) { return base.Channel.findPosition(page, position, islock, isfree); } diff --git a/WMS/WMS/Service References/yunneiWCS/item.xsd b/WMS/WMS/Service References/yunneiWCS/item.xsd index ed070d1..0e5eeb8 100644 --- a/WMS/WMS/Service References/yunneiWCS/item.xsd +++ b/WMS/WMS/Service References/yunneiWCS/item.xsd @@ -159,10 +159,25 @@ </xs:sequence> </xs:complexType> </xs:element> - <xs:element name="findPosition"> + <xs:element name="findOutInStockRecord_Details_V2_Mes_Page"> <xs:complexType> <xs:sequence> <xs:element xmlns:q19="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="page" nillable="true" type="q19:paging" /> + <xs:element xmlns:q20="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="value" nillable="true" type="q20:Wms_outInStockRecord_Details_V2_Mes" /> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="findOutInStockRecord_Details_V2_Mes_PageResponse"> + <xs:complexType> + <xs:sequence> + <xs:element xmlns:q21="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="findOutInStockRecord_Details_V2_Mes_PageResult" nillable="true" type="q21:resMsgOfWms_outInStockRecord_Details_V2_MesFj0h9u9J" /> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="findPosition"> + <xs:complexType> + <xs:sequence> + <xs:element xmlns:q22="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="page" nillable="true" type="q22:paging" /> <xs:element minOccurs="0" name="position" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="islock" type="xs:int" /> <xs:element minOccurs="0" name="isfree" type="xs:int" /> @@ -172,7 +187,7 @@ <xs:element name="findPositionResponse"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q20="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="findPositionResult" nillable="true" type="q20:resMsgOfpositionFj0h9u9J" /> + <xs:element xmlns:q23="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="findPositionResult" nillable="true" type="q23:resMsgOfpositionFj0h9u9J" /> </xs:sequence> </xs:complexType> </xs:element> @@ -186,7 +201,7 @@ <xs:element name="findSinglePositionResponse"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q21="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="findSinglePositionResult" nillable="true" type="q21:resMsgOfpositionFj0h9u9J" /> + <xs:element xmlns:q24="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="findSinglePositionResult" nillable="true" type="q24:resMsgOfpositionFj0h9u9J" /> </xs:sequence> </xs:complexType> </xs:element> @@ -200,7 +215,7 @@ <xs:element name="safetySignalByPersonResponse"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q22="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="safetySignalByPersonResult" nillable="true" type="q22:resMsgOfstring" /> + <xs:element xmlns:q25="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="safetySignalByPersonResult" nillable="true" type="q25:resMsgOfstring" /> </xs:sequence> </xs:complexType> </xs:element> @@ -223,7 +238,7 @@ <xs:element name="findTask"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q23="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="page" nillable="true" type="q23:paging" /> + <xs:element xmlns:q26="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="page" nillable="true" type="q26:paging" /> <xs:element minOccurs="0" name="taskId" type="xs:int" /> <xs:element minOccurs="0" name="taskType" type="xs:int" /> <xs:element minOccurs="0" name="place" nillable="true" type="xs:string" /> @@ -237,14 +252,14 @@ <xs:element name="findTaskResponse"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q24="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="findTaskResult" nillable="true" type="q24:resMsgOftaskFj0h9u9J" /> + <xs:element xmlns:q27="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="findTaskResult" nillable="true" type="q27:resMsgOftaskFj0h9u9J" /> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="findRoleModule"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q25="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="page" nillable="true" type="q25:paging" /> + <xs:element xmlns:q28="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="page" nillable="true" type="q28:paging" /> <xs:element minOccurs="0" name="roleName" nillable="true" type="xs:string" /> </xs:sequence> </xs:complexType> @@ -252,7 +267,7 @@ <xs:element name="findRoleModuleResponse"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q26="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="findRoleModuleResult" nillable="true" type="q26:resMsgOfroleVsModuleFj0h9u9J" /> + <xs:element xmlns:q29="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="findRoleModuleResult" nillable="true" type="q29:resMsgOfroleVsModuleFj0h9u9J" /> </xs:sequence> </xs:complexType> </xs:element> @@ -273,15 +288,15 @@ <xs:element name="findProductStock"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q27="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="page" nillable="true" type="q27:paging" /> - <xs:element xmlns:q28="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="value" nillable="true" type="q28:VproductStock" /> + <xs:element xmlns:q30="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="page" nillable="true" type="q30:paging" /> + <xs:element xmlns:q31="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="value" nillable="true" type="q31:VproductStock" /> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="findProductStockResponse"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q29="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="findProductStockResult" nillable="true" type="q29:resMsgOfVproductStockFj0h9u9J" /> + <xs:element xmlns:q32="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="findProductStockResult" nillable="true" type="q32:resMsgOfVproductStockFj0h9u9J" /> </xs:sequence> </xs:complexType> </xs:element> @@ -293,7 +308,7 @@ <xs:element name="findAllProductStockResponse"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q30="http://schemas.datacontract.org/2004/07/yunneiWCS" minOccurs="0" name="findAllProductStockResult" nillable="true" type="q30:ArrayOfMyVproductStock" /> + <xs:element xmlns:q33="http://schemas.datacontract.org/2004/07/yunneiWCS" minOccurs="0" name="findAllProductStockResult" nillable="true" type="q33:ArrayOfMyVproductStock" /> </xs:sequence> </xs:complexType> </xs:element> @@ -307,7 +322,7 @@ <xs:element name="findStockListResponse"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q31="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="findStockListResult" nillable="true" type="q31:resMsgOfproductStockListFj0h9u9J" /> + <xs:element xmlns:q34="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="findStockListResult" nillable="true" type="q34:resMsgOfproductStockListFj0h9u9J" /> </xs:sequence> </xs:complexType> </xs:element> @@ -319,7 +334,7 @@ <xs:element name="stationStatusResponse"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q32="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="stationStatusResult" nillable="true" type="q32:resMsgOfpositionFj0h9u9J" /> + <xs:element xmlns:q35="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="stationStatusResult" nillable="true" type="q35:resMsgOfpositionFj0h9u9J" /> </xs:sequence> </xs:complexType> </xs:element> @@ -331,7 +346,7 @@ <xs:element name="UpStationInfoResponse"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q33="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="UpStationInfoResult" nillable="true" type="q33:resMsgOfpositionFj0h9u9J" /> + <xs:element xmlns:q36="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="UpStationInfoResult" nillable="true" type="q36:resMsgOfpositionFj0h9u9J" /> </xs:sequence> </xs:complexType> </xs:element> @@ -345,7 +360,7 @@ <xs:element name="unlockPositionResponse"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q34="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="unlockPositionResult" nillable="true" type="q34:resMsgOfstring" /> + <xs:element xmlns:q37="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="unlockPositionResult" nillable="true" type="q37:resMsgOfstring" /> </xs:sequence> </xs:complexType> </xs:element> @@ -362,7 +377,7 @@ <xs:element name="unlockAndLockPositionResponse"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q35="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="unlockAndLockPositionResult" nillable="true" type="q35:resMsgOfstring" /> + <xs:element xmlns:q38="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="unlockAndLockPositionResult" nillable="true" type="q38:resMsgOfstring" /> </xs:sequence> </xs:complexType> </xs:element> @@ -376,7 +391,7 @@ <xs:element name="findTaskChildResponse"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q36="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="findTaskChildResult" nillable="true" type="q36:resMsgOftaskRecordFj0h9u9J" /> + <xs:element xmlns:q39="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="findTaskChildResult" nillable="true" type="q39:resMsgOftaskRecordFj0h9u9J" /> </xs:sequence> </xs:complexType> </xs:element> @@ -388,7 +403,7 @@ <xs:element name="findAgvInfoResponse"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q37="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="findAgvInfoResult" nillable="true" type="q37:ArrayOfstring" /> + <xs:element xmlns:q40="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="findAgvInfoResult" nillable="true" type="q40:ArrayOfstring" /> </xs:sequence> </xs:complexType> </xs:element> @@ -436,7 +451,7 @@ <xs:element name="TaskDisplayResponse"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q38="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="TaskDisplayResult" nillable="true" type="q38:resMsgOftaskFj0h9u9J" /> + <xs:element xmlns:q41="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="TaskDisplayResult" nillable="true" type="q41:resMsgOftaskFj0h9u9J" /> </xs:sequence> </xs:complexType> </xs:element> @@ -479,7 +494,7 @@ <xs:element name="getConvStatusResponse"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q39="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="getConvStatusResult" nillable="true" type="q39:ArrayOfconvEntity" /> + <xs:element xmlns:q42="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="getConvStatusResult" nillable="true" type="q42:ArrayOfconvEntity" /> </xs:sequence> </xs:complexType> </xs:element> @@ -491,7 +506,7 @@ <xs:element name="getSrmStatusResponse"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q40="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="getSrmStatusResult" nillable="true" type="q40:srmEntity" /> + <xs:element xmlns:q43="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="getSrmStatusResult" nillable="true" type="q43:srmEntity" /> </xs:sequence> </xs:complexType> </xs:element> @@ -536,14 +551,14 @@ <xs:element name="deleteProductResponse"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q41="http://schemas.datacontract.org/2004/07/yunneiWCS" minOccurs="0" name="deleteProductResult" nillable="true" type="q41:FunctionReturnEntityOfboolean" /> + <xs:element xmlns:q44="http://schemas.datacontract.org/2004/07/yunneiWCS" minOccurs="0" name="deleteProductResult" nillable="true" type="q44:FunctionReturnEntityOfboolean" /> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="editPlace"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q42="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="place" nillable="true" type="q42:position" /> + <xs:element xmlns:q45="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="place" nillable="true" type="q45:position" /> </xs:sequence> </xs:complexType> </xs:element> @@ -557,7 +572,7 @@ <xs:element name="modfiyStockList"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q43="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="value" nillable="true" type="q43:ArrayOfproductStockList" /> + <xs:element xmlns:q46="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="value" nillable="true" type="q46:ArrayOfproductStockList" /> <xs:element minOccurs="0" name="taskId" type="xs:long" /> </xs:sequence> </xs:complexType> @@ -565,7 +580,7 @@ <xs:element name="modfiyStockListResponse"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q44="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="modfiyStockListResult" nillable="true" type="q44:resMsgOfstring" /> + <xs:element xmlns:q47="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="modfiyStockListResult" nillable="true" type="q47:resMsgOfstring" /> </xs:sequence> </xs:complexType> </xs:element> @@ -579,7 +594,7 @@ <xs:element name="findInStockListResponse"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q45="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="findInStockListResult" nillable="true" type="q45:resMsgOfinStockOrderListFj0h9u9J" /> + <xs:element xmlns:q48="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="findInStockListResult" nillable="true" type="q48:resMsgOfinStockOrderListFj0h9u9J" /> </xs:sequence> </xs:complexType> </xs:element> @@ -593,21 +608,21 @@ <xs:element name="findOutInStockRecord_Details_V2_MesResponse"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q46="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="findOutInStockRecord_Details_V2_MesResult" nillable="true" type="q46:resMsgOfWms_outInStockRecord_Details_V2_MesFj0h9u9J" /> + <xs:element xmlns:q49="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="findOutInStockRecord_Details_V2_MesResult" nillable="true" type="q49:resMsgOfWms_outInStockRecord_Details_V2_MesFj0h9u9J" /> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="modfiyInStockList"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q47="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="value" nillable="true" type="q47:ArrayOfinStockOrderList" /> + <xs:element xmlns:q50="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="value" nillable="true" type="q50:ArrayOfinStockOrderList" /> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="modfiyInStockListResponse"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q48="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="modfiyInStockListResult" nillable="true" type="q48:resMsgOfstring" /> + <xs:element xmlns:q51="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="modfiyInStockListResult" nillable="true" type="q51:resMsgOfstring" /> </xs:sequence> </xs:complexType> </xs:element> @@ -621,7 +636,7 @@ <xs:element name="deleteInStockResponse"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q49="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="deleteInStockResult" nillable="true" type="q49:resMsgOfstring" /> + <xs:element xmlns:q52="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="deleteInStockResult" nillable="true" type="q52:resMsgOfstring" /> </xs:sequence> </xs:complexType> </xs:element> @@ -635,7 +650,7 @@ <xs:element name="deleteTaskResponse"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q50="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="deleteTaskResult" nillable="true" type="q50:resMsgOfstring" /> + <xs:element xmlns:q53="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="deleteTaskResult" nillable="true" type="q53:resMsgOfstring" /> </xs:sequence> </xs:complexType> </xs:element> @@ -651,14 +666,14 @@ <xs:element name="forceCompleteTaskResponse"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q51="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="forceCompleteTaskResult" nillable="true" type="q51:resMsgOfstring" /> + <xs:element xmlns:q54="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="forceCompleteTaskResult" nillable="true" type="q54:resMsgOfstring" /> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="getTakeRecord"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q52="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="page" nillable="true" type="q52:paging" /> + <xs:element xmlns:q55="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="page" nillable="true" type="q55:paging" /> <xs:element minOccurs="0" name="materialName" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="materialCode" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="taskType" type="xs:int" /> @@ -668,37 +683,37 @@ <xs:element name="getTakeRecordResponse"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q53="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="getTakeRecordResult" nillable="true" type="q53:resMsgOfoutInStockRecordFj0h9u9J" /> + <xs:element xmlns:q56="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="getTakeRecordResult" nillable="true" type="q56:resMsgOfoutInStockRecordFj0h9u9J" /> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="getOutInStockRecord"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q54="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="page" nillable="true" type="q54:paging" /> - <xs:element xmlns:q55="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="value" nillable="true" type="q55:Wms_outInStockRecord" /> + <xs:element xmlns:q57="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="page" nillable="true" type="q57:paging" /> + <xs:element xmlns:q58="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="value" nillable="true" type="q58:Wms_outInStockRecord" /> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="getOutInStockRecordResponse"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q56="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="getOutInStockRecordResult" nillable="true" type="q56:resMsgOfWms_outInStockRecordFj0h9u9J" /> + <xs:element xmlns:q59="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="getOutInStockRecordResult" nillable="true" type="q59:resMsgOfWms_outInStockRecordFj0h9u9J" /> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="getOutStockOrderNewVersion"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q57="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="page" nillable="true" type="q57:paging" /> - <xs:element xmlns:q58="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="value" nillable="true" type="q58:v_outStockList" /> + <xs:element xmlns:q60="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="page" nillable="true" type="q60:paging" /> + <xs:element xmlns:q61="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="value" nillable="true" type="q61:v_outStockList" /> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="getOutStockOrderNewVersionResponse"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q59="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="getOutStockOrderNewVersionResult" nillable="true" type="q59:resMsgOfv_outStockListFj0h9u9J" /> + <xs:element xmlns:q62="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="getOutStockOrderNewVersionResult" nillable="true" type="q62:resMsgOfv_outStockListFj0h9u9J" /> </xs:sequence> </xs:complexType> </xs:element> @@ -712,7 +727,7 @@ <xs:element name="GetSelectListResponse"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q60="http://schemas.datacontract.org/2004/07/yunneiWCS" minOccurs="0" name="GetSelectListResult" nillable="true" type="q60:FunctionReturnEntityOfArrayOfstringuHEDJ7Dj" /> + <xs:element xmlns:q63="http://schemas.datacontract.org/2004/07/yunneiWCS" minOccurs="0" name="GetSelectListResult" nillable="true" type="q63:FunctionReturnEntityOfArrayOfstringuHEDJ7Dj" /> </xs:sequence> </xs:complexType> </xs:element> @@ -727,7 +742,7 @@ <xs:element name="GetEnumSelectListResponse"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q61="http://schemas.datacontract.org/2004/07/yunneiWCS" minOccurs="0" name="GetEnumSelectListResult" nillable="true" type="q61:FunctionReturnEntityOfArrayOfListItemoEEWxbQv" /> + <xs:element xmlns:q64="http://schemas.datacontract.org/2004/07/yunneiWCS" minOccurs="0" name="GetEnumSelectListResult" nillable="true" type="q64:FunctionReturnEntityOfArrayOfListItemoEEWxbQv" /> </xs:sequence> </xs:complexType> </xs:element> @@ -744,7 +759,7 @@ <xs:element name="CreateTaskForHandOutStoreResponse"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q62="http://schemas.datacontract.org/2004/07/yunneiWCS" minOccurs="0" name="CreateTaskForHandOutStoreResult" nillable="true" type="q62:FunctionReturnEntityOfstring" /> + <xs:element xmlns:q65="http://schemas.datacontract.org/2004/07/yunneiWCS" minOccurs="0" name="CreateTaskForHandOutStoreResult" nillable="true" type="q65:FunctionReturnEntityOfstring" /> </xs:sequence> </xs:complexType> </xs:element> @@ -758,7 +773,7 @@ <xs:element name="Trans_LoadMaterialConfirmResponse"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q63="http://schemas.datacontract.org/2004/07/yunneiWCS" minOccurs="0" name="Trans_LoadMaterialConfirmResult" nillable="true" type="q63:FunctionReturnEntityOfstring" /> + <xs:element xmlns:q66="http://schemas.datacontract.org/2004/07/yunneiWCS" minOccurs="0" name="Trans_LoadMaterialConfirmResult" nillable="true" type="q66:FunctionReturnEntityOfstring" /> </xs:sequence> </xs:complexType> </xs:element> @@ -772,22 +787,22 @@ <xs:element name="ClearGJJYResponse"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q64="http://schemas.datacontract.org/2004/07/yunneiWCS" minOccurs="0" name="ClearGJJYResult" nillable="true" type="q64:FunctionReturnEntityOfstring" /> + <xs:element xmlns:q67="http://schemas.datacontract.org/2004/07/yunneiWCS" minOccurs="0" name="ClearGJJYResult" nillable="true" type="q67:FunctionReturnEntityOfstring" /> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="findStockClearLog"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q65="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="page" nillable="true" type="q65:paging" /> - <xs:element xmlns:q66="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="value" nillable="true" type="q66:StockClearLog" /> + <xs:element xmlns:q68="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="page" nillable="true" type="q68:paging" /> + <xs:element xmlns:q69="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="value" nillable="true" type="q69:StockClearLog" /> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="findStockClearLogResponse"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q67="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="findStockClearLogResult" nillable="true" type="q67:resMsgOfStockClearLogFj0h9u9J" /> + <xs:element xmlns:q70="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="findStockClearLogResult" nillable="true" type="q70:resMsgOfStockClearLogFj0h9u9J" /> </xs:sequence> </xs:complexType> </xs:element> @@ -826,7 +841,7 @@ <xs:element name="UpdateBasicDataSetForSupplierResponse"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q68="http://schemas.datacontract.org/2004/07/yunneiWCS" minOccurs="0" name="UpdateBasicDataSetForSupplierResult" nillable="true" type="q68:FunctionReturnEntityOfBasicDataSetFj0h9u9J" /> + <xs:element xmlns:q71="http://schemas.datacontract.org/2004/07/yunneiWCS" minOccurs="0" name="UpdateBasicDataSetForSupplierResult" nillable="true" type="q71:FunctionReturnEntityOfBasicDataSetFj0h9u9J" /> </xs:sequence> </xs:complexType> </xs:element> @@ -841,7 +856,7 @@ <xs:element name="UpdateBasicDataSetForStayMonthsResponse"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q69="http://schemas.datacontract.org/2004/07/yunneiWCS" minOccurs="0" name="UpdateBasicDataSetForStayMonthsResult" nillable="true" type="q69:FunctionReturnEntityOfBasicDataSetFj0h9u9J" /> + <xs:element xmlns:q72="http://schemas.datacontract.org/2004/07/yunneiWCS" minOccurs="0" name="UpdateBasicDataSetForStayMonthsResult" nillable="true" type="q72:FunctionReturnEntityOfBasicDataSetFj0h9u9J" /> </xs:sequence> </xs:complexType> </xs:element> @@ -853,7 +868,7 @@ <xs:element name="GetQueLiaoResponse"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q70="http://schemas.datacontract.org/2004/07/yunneiWCS" minOccurs="0" name="GetQueLiaoResult" nillable="true" type="q70:FunctionReturnEntityOftaskFj0h9u9J" /> + <xs:element xmlns:q73="http://schemas.datacontract.org/2004/07/yunneiWCS" minOccurs="0" name="GetQueLiaoResult" nillable="true" type="q73:FunctionReturnEntityOftaskFj0h9u9J" /> </xs:sequence> </xs:complexType> </xs:element> @@ -877,7 +892,7 @@ <xs:element name="CreateTaskIdResponse"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q71="http://schemas.datacontract.org/2004/07/yunneiWCS.Models" minOccurs="0" name="CreateTaskIdResult" nillable="true" type="q71:DeviceTaskNoEntity" /> + <xs:element xmlns:q74="http://schemas.datacontract.org/2004/07/yunneiWCS.Models" minOccurs="0" name="CreateTaskIdResult" nillable="true" type="q74:DeviceTaskNoEntity" /> </xs:sequence> </xs:complexType> </xs:element> @@ -892,7 +907,7 @@ <xs:element name="IssueTaskForPangLuGongWeiResponse"> <xs:complexType> <xs:sequence> - <xs:element xmlns:q72="http://schemas.datacontract.org/2004/07/yunneiWCS" minOccurs="0" name="IssueTaskForPangLuGongWeiResult" nillable="true" type="q72:FunctionReturnEntityOfstring" /> + <xs:element xmlns:q75="http://schemas.datacontract.org/2004/07/yunneiWCS" minOccurs="0" name="IssueTaskForPangLuGongWeiResult" nillable="true" type="q75:FunctionReturnEntityOfstring" /> </xs:sequence> </xs:complexType> </xs:element> diff --git a/WMS/WMS/Service References/yunneiWCS/item2.xsd b/WMS/WMS/Service References/yunneiWCS/item2.xsd index 1cb06cf..100fe9a 100644 --- a/WMS/WMS/Service References/yunneiWCS/item2.xsd +++ b/WMS/WMS/Service References/yunneiWCS/item2.xsd @@ -159,6 +159,28 @@ </xs:sequence> </xs:complexType> <xs:element name="ArrayOfWms_outInStockRecord_V2_Mes" nillable="true" type="tns:ArrayOfWms_outInStockRecord_V2_Mes" /> + <xs:complexType name="Wms_outInStockRecord_Details_V2_Mes"> + <xs:sequence> + <xs:element minOccurs="0" name="CreateTime" nillable="true" type="xs:dateTime" /> + <xs:element minOccurs="0" name="Creator" nillable="true" type="xs:string" /> + <xs:element minOccurs="0" name="ID" type="xs:long" /> + <xs:element minOccurs="0" name="LastModifier" nillable="true" type="xs:string" /> + <xs:element minOccurs="0" name="LastModifyTime" nillable="true" type="xs:dateTime" /> + <xs:element minOccurs="0" name="Remark" nillable="true" type="xs:string" /> + <xs:element minOccurs="0" name="containerCode" nillable="true" type="xs:string" /> + <xs:element minOccurs="0" name="mainId" nillable="true" type="xs:long" /> + <xs:element minOccurs="0" name="productCode" nillable="true" type="xs:string" /> + <xs:element minOccurs="0" name="productName" nillable="true" type="xs:string" /> + <xs:element minOccurs="0" name="serialNumber" nillable="true" type="xs:string" /> + </xs:sequence> + </xs:complexType> + <xs:element name="Wms_outInStockRecord_Details_V2_Mes" nillable="true" type="tns:Wms_outInStockRecord_Details_V2_Mes" /> + <xs:complexType name="ArrayOfWms_outInStockRecord_Details_V2_Mes"> + <xs:sequence> + <xs:element minOccurs="0" maxOccurs="unbounded" name="Wms_outInStockRecord_Details_V2_Mes" nillable="true" type="tns:Wms_outInStockRecord_Details_V2_Mes" /> + </xs:sequence> + </xs:complexType> + <xs:element name="ArrayOfWms_outInStockRecord_Details_V2_Mes" nillable="true" type="tns:ArrayOfWms_outInStockRecord_Details_V2_Mes" /> <xs:complexType name="ArrayOfposition"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="position" nillable="true" type="tns:position" /> @@ -329,27 +351,6 @@ </xs:sequence> </xs:complexType> <xs:element name="inStockOrderList" nillable="true" type="tns:inStockOrderList" /> - <xs:complexType name="ArrayOfWms_outInStockRecord_Details_V2_Mes"> - <xs:sequence> - <xs:element minOccurs="0" maxOccurs="unbounded" name="Wms_outInStockRecord_Details_V2_Mes" nillable="true" type="tns:Wms_outInStockRecord_Details_V2_Mes" /> - </xs:sequence> - </xs:complexType> - <xs:element name="ArrayOfWms_outInStockRecord_Details_V2_Mes" nillable="true" type="tns:ArrayOfWms_outInStockRecord_Details_V2_Mes" /> - <xs:complexType name="Wms_outInStockRecord_Details_V2_Mes"> - <xs:sequence> - <xs:element minOccurs="0" name="CreateTime" nillable="true" type="xs:dateTime" /> - <xs:element minOccurs="0" name="Creator" nillable="true" type="xs:string" /> - <xs:element minOccurs="0" name="ID" type="xs:long" /> - <xs:element minOccurs="0" name="LastModifier" nillable="true" type="xs:string" /> - <xs:element minOccurs="0" name="LastModifyTime" nillable="true" type="xs:dateTime" /> - <xs:element minOccurs="0" name="Remark" nillable="true" type="xs:string" /> - <xs:element minOccurs="0" name="mainId" nillable="true" type="xs:long" /> - <xs:element minOccurs="0" name="productCode" nillable="true" type="xs:string" /> - <xs:element minOccurs="0" name="productName" nillable="true" type="xs:string" /> - <xs:element minOccurs="0" name="serialNumber" nillable="true" type="xs:string" /> - </xs:sequence> - </xs:complexType> - <xs:element name="Wms_outInStockRecord_Details_V2_Mes" nillable="true" type="tns:Wms_outInStockRecord_Details_V2_Mes" /> <xs:complexType name="ArrayOfoutInStockRecord"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" name="outInStockRecord" nillable="true" type="tns:outInStockRecord" /> diff --git a/WMS/WMS/Service References/yunneiWCS/item3.xsd b/WMS/WMS/Service References/yunneiWCS/item3.xsd index fe3a533..1853bce 100644 --- a/WMS/WMS/Service References/yunneiWCS/item3.xsd +++ b/WMS/WMS/Service References/yunneiWCS/item3.xsd @@ -183,6 +183,27 @@ </xs:sequence> </xs:complexType> <xs:element name="resMsgOfWms_outInStockRecord_V2_MesFj0h9u9J" nillable="true" type="tns:resMsgOfWms_outInStockRecord_V2_MesFj0h9u9J" /> + <xs:complexType name="resMsgOfWms_outInStockRecord_Details_V2_MesFj0h9u9J"> + <xs:annotation> + <xs:appinfo> + <GenericType Name="resMsgOf{0}{#}" Namespace="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" xmlns="http://schemas.microsoft.com/2003/10/Serialization/"> + <GenericParameter Name="Wms_outInStockRecord_Details_V2_Mes" Namespace="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" /> + </GenericType> + </xs:appinfo> + </xs:annotation> + <xs:sequence> + <xs:element xmlns:q25="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="date" nillable="true" type="q25:ArrayOfWms_outInStockRecord_Details_V2_Mes" /> + <xs:element xmlns:q26="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="dateAll" nillable="true" type="q26:ArrayOfWms_outInStockRecord_Details_V2_Mes" /> + <xs:element xmlns:q27="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="dateList" nillable="true" type="q27:ArrayOfstring" /> + <xs:element minOccurs="0" name="msg" nillable="true" type="xs:string" /> + <xs:element minOccurs="0" name="quantity" type="xs:int" /> + <xs:element minOccurs="0" name="status" type="xs:int" /> + <xs:element minOccurs="0" name="title" nillable="true" type="xs:string" /> + <xs:element minOccurs="0" name="total" type="xs:int" /> + <xs:element minOccurs="0" name="totalNum" type="xs:int" /> + </xs:sequence> + </xs:complexType> + <xs:element name="resMsgOfWms_outInStockRecord_Details_V2_MesFj0h9u9J" nillable="true" type="tns:resMsgOfWms_outInStockRecord_Details_V2_MesFj0h9u9J" /> <xs:complexType name="resMsgOfpositionFj0h9u9J"> <xs:annotation> <xs:appinfo> @@ -192,9 +213,9 @@ </xs:appinfo> </xs:annotation> <xs:sequence> - <xs:element xmlns:q25="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="date" nillable="true" type="q25:ArrayOfposition" /> - <xs:element xmlns:q26="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="dateAll" nillable="true" type="q26:ArrayOfposition" /> - <xs:element xmlns:q27="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="dateList" nillable="true" type="q27:ArrayOfstring" /> + <xs:element xmlns:q28="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="date" nillable="true" type="q28:ArrayOfposition" /> + <xs:element xmlns:q29="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="dateAll" nillable="true" type="q29:ArrayOfposition" /> + <xs:element xmlns:q30="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="dateList" nillable="true" type="q30:ArrayOfstring" /> <xs:element minOccurs="0" name="msg" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="quantity" type="xs:int" /> <xs:element minOccurs="0" name="status" type="xs:int" /> @@ -213,9 +234,9 @@ </xs:appinfo> </xs:annotation> <xs:sequence> - <xs:element xmlns:q28="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="date" nillable="true" type="q28:ArrayOftask" /> - <xs:element xmlns:q29="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="dateAll" nillable="true" type="q29:ArrayOftask" /> - <xs:element xmlns:q30="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="dateList" nillable="true" type="q30:ArrayOfstring" /> + <xs:element xmlns:q31="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="date" nillable="true" type="q31:ArrayOftask" /> + <xs:element xmlns:q32="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="dateAll" nillable="true" type="q32:ArrayOftask" /> + <xs:element xmlns:q33="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="dateList" nillable="true" type="q33:ArrayOfstring" /> <xs:element minOccurs="0" name="msg" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="quantity" type="xs:int" /> <xs:element minOccurs="0" name="status" type="xs:int" /> @@ -234,9 +255,9 @@ </xs:appinfo> </xs:annotation> <xs:sequence> - <xs:element xmlns:q31="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="date" nillable="true" type="q31:ArrayOfroleVsModule" /> - <xs:element xmlns:q32="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="dateAll" nillable="true" type="q32:ArrayOfroleVsModule" /> - <xs:element xmlns:q33="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="dateList" nillable="true" type="q33:ArrayOfstring" /> + <xs:element xmlns:q34="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="date" nillable="true" type="q34:ArrayOfroleVsModule" /> + <xs:element xmlns:q35="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="dateAll" nillable="true" type="q35:ArrayOfroleVsModule" /> + <xs:element xmlns:q36="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="dateList" nillable="true" type="q36:ArrayOfstring" /> <xs:element minOccurs="0" name="msg" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="quantity" type="xs:int" /> <xs:element minOccurs="0" name="status" type="xs:int" /> @@ -255,9 +276,9 @@ </xs:appinfo> </xs:annotation> <xs:sequence> - <xs:element xmlns:q34="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="date" nillable="true" type="q34:ArrayOfVproductStock" /> - <xs:element xmlns:q35="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="dateAll" nillable="true" type="q35:ArrayOfVproductStock" /> - <xs:element xmlns:q36="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="dateList" nillable="true" type="q36:ArrayOfstring" /> + <xs:element xmlns:q37="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="date" nillable="true" type="q37:ArrayOfVproductStock" /> + <xs:element xmlns:q38="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="dateAll" nillable="true" type="q38:ArrayOfVproductStock" /> + <xs:element xmlns:q39="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="dateList" nillable="true" type="q39:ArrayOfstring" /> <xs:element minOccurs="0" name="msg" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="quantity" type="xs:int" /> <xs:element minOccurs="0" name="status" type="xs:int" /> @@ -276,9 +297,9 @@ </xs:appinfo> </xs:annotation> <xs:sequence> - <xs:element xmlns:q37="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="date" nillable="true" type="q37:ArrayOfproductStockList" /> - <xs:element xmlns:q38="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="dateAll" nillable="true" type="q38:ArrayOfproductStockList" /> - <xs:element xmlns:q39="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="dateList" nillable="true" type="q39:ArrayOfstring" /> + <xs:element xmlns:q40="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="date" nillable="true" type="q40:ArrayOfproductStockList" /> + <xs:element xmlns:q41="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="dateAll" nillable="true" type="q41:ArrayOfproductStockList" /> + <xs:element xmlns:q42="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="dateList" nillable="true" type="q42:ArrayOfstring" /> <xs:element minOccurs="0" name="msg" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="quantity" type="xs:int" /> <xs:element minOccurs="0" name="status" type="xs:int" /> @@ -297,9 +318,9 @@ </xs:appinfo> </xs:annotation> <xs:sequence> - <xs:element xmlns:q40="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="date" nillable="true" type="q40:ArrayOftaskRecord" /> - <xs:element xmlns:q41="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="dateAll" nillable="true" type="q41:ArrayOftaskRecord" /> - <xs:element xmlns:q42="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="dateList" nillable="true" type="q42:ArrayOfstring" /> + <xs:element xmlns:q43="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="date" nillable="true" type="q43:ArrayOftaskRecord" /> + <xs:element xmlns:q44="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="dateAll" nillable="true" type="q44:ArrayOftaskRecord" /> + <xs:element xmlns:q45="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="dateList" nillable="true" type="q45:ArrayOfstring" /> <xs:element minOccurs="0" name="msg" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="quantity" type="xs:int" /> <xs:element minOccurs="0" name="status" type="xs:int" /> @@ -354,29 +375,8 @@ </xs:appinfo> </xs:annotation> <xs:sequence> - <xs:element xmlns:q43="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="date" nillable="true" type="q43:ArrayOfinStockOrderList" /> - <xs:element xmlns:q44="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="dateAll" nillable="true" type="q44:ArrayOfinStockOrderList" /> - <xs:element xmlns:q45="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="dateList" nillable="true" type="q45:ArrayOfstring" /> - <xs:element minOccurs="0" name="msg" nillable="true" type="xs:string" /> - <xs:element minOccurs="0" name="quantity" type="xs:int" /> - <xs:element minOccurs="0" name="status" type="xs:int" /> - <xs:element minOccurs="0" name="title" nillable="true" type="xs:string" /> - <xs:element minOccurs="0" name="total" type="xs:int" /> - <xs:element minOccurs="0" name="totalNum" type="xs:int" /> - </xs:sequence> - </xs:complexType> - <xs:element name="resMsgOfinStockOrderListFj0h9u9J" nillable="true" type="tns:resMsgOfinStockOrderListFj0h9u9J" /> - <xs:complexType name="resMsgOfWms_outInStockRecord_Details_V2_MesFj0h9u9J"> - <xs:annotation> - <xs:appinfo> - <GenericType Name="resMsgOf{0}{#}" Namespace="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" xmlns="http://schemas.microsoft.com/2003/10/Serialization/"> - <GenericParameter Name="Wms_outInStockRecord_Details_V2_Mes" Namespace="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" /> - </GenericType> - </xs:appinfo> - </xs:annotation> - <xs:sequence> - <xs:element xmlns:q46="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="date" nillable="true" type="q46:ArrayOfWms_outInStockRecord_Details_V2_Mes" /> - <xs:element xmlns:q47="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="dateAll" nillable="true" type="q47:ArrayOfWms_outInStockRecord_Details_V2_Mes" /> + <xs:element xmlns:q46="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="date" nillable="true" type="q46:ArrayOfinStockOrderList" /> + <xs:element xmlns:q47="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="dateAll" nillable="true" type="q47:ArrayOfinStockOrderList" /> <xs:element xmlns:q48="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="dateList" nillable="true" type="q48:ArrayOfstring" /> <xs:element minOccurs="0" name="msg" nillable="true" type="xs:string" /> <xs:element minOccurs="0" name="quantity" type="xs:int" /> @@ -386,7 +386,7 @@ <xs:element minOccurs="0" name="totalNum" type="xs:int" /> </xs:sequence> </xs:complexType> - <xs:element name="resMsgOfWms_outInStockRecord_Details_V2_MesFj0h9u9J" nillable="true" type="tns:resMsgOfWms_outInStockRecord_Details_V2_MesFj0h9u9J" /> + <xs:element name="resMsgOfinStockOrderListFj0h9u9J" nillable="true" type="tns:resMsgOfinStockOrderListFj0h9u9J" /> <xs:complexType name="resMsgOfoutInStockRecordFj0h9u9J"> <xs:annotation> <xs:appinfo> diff --git a/WMS/WMS/Service References/yunneiWCS/yunneiWcf.wsdl b/WMS/WMS/Service References/yunneiWCS/yunneiWcf.wsdl index 72647a0..3167aa6 100644 --- a/WMS/WMS/Service References/yunneiWCS/yunneiWcf.wsdl +++ b/WMS/WMS/Service References/yunneiWCS/yunneiWcf.wsdl @@ -71,6 +71,12 @@ <wsdl:message name="IyunneiWcf_findOutInStockRecord_V2_Mes_OutputMessage"> <wsdl:part name="parameters" element="tns:findOutInStockRecord_V2_MesResponse" /> </wsdl:message> + <wsdl:message name="IyunneiWcf_findOutInStockRecord_Details_V2_Mes_Page_InputMessage"> + <wsdl:part name="parameters" element="tns:findOutInStockRecord_Details_V2_Mes_Page" /> + </wsdl:message> + <wsdl:message name="IyunneiWcf_findOutInStockRecord_Details_V2_Mes_Page_OutputMessage"> + <wsdl:part name="parameters" element="tns:findOutInStockRecord_Details_V2_Mes_PageResponse" /> + </wsdl:message> <wsdl:message name="IyunneiWcf_findPosition_InputMessage"> <wsdl:part name="parameters" element="tns:findPosition" /> </wsdl:message> @@ -424,6 +430,10 @@ <wsdl:input wsaw:Action="http://tempuri.org/IyunneiWcf/findOutInStockRecord_V2_Mes" message="tns:IyunneiWcf_findOutInStockRecord_V2_Mes_InputMessage" /> <wsdl:output wsaw:Action="http://tempuri.org/IyunneiWcf/findOutInStockRecord_V2_MesResponse" message="tns:IyunneiWcf_findOutInStockRecord_V2_Mes_OutputMessage" /> </wsdl:operation> + <wsdl:operation name="findOutInStockRecord_Details_V2_Mes_Page"> + <wsdl:input wsaw:Action="http://tempuri.org/IyunneiWcf/findOutInStockRecord_Details_V2_Mes_Page" message="tns:IyunneiWcf_findOutInStockRecord_Details_V2_Mes_Page_InputMessage" /> + <wsdl:output wsaw:Action="http://tempuri.org/IyunneiWcf/findOutInStockRecord_Details_V2_Mes_PageResponse" message="tns:IyunneiWcf_findOutInStockRecord_Details_V2_Mes_Page_OutputMessage" /> + </wsdl:operation> <wsdl:operation name="findPosition"> <wsdl:input wsaw:Action="http://tempuri.org/IyunneiWcf/findPosition" message="tns:IyunneiWcf_findPosition_InputMessage" /> <wsdl:output wsaw:Action="http://tempuri.org/IyunneiWcf/findPositionResponse" message="tns:IyunneiWcf_findPosition_OutputMessage" /> @@ -725,6 +735,15 @@ <soap:body use="literal" /> </wsdl:output> </wsdl:operation> + <wsdl:operation name="findOutInStockRecord_Details_V2_Mes_Page"> + <soap:operation soapAction="http://tempuri.org/IyunneiWcf/findOutInStockRecord_Details_V2_Mes_Page" style="document" /> + <wsdl:input> + <soap:body use="literal" /> + </wsdl:input> + <wsdl:output> + <soap:body use="literal" /> + </wsdl:output> + </wsdl:operation> <wsdl:operation name="findPosition"> <soap:operation soapAction="http://tempuri.org/IyunneiWcf/findPosition" style="document" /> <wsdl:input> diff --git a/WMS/WMS/UI/SynthesizeQuery/FrmMesDetails.Designer.cs b/WMS/WMS/UI/SynthesizeQuery/FrmMesDetails.Designer.cs new file mode 100644 index 0000000..316c573 --- /dev/null +++ b/WMS/WMS/UI/SynthesizeQuery/FrmMesDetails.Designer.cs @@ -0,0 +1,531 @@ +锘縩amespace WMS.UI.WORK +{ + partial class FrmMesDetails + { + /// <summary> + /// Required designer variable. + /// </summary> + private System.ComponentModel.IContainer components = null; + + /// <summary> + /// Clean up any resources being used. + /// </summary> + /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// <summary> + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// </summary> + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmMesDetails)); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); + this.label1 = new System.Windows.Forms.Label(); + this.toolStripLabel4 = new System.Windows.Forms.ToolStripLabel(); + this.panel1 = new System.Windows.Forms.Panel(); + this.uiDatetimePicker_end = new Sunny.UI.UIDatetimePicker(); + this.uiDatetimePicker_start = new Sunny.UI.UIDatetimePicker(); + this.uiComboBox_materialCode = new Sunny.UI.UIComboBox(); + this.uiComboBox_materialName = new Sunny.UI.UIComboBox(); + this.uiTextBox_serialNumber = new Sunny.UI.UITextBox(); + this.button_find = new System.Windows.Forms.Button(); + this.button_reset = new System.Windows.Forms.Button(); + this.splitContainer1 = new System.Windows.Forms.SplitContainer(); + this.splitContainer2 = new System.Windows.Forms.SplitContainer(); + this.panel2 = new System.Windows.Forms.Panel(); + this.dataGridView1 = new System.Windows.Forms.DataGridView(); + this.bindingNavigator1 = new System.Windows.Forms.BindingNavigator(this.components); + this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel(); + this.toolStripTextBox1 = new System.Windows.Forms.ToolStripTextBox(); + this.toolStripLabel5 = new System.Windows.Forms.ToolStripLabel(); + this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator(); + this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel(); + this.toolStripLabel3 = new System.Windows.Forms.ToolStripLabel(); + this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator(); + this.toolStripComboBox1 = new System.Windows.Forms.ToolStripComboBox(); + this.鎵樼洏鍙� = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Column7 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.creator = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.createTime = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.uiTextBox_containerCode = new Sunny.UI.UITextBox(); + this.panel1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); + this.splitContainer1.Panel1.SuspendLayout(); + this.splitContainer1.Panel2.SuspendLayout(); + this.splitContainer1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit(); + this.splitContainer2.Panel1.SuspendLayout(); + this.splitContainer2.Panel2.SuspendLayout(); + this.splitContainer2.SuspendLayout(); + this.panel2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).BeginInit(); + this.bindingNavigator1.SuspendLayout(); + this.SuspendLayout(); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Font = new System.Drawing.Font("瀹嬩綋", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label1.ForeColor = System.Drawing.Color.DarkGoldenrod; + this.label1.Location = new System.Drawing.Point(16, 9); + this.label1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(174, 24); + this.label1.TabIndex = 3; + this.label1.Text = "MES鍑哄叆搴撴槑缁�"; + // + // toolStripLabel4 + // + this.toolStripLabel4.Image = ((System.Drawing.Image)(resources.GetObject("toolStripLabel4.Image"))); + this.toolStripLabel4.Name = "toolStripLabel4"; + this.toolStripLabel4.Size = new System.Drawing.Size(20, 36); + this.toolStripLabel4.Click += new System.EventHandler(this.toolStripLabel4_Click); + // + // panel1 + // + this.panel1.BackColor = System.Drawing.Color.DarkSeaGreen; + this.panel1.Controls.Add(this.uiTextBox_containerCode); + this.panel1.Controls.Add(this.uiDatetimePicker_end); + this.panel1.Controls.Add(this.uiDatetimePicker_start); + this.panel1.Controls.Add(this.uiComboBox_materialCode); + this.panel1.Controls.Add(this.uiComboBox_materialName); + this.panel1.Controls.Add(this.uiTextBox_serialNumber); + this.panel1.Controls.Add(this.button_find); + this.panel1.Controls.Add(this.button_reset); + this.panel1.Controls.Add(this.label1); + this.panel1.Dock = System.Windows.Forms.DockStyle.Top; + this.panel1.Location = new System.Drawing.Point(0, 0); + this.panel1.Margin = new System.Windows.Forms.Padding(2); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(1455, 40); + this.panel1.TabIndex = 1; + // + // uiDatetimePicker_end + // + this.uiDatetimePicker_end.FillColor = System.Drawing.Color.White; + this.uiDatetimePicker_end.Font = new System.Drawing.Font("寰蒋闆呴粦", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiDatetimePicker_end.Location = new System.Drawing.Point(1116, 9); + this.uiDatetimePicker_end.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.uiDatetimePicker_end.MaxLength = 19; + this.uiDatetimePicker_end.MinimumSize = new System.Drawing.Size(63, 0); + this.uiDatetimePicker_end.Name = "uiDatetimePicker_end"; + this.uiDatetimePicker_end.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2); + this.uiDatetimePicker_end.Size = new System.Drawing.Size(151, 27); + this.uiDatetimePicker_end.SymbolDropDown = 61555; + this.uiDatetimePicker_end.SymbolNormal = 61555; + this.uiDatetimePicker_end.TabIndex = 107; + this.uiDatetimePicker_end.Text = "2021-12-29 13:27:33"; + this.uiDatetimePicker_end.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft; + this.uiDatetimePicker_end.Value = new System.DateTime(2021, 12, 29, 13, 27, 33, 515); + // + // uiDatetimePicker_start + // + this.uiDatetimePicker_start.FillColor = System.Drawing.Color.White; + this.uiDatetimePicker_start.Font = new System.Drawing.Font("寰蒋闆呴粦", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiDatetimePicker_start.Location = new System.Drawing.Point(955, 9); + this.uiDatetimePicker_start.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.uiDatetimePicker_start.MaxLength = 19; + this.uiDatetimePicker_start.MinimumSize = new System.Drawing.Size(63, 0); + this.uiDatetimePicker_start.Name = "uiDatetimePicker_start"; + this.uiDatetimePicker_start.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2); + this.uiDatetimePicker_start.Size = new System.Drawing.Size(153, 27); + this.uiDatetimePicker_start.SymbolDropDown = 61555; + this.uiDatetimePicker_start.SymbolNormal = 61555; + this.uiDatetimePicker_start.TabIndex = 106; + this.uiDatetimePicker_start.Text = "2021-12-29 13:27:33"; + this.uiDatetimePicker_start.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft; + this.uiDatetimePicker_start.Value = new System.DateTime(2021, 12, 29, 13, 27, 33, 515); + // + // uiComboBox_materialCode + // + this.uiComboBox_materialCode.DataSource = null; + this.uiComboBox_materialCode.FillColor = System.Drawing.Color.White; + this.uiComboBox_materialCode.Font = new System.Drawing.Font("寰蒋闆呴粦", 9F); + this.uiComboBox_materialCode.Location = new System.Drawing.Point(446, 9); + this.uiComboBox_materialCode.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.uiComboBox_materialCode.MinimumSize = new System.Drawing.Size(63, 0); + this.uiComboBox_materialCode.Name = "uiComboBox_materialCode"; + this.uiComboBox_materialCode.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2); + this.uiComboBox_materialCode.Size = new System.Drawing.Size(116, 27); + this.uiComboBox_materialCode.TabIndex = 105; + this.uiComboBox_materialCode.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft; + this.uiComboBox_materialCode.Watermark = "鐗╂枡缂栫爜"; + // + // uiComboBox_materialName + // + this.uiComboBox_materialName.DataSource = null; + this.uiComboBox_materialName.FillColor = System.Drawing.Color.White; + this.uiComboBox_materialName.Font = new System.Drawing.Font("寰蒋闆呴粦", 9F); + this.uiComboBox_materialName.Location = new System.Drawing.Point(584, 9); + this.uiComboBox_materialName.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.uiComboBox_materialName.MinimumSize = new System.Drawing.Size(63, 0); + this.uiComboBox_materialName.Name = "uiComboBox_materialName"; + this.uiComboBox_materialName.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2); + this.uiComboBox_materialName.Size = new System.Drawing.Size(116, 27); + this.uiComboBox_materialName.TabIndex = 104; + this.uiComboBox_materialName.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft; + this.uiComboBox_materialName.Watermark = "鐗╂枡鍚嶇О"; + // + // uiTextBox_serialNumber + // + this.uiTextBox_serialNumber.ButtonSymbol = 61761; + this.uiTextBox_serialNumber.ButtonWidth = 100; + this.uiTextBox_serialNumber.CanEmpty = true; + this.uiTextBox_serialNumber.Cursor = System.Windows.Forms.Cursors.IBeam; + this.uiTextBox_serialNumber.FillColor = System.Drawing.Color.White; + this.uiTextBox_serialNumber.Font = new System.Drawing.Font("寰蒋闆呴粦", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiTextBox_serialNumber.Location = new System.Drawing.Point(835, 9); + this.uiTextBox_serialNumber.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.uiTextBox_serialNumber.Maximum = 2147483647D; + this.uiTextBox_serialNumber.Minimum = -2147483648D; + this.uiTextBox_serialNumber.MinimumSize = new System.Drawing.Size(1, 1); + this.uiTextBox_serialNumber.Name = "uiTextBox_serialNumber"; + this.uiTextBox_serialNumber.Padding = new System.Windows.Forms.Padding(5); + this.uiTextBox_serialNumber.Size = new System.Drawing.Size(101, 27); + this.uiTextBox_serialNumber.TabIndex = 102; + this.uiTextBox_serialNumber.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft; + this.uiTextBox_serialNumber.Watermark = "娴佹按鍙�"; + // + // button_find + // + this.button_find.BackColor = System.Drawing.Color.DarkSeaGreen; + this.button_find.BackgroundImage = global::WMS.Properties.Resources.search; + this.button_find.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; + this.button_find.Location = new System.Drawing.Point(1282, 2); + this.button_find.Margin = new System.Windows.Forms.Padding(2); + this.button_find.Name = "button_find"; + this.button_find.Size = new System.Drawing.Size(77, 34); + this.button_find.TabIndex = 7; + this.button_find.UseVisualStyleBackColor = false; + this.button_find.Click += new System.EventHandler(this.button_find_Click); + // + // button_reset + // + this.button_reset.BackColor = System.Drawing.Color.DarkSeaGreen; + this.button_reset.BackgroundImage = global::WMS.Properties.Resources.閲嶇疆__1_; + this.button_reset.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; + this.button_reset.Location = new System.Drawing.Point(1373, 2); + this.button_reset.Margin = new System.Windows.Forms.Padding(2); + this.button_reset.Name = "button_reset"; + this.button_reset.Size = new System.Drawing.Size(77, 34); + this.button_reset.TabIndex = 6; + this.button_reset.UseVisualStyleBackColor = false; + this.button_reset.Click += new System.EventHandler(this.button_reset_Click); + // + // splitContainer1 + // + this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; + this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1; + this.splitContainer1.Location = new System.Drawing.Point(0, 0); + this.splitContainer1.Margin = new System.Windows.Forms.Padding(2); + this.splitContainer1.Name = "splitContainer1"; + this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal; + // + // splitContainer1.Panel1 + // + this.splitContainer1.Panel1.Controls.Add(this.panel1); + this.splitContainer1.Panel1MinSize = 50; + // + // splitContainer1.Panel2 + // + this.splitContainer1.Panel2.Controls.Add(this.splitContainer2); + this.splitContainer1.Size = new System.Drawing.Size(1455, 445); + this.splitContainer1.SplitterWidth = 3; + this.splitContainer1.TabIndex = 5; + // + // splitContainer2 + // + this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill; + this.splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel2; + this.splitContainer2.Location = new System.Drawing.Point(0, 0); + this.splitContainer2.Margin = new System.Windows.Forms.Padding(2); + this.splitContainer2.Name = "splitContainer2"; + this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal; + // + // splitContainer2.Panel1 + // + this.splitContainer2.Panel1.Controls.Add(this.panel2); + // + // splitContainer2.Panel2 + // + this.splitContainer2.Panel2.Controls.Add(this.bindingNavigator1); + this.splitContainer2.Size = new System.Drawing.Size(1455, 392); + this.splitContainer2.SplitterDistance = 350; + this.splitContainer2.SplitterWidth = 3; + this.splitContainer2.TabIndex = 3; + // + // panel2 + // + this.panel2.Controls.Add(this.dataGridView1); + this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel2.Location = new System.Drawing.Point(0, 0); + this.panel2.Margin = new System.Windows.Forms.Padding(2); + this.panel2.Name = "panel2"; + this.panel2.Size = new System.Drawing.Size(1455, 350); + this.panel2.TabIndex = 2; + // + // dataGridView1 + // + this.dataGridView1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill; + this.dataGridView1.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.Raised; + this.dataGridView1.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single; + dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle2.Font = new System.Drawing.Font("瀹嬩綋", 16.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; + this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.鎵樼洏鍙�, + this.Column3, + this.Column4, + this.Column7, + this.creator, + this.createTime}); + this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill; + this.dataGridView1.GridColor = System.Drawing.Color.DarkSalmon; + this.dataGridView1.Location = new System.Drawing.Point(0, 0); + this.dataGridView1.Margin = new System.Windows.Forms.Padding(2); + this.dataGridView1.Name = "dataGridView1"; + this.dataGridView1.RowTemplate.Height = 27; + this.dataGridView1.Size = new System.Drawing.Size(1455, 350); + this.dataGridView1.TabIndex = 0; + this.dataGridView1.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dataGridView1_RowPostPaint); + // + // bindingNavigator1 + // + this.bindingNavigator1.AddNewItem = null; + this.bindingNavigator1.BackColor = System.Drawing.Color.Silver; + this.bindingNavigator1.CountItem = null; + this.bindingNavigator1.DeleteItem = null; + this.bindingNavigator1.Dock = System.Windows.Forms.DockStyle.Fill; + this.bindingNavigator1.ImageScalingSize = new System.Drawing.Size(20, 20); + this.bindingNavigator1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.toolStripLabel4, + this.toolStripLabel1, + this.toolStripTextBox1, + this.toolStripLabel5, + this.bindingNavigatorSeparator, + this.toolStripLabel2, + this.toolStripLabel3, + this.bindingNavigatorSeparator1, + this.bindingNavigatorSeparator2, + this.toolStripComboBox1}); + this.bindingNavigator1.Location = new System.Drawing.Point(0, 0); + this.bindingNavigator1.MoveFirstItem = null; + this.bindingNavigator1.MoveLastItem = null; + this.bindingNavigator1.MoveNextItem = null; + this.bindingNavigator1.MovePreviousItem = null; + this.bindingNavigator1.Name = "bindingNavigator1"; + this.bindingNavigator1.PositionItem = null; + this.bindingNavigator1.Size = new System.Drawing.Size(1455, 39); + this.bindingNavigator1.TabIndex = 0; + this.bindingNavigator1.Text = "bindingNavigator1"; + // + // toolStripLabel1 + // + this.toolStripLabel1.Name = "toolStripLabel1"; + this.toolStripLabel1.Size = new System.Drawing.Size(44, 36); + this.toolStripLabel1.Text = "涓婁竴椤�"; + this.toolStripLabel1.Click += new System.EventHandler(this.toolStripLabel1_Click_1); + // + // toolStripTextBox1 + // + this.toolStripTextBox1.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F); + this.toolStripTextBox1.Name = "toolStripTextBox1"; + this.toolStripTextBox1.Size = new System.Drawing.Size(38, 39); + // + // toolStripLabel5 + // + this.toolStripLabel5.Name = "toolStripLabel5"; + this.toolStripLabel5.Size = new System.Drawing.Size(13, 36); + this.toolStripLabel5.Text = "/"; + // + // bindingNavigatorSeparator + // + this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator"; + this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 39); + // + // toolStripLabel2 + // + this.toolStripLabel2.BackColor = System.Drawing.Color.DodgerBlue; + this.toolStripLabel2.Name = "toolStripLabel2"; + this.toolStripLabel2.Size = new System.Drawing.Size(44, 36); + this.toolStripLabel2.Text = "涓嬩竴椤�"; + this.toolStripLabel2.Click += new System.EventHandler(this.toolStripLabel2_Click_1); + // + // toolStripLabel3 + // + this.toolStripLabel3.Image = ((System.Drawing.Image)(resources.GetObject("toolStripLabel3.Image"))); + this.toolStripLabel3.Name = "toolStripLabel3"; + this.toolStripLabel3.Size = new System.Drawing.Size(20, 36); + this.toolStripLabel3.Click += new System.EventHandler(this.toolStripLabel3_Click_1); + // + // bindingNavigatorSeparator1 + // + this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1"; + this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 39); + // + // bindingNavigatorSeparator2 + // + this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2"; + this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 39); + // + // toolStripComboBox1 + // + this.toolStripComboBox1.AutoCompleteCustomSource.AddRange(new string[] { + "rrrr"}); + this.toolStripComboBox1.Items.AddRange(new object[] { + "姣忛〉10鏉�", + "姣忛〉20鏉�", + "姣忛〉30鏉�", + "姣忛〉100鏉�"}); + this.toolStripComboBox1.Name = "toolStripComboBox1"; + this.toolStripComboBox1.Size = new System.Drawing.Size(92, 39); + this.toolStripComboBox1.Text = "姣忛〉10鏉�"; + this.toolStripComboBox1.SelectedIndexChanged += new System.EventHandler(this.toolStripComboBox1_SelectedIndexChanged); + // + // 鎵樼洏鍙� + // + this.鎵樼洏鍙�.DataPropertyName = "containerCode"; + this.鎵樼洏鍙�.HeaderText = "鎵樼洏鍙�"; + this.鎵樼洏鍙�.Name = "鎵樼洏鍙�"; + // + // Column3 + // + this.Column3.DataPropertyName = "productCode"; + this.Column3.HeaderText = "鐗╂枡缂栫爜"; + this.Column3.Name = "Column3"; + // + // Column4 + // + this.Column4.DataPropertyName = "productName"; + this.Column4.HeaderText = "鐗╂枡鍚嶇О"; + this.Column4.Name = "Column4"; + // + // Column7 + // + this.Column7.DataPropertyName = "serialNumber"; + this.Column7.HeaderText = "娴佹按鍙�"; + this.Column7.Name = "Column7"; + // + // creator + // + this.creator.DataPropertyName = "Creator"; + this.creator.FillWeight = 108.4844F; + this.creator.HeaderText = "鍒涘缓浜�"; + this.creator.Name = "creator"; + this.creator.ReadOnly = true; + // + // createTime + // + this.createTime.DataPropertyName = "CreateTime"; + this.createTime.FillWeight = 108.4844F; + this.createTime.HeaderText = "鍒涘缓鏃堕棿"; + this.createTime.Name = "createTime"; + this.createTime.ReadOnly = true; + // + // uiTextBox_containerCode + // + this.uiTextBox_containerCode.ButtonSymbol = 61761; + this.uiTextBox_containerCode.ButtonWidth = 100; + this.uiTextBox_containerCode.CanEmpty = true; + this.uiTextBox_containerCode.Cursor = System.Windows.Forms.Cursors.IBeam; + this.uiTextBox_containerCode.FillColor = System.Drawing.Color.White; + this.uiTextBox_containerCode.Font = new System.Drawing.Font("寰蒋闆呴粦", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.uiTextBox_containerCode.Location = new System.Drawing.Point(337, 9); + this.uiTextBox_containerCode.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.uiTextBox_containerCode.Maximum = 2147483647D; + this.uiTextBox_containerCode.Minimum = -2147483648D; + this.uiTextBox_containerCode.MinimumSize = new System.Drawing.Size(1, 1); + this.uiTextBox_containerCode.Name = "uiTextBox_containerCode"; + this.uiTextBox_containerCode.Padding = new System.Windows.Forms.Padding(5); + this.uiTextBox_containerCode.Size = new System.Drawing.Size(101, 27); + this.uiTextBox_containerCode.TabIndex = 108; + this.uiTextBox_containerCode.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft; + this.uiTextBox_containerCode.Watermark = "鎵樼洏鍙�"; + // + // FrmMesDetails + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(1455, 445); + this.Controls.Add(this.splitContainer1); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; + this.Margin = new System.Windows.Forms.Padding(2); + this.Name = "FrmMesDetails"; + this.Text = "鍑哄簱鍗�"; + this.Load += new System.EventHandler(this.outStockCode_Load); + this.panel1.ResumeLayout(false); + this.panel1.PerformLayout(); + this.splitContainer1.Panel1.ResumeLayout(false); + this.splitContainer1.Panel2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit(); + this.splitContainer1.ResumeLayout(false); + this.splitContainer2.Panel1.ResumeLayout(false); + this.splitContainer2.Panel2.ResumeLayout(false); + this.splitContainer2.Panel2.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit(); + this.splitContainer2.ResumeLayout(false); + this.panel2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).EndInit(); + this.bindingNavigator1.ResumeLayout(false); + this.bindingNavigator1.PerformLayout(); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.Label label1; + private System.Windows.Forms.ToolStripLabel toolStripLabel4; + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.SplitContainer splitContainer1; + private System.Windows.Forms.SplitContainer splitContainer2; + private System.Windows.Forms.Panel panel2; + private System.Windows.Forms.DataGridView dataGridView1; + private System.Windows.Forms.BindingNavigator bindingNavigator1; + private System.Windows.Forms.ToolStripLabel toolStripLabel1; + private System.Windows.Forms.ToolStripTextBox toolStripTextBox1; + private System.Windows.Forms.ToolStripLabel toolStripLabel5; + private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator; + private System.Windows.Forms.ToolStripLabel toolStripLabel2; + private System.Windows.Forms.ToolStripLabel toolStripLabel3; + private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1; + private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2; + private System.Windows.Forms.ToolStripComboBox toolStripComboBox1; + private System.Windows.Forms.Button button_reset; + private System.Windows.Forms.Button button_find; + private Sunny.UI.UIDatetimePicker uiDatetimePicker_end; + private Sunny.UI.UIDatetimePicker uiDatetimePicker_start; + private Sunny.UI.UIComboBox uiComboBox_materialCode; + private Sunny.UI.UIComboBox uiComboBox_materialName; + private Sunny.UI.UITextBox uiTextBox_serialNumber; + private System.Windows.Forms.DataGridViewTextBoxColumn 鎵樼洏鍙�; + private System.Windows.Forms.DataGridViewTextBoxColumn Column3; + private System.Windows.Forms.DataGridViewTextBoxColumn Column4; + private System.Windows.Forms.DataGridViewTextBoxColumn Column7; + private System.Windows.Forms.DataGridViewTextBoxColumn creator; + private System.Windows.Forms.DataGridViewTextBoxColumn createTime; + private Sunny.UI.UITextBox uiTextBox_containerCode; + } +} \ No newline at end of file diff --git a/WMS/WMS/UI/SynthesizeQuery/FrmMesDetails.cs b/WMS/WMS/UI/SynthesizeQuery/FrmMesDetails.cs new file mode 100644 index 0000000..6a76ef1 --- /dev/null +++ b/WMS/WMS/UI/SynthesizeQuery/FrmMesDetails.cs @@ -0,0 +1,332 @@ +锘縰sing sunui.forms; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; +using WMS.Model; +using WMS.Untils; +using WMS.yunneiWCS; + +namespace WMS.UI.WORK +{ + public partial class FrmMesDetails : Form + { + WMS.yunneiWCS.Wms_outInStockRecord_Details_V2_Mes param = new yunneiWCS.Wms_outInStockRecord_Details_V2_Mes(); + int pagaSize = 20; + paging paga = new paging(); + public FrmMesDetails() + { + InitializeComponent(); + this.dataGridView1.AutoGenerateColumns = false; + } + + /// <summary> + /// 鍔犺浇涓嬫媺鏁版嵁 + /// </summary> + private void LoadSelectData() + { + var fr = FLogin.wcsWcf.GetSelectList("version"); + var versionList = fr.resData; + + + //鐗╂枡缂栫爜 + var fr_materialCode = FLogin.wcsWcf.GetSelectList("materialCode"); + var materialCodeList = fr_materialCode.resData; + this.uiComboBox_materialCode.Items.Clear(); + this.uiComboBox_materialCode.Items.AddRange(materialCodeList); + + //鐗╂枡鍚嶇О + var fr_materialName = FLogin.wcsWcf.GetSelectList("materialName"); + var materialNameList = fr_materialName.resData; + this.uiComboBox_materialName.Items.Clear(); + this.uiComboBox_materialName.Items.AddRange(materialNameList); + + + } + private void findData() + { + try + { + #region 鍒ゆ柇鏈夋病鏈夎緭鍏ョ瓫閫夋潯浠� uiTextBox_positionName + //param.positionName = uiTextBox_positionName.Text.Trim() != "" ? uiTextBox_positionName.Text.Trim() : "";//搴撲綅鍚嶇О + + param.productName = uiComboBox_materialName.Text.Trim() != "" ? uiComboBox_materialName.Text.Trim() : "";//鐗╂枡鍚嶇О + param.productCode = uiComboBox_materialCode.Text.Trim() != "" ? uiComboBox_materialCode.Text.Trim() : "";//鐗╂枡缂栫爜 + param.serialNumber = uiTextBox_serialNumber.Text.Trim() != "" ? uiTextBox_serialNumber.Text.Trim() : "";//娴佹按鍙� + param.containerCode = uiTextBox_containerCode.Text.Trim() != "" ? uiTextBox_containerCode.Text.Trim() : "";//鎵樼洏鍙� + + //param.status = Convert.ToByte(uiComboBox_status.SelectedIndex); + #endregion + + //鏃堕棿 + paga.startDateTime = string.IsNullOrEmpty(uiDatetimePicker_start.Text) ? new DateTime() : Convert.ToDateTime(uiDatetimePicker_start.Text); + paga.endDateTime = string.IsNullOrEmpty(uiDatetimePicker_end.Text) ? new DateTime() : Convert.ToDateTime(uiDatetimePicker_end.Text); + + // var aa = toolStripComboBox1.SelectedItem; + //var res = FLogin.wcsWcf.getOutStockOrder(paga, materialName, materialCode); + var res = FLogin.wcsWcf.findOutInStockRecord_Details_V2_Mes_Page(paga, param); + if (res.status == 200) + { + + this.dataGridView1.DataSource = res.date; + this.toolStripLabel5.Text = "/" + res.total; + if (res.total == 1) + { + toolStripLabel2.Enabled = false; + toolStripTextBox1.Enabled = false; + toolStripLabel1.Enabled = false; + toolStripLabel4.Enabled = false; + toolStripLabel3.Enabled = false; + } + else + { + toolStripLabel3.Enabled = true; + toolStripLabel2.Enabled = true; + toolStripTextBox1.Enabled = true; + toolStripLabel4.Enabled = paga.pagenum == 1 ? false : true; + } + } + else + { + MessageBox.Show("鑾峰彇澶辫触"); + } + } + catch (Exception ex) + { + WZ.Useful.Commons.LogTextHelper.WriteLine("FormPlaceSetting", "findData", ex.ToString()); + } + + } + private void dataGridView1_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e) + { + SolidBrush b = new SolidBrush(this.dataGridView1.RowHeadersDefaultCellStyle.ForeColor); + e.Graphics.DrawString((e.RowIndex + 1).ToString(System.Globalization.CultureInfo.CurrentUICulture), this.dataGridView1.DefaultCellStyle.Font, b, e.RowBounds.Location.X + 20, e.RowBounds.Location.Y + 4); + + } + + private void outStockCode_Load(object sender, EventArgs e) + { + this.toolStripComboBox1.SelectedIndex = 1; + + this.dataGridView1.Columns["createTime"].DefaultCellStyle.Format = "yyyy-MM-dd HH:mm:ss"; + FormHelper.DataGridViewSelfAdaptionWidth(this.dataGridView1); + + LoadSelectData(); + paging paga = new paging(); + paga.pagenum = 1; + paga.pagesize = pagaSize; + // findData(paga, materialCode, materialName); + toolStripTextBox1.Text = "1"; + toolStripLabel1.Enabled = false; + button_reset_Click(null, null); + } + /// <summary>澶嶄綅 + /// + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void button_reset_Click(object sender, EventArgs e) + { + + this.uiTextBox_serialNumber.Text = ""; + uiComboBox_materialName.Text = ""; + uiComboBox_materialCode.Text = ""; + uiDatetimePicker_start.Text = DateTimeHelper.ConvertToString(DateTime.Now.AddDays(-30)); + uiDatetimePicker_end.Text = DateTimeHelper.ConvertToString(DateTime.Now.AddDays(1)); + + + paga.pagenum = 1; + paga.pagesize = pagaSize; + findData(); + toolStripTextBox1.Text = "1"; + toolStripLabel1.Enabled = false; + + this.dataGridView1.ReadOnly = true; + } + /// <summary>鏌ユ壘 + /// + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void button_find_Click(object sender, EventArgs e) + { + //materialCode = textBox_code.Text.Trim(); + //materialName = textBox_name.Text.Trim(); + paging paga = new paging(); + paga.pagenum = 1; + paga.pagesize = pagaSize; + findData(); + } + + private void toolStripLabel3_Click(object sender, EventArgs e) + { + + } + + private void toolStripLabel2_Click(object sender, EventArgs e) + { + + } + + private void toolStripLabel1_Click(object sender, EventArgs e) + { + + } + + private void toolStripLabel3_Click_1(object sender, EventArgs e) + { + try + { + int sizetatol = 0; + int a = this.toolStripLabel5.Text.Trim().Length; + string size = this.toolStripLabel5.Text.Trim().Substring(1, a - 1); + int.TryParse(size, out sizetatol); + + paga.pagenum = sizetatol; + paga.pagesize = pagaSize; + findData(); + toolStripLabel3.Enabled = false; + toolStripLabel4.Enabled = true; + toolStripTextBox1.Text = sizetatol.ToString(); + toolStripTextBox1.Enabled = true; + toolStripLabel1.Enabled = true; + toolStripLabel2.Enabled = false; + + } + catch (Exception) + { + + } + } + + private void toolStripLabel2_Click_1(object sender, EventArgs e) + { + try + { + + int numPapg = 0; + int.TryParse(toolStripTextBox1.Text.Trim(), out numPapg); + numPapg++; + this.toolStripTextBox1.Text = numPapg.ToString(); + int sizetatol = 0; + int a = this.toolStripLabel5.Text.Trim().Length; + string size = this.toolStripLabel5.Text.Trim().Substring(1, a - 1); + int.TryParse(size, out sizetatol); + toolStripLabel4.Enabled = true; + if (numPapg <= sizetatol) + { + + paga.pagenum = numPapg; + paga.pagesize = pagaSize; + findData(); + toolStripLabel1.Enabled = true; + if (numPapg == sizetatol) + { + toolStripLabel2.Enabled = false; + toolStripLabel3.Enabled = false; + } + } + else + { + toolStripTextBox1.Text = "1"; + WMS.EnumDefine.messages ms = new WMS.EnumDefine.messages(2, "璇疯緭鍏ユ暟瀛�,骞跺ぇ浜�1涓斾笉澶т簬鎬婚〉鏁�"); + ms.Show(); + } + + } + catch (Exception) + { + + } + } + + private void toolStripLabel1_Click_1(object sender, EventArgs e) + { + try + { + + int numPapg = 0; + int.TryParse(toolStripTextBox1.Text.Trim(), out numPapg); + numPapg--; + toolStripTextBox1.Text = numPapg.ToString(); + int sizetatol = 0; + int a = this.toolStripLabel5.Text.Trim().Length; + string size = this.toolStripLabel5.Text.Trim().Substring(1, a - 1); + int.TryParse(size, out sizetatol); + + if (numPapg <= sizetatol) + { + + + paga.pagenum = numPapg; + paga.pagesize = pagaSize; + findData(); + toolStripLabel2.Enabled = true; + toolStripLabel3.Enabled = true; + if (numPapg == 1) + { + toolStripLabel1.Enabled = false; + } + } + else + { + toolStripTextBox1.Text = "1"; + WMS.EnumDefine.messages ms = new WMS.EnumDefine.messages(2, "璇疯緭鍏ユ暟瀛�,骞跺ぇ浜�1涓斾笉澶т簬鎬婚〉鏁�"); + ms.Show(); + } + + } + catch (Exception) + { + + } + } + + private void toolStripLabel4_Click(object sender, EventArgs e) + { + try + { + + paga.pagenum = 1; + paga.pagesize = pagaSize; + findData(); + toolStripLabel4.Enabled = false; + toolStripLabel3.Enabled = true; + toolStripTextBox1.Text = "1"; + toolStripTextBox1.Enabled = true; + toolStripLabel1.Enabled = false; + toolStripLabel2.Enabled = true; + } + catch (Exception) + { + } + } + + /// <summary>姣忛〉鏁伴噺鏀瑰彉 + /// + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void toolStripComboBox1_SelectedIndexChanged(object sender, EventArgs e) + { + try + { + pagaSize = (toolStripComboBox1.SelectedIndex + 1) * 10; + + paga.pagenum = 1; + paga.pagesize = pagaSize; + findData(); + toolStripTextBox1.Text = "1"; + } + catch (Exception) + { + + } + } + } +} diff --git a/WMS/WMS/UI/SynthesizeQuery/FrmMesDetails.resx b/WMS/WMS/UI/SynthesizeQuery/FrmMesDetails.resx new file mode 100644 index 0000000..7de65d1 --- /dev/null +++ b/WMS/WMS/UI/SynthesizeQuery/FrmMesDetails.resx @@ -0,0 +1,170 @@ +锘�<?xml version="1.0" encoding="utf-8"?> +<root> + <!-- + Microsoft ResX Schema + + Version 2.0 + + The primary goals of this format is to allow a simple XML format + that is mostly human readable. The generation and parsing of the + various data types are done through the TypeConverter classes + associated with the data types. + + Example: + + ... ado.net/XML headers & schema ... + <resheader name="resmimetype">text/microsoft-resx</resheader> + <resheader name="version">2.0</resheader> + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> + <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> + <value>[base64 mime encoded serialized .NET Framework object]</value> + </data> + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> + <comment>This is a comment</comment> + </data> + + There are any number of "resheader" rows that contain simple + name/value pairs. + + Each data row contains a name, and value. The row also contains a + type or mimetype. Type corresponds to a .NET class that support + text/value conversion through the TypeConverter architecture. + Classes that don't support this are serialized and stored with the + mimetype set. + + The mimetype is used for serialized objects, and tells the + ResXResourceReader how to depersist the object. This is currently not + extensible. For a given mimetype the value must be set accordingly: + + Note - application/x-microsoft.net.object.binary.base64 is the format + that the ResXResourceWriter will generate, however the reader can + read any of the formats listed below. + + mimetype: application/x-microsoft.net.object.binary.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.soap.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Soap.SoapFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.bytearray.base64 + value : The object must be serialized into a byte array + : using a System.ComponentModel.TypeConverter + : and then encoded with base64 encoding. + --> + <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> + <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> + <xsd:element name="root" msdata:IsDataSet="true"> + <xsd:complexType> + <xsd:choice maxOccurs="unbounded"> + <xsd:element name="metadata"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" /> + </xsd:sequence> + <xsd:attribute name="name" use="required" type="xsd:string" /> + <xsd:attribute name="type" type="xsd:string" /> + <xsd:attribute name="mimetype" type="xsd:string" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="assembly"> + <xsd:complexType> + <xsd:attribute name="alias" type="xsd:string" /> + <xsd:attribute name="name" type="xsd:string" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="data"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> + <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> + <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="resheader"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" /> + </xsd:complexType> + </xsd:element> + </xsd:choice> + </xsd:complexType> + </xsd:element> + </xsd:schema> + <resheader name="resmimetype"> + <value>text/microsoft-resx</value> + </resheader> + <resheader name="version"> + <value>2.0</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> + <data name="toolStripLabel4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29m + dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAHQSURBVDhPpVLbK4NxGPY3IKcLf4E7NxRqIbVciFyQ + XDgVi4gIpcnQyPHCZDbMuSGHmSRMrSVyCK0N2+djZs6SC1ce728Xm6985XDx1Pt7vvd93t/z/L4AAP/C + t+RvIDjI9XdgaJj2oGbCvfn1G0NGh701TWl/+8oJGuR6Dwz7r9BtPaF8+FIgkKq0tUqV9o9khY2Oft5X + MNBWzO++QLPxgEI17xOQNls7izUcug03iK0/IkpEgLZCv/2MvtU75PRyXoEUhVVbNMCha/kGHYtuRFUd + EC0iQFsxbn5El8GD9Hb7pkR+MlagcqB72U25XKJ51oVI2R61igjQVmhN9+hfu0WiwvpeqePRueRG7SQP + 2aADDVM8IvK2qVVEgLZ6h9kQeX0o1TrRMudCxQiHPNUZqkc5hGVZqFVEgCXcY6QnHOOZV1Nk8e5MUuMx + 6iYvkK86RfmQE6HpJmoVEWAJty1co1TjZF69IYZnm6fjaw5RNuRAifocIdJ1okUEWMJNM1copOuSV98z + 0pAuRrbjvUWwZI0oEQGWcD0FldtjY14FP1JwgnE4usCCoLgVOvp5X8HAEg7PsSAs08y8CgQYAqMX1YGx + Rir9nKDhL/iW/DkQ8AkYc99bVd9llQAAAABJRU5ErkJggg== +</value> + </data> + <metadata name="bindingNavigator1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> + <value>17, 17</value> + </metadata> + <data name="toolStripLabel3.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value> + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29m + dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAHOSURBVDhPpZDdK4NhGMb9DcjXgT9A/gGSIhxQDkha + SSIKJSHKyvfMLGLRsIyGMUM+yvL5rGjtRPKRRnjZu81rvk4cOHK5nwO2lbd8HFz1vL/7fq/rea4wAP/S + t/A3Cvlos0qvLRZJHcy4yg23rGRYgGLgCnnac0KBWcgiGUA5K73XmdwhJkU6gWnX7jC27Udml4tQYPZ1 + 4Goy+7DofEHPsoRSvdD/ySmVdS15MGSTkKQ8JiRjUDvphpUMzHvPaDZ7katxGTmnVKacE9G36kNiwyEh + GQN6K2b2n6Df9MO460fluECJR9OUyupNN1AtehBffUCrMgb0VhjtD1Av+6BZ8UFHV64hk4S6w7d2qxst + c7eIK3XSqowBb3hk6x6t8yI6rCK0q15UjF7x1MeGKQGNpBiFg1ZlDHjDg+sSWi0i3cCDHPUZ4sqcC5Rq + L9ado3biGtF5dlqVMeAN96540U2NZ6no5xKHhXNKZYXaM1QZLhGVvUNIxoA33LkgIqP9BLFFDtMnp1SW + rzpFmf4CkWlbhGQMeMPp/GfF/mQwp1SW23aM4iEXIlJshAKzrwMXbzimwG4IZlyUyiJTNxCRbEN40jqh + wCxk8S/6Fv5cCPsA8Kvet9O9xwwAAAAASUVORK5CYII= +</value> + </data> + <metadata name="鎵樼洏鍙�.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="Column3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="Column4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="Column7.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="creator.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> + <metadata name="createTime.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> + <value>True</value> + </metadata> +</root> \ No newline at end of file diff --git a/WMS/WMS/WMS.csproj b/WMS/WMS/WMS.csproj index 0892f67..131d537 100644 --- a/WMS/WMS/WMS.csproj +++ b/WMS/WMS/WMS.csproj @@ -222,6 +222,12 @@ <Compile Include="UI\SynthesizeQuery\FrmMes.Designer.cs"> <DependentUpon>FrmMes.cs</DependentUpon> </Compile> + <Compile Include="UI\SynthesizeQuery\FrmMesDetails.cs"> + <SubType>Form</SubType> + </Compile> + <Compile Include="UI\SynthesizeQuery\FrmMesDetails.Designer.cs"> + <DependentUpon>FrmMesDetails.cs</DependentUpon> + </Compile> <Compile Include="UI\WORK\FrmTaskHandOperation.cs"> <SubType>Form</SubType> </Compile> @@ -378,6 +384,9 @@ <EmbeddedResource Include="UI\SynthesizeQuery\FrmMes.resx"> <DependentUpon>FrmMes.cs</DependentUpon> </EmbeddedResource> + <EmbeddedResource Include="UI\SynthesizeQuery\FrmMesDetails.resx"> + <DependentUpon>FrmMesDetails.cs</DependentUpon> + </EmbeddedResource> <EmbeddedResource Include="UI\WORK\FrmTaskHandOperation.resx"> <DependentUpon>FrmTaskHandOperation.cs</DependentUpon> </EmbeddedResource> diff --git a/WMS/WMS/WMSFrmMain.Designer.cs b/WMS/WMS/WMSFrmMain.Designer.cs index 52a57f7..0bfdd00 100644 --- a/WMS/WMS/WMSFrmMain.Designer.cs +++ b/WMS/WMS/WMSFrmMain.Designer.cs @@ -42,6 +42,7 @@ this.缁煎悎鏌ヨ = new System.Windows.Forms.ToolStripMenuItem(); this.鎶ヨ璁板綍鏌ヨ = new System.Windows.Forms.ToolStripMenuItem(); this.娓呯悊搴撳瓨鏌ヨ = new System.Windows.Forms.ToolStripMenuItem(); + this.tsm_OutInStockRecord_V2_Mes = new System.Windows.Forms.ToolStripMenuItem(); this.鍑哄叆搴撹褰昑oolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.绯荤粺璁剧疆 = new System.Windows.Forms.ToolStripMenuItem(); this.鏉冮檺绠$悊 = new System.Windows.Forms.ToolStripMenuItem(); @@ -50,7 +51,7 @@ this.鐗╂枡缁存姢ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.panel2 = new System.Windows.Forms.Panel(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); - this.tsm_OutInStockRecord_V2_Mes = new System.Windows.Forms.ToolStripMenuItem(); + this.tsm_OutInStockRecord_Details_V2_Mes = new System.Windows.Forms.ToolStripMenuItem(); this.panel1.SuspendLayout(); this.menuStripMain.SuspendLayout(); this.panel2.SuspendLayout(); @@ -196,6 +197,7 @@ this.缁煎悎鏌ヨ.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.鎶ヨ璁板綍鏌ヨ, this.娓呯悊搴撳瓨鏌ヨ, + this.tsm_OutInStockRecord_Details_V2_Mes, this.tsm_OutInStockRecord_V2_Mes, this.鍑哄叆搴撹褰昑oolStripMenuItem}); this.缁煎悎鏌ヨ.ForeColor = System.Drawing.Color.Maroon; @@ -211,7 +213,7 @@ this.鎶ヨ璁板綍鏌ヨ.ForeColor = System.Drawing.Color.Maroon; this.鎶ヨ璁板綍鏌ヨ.Image = ((System.Drawing.Image)(resources.GetObject("鎶ヨ璁板綍鏌ヨ.Image"))); this.鎶ヨ璁板綍鏌ヨ.Name = "鎶ヨ璁板綍鏌ヨ"; - this.鎶ヨ璁板綍鏌ヨ.Size = new System.Drawing.Size(208, 32); + this.鎶ヨ璁板綍鏌ヨ.Size = new System.Drawing.Size(211, 32); this.鎶ヨ璁板綍鏌ヨ.Tag = "缁煎悎鏌ヨ_鏁呴殰淇℃伅璁板綍"; this.鎶ヨ璁板綍鏌ヨ.Text = "鎶ヨ璁板綍鏌ヨ"; this.鎶ヨ璁板綍鏌ヨ.Visible = false; @@ -222,17 +224,26 @@ this.娓呯悊搴撳瓨鏌ヨ.ForeColor = System.Drawing.Color.Maroon; this.娓呯悊搴撳瓨鏌ヨ.Image = ((System.Drawing.Image)(resources.GetObject("娓呯悊搴撳瓨鏌ヨ.Image"))); this.娓呯悊搴撳瓨鏌ヨ.Name = "娓呯悊搴撳瓨鏌ヨ"; - this.娓呯悊搴撳瓨鏌ヨ.Size = new System.Drawing.Size(208, 32); + this.娓呯悊搴撳瓨鏌ヨ.Size = new System.Drawing.Size(211, 32); this.娓呯悊搴撳瓨鏌ヨ.Tag = "缁煎悎鏌ヨ_娓呯悊搴撳瓨鏃ュ織鏌ヨ"; this.娓呯悊搴撳瓨鏌ヨ.Text = "娓呯悊搴撳瓨鏌ヨ"; this.娓呯悊搴撳瓨鏌ヨ.Click += new System.EventHandler(this.娓呯悊搴撳瓨鏃ュ織鏌ヨ_Click); + // + // tsm_OutInStockRecord_V2_Mes + // + this.tsm_OutInStockRecord_V2_Mes.ForeColor = System.Drawing.Color.Maroon; + this.tsm_OutInStockRecord_V2_Mes.Image = global::WMS.Properties.Resources.list; + this.tsm_OutInStockRecord_V2_Mes.Name = "tsm_OutInStockRecord_V2_Mes"; + this.tsm_OutInStockRecord_V2_Mes.Size = new System.Drawing.Size(211, 32); + this.tsm_OutInStockRecord_V2_Mes.Text = "MES鍑哄叆搴�"; + this.tsm_OutInStockRecord_V2_Mes.Click += new System.EventHandler(this.tsm_OutInStockRecord_V2_Mes_Click); // // 鍑哄叆搴撹褰昑oolStripMenuItem // this.鍑哄叆搴撹褰昑oolStripMenuItem.ForeColor = System.Drawing.Color.Maroon; this.鍑哄叆搴撹褰昑oolStripMenuItem.Image = global::WMS.Properties.Resources.list; this.鍑哄叆搴撹褰昑oolStripMenuItem.Name = "鍑哄叆搴撹褰昑oolStripMenuItem"; - this.鍑哄叆搴撹褰昑oolStripMenuItem.Size = new System.Drawing.Size(208, 32); + this.鍑哄叆搴撹褰昑oolStripMenuItem.Size = new System.Drawing.Size(211, 32); this.鍑哄叆搴撹褰昑oolStripMenuItem.Text = "鍑哄叆搴撹褰�"; this.鍑哄叆搴撹褰昑oolStripMenuItem.Click += new System.EventHandler(this.鍑哄叆搴撹褰昑oolStripMenuItem_Click); // @@ -312,14 +323,14 @@ this.pictureBox1.TabIndex = 0; this.pictureBox1.TabStop = false; // - // tsm_OutInStockRecord_V2_Mes + // tsm_OutInStockRecord_Details_V2_Mes // - this.tsm_OutInStockRecord_V2_Mes.ForeColor = System.Drawing.Color.Maroon; - this.tsm_OutInStockRecord_V2_Mes.Image = global::WMS.Properties.Resources.list; - this.tsm_OutInStockRecord_V2_Mes.Name = "tsm_OutInStockRecord_V2_Mes"; - this.tsm_OutInStockRecord_V2_Mes.Size = new System.Drawing.Size(208, 32); - this.tsm_OutInStockRecord_V2_Mes.Text = "MES鍑哄叆搴�"; - this.tsm_OutInStockRecord_V2_Mes.Click += new System.EventHandler(this.tsm_OutInStockRecord_V2_Mes_Click); + this.tsm_OutInStockRecord_Details_V2_Mes.ForeColor = System.Drawing.Color.Maroon; + this.tsm_OutInStockRecord_Details_V2_Mes.Image = global::WMS.Properties.Resources.list; + this.tsm_OutInStockRecord_Details_V2_Mes.Name = "tsm_OutInStockRecord_Details_V2_Mes"; + this.tsm_OutInStockRecord_Details_V2_Mes.Size = new System.Drawing.Size(211, 32); + this.tsm_OutInStockRecord_Details_V2_Mes.Text = "MES鍑哄叆鏄庣粏"; + this.tsm_OutInStockRecord_Details_V2_Mes.Click += new System.EventHandler(this.tsm_OutInStockRecord_Details_V2_Mes_Click); // // WMSFrmMain // @@ -369,6 +380,7 @@ private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem3; private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem4; private System.Windows.Forms.ToolStripMenuItem tsm_OutInStockRecord_V2_Mes; + private System.Windows.Forms.ToolStripMenuItem tsm_OutInStockRecord_Details_V2_Mes; } } diff --git a/WMS/WMS/WMSFrmMain.cs b/WMS/WMS/WMSFrmMain.cs index a88f875..276d807 100644 --- a/WMS/WMS/WMSFrmMain.cs +++ b/WMS/WMS/WMSFrmMain.cs @@ -469,5 +469,10 @@ { FormShow(new FrmMes()); } + + private void tsm_OutInStockRecord_Details_V2_Mes_Click(object sender, EventArgs e) + { + FormShow(new FrmMesDetails()); + } } } diff --git a/WMS/WMS/WMSFrmMain.resx b/WMS/WMS/WMSFrmMain.resx index 172bb7d..8ee043d 100644 --- a/WMS/WMS/WMSFrmMain.resx +++ b/WMS/WMS/WMSFrmMain.resx @@ -233,7 +233,7 @@ XTesb3QPLh88M+QwdP6m681Lt7xuXbu94vbgcOjwnZHokdE77DtTd1PuvriXeW/h/sYH6AdFD6UeVjxS fNTws+7PbaOWo6fHXMf6Hwc/vj/OGn/2S8Yv7ycKnpCfVEyqTDZPmU2dmnafvvF05dOJZ+nPFmYKf5X+ tfa5zvMffnP8rX82YnbiBf/Fp99LXsq/PPRq2aueuYC5R69TXy/MF72Rf3P4LeNt37vwd5MLWe+x7ys/ - 6H7o/ujz8cGn1E+f/gUDmPP8usTo0wAAAAlwSFlzAAALDgAACw4BQL7hQQAA9UFJREFUeF7snQdgHUe5 + 6H7o/ujz8cGn1E+f/gUDmPP8usTo0wAAAAlwSFlzAAALDQAACw0B7QfALAAA9UFJREFUeF7snQdgHUe5 /S/weDzKo/5pD3jw6KGGEgLpoaUQIIEEAgkhpBLSSSMVQnovju3YTnOJq3rvvfcuW7JcZFu2ZEuymtXv /M9v7h15fX1ly47TwEqOd+/u7Ozs7Jzzfd/M7K7PGHMYh3EY/6YIu/EwDuMw/j0QduNhHMZh/Hsg7MbD OIzD+PdA2I2HcRiH8e+BsBsP4zAO498DYTcexmEcxr8Hwm48jMM4jH8PhN14GIdxGP8eCLvxMA7jMP49 diff --git a/sql/DBScript/01_DDL/01_DDL_TABLE_YunNeiDongLi.sql b/sql/DBScript/01_DDL/01_DDL_TABLE_YunNeiDongLi.sql index 5532899..c1bcdbb 100644 --- a/sql/DBScript/01_DDL/01_DDL_TABLE_YunNeiDongLi.sql +++ b/sql/DBScript/01_DDL/01_DDL_TABLE_YunNeiDongLi.sql @@ -237,6 +237,7 @@ mainId bigint ,--- Wms_outInStockRecord_V2_Mes琛ㄧ殑ID + containerCode NVARCHAR(100) NULL , -- 鎵樼洏鍙� productCode VARCHAR(100) NULL , -- 浜у搧缂栫爜 productName NVARCHAR(100) NULL , -- 浜у搧鍚嶇О serialNumber NVARCHAR(100) NULL , -- 娴佹按鍙� diff --git a/wcs/yunneiWCS/yunneiWCS/DataAccess/OutInStockRecord_V2_MesHandler.cs b/wcs/yunneiWCS/yunneiWCS/DataAccess/OutInStockRecord_V2_MesHandler.cs index 1cf7c41..a0b5f58 100644 --- a/wcs/yunneiWCS/yunneiWCS/DataAccess/OutInStockRecord_V2_MesHandler.cs +++ b/wcs/yunneiWCS/yunneiWCS/DataAccess/OutInStockRecord_V2_MesHandler.cs @@ -83,6 +83,7 @@ { ID = d_id, mainId = log.ID, + containerCode = log.containerCode, productCode = item.productCode, productName = item.productName, serialNumber = item.serialNumber, @@ -150,6 +151,7 @@ { ID = Yitter.IdGenerator.YitIdHelper.NextId(), mainId = log.ID, + containerCode = log.containerCode, productCode = item.productCode, productName = item.productName, serialNumber = item.serialNumber, diff --git a/wcs/yunneiWCS/yunneiWCS/ORM/Wms_outInStockRecord_Details_V2_Mes.cs b/wcs/yunneiWCS/yunneiWCS/ORM/Wms_outInStockRecord_Details_V2_Mes.cs index ed03b61..a740412 100644 --- a/wcs/yunneiWCS/yunneiWCS/ORM/Wms_outInStockRecord_Details_V2_Mes.cs +++ b/wcs/yunneiWCS/yunneiWCS/ORM/Wms_outInStockRecord_Details_V2_Mes.cs @@ -14,6 +14,9 @@ public long? mainId { get; set; } + [StringLength(100)] + public string containerCode { get; set; } + [StringLength(50)] public string productCode { get; set; } diff --git a/wcs/yunneiWCS/yunneiWCS/wcf/IyunneiWcf.cs b/wcs/yunneiWCS/yunneiWCS/wcf/IyunneiWcf.cs index ca54a61..09833dc 100644 --- a/wcs/yunneiWCS/yunneiWCS/wcf/IyunneiWcf.cs +++ b/wcs/yunneiWCS/yunneiWCS/wcf/IyunneiWcf.cs @@ -48,6 +48,15 @@ resMsg<Wms_outInStockRecord_V2_Mes> findOutInStockRecord_V2_Mes(paging page, Wms_outInStockRecord_V2_Mes value); + /// <summary>鏌ユ壘鍑哄叆搴撹褰曟槑缁嗙粰MES [EditBy shaocx,2025-09-01] + /// + /// </summary> + /// <param name="page">鍒嗛〉</param> + /// <returns></returns> + [OperationContract] + resMsg<Wms_outInStockRecord_Details_V2_Mes> findOutInStockRecord_Details_V2_Mes_Page(paging page, Wms_outInStockRecord_Details_V2_Mes value); + + [OperationContract] resMsg<position> findPosition(paging page, string position, int islock, int isfree); diff --git a/wcs/yunneiWCS/yunneiWCS/wcf/yunneiWcf.cs b/wcs/yunneiWCS/yunneiWCS/wcf/yunneiWcf.cs index 9293210..86a42a7 100644 --- a/wcs/yunneiWCS/yunneiWCS/wcf/yunneiWcf.cs +++ b/wcs/yunneiWCS/yunneiWCS/wcf/yunneiWcf.cs @@ -1026,6 +1026,111 @@ return msg; } + /// <summary>鏌ユ壘鍑哄叆搴撹褰曟槑缁嗙粰MES [EditBy shaocx,2025-09-01] + /// + /// </summary> + /// <param name="page">鍒嗛〉</param> + /// <returns></returns> + public resMsg<Wms_outInStockRecord_Details_V2_Mes> findOutInStockRecord_Details_V2_Mes_Page(paging page, Wms_outInStockRecord_Details_V2_Mes value) + { + resMsg<Wms_outInStockRecord_Details_V2_Mes> msg = new resMsg<Wms_outInStockRecord_Details_V2_Mes>(); + msg.status = 400; + try + { + using (dbmodel mod = new dbmodel()) + { + string sql = "SELECT * FROM [LA20025].[dbo].[Wms_outInStockRecord_Details_V2_Mes] "; + sql = sql + " WHERE 1=1 "; + + if (!string.IsNullOrEmpty(value.containerCode))//鎵樼洏鍙� + { + sql = sql + " and containerCode like '%" + value.containerCode + "%'"; + } + if (!string.IsNullOrEmpty(value.productCode))//鐗╂枡缂栧彿 + { + sql = sql + " and productCode like '%" + value.productCode + "%'"; + } + if (!string.IsNullOrEmpty(value.productName))//鐗╂枡鍚嶇О + { + sql = sql + " and productName like '%" + value.productName + "%' "; + } + if (!string.IsNullOrEmpty(value.serialNumber))//娴佹按鍙� + { + sql = sql + " and serialNumber like '%" + value.serialNumber + "%' "; + } + + if (page.startDateTime != DateTime.Parse("1900-01-01 0:00:00") && page.startDateTime != DateTime.Parse("0001-01-01 0:00:00"))//璧峰鏃堕棿 + { + sql = sql + " and CreateTime >'" + page.startDateTime + "'"; + } + if (page.endDateTime != DateTime.Parse("1900-01-01 0:00:00") && page.endDateTime != DateTime.Parse("0001-01-01 0:00:00"))//鎴鏃堕棿 + { + sql = sql + " and CreateTime <'" + page.endDateTime + "'"; + } + + sql = sql + " order by CreateTime desc"; + List<Wms_outInStockRecord_Details_V2_Mes> dataList = mod.Database.SqlQuery<Wms_outInStockRecord_Details_V2_Mes>(sql).ToList(); + + if (dataList.Count > 0) + { + //msg.quantity = (int)dataList.Sum(x => x.quantity); + msg.totalNum = dataList.Count; + msg.dateAll = dataList; + //鍒嗛〉璁$畻 + List<Wms_outInStockRecord_Details_V2_Mes> fenyeRerult = new List<Wms_outInStockRecord_Details_V2_Mes>(); + msg.status = 200; + + //鍋囧姣忛〉鏁伴噺 澶т簬鐩樼偣鏁版嵁 + if (page.pagesize > dataList.Count) + { + msg.date = dataList; + msg.total = 1; + } + else + { + #region 鍒嗛〉璁$畻 + int a = page.pagesize; + int b = page.pagenum; + int c = (int)Math.Ceiling((double)dataList.Count / a); + msg.total = c; + int d = dataList.Count % a; + int e = 0; + int f = a * (b - 1); + if (d != 0 && b == c) + { + e = d + f; + } + else + { + e = a + f; + } + for (int i = f; i < e; i++) + { + fenyeRerult.Add(dataList[i]); + } + + msg.date = fenyeRerult; + #endregion + } + + } + else + { + msg.status = 200; + msg.msg = "鏌ユ壘鏁版嵁涓�0,璇锋洿鎹㈡煡璇㈡潯浠�"; + } + + } + } + catch (Exception ex) + { + msg.msg = "鏌ヨ澶辫触"; + WZ.Useful.Commons.LogTextHelper.WriteLine("IyunneiWcf", "Wms_outInStockRecord_Details_V2_Mes", ex.ToString()); + } + + return msg; + } + /// <summary>鏌ユ壘鍏ュ簱鍗曟祦姘村彿 /// -- Gitblit v1.9.3