From 92fea996bf287e90c590cb30c0b1aac5969d0f17 Mon Sep 17 00:00:00 2001
From: schangxiang@126.com <schangxiang@126.com>
Date: 周一, 01 9月 2025 15:48:14 +0800
Subject: [PATCH] 增加 主

---
 WMS/WMS/Service References/yunneiWCS/WMS.yunneiWCS.resMsgOfWms_outInStockRecord_Details_V2_MesFj0h9u9J.datasource |   10 
 WMS/WMS/Service References/yunneiWCS/WMS.yunneiWCS.resMsgOfWms_outInStockRecord_V2_MesFj0h9u9J.datasource         |   10 
 WMS/WMS/Service References/yunneiWCS/item3.xsd                                                                    |  108 +
 WMS/WMS/WMS.csproj                                                                                                |   16 
 wcs/yunneiWCS/yunneiWCS/wcf/IyunneiWcf.cs                                                                         |   19 
 WMS/WMS/UI/SynthesizeQuery/FrmMes.cs                                                                              |  495 +++++++++
 WMS/WMS/WMSFrmMain.Designer.cs                                                                                    |   20 
 WMS/WMS/Service References/yunneiWCS/item.xsd                                                                     |  135 +-
 WMS/WMS/UI/SynthesizeQuery/FrmPVC.cs                                                                              |    2 
 WMS/WMS/UI/WORK/inStockCode.cs                                                                                    |    2 
 wcs/yunneiWCS/yunneiWCS/wcf/yunneiWcf.cs                                                                          |  159 +++
 WMS/WMS/Service References/yunneiWCS/Reference.cs                                                                 |  960 ++++++++++++++++++
 WMS/WMS/WMSFrmMain.cs                                                                                             |    8 
 WMS/WMS/UI/SynthesizeQuery/FrmMes.Designer.cs                                                                     |  709 +++++++++++++
 WMS/WMS/Service References/yunneiWCS/item2.xsd                                                                    |   55 +
 WMS/WMS/UI/SynthesizeQuery/FrmMes.resx                                                                            |  197 +++
 WMS/WMS/Service References/yunneiWCS/yunneiWcf.wsdl                                                               |   38 
 WMS/WMS/UI/SynthesizeQuery/FrmDialog/FrmPVClist.cs                                                                |   60 
 WMS/WMS/WMSFrmMain.resx                                                                                           |   48 
 WMS/WMS/EnumDefine/yesNoStatus.cs                                                                                 |   15 
 WMS/WMS/UI/WORK/preview.cs                                                                                        |    2 
 21 files changed, 2,926 insertions(+), 142 deletions(-)

diff --git a/WMS/WMS/EnumDefine/yesNoStatus.cs b/WMS/WMS/EnumDefine/yesNoStatus.cs
new file mode 100644
index 0000000..7ec3514
--- /dev/null
+++ b/WMS/WMS/EnumDefine/yesNoStatus.cs
@@ -0,0 +1,15 @@
+锘縰sing System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace WMS.EnumDefine
+{
+   enum yesNoStatus
+    {
+        鍚� = 0,
+        鏄�=1,
+
+    }
+}
diff --git a/WMS/WMS/Service References/yunneiWCS/Reference.cs b/WMS/WMS/Service References/yunneiWCS/Reference.cs
index 2aa44f8..0f78022 100644
--- a/WMS/WMS/Service References/yunneiWCS/Reference.cs
+++ b/WMS/WMS/Service References/yunneiWCS/Reference.cs
@@ -2501,6 +2501,576 @@
     
     [System.Diagnostics.DebuggerStepThroughAttribute()]
     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
+    [System.Runtime.Serialization.DataContractAttribute(Name="Wms_outInStockRecord_V2_Mes", Namespace="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM")]
+    [System.SerializableAttribute()]
+    public partial class Wms_outInStockRecord_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 MesRetField;
+        
+        [System.Runtime.Serialization.OptionalFieldAttribute()]
+        private string RemarkField;
+        
+        [System.Runtime.Serialization.OptionalFieldAttribute()]
+        private System.Nullable<System.DateTime> SendToMesTimeField;
+        
+        [System.Runtime.Serialization.OptionalFieldAttribute()]
+        private string containerCodeField;
+        
+        [System.Runtime.Serialization.OptionalFieldAttribute()]
+        private System.Nullable<int> isSendToMesField;
+        
+        [System.Runtime.Serialization.OptionalFieldAttribute()]
+        private string materialCodeField;
+        
+        [System.Runtime.Serialization.OptionalFieldAttribute()]
+        private string materialNameField;
+        
+        [System.Runtime.Serialization.OptionalFieldAttribute()]
+        private System.Nullable<int> outInFlagField;
+        
+        [System.Runtime.Serialization.OptionalFieldAttribute()]
+        private string outInFlagNameField;
+        
+        [System.Runtime.Serialization.OptionalFieldAttribute()]
+        private System.Nullable<int> qtyField;
+        
+        [System.Runtime.Serialization.OptionalFieldAttribute()]
+        private string sourcePlaceField;
+        
+        [System.Runtime.Serialization.OptionalFieldAttribute()]
+        private string supplierField;
+        
+        [System.Runtime.Serialization.OptionalFieldAttribute()]
+        private string taskIdField;
+        
+        [System.Runtime.Serialization.OptionalFieldAttribute()]
+        private string taskNameField;
+        
+        [System.Runtime.Serialization.OptionalFieldAttribute()]
+        private System.Nullable<int> taskTypeField;
+        
+        [System.Runtime.Serialization.OptionalFieldAttribute()]
+        private string taskTypeNameField;
+        
+        [System.Runtime.Serialization.OptionalFieldAttribute()]
+        private string toPlaceField;
+        
+        [System.Runtime.Serialization.OptionalFieldAttribute()]
+        private string versionField;
+        
+        [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 MesRet {
+            get {
+                return this.MesRetField;
+            }
+            set {
+                if ((object.ReferenceEquals(this.MesRetField, value) != true)) {
+                    this.MesRetField = value;
+                    this.RaisePropertyChanged("MesRet");
+                }
+            }
+        }
+        
+        [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<System.DateTime> SendToMesTime {
+            get {
+                return this.SendToMesTimeField;
+            }
+            set {
+                if ((this.SendToMesTimeField.Equals(value) != true)) {
+                    this.SendToMesTimeField = value;
+                    this.RaisePropertyChanged("SendToMesTime");
+                }
+            }
+        }
+        
+        [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<int> isSendToMes {
+            get {
+                return this.isSendToMesField;
+            }
+            set {
+                if ((this.isSendToMesField.Equals(value) != true)) {
+                    this.isSendToMesField = value;
+                    this.RaisePropertyChanged("isSendToMes");
+                }
+            }
+        }
+        
+        [System.Runtime.Serialization.DataMemberAttribute()]
+        public string materialCode {
+            get {
+                return this.materialCodeField;
+            }
+            set {
+                if ((object.ReferenceEquals(this.materialCodeField, value) != true)) {
+                    this.materialCodeField = value;
+                    this.RaisePropertyChanged("materialCode");
+                }
+            }
+        }
+        
+        [System.Runtime.Serialization.DataMemberAttribute()]
+        public string materialName {
+            get {
+                return this.materialNameField;
+            }
+            set {
+                if ((object.ReferenceEquals(this.materialNameField, value) != true)) {
+                    this.materialNameField = value;
+                    this.RaisePropertyChanged("materialName");
+                }
+            }
+        }
+        
+        [System.Runtime.Serialization.DataMemberAttribute()]
+        public System.Nullable<int> outInFlag {
+            get {
+                return this.outInFlagField;
+            }
+            set {
+                if ((this.outInFlagField.Equals(value) != true)) {
+                    this.outInFlagField = value;
+                    this.RaisePropertyChanged("outInFlag");
+                }
+            }
+        }
+        
+        [System.Runtime.Serialization.DataMemberAttribute()]
+        public string outInFlagName {
+            get {
+                return this.outInFlagNameField;
+            }
+            set {
+                if ((object.ReferenceEquals(this.outInFlagNameField, value) != true)) {
+                    this.outInFlagNameField = value;
+                    this.RaisePropertyChanged("outInFlagName");
+                }
+            }
+        }
+        
+        [System.Runtime.Serialization.DataMemberAttribute()]
+        public System.Nullable<int> qty {
+            get {
+                return this.qtyField;
+            }
+            set {
+                if ((this.qtyField.Equals(value) != true)) {
+                    this.qtyField = value;
+                    this.RaisePropertyChanged("qty");
+                }
+            }
+        }
+        
+        [System.Runtime.Serialization.DataMemberAttribute()]
+        public string sourcePlace {
+            get {
+                return this.sourcePlaceField;
+            }
+            set {
+                if ((object.ReferenceEquals(this.sourcePlaceField, value) != true)) {
+                    this.sourcePlaceField = value;
+                    this.RaisePropertyChanged("sourcePlace");
+                }
+            }
+        }
+        
+        [System.Runtime.Serialization.DataMemberAttribute()]
+        public string supplier {
+            get {
+                return this.supplierField;
+            }
+            set {
+                if ((object.ReferenceEquals(this.supplierField, value) != true)) {
+                    this.supplierField = value;
+                    this.RaisePropertyChanged("supplier");
+                }
+            }
+        }
+        
+        [System.Runtime.Serialization.DataMemberAttribute()]
+        public string taskId {
+            get {
+                return this.taskIdField;
+            }
+            set {
+                if ((object.ReferenceEquals(this.taskIdField, value) != true)) {
+                    this.taskIdField = value;
+                    this.RaisePropertyChanged("taskId");
+                }
+            }
+        }
+        
+        [System.Runtime.Serialization.DataMemberAttribute()]
+        public string taskName {
+            get {
+                return this.taskNameField;
+            }
+            set {
+                if ((object.ReferenceEquals(this.taskNameField, value) != true)) {
+                    this.taskNameField = value;
+                    this.RaisePropertyChanged("taskName");
+                }
+            }
+        }
+        
+        [System.Runtime.Serialization.DataMemberAttribute()]
+        public System.Nullable<int> taskType {
+            get {
+                return this.taskTypeField;
+            }
+            set {
+                if ((this.taskTypeField.Equals(value) != true)) {
+                    this.taskTypeField = value;
+                    this.RaisePropertyChanged("taskType");
+                }
+            }
+        }
+        
+        [System.Runtime.Serialization.DataMemberAttribute()]
+        public string taskTypeName {
+            get {
+                return this.taskTypeNameField;
+            }
+            set {
+                if ((object.ReferenceEquals(this.taskTypeNameField, value) != true)) {
+                    this.taskTypeNameField = value;
+                    this.RaisePropertyChanged("taskTypeName");
+                }
+            }
+        }
+        
+        [System.Runtime.Serialization.DataMemberAttribute()]
+        public string toPlace {
+            get {
+                return this.toPlaceField;
+            }
+            set {
+                if ((object.ReferenceEquals(this.toPlaceField, value) != true)) {
+                    this.toPlaceField = value;
+                    this.RaisePropertyChanged("toPlace");
+                }
+            }
+        }
+        
+        [System.Runtime.Serialization.DataMemberAttribute()]
+        public string version {
+            get {
+                return this.versionField;
+            }
+            set {
+                if ((object.ReferenceEquals(this.versionField, value) != true)) {
+                    this.versionField = value;
+                    this.RaisePropertyChanged("version");
+                }
+            }
+        }
+        
+        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_V2_MesFj0h9u9J", Namespace="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine")]
+    [System.SerializableAttribute()]
+    public partial class resMsgOfWms_outInStockRecord_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_V2_Mes[] dateField;
+        
+        [System.Runtime.Serialization.OptionalFieldAttribute()]
+        private WMS.yunneiWCS.Wms_outInStockRecord_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_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_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 {
@@ -6175,6 +6745,368 @@
     
     [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 {
@@ -8759,6 +9691,12 @@
         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IyunneiWcf/findInStockNewVersion", ReplyAction="http://tempuri.org/IyunneiWcf/findInStockNewVersionResponse")]
         System.Threading.Tasks.Task<WMS.yunneiWCS.resMsgOfv_inStockOrderFj0h9u9J> findInStockNewVersionAsync(WMS.yunneiWCS.paging page, WMS.yunneiWCS.v_inStockOrder value);
         
+        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IyunneiWcf/findOutInStockRecord_V2_Mes", ReplyAction="http://tempuri.org/IyunneiWcf/findOutInStockRecord_V2_MesResponse")]
+        WMS.yunneiWCS.resMsgOfWms_outInStockRecord_V2_MesFj0h9u9J findOutInStockRecord_V2_Mes(WMS.yunneiWCS.paging page, WMS.yunneiWCS.Wms_outInStockRecord_V2_Mes value);
+        
+        [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/findPosition", ReplyAction="http://tempuri.org/IyunneiWcf/findPositionResponse")]
         WMS.yunneiWCS.resMsgOfpositionFj0h9u9J findPosition(WMS.yunneiWCS.paging page, string position, int islock, int isfree);
         
@@ -8938,6 +9876,12 @@
         
         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IyunneiWcf/findInStockList", ReplyAction="http://tempuri.org/IyunneiWcf/findInStockListResponse")]
         System.Threading.Tasks.Task<WMS.yunneiWCS.resMsgOfinStockOrderListFj0h9u9J> findInStockListAsync(string inStockCode);
+        
+        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IyunneiWcf/findOutInStockRecord_Details_V2_Mes", ReplyAction="http://tempuri.org/IyunneiWcf/findOutInStockRecord_Details_V2_MesResponse")]
+        WMS.yunneiWCS.resMsgOfWms_outInStockRecord_Details_V2_MesFj0h9u9J findOutInStockRecord_Details_V2_Mes(long mainId);
+        
+        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IyunneiWcf/findOutInStockRecord_Details_V2_Mes", ReplyAction="http://tempuri.org/IyunneiWcf/findOutInStockRecord_Details_V2_MesResponse")]
+        System.Threading.Tasks.Task<WMS.yunneiWCS.resMsgOfWms_outInStockRecord_Details_V2_MesFj0h9u9J> findOutInStockRecord_Details_V2_MesAsync(long mainId);
         
         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IyunneiWcf/modfiyInStockList", ReplyAction="http://tempuri.org/IyunneiWcf/modfiyInStockListResponse")]
         WMS.yunneiWCS.resMsgOfstring modfiyInStockList(WMS.yunneiWCS.inStockOrderList[] value);
@@ -9163,6 +10107,14 @@
         
         public System.Threading.Tasks.Task<WMS.yunneiWCS.resMsgOfv_inStockOrderFj0h9u9J> findInStockNewVersionAsync(WMS.yunneiWCS.paging page, WMS.yunneiWCS.v_inStockOrder value) {
             return base.Channel.findInStockNewVersionAsync(page, value);
+        }
+        
+        public WMS.yunneiWCS.resMsgOfWms_outInStockRecord_V2_MesFj0h9u9J findOutInStockRecord_V2_Mes(WMS.yunneiWCS.paging page, WMS.yunneiWCS.Wms_outInStockRecord_V2_Mes value) {
+            return base.Channel.findOutInStockRecord_V2_Mes(page, value);
+        }
+        
+        public System.Threading.Tasks.Task<WMS.yunneiWCS.resMsgOfWms_outInStockRecord_V2_MesFj0h9u9J> findOutInStockRecord_V2_MesAsync(WMS.yunneiWCS.paging page, WMS.yunneiWCS.Wms_outInStockRecord_V2_Mes value) {
+            return base.Channel.findOutInStockRecord_V2_MesAsync(page, value);
         }
         
         public WMS.yunneiWCS.resMsgOfpositionFj0h9u9J findPosition(WMS.yunneiWCS.paging page, string position, int islock, int isfree) {
@@ -9405,6 +10357,14 @@
             return base.Channel.findInStockListAsync(inStockCode);
         }
         
+        public WMS.yunneiWCS.resMsgOfWms_outInStockRecord_Details_V2_MesFj0h9u9J findOutInStockRecord_Details_V2_Mes(long mainId) {
+            return base.Channel.findOutInStockRecord_Details_V2_Mes(mainId);
+        }
+        
+        public System.Threading.Tasks.Task<WMS.yunneiWCS.resMsgOfWms_outInStockRecord_Details_V2_MesFj0h9u9J> findOutInStockRecord_Details_V2_MesAsync(long mainId) {
+            return base.Channel.findOutInStockRecord_Details_V2_MesAsync(mainId);
+        }
+        
         public WMS.yunneiWCS.resMsgOfstring modfiyInStockList(WMS.yunneiWCS.inStockOrderList[] value) {
             return base.Channel.modfiyInStockList(value);
         }
diff --git a/WMS/WMS/Service References/yunneiWCS/WMS.yunneiWCS.resMsgOfWms_outInStockRecord_Details_V2_MesFj0h9u9J.datasource b/WMS/WMS/Service References/yunneiWCS/WMS.yunneiWCS.resMsgOfWms_outInStockRecord_Details_V2_MesFj0h9u9J.datasource
new file mode 100644
index 0000000..368dd91
--- /dev/null
+++ b/WMS/WMS/Service References/yunneiWCS/WMS.yunneiWCS.resMsgOfWms_outInStockRecord_Details_V2_MesFj0h9u9J.datasource
@@ -0,0 +1,10 @@
+锘�<?xml version="1.0" encoding="utf-8"?>
+<!--
+    This file is automatically generated by Visual Studio .Net. It is 
+    used to store generic object data source configuration information.  
+    Renaming the file extension or editing the content of this file may   
+    cause the file to be unrecognizable by the program.
+-->
+<GenericObjectDataSource DisplayName="resMsgOfWms_outInStockRecord_Details_V2_MesFj0h9u9J" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
+   <TypeInfo>WMS.yunneiWCS.resMsgOfWms_outInStockRecord_Details_V2_MesFj0h9u9J, Service References.yunneiWCS.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
+</GenericObjectDataSource>
\ No newline at end of file
diff --git a/WMS/WMS/Service References/yunneiWCS/WMS.yunneiWCS.resMsgOfWms_outInStockRecord_V2_MesFj0h9u9J.datasource b/WMS/WMS/Service References/yunneiWCS/WMS.yunneiWCS.resMsgOfWms_outInStockRecord_V2_MesFj0h9u9J.datasource
new file mode 100644
index 0000000..04e0a95
--- /dev/null
+++ b/WMS/WMS/Service References/yunneiWCS/WMS.yunneiWCS.resMsgOfWms_outInStockRecord_V2_MesFj0h9u9J.datasource
@@ -0,0 +1,10 @@
+锘�<?xml version="1.0" encoding="utf-8"?>
+<!--
+    This file is automatically generated by Visual Studio .Net. It is 
+    used to store generic object data source configuration information.  
+    Renaming the file extension or editing the content of this file may   
+    cause the file to be unrecognizable by the program.
+-->
+<GenericObjectDataSource DisplayName="resMsgOfWms_outInStockRecord_V2_MesFj0h9u9J" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
+   <TypeInfo>WMS.yunneiWCS.resMsgOfWms_outInStockRecord_V2_MesFj0h9u9J, Service References.yunneiWCS.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
+</GenericObjectDataSource>
\ No newline at end of file
diff --git a/WMS/WMS/Service References/yunneiWCS/item.xsd b/WMS/WMS/Service References/yunneiWCS/item.xsd
index 48fc241..ed070d1 100644
--- a/WMS/WMS/Service References/yunneiWCS/item.xsd
+++ b/WMS/WMS/Service References/yunneiWCS/item.xsd
@@ -144,10 +144,25 @@
       </xs:sequence>
     </xs:complexType>
   </xs:element>
-  <xs:element name="findPosition">
+  <xs:element name="findOutInStockRecord_V2_Mes">
     <xs:complexType>
       <xs:sequence>
         <xs:element xmlns:q16="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="page" nillable="true" type="q16:paging" />
+        <xs:element xmlns:q17="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="value" nillable="true" type="q17:Wms_outInStockRecord_V2_Mes" />
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+  <xs:element name="findOutInStockRecord_V2_MesResponse">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element xmlns:q18="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="findOutInStockRecord_V2_MesResult" nillable="true" type="q18:resMsgOfWms_outInStockRecord_V2_MesFj0h9u9J" />
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+  <xs:element name="findPosition">
+    <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 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" />
@@ -157,7 +172,7 @@
   <xs:element name="findPositionResponse">
     <xs:complexType>
       <xs:sequence>
-        <xs:element xmlns:q17="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="findPositionResult" nillable="true" type="q17:resMsgOfpositionFj0h9u9J" />
+        <xs:element xmlns:q20="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="findPositionResult" nillable="true" type="q20:resMsgOfpositionFj0h9u9J" />
       </xs:sequence>
     </xs:complexType>
   </xs:element>
@@ -171,7 +186,7 @@
   <xs:element name="findSinglePositionResponse">
     <xs:complexType>
       <xs:sequence>
-        <xs:element xmlns:q18="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="findSinglePositionResult" nillable="true" type="q18:resMsgOfpositionFj0h9u9J" />
+        <xs:element xmlns:q21="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="findSinglePositionResult" nillable="true" type="q21:resMsgOfpositionFj0h9u9J" />
       </xs:sequence>
     </xs:complexType>
   </xs:element>
@@ -185,7 +200,7 @@
   <xs:element name="safetySignalByPersonResponse">
     <xs:complexType>
       <xs:sequence>
-        <xs:element xmlns:q19="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="safetySignalByPersonResult" nillable="true" type="q19:resMsgOfstring" />
+        <xs:element xmlns:q22="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="safetySignalByPersonResult" nillable="true" type="q22:resMsgOfstring" />
       </xs:sequence>
     </xs:complexType>
   </xs:element>
@@ -208,7 +223,7 @@
   <xs:element name="findTask">
     <xs:complexType>
       <xs:sequence>
-        <xs:element xmlns:q20="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="page" nillable="true" type="q20:paging" />
+        <xs:element xmlns:q23="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="page" nillable="true" type="q23: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" />
@@ -222,14 +237,14 @@
   <xs:element name="findTaskResponse">
     <xs:complexType>
       <xs:sequence>
-        <xs:element xmlns:q21="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="findTaskResult" nillable="true" type="q21:resMsgOftaskFj0h9u9J" />
+        <xs:element xmlns:q24="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="findTaskResult" nillable="true" type="q24:resMsgOftaskFj0h9u9J" />
       </xs:sequence>
     </xs:complexType>
   </xs:element>
   <xs:element name="findRoleModule">
     <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 xmlns:q25="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="page" nillable="true" type="q25:paging" />
         <xs:element minOccurs="0" name="roleName" nillable="true" type="xs:string" />
       </xs:sequence>
     </xs:complexType>
@@ -237,7 +252,7 @@
   <xs:element name="findRoleModuleResponse">
     <xs:complexType>
       <xs:sequence>
-        <xs:element xmlns:q23="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="findRoleModuleResult" nillable="true" type="q23:resMsgOfroleVsModuleFj0h9u9J" />
+        <xs:element xmlns:q26="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="findRoleModuleResult" nillable="true" type="q26:resMsgOfroleVsModuleFj0h9u9J" />
       </xs:sequence>
     </xs:complexType>
   </xs:element>
@@ -258,15 +273,15 @@
   <xs:element name="findProductStock">
     <xs:complexType>
       <xs:sequence>
-        <xs:element xmlns:q24="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="page" nillable="true" type="q24:paging" />
-        <xs:element xmlns:q25="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="value" nillable="true" type="q25:VproductStock" />
+        <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:sequence>
     </xs:complexType>
   </xs:element>
   <xs:element name="findProductStockResponse">
     <xs:complexType>
       <xs:sequence>
-        <xs:element xmlns:q26="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="findProductStockResult" nillable="true" type="q26:resMsgOfVproductStockFj0h9u9J" />
+        <xs:element xmlns:q29="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="findProductStockResult" nillable="true" type="q29:resMsgOfVproductStockFj0h9u9J" />
       </xs:sequence>
     </xs:complexType>
   </xs:element>
@@ -278,7 +293,7 @@
   <xs:element name="findAllProductStockResponse">
     <xs:complexType>
       <xs:sequence>
-        <xs:element xmlns:q27="http://schemas.datacontract.org/2004/07/yunneiWCS" minOccurs="0" name="findAllProductStockResult" nillable="true" type="q27:ArrayOfMyVproductStock" />
+        <xs:element xmlns:q30="http://schemas.datacontract.org/2004/07/yunneiWCS" minOccurs="0" name="findAllProductStockResult" nillable="true" type="q30:ArrayOfMyVproductStock" />
       </xs:sequence>
     </xs:complexType>
   </xs:element>
@@ -292,7 +307,7 @@
   <xs:element name="findStockListResponse">
     <xs:complexType>
       <xs:sequence>
-        <xs:element xmlns:q28="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="findStockListResult" nillable="true" type="q28:resMsgOfproductStockListFj0h9u9J" />
+        <xs:element xmlns:q31="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="findStockListResult" nillable="true" type="q31:resMsgOfproductStockListFj0h9u9J" />
       </xs:sequence>
     </xs:complexType>
   </xs:element>
@@ -304,7 +319,7 @@
   <xs:element name="stationStatusResponse">
     <xs:complexType>
       <xs:sequence>
-        <xs:element xmlns:q29="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="stationStatusResult" nillable="true" type="q29:resMsgOfpositionFj0h9u9J" />
+        <xs:element xmlns:q32="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="stationStatusResult" nillable="true" type="q32:resMsgOfpositionFj0h9u9J" />
       </xs:sequence>
     </xs:complexType>
   </xs:element>
@@ -316,7 +331,7 @@
   <xs:element name="UpStationInfoResponse">
     <xs:complexType>
       <xs:sequence>
-        <xs:element xmlns:q30="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="UpStationInfoResult" nillable="true" type="q30:resMsgOfpositionFj0h9u9J" />
+        <xs:element xmlns:q33="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="UpStationInfoResult" nillable="true" type="q33:resMsgOfpositionFj0h9u9J" />
       </xs:sequence>
     </xs:complexType>
   </xs:element>
@@ -330,7 +345,7 @@
   <xs:element name="unlockPositionResponse">
     <xs:complexType>
       <xs:sequence>
-        <xs:element xmlns:q31="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="unlockPositionResult" nillable="true" type="q31:resMsgOfstring" />
+        <xs:element xmlns:q34="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="unlockPositionResult" nillable="true" type="q34:resMsgOfstring" />
       </xs:sequence>
     </xs:complexType>
   </xs:element>
@@ -347,7 +362,7 @@
   <xs:element name="unlockAndLockPositionResponse">
     <xs:complexType>
       <xs:sequence>
-        <xs:element xmlns:q32="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="unlockAndLockPositionResult" nillable="true" type="q32:resMsgOfstring" />
+        <xs:element xmlns:q35="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="unlockAndLockPositionResult" nillable="true" type="q35:resMsgOfstring" />
       </xs:sequence>
     </xs:complexType>
   </xs:element>
@@ -361,7 +376,7 @@
   <xs:element name="findTaskChildResponse">
     <xs:complexType>
       <xs:sequence>
-        <xs:element xmlns:q33="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="findTaskChildResult" nillable="true" type="q33:resMsgOftaskRecordFj0h9u9J" />
+        <xs:element xmlns:q36="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="findTaskChildResult" nillable="true" type="q36:resMsgOftaskRecordFj0h9u9J" />
       </xs:sequence>
     </xs:complexType>
   </xs:element>
@@ -373,7 +388,7 @@
   <xs:element name="findAgvInfoResponse">
     <xs:complexType>
       <xs:sequence>
-        <xs:element xmlns:q34="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="findAgvInfoResult" nillable="true" type="q34:ArrayOfstring" />
+        <xs:element xmlns:q37="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="findAgvInfoResult" nillable="true" type="q37:ArrayOfstring" />
       </xs:sequence>
     </xs:complexType>
   </xs:element>
@@ -421,7 +436,7 @@
   <xs:element name="TaskDisplayResponse">
     <xs:complexType>
       <xs:sequence>
-        <xs:element xmlns:q35="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="TaskDisplayResult" nillable="true" type="q35:resMsgOftaskFj0h9u9J" />
+        <xs:element xmlns:q38="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="TaskDisplayResult" nillable="true" type="q38:resMsgOftaskFj0h9u9J" />
       </xs:sequence>
     </xs:complexType>
   </xs:element>
@@ -464,7 +479,7 @@
   <xs:element name="getConvStatusResponse">
     <xs:complexType>
       <xs:sequence>
-        <xs:element xmlns:q36="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="getConvStatusResult" nillable="true" type="q36:ArrayOfconvEntity" />
+        <xs:element xmlns:q39="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="getConvStatusResult" nillable="true" type="q39:ArrayOfconvEntity" />
       </xs:sequence>
     </xs:complexType>
   </xs:element>
@@ -476,7 +491,7 @@
   <xs:element name="getSrmStatusResponse">
     <xs:complexType>
       <xs:sequence>
-        <xs:element xmlns:q37="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="getSrmStatusResult" nillable="true" type="q37:srmEntity" />
+        <xs:element xmlns:q40="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="getSrmStatusResult" nillable="true" type="q40:srmEntity" />
       </xs:sequence>
     </xs:complexType>
   </xs:element>
@@ -521,14 +536,14 @@
   <xs:element name="deleteProductResponse">
     <xs:complexType>
       <xs:sequence>
-        <xs:element xmlns:q38="http://schemas.datacontract.org/2004/07/yunneiWCS" minOccurs="0" name="deleteProductResult" nillable="true" type="q38:FunctionReturnEntityOfboolean" />
+        <xs:element xmlns:q41="http://schemas.datacontract.org/2004/07/yunneiWCS" minOccurs="0" name="deleteProductResult" nillable="true" type="q41:FunctionReturnEntityOfboolean" />
       </xs:sequence>
     </xs:complexType>
   </xs:element>
   <xs:element name="editPlace">
     <xs:complexType>
       <xs:sequence>
-        <xs:element xmlns:q39="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="place" nillable="true" type="q39:position" />
+        <xs:element xmlns:q42="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="place" nillable="true" type="q42:position" />
       </xs:sequence>
     </xs:complexType>
   </xs:element>
@@ -542,7 +557,7 @@
   <xs:element name="modfiyStockList">
     <xs:complexType>
       <xs:sequence>
-        <xs:element xmlns:q40="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="value" nillable="true" type="q40:ArrayOfproductStockList" />
+        <xs:element xmlns:q43="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="value" nillable="true" type="q43:ArrayOfproductStockList" />
         <xs:element minOccurs="0" name="taskId" type="xs:long" />
       </xs:sequence>
     </xs:complexType>
@@ -550,7 +565,7 @@
   <xs:element name="modfiyStockListResponse">
     <xs:complexType>
       <xs:sequence>
-        <xs:element xmlns:q41="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="modfiyStockListResult" nillable="true" type="q41:resMsgOfstring" />
+        <xs:element xmlns:q44="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="modfiyStockListResult" nillable="true" type="q44:resMsgOfstring" />
       </xs:sequence>
     </xs:complexType>
   </xs:element>
@@ -564,21 +579,35 @@
   <xs:element name="findInStockListResponse">
     <xs:complexType>
       <xs:sequence>
-        <xs:element xmlns:q42="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="findInStockListResult" nillable="true" type="q42:resMsgOfinStockOrderListFj0h9u9J" />
+        <xs:element xmlns:q45="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="findInStockListResult" nillable="true" type="q45:resMsgOfinStockOrderListFj0h9u9J" />
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+  <xs:element name="findOutInStockRecord_Details_V2_Mes">
+    <xs:complexType>
+      <xs:sequence>
+        <xs:element minOccurs="0" name="mainId" type="xs:long" />
+      </xs:sequence>
+    </xs:complexType>
+  </xs:element>
+  <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:sequence>
     </xs:complexType>
   </xs:element>
   <xs:element name="modfiyInStockList">
     <xs:complexType>
       <xs:sequence>
-        <xs:element xmlns:q43="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="value" nillable="true" type="q43:ArrayOfinStockOrderList" />
+        <xs:element xmlns:q47="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="value" nillable="true" type="q47:ArrayOfinStockOrderList" />
       </xs:sequence>
     </xs:complexType>
   </xs:element>
   <xs:element name="modfiyInStockListResponse">
     <xs:complexType>
       <xs:sequence>
-        <xs:element xmlns:q44="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="modfiyInStockListResult" nillable="true" type="q44:resMsgOfstring" />
+        <xs:element xmlns:q48="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="modfiyInStockListResult" nillable="true" type="q48:resMsgOfstring" />
       </xs:sequence>
     </xs:complexType>
   </xs:element>
@@ -592,7 +621,7 @@
   <xs:element name="deleteInStockResponse">
     <xs:complexType>
       <xs:sequence>
-        <xs:element xmlns:q45="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="deleteInStockResult" nillable="true" type="q45:resMsgOfstring" />
+        <xs:element xmlns:q49="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="deleteInStockResult" nillable="true" type="q49:resMsgOfstring" />
       </xs:sequence>
     </xs:complexType>
   </xs:element>
@@ -606,7 +635,7 @@
   <xs:element name="deleteTaskResponse">
     <xs:complexType>
       <xs:sequence>
-        <xs:element xmlns:q46="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="deleteTaskResult" nillable="true" type="q46:resMsgOfstring" />
+        <xs:element xmlns:q50="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="deleteTaskResult" nillable="true" type="q50:resMsgOfstring" />
       </xs:sequence>
     </xs:complexType>
   </xs:element>
@@ -622,14 +651,14 @@
   <xs:element name="forceCompleteTaskResponse">
     <xs:complexType>
       <xs:sequence>
-        <xs:element xmlns:q47="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="forceCompleteTaskResult" nillable="true" type="q47:resMsgOfstring" />
+        <xs:element xmlns:q51="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="forceCompleteTaskResult" nillable="true" type="q51:resMsgOfstring" />
       </xs:sequence>
     </xs:complexType>
   </xs:element>
   <xs:element name="getTakeRecord">
     <xs:complexType>
       <xs:sequence>
-        <xs:element xmlns:q48="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="page" nillable="true" type="q48:paging" />
+        <xs:element xmlns:q52="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="page" nillable="true" type="q52: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" />
@@ -639,37 +668,37 @@
   <xs:element name="getTakeRecordResponse">
     <xs:complexType>
       <xs:sequence>
-        <xs:element xmlns:q49="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="getTakeRecordResult" nillable="true" type="q49:resMsgOfoutInStockRecordFj0h9u9J" />
+        <xs:element xmlns:q53="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="getTakeRecordResult" nillable="true" type="q53:resMsgOfoutInStockRecordFj0h9u9J" />
       </xs:sequence>
     </xs:complexType>
   </xs:element>
   <xs:element name="getOutInStockRecord">
     <xs:complexType>
       <xs:sequence>
-        <xs:element xmlns:q50="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="page" nillable="true" type="q50:paging" />
-        <xs:element xmlns:q51="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="value" nillable="true" type="q51:Wms_outInStockRecord" />
+        <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:sequence>
     </xs:complexType>
   </xs:element>
   <xs:element name="getOutInStockRecordResponse">
     <xs:complexType>
       <xs:sequence>
-        <xs:element xmlns:q52="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="getOutInStockRecordResult" nillable="true" type="q52:resMsgOfWms_outInStockRecordFj0h9u9J" />
+        <xs:element xmlns:q56="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="getOutInStockRecordResult" nillable="true" type="q56:resMsgOfWms_outInStockRecordFj0h9u9J" />
       </xs:sequence>
     </xs:complexType>
   </xs:element>
   <xs:element name="getOutStockOrderNewVersion">
     <xs:complexType>
       <xs:sequence>
-        <xs:element xmlns:q53="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="page" nillable="true" type="q53:paging" />
-        <xs:element xmlns:q54="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="value" nillable="true" type="q54:v_outStockList" />
+        <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:sequence>
     </xs:complexType>
   </xs:element>
   <xs:element name="getOutStockOrderNewVersionResponse">
     <xs:complexType>
       <xs:sequence>
-        <xs:element xmlns:q55="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="getOutStockOrderNewVersionResult" nillable="true" type="q55:resMsgOfv_outStockListFj0h9u9J" />
+        <xs:element xmlns:q59="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="getOutStockOrderNewVersionResult" nillable="true" type="q59:resMsgOfv_outStockListFj0h9u9J" />
       </xs:sequence>
     </xs:complexType>
   </xs:element>
@@ -683,7 +712,7 @@
   <xs:element name="GetSelectListResponse">
     <xs:complexType>
       <xs:sequence>
-        <xs:element xmlns:q56="http://schemas.datacontract.org/2004/07/yunneiWCS" minOccurs="0" name="GetSelectListResult" nillable="true" type="q56:FunctionReturnEntityOfArrayOfstringuHEDJ7Dj" />
+        <xs:element xmlns:q60="http://schemas.datacontract.org/2004/07/yunneiWCS" minOccurs="0" name="GetSelectListResult" nillable="true" type="q60:FunctionReturnEntityOfArrayOfstringuHEDJ7Dj" />
       </xs:sequence>
     </xs:complexType>
   </xs:element>
@@ -698,7 +727,7 @@
   <xs:element name="GetEnumSelectListResponse">
     <xs:complexType>
       <xs:sequence>
-        <xs:element xmlns:q57="http://schemas.datacontract.org/2004/07/yunneiWCS" minOccurs="0" name="GetEnumSelectListResult" nillable="true" type="q57:FunctionReturnEntityOfArrayOfListItemoEEWxbQv" />
+        <xs:element xmlns:q61="http://schemas.datacontract.org/2004/07/yunneiWCS" minOccurs="0" name="GetEnumSelectListResult" nillable="true" type="q61:FunctionReturnEntityOfArrayOfListItemoEEWxbQv" />
       </xs:sequence>
     </xs:complexType>
   </xs:element>
@@ -715,7 +744,7 @@
   <xs:element name="CreateTaskForHandOutStoreResponse">
     <xs:complexType>
       <xs:sequence>
-        <xs:element xmlns:q58="http://schemas.datacontract.org/2004/07/yunneiWCS" minOccurs="0" name="CreateTaskForHandOutStoreResult" nillable="true" type="q58:FunctionReturnEntityOfstring" />
+        <xs:element xmlns:q62="http://schemas.datacontract.org/2004/07/yunneiWCS" minOccurs="0" name="CreateTaskForHandOutStoreResult" nillable="true" type="q62:FunctionReturnEntityOfstring" />
       </xs:sequence>
     </xs:complexType>
   </xs:element>
@@ -729,7 +758,7 @@
   <xs:element name="Trans_LoadMaterialConfirmResponse">
     <xs:complexType>
       <xs:sequence>
-        <xs:element xmlns:q59="http://schemas.datacontract.org/2004/07/yunneiWCS" minOccurs="0" name="Trans_LoadMaterialConfirmResult" nillable="true" type="q59:FunctionReturnEntityOfstring" />
+        <xs:element xmlns:q63="http://schemas.datacontract.org/2004/07/yunneiWCS" minOccurs="0" name="Trans_LoadMaterialConfirmResult" nillable="true" type="q63:FunctionReturnEntityOfstring" />
       </xs:sequence>
     </xs:complexType>
   </xs:element>
@@ -743,22 +772,22 @@
   <xs:element name="ClearGJJYResponse">
     <xs:complexType>
       <xs:sequence>
-        <xs:element xmlns:q60="http://schemas.datacontract.org/2004/07/yunneiWCS" minOccurs="0" name="ClearGJJYResult" nillable="true" type="q60:FunctionReturnEntityOfstring" />
+        <xs:element xmlns:q64="http://schemas.datacontract.org/2004/07/yunneiWCS" minOccurs="0" name="ClearGJJYResult" nillable="true" type="q64:FunctionReturnEntityOfstring" />
       </xs:sequence>
     </xs:complexType>
   </xs:element>
   <xs:element name="findStockClearLog">
     <xs:complexType>
       <xs:sequence>
-        <xs:element xmlns:q61="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="page" nillable="true" type="q61:paging" />
-        <xs:element xmlns:q62="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="value" nillable="true" type="q62:StockClearLog" />
+        <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:sequence>
     </xs:complexType>
   </xs:element>
   <xs:element name="findStockClearLogResponse">
     <xs:complexType>
       <xs:sequence>
-        <xs:element xmlns:q63="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="findStockClearLogResult" nillable="true" type="q63:resMsgOfStockClearLogFj0h9u9J" />
+        <xs:element xmlns:q67="http://schemas.datacontract.org/2004/07/yunneiWCS.EnumDefine" minOccurs="0" name="findStockClearLogResult" nillable="true" type="q67:resMsgOfStockClearLogFj0h9u9J" />
       </xs:sequence>
     </xs:complexType>
   </xs:element>
@@ -797,7 +826,7 @@
   <xs:element name="UpdateBasicDataSetForSupplierResponse">
     <xs:complexType>
       <xs:sequence>
-        <xs:element xmlns:q64="http://schemas.datacontract.org/2004/07/yunneiWCS" minOccurs="0" name="UpdateBasicDataSetForSupplierResult" nillable="true" type="q64:FunctionReturnEntityOfBasicDataSetFj0h9u9J" />
+        <xs:element xmlns:q68="http://schemas.datacontract.org/2004/07/yunneiWCS" minOccurs="0" name="UpdateBasicDataSetForSupplierResult" nillable="true" type="q68:FunctionReturnEntityOfBasicDataSetFj0h9u9J" />
       </xs:sequence>
     </xs:complexType>
   </xs:element>
@@ -812,7 +841,7 @@
   <xs:element name="UpdateBasicDataSetForStayMonthsResponse">
     <xs:complexType>
       <xs:sequence>
-        <xs:element xmlns:q65="http://schemas.datacontract.org/2004/07/yunneiWCS" minOccurs="0" name="UpdateBasicDataSetForStayMonthsResult" nillable="true" type="q65:FunctionReturnEntityOfBasicDataSetFj0h9u9J" />
+        <xs:element xmlns:q69="http://schemas.datacontract.org/2004/07/yunneiWCS" minOccurs="0" name="UpdateBasicDataSetForStayMonthsResult" nillable="true" type="q69:FunctionReturnEntityOfBasicDataSetFj0h9u9J" />
       </xs:sequence>
     </xs:complexType>
   </xs:element>
@@ -824,7 +853,7 @@
   <xs:element name="GetQueLiaoResponse">
     <xs:complexType>
       <xs:sequence>
-        <xs:element xmlns:q66="http://schemas.datacontract.org/2004/07/yunneiWCS" minOccurs="0" name="GetQueLiaoResult" nillable="true" type="q66:FunctionReturnEntityOftaskFj0h9u9J" />
+        <xs:element xmlns:q70="http://schemas.datacontract.org/2004/07/yunneiWCS" minOccurs="0" name="GetQueLiaoResult" nillable="true" type="q70:FunctionReturnEntityOftaskFj0h9u9J" />
       </xs:sequence>
     </xs:complexType>
   </xs:element>
@@ -848,7 +877,7 @@
   <xs:element name="CreateTaskIdResponse">
     <xs:complexType>
       <xs:sequence>
-        <xs:element xmlns:q67="http://schemas.datacontract.org/2004/07/yunneiWCS.Models" minOccurs="0" name="CreateTaskIdResult" nillable="true" type="q67:DeviceTaskNoEntity" />
+        <xs:element xmlns:q71="http://schemas.datacontract.org/2004/07/yunneiWCS.Models" minOccurs="0" name="CreateTaskIdResult" nillable="true" type="q71:DeviceTaskNoEntity" />
       </xs:sequence>
     </xs:complexType>
   </xs:element>
@@ -863,7 +892,7 @@
   <xs:element name="IssueTaskForPangLuGongWeiResponse">
     <xs:complexType>
       <xs:sequence>
-        <xs:element xmlns:q68="http://schemas.datacontract.org/2004/07/yunneiWCS" minOccurs="0" name="IssueTaskForPangLuGongWeiResult" nillable="true" type="q68:FunctionReturnEntityOfstring" />
+        <xs:element xmlns:q72="http://schemas.datacontract.org/2004/07/yunneiWCS" minOccurs="0" name="IssueTaskForPangLuGongWeiResult" nillable="true" type="q72: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 5c36266..1cb06cf 100644
--- a/WMS/WMS/Service References/yunneiWCS/item2.xsd
+++ b/WMS/WMS/Service References/yunneiWCS/item2.xsd
@@ -125,6 +125,40 @@
     </xs:sequence>
   </xs:complexType>
   <xs:element name="ArrayOfv_inStockOrder" nillable="true" type="tns:ArrayOfv_inStockOrder" />
+  <xs:complexType name="Wms_outInStockRecord_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="MesRet" nillable="true" type="xs:string" />
+      <xs:element minOccurs="0" name="Remark" nillable="true" type="xs:string" />
+      <xs:element minOccurs="0" name="SendToMesTime" nillable="true" type="xs:dateTime" />
+      <xs:element minOccurs="0" name="containerCode" nillable="true" type="xs:string" />
+      <xs:element minOccurs="0" name="isSendToMes" nillable="true" type="xs:int" />
+      <xs:element minOccurs="0" name="materialCode" nillable="true" type="xs:string" />
+      <xs:element minOccurs="0" name="materialName" nillable="true" type="xs:string" />
+      <xs:element minOccurs="0" name="outInFlag" nillable="true" type="xs:int" />
+      <xs:element minOccurs="0" name="outInFlagName" nillable="true" type="xs:string" />
+      <xs:element minOccurs="0" name="qty" nillable="true" type="xs:int" />
+      <xs:element minOccurs="0" name="sourcePlace" nillable="true" type="xs:string" />
+      <xs:element minOccurs="0" name="supplier" nillable="true" type="xs:string" />
+      <xs:element minOccurs="0" name="taskId" nillable="true" type="xs:string" />
+      <xs:element minOccurs="0" name="taskName" nillable="true" type="xs:string" />
+      <xs:element minOccurs="0" name="taskType" nillable="true" type="xs:int" />
+      <xs:element minOccurs="0" name="taskTypeName" nillable="true" type="xs:string" />
+      <xs:element minOccurs="0" name="toPlace" nillable="true" type="xs:string" />
+      <xs:element minOccurs="0" name="version" nillable="true" type="xs:string" />
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="Wms_outInStockRecord_V2_Mes" nillable="true" type="tns:Wms_outInStockRecord_V2_Mes" />
+  <xs:complexType name="ArrayOfWms_outInStockRecord_V2_Mes">
+    <xs:sequence>
+      <xs:element minOccurs="0" maxOccurs="unbounded" name="Wms_outInStockRecord_V2_Mes" nillable="true" type="tns:Wms_outInStockRecord_V2_Mes" />
+    </xs:sequence>
+  </xs:complexType>
+  <xs:element name="ArrayOfWms_outInStockRecord_V2_Mes" nillable="true" type="tns:ArrayOfWms_outInStockRecord_V2_Mes" />
   <xs:complexType name="ArrayOfposition">
     <xs:sequence>
       <xs:element minOccurs="0" maxOccurs="unbounded" name="position" nillable="true" type="tns:position" />
@@ -295,6 +329,27 @@
     </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 a4ce9a3..fe3a533 100644
--- a/WMS/WMS/Service References/yunneiWCS/item3.xsd
+++ b/WMS/WMS/Service References/yunneiWCS/item3.xsd
@@ -162,6 +162,27 @@
     </xs:sequence>
   </xs:complexType>
   <xs:element name="resMsgOfv_inStockOrderFj0h9u9J" nillable="true" type="tns:resMsgOfv_inStockOrderFj0h9u9J" />
+  <xs:complexType name="resMsgOfWms_outInStockRecord_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_V2_Mes" Namespace="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" />
+        </GenericType>
+      </xs:appinfo>
+    </xs:annotation>
+    <xs:sequence>
+      <xs:element xmlns:q22="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="date" nillable="true" type="q22:ArrayOfWms_outInStockRecord_V2_Mes" />
+      <xs:element xmlns:q23="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="dateAll" nillable="true" type="q23:ArrayOfWms_outInStockRecord_V2_Mes" />
+      <xs:element xmlns:q24="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="dateList" nillable="true" type="q24: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_V2_MesFj0h9u9J" nillable="true" type="tns:resMsgOfWms_outInStockRecord_V2_MesFj0h9u9J" />
   <xs:complexType name="resMsgOfpositionFj0h9u9J">
     <xs:annotation>
       <xs:appinfo>
@@ -171,9 +192,9 @@
       </xs:appinfo>
     </xs:annotation>
     <xs:sequence>
-      <xs:element xmlns:q22="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="date" nillable="true" type="q22:ArrayOfposition" />
-      <xs:element xmlns:q23="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="dateAll" nillable="true" type="q23:ArrayOfposition" />
-      <xs:element xmlns:q24="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="dateList" nillable="true" type="q24:ArrayOfstring" />
+      <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 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" />
@@ -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:ArrayOftask" />
-      <xs:element xmlns:q26="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="dateAll" nillable="true" type="q26:ArrayOftask" />
-      <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: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 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:ArrayOfroleVsModule" />
-      <xs:element xmlns:q29="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="dateAll" nillable="true" type="q29:ArrayOfroleVsModule" />
-      <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: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 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:ArrayOfVproductStock" />
-      <xs:element xmlns:q32="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="dateAll" nillable="true" type="q32:ArrayOfVproductStock" />
-      <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: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 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:ArrayOfproductStockList" />
-      <xs:element xmlns:q35="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="dateAll" nillable="true" type="q35:ArrayOfproductStockList" />
-      <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: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 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:ArrayOftaskRecord" />
-      <xs:element xmlns:q38="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="dateAll" nillable="true" type="q38:ArrayOftaskRecord" />
-      <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: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 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" />
@@ -333,9 +354,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:ArrayOfinStockOrderList" />
-      <xs:element xmlns:q41="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="dateAll" nillable="true" type="q41:ArrayOfinStockOrderList" />
-      <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: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" />
@@ -345,6 +366,27 @@
     </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: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" />
+      <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="resMsgOfoutInStockRecordFj0h9u9J">
     <xs:annotation>
       <xs:appinfo>
@@ -354,9 +396,9 @@
       </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:ArrayOfoutInStockRecord" />
-      <xs:element xmlns:q44="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="dateAll" nillable="true" type="q44:ArrayOfoutInStockRecord" />
-      <xs:element xmlns:q45="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="dateList" nillable="true" type="q45:ArrayOfstring" />
+      <xs:element xmlns:q49="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="date" nillable="true" type="q49:ArrayOfoutInStockRecord" />
+      <xs:element xmlns:q50="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="dateAll" nillable="true" type="q50:ArrayOfoutInStockRecord" />
+      <xs:element xmlns:q51="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="dateList" nillable="true" type="q51: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" />
@@ -375,9 +417,9 @@
       </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" />
-      <xs:element xmlns:q47="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="dateAll" nillable="true" type="q47:ArrayOfWms_outInStockRecord" />
-      <xs:element xmlns:q48="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="dateList" nillable="true" type="q48:ArrayOfstring" />
+      <xs:element xmlns:q52="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="date" nillable="true" type="q52:ArrayOfWms_outInStockRecord" />
+      <xs:element xmlns:q53="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="dateAll" nillable="true" type="q53:ArrayOfWms_outInStockRecord" />
+      <xs:element xmlns:q54="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="dateList" nillable="true" type="q54: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" />
@@ -396,9 +438,9 @@
       </xs:appinfo>
     </xs:annotation>
     <xs:sequence>
-      <xs:element xmlns:q49="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="date" nillable="true" type="q49:ArrayOfv_outStockList" />
-      <xs:element xmlns:q50="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="dateAll" nillable="true" type="q50:ArrayOfv_outStockList" />
-      <xs:element xmlns:q51="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="dateList" nillable="true" type="q51:ArrayOfstring" />
+      <xs:element xmlns:q55="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="date" nillable="true" type="q55:ArrayOfv_outStockList" />
+      <xs:element xmlns:q56="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="dateAll" nillable="true" type="q56:ArrayOfv_outStockList" />
+      <xs:element xmlns:q57="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="dateList" nillable="true" type="q57: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" />
@@ -417,9 +459,9 @@
       </xs:appinfo>
     </xs:annotation>
     <xs:sequence>
-      <xs:element xmlns:q52="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="date" nillable="true" type="q52:ArrayOfStockClearLog" />
-      <xs:element xmlns:q53="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="dateAll" nillable="true" type="q53:ArrayOfStockClearLog" />
-      <xs:element xmlns:q54="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="dateList" nillable="true" type="q54:ArrayOfstring" />
+      <xs:element xmlns:q58="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="date" nillable="true" type="q58:ArrayOfStockClearLog" />
+      <xs:element xmlns:q59="http://schemas.datacontract.org/2004/07/yunneiWCS.ORM" minOccurs="0" name="dateAll" nillable="true" type="q59:ArrayOfStockClearLog" />
+      <xs:element xmlns:q60="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="dateList" nillable="true" type="q60: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" />
diff --git a/WMS/WMS/Service References/yunneiWCS/yunneiWcf.wsdl b/WMS/WMS/Service References/yunneiWCS/yunneiWcf.wsdl
index 3212a3e..72647a0 100644
--- a/WMS/WMS/Service References/yunneiWCS/yunneiWcf.wsdl
+++ b/WMS/WMS/Service References/yunneiWCS/yunneiWcf.wsdl
@@ -65,6 +65,12 @@
   <wsdl:message name="IyunneiWcf_findInStockNewVersion_OutputMessage">
     <wsdl:part name="parameters" element="tns:findInStockNewVersionResponse" />
   </wsdl:message>
+  <wsdl:message name="IyunneiWcf_findOutInStockRecord_V2_Mes_InputMessage">
+    <wsdl:part name="parameters" element="tns:findOutInStockRecord_V2_Mes" />
+  </wsdl:message>
+  <wsdl:message name="IyunneiWcf_findOutInStockRecord_V2_Mes_OutputMessage">
+    <wsdl:part name="parameters" element="tns:findOutInStockRecord_V2_MesResponse" />
+  </wsdl:message>
   <wsdl:message name="IyunneiWcf_findPosition_InputMessage">
     <wsdl:part name="parameters" element="tns:findPosition" />
   </wsdl:message>
@@ -245,6 +251,12 @@
   <wsdl:message name="IyunneiWcf_findInStockList_OutputMessage">
     <wsdl:part name="parameters" element="tns:findInStockListResponse" />
   </wsdl:message>
+  <wsdl:message name="IyunneiWcf_findOutInStockRecord_Details_V2_Mes_InputMessage">
+    <wsdl:part name="parameters" element="tns:findOutInStockRecord_Details_V2_Mes" />
+  </wsdl:message>
+  <wsdl:message name="IyunneiWcf_findOutInStockRecord_Details_V2_Mes_OutputMessage">
+    <wsdl:part name="parameters" element="tns:findOutInStockRecord_Details_V2_MesResponse" />
+  </wsdl:message>
   <wsdl:message name="IyunneiWcf_modfiyInStockList_InputMessage">
     <wsdl:part name="parameters" element="tns:modfiyInStockList" />
   </wsdl:message>
@@ -408,6 +420,10 @@
       <wsdl:input wsaw:Action="http://tempuri.org/IyunneiWcf/findInStockNewVersion" message="tns:IyunneiWcf_findInStockNewVersion_InputMessage" />
       <wsdl:output wsaw:Action="http://tempuri.org/IyunneiWcf/findInStockNewVersionResponse" message="tns:IyunneiWcf_findInStockNewVersion_OutputMessage" />
     </wsdl:operation>
+    <wsdl:operation name="findOutInStockRecord_V2_Mes">
+      <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="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" />
@@ -527,6 +543,10 @@
     <wsdl:operation name="findInStockList">
       <wsdl:input wsaw:Action="http://tempuri.org/IyunneiWcf/findInStockList" message="tns:IyunneiWcf_findInStockList_InputMessage" />
       <wsdl:output wsaw:Action="http://tempuri.org/IyunneiWcf/findInStockListResponse" message="tns:IyunneiWcf_findInStockList_OutputMessage" />
+    </wsdl:operation>
+    <wsdl:operation name="findOutInStockRecord_Details_V2_Mes">
+      <wsdl:input wsaw:Action="http://tempuri.org/IyunneiWcf/findOutInStockRecord_Details_V2_Mes" message="tns:IyunneiWcf_findOutInStockRecord_Details_V2_Mes_InputMessage" />
+      <wsdl:output wsaw:Action="http://tempuri.org/IyunneiWcf/findOutInStockRecord_Details_V2_MesResponse" message="tns:IyunneiWcf_findOutInStockRecord_Details_V2_Mes_OutputMessage" />
     </wsdl:operation>
     <wsdl:operation name="modfiyInStockList">
       <wsdl:input wsaw:Action="http://tempuri.org/IyunneiWcf/modfiyInStockList" message="tns:IyunneiWcf_modfiyInStockList_InputMessage" />
@@ -689,6 +709,15 @@
     </wsdl:operation>
     <wsdl:operation name="findInStockNewVersion">
       <soap:operation soapAction="http://tempuri.org/IyunneiWcf/findInStockNewVersion" style="document" />
+      <wsdl:input>
+        <soap:body use="literal" />
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal" />
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="findOutInStockRecord_V2_Mes">
+      <soap:operation soapAction="http://tempuri.org/IyunneiWcf/findOutInStockRecord_V2_Mes" style="document" />
       <wsdl:input>
         <soap:body use="literal" />
       </wsdl:input>
@@ -966,6 +995,15 @@
         <soap:body use="literal" />
       </wsdl:output>
     </wsdl:operation>
+    <wsdl:operation name="findOutInStockRecord_Details_V2_Mes">
+      <soap:operation soapAction="http://tempuri.org/IyunneiWcf/findOutInStockRecord_Details_V2_Mes" style="document" />
+      <wsdl:input>
+        <soap:body use="literal" />
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal" />
+      </wsdl:output>
+    </wsdl:operation>
     <wsdl:operation name="modfiyInStockList">
       <soap:operation soapAction="http://tempuri.org/IyunneiWcf/modfiyInStockList" style="document" />
       <wsdl:input>
diff --git a/WMS/WMS/UI/SynthesizeQuery/FrmDialog/FrmPVClist.cs b/WMS/WMS/UI/SynthesizeQuery/FrmDialog/FrmPVClist.cs
index bf92b10..b4de099 100644
--- a/WMS/WMS/UI/SynthesizeQuery/FrmDialog/FrmPVClist.cs
+++ b/WMS/WMS/UI/SynthesizeQuery/FrmDialog/FrmPVClist.cs
@@ -19,23 +19,37 @@
         /// 
         /// </summary>
         /// <param name="positionNames"></param>
-        /// <param name="place">1=搴撳瓨鏌ヨ,2=鍏ュ簱鍗�</param>
-        public FrmPVClist(string positionNames,int place)
+        /// <param name="place">1=搴撳瓨鏌ヨ,2=鍏ュ簱鍗曪紝3=鎺ㄩ�丮ES璇︽儏</param>
+        public FrmPVClist(string positionNames, int place,long mainId)
         {
             InitializeComponent();
             this.dataGridView1.AutoGenerateColumns = false;
             this.Text = positionNames;
-            getData(positionNames, place);
+            getData(positionNames, place, mainId);
 
         }
-        private void getData(string positionNames, int place)
+        private void getData(string positionNames, int place, long mainId)
         {
             try
             {
-               
-                if (place==1)
+
+                if (place == 1)
                 {
-                   var  res = FLogin.wcsWcf.findStockList(positionNames);
+                    var res = FLogin.wcsWcf.findStockList(positionNames);
+                    if (res.status == 200)
+                    {
+                        dataGridView1.DataSource = res.date;
+
+                    }
+                    else
+                    {
+                        WMS.EnumDefine.messages ms = new WMS.EnumDefine.messages(2, res.msg);
+                        ms.Show();
+                    }
+                }
+                else if(place == 3)
+                {
+                    var res = FLogin.wcsWcf.findOutInStockRecord_Details_V2_Mes(mainId);
                     if (res.status == 200)
                     {
                         dataGridView1.DataSource = res.date;
@@ -61,14 +75,14 @@
                         ms.Show();
                     }
                 }
-                
-            
+
+
             }
             catch (Exception)
             {
 
             }
-        
+
         }
 
         private void FrmPVClist_FormClosing(object sender, FormClosingEventArgs e)
@@ -78,14 +92,14 @@
                 preview.newform.Remove(this.Text);
             }
         }
-    
+
 
         private void button_confirm_Click(object sender, EventArgs e)
         {
-           
+
             try
             {
-                if (this.Text.Substring(0, 1) == "G"&&this.Text.Length>4)//淇濆瓨鍏ュ簱鏄庣粏
+                if (this.Text.Substring(0, 1) == "G" && this.Text.Length > 4)//淇濆瓨鍏ュ簱鏄庣粏
                 {
 
                     WMS.yunneiWCS.inStockOrderList[] modifyStockList = (WMS.yunneiWCS.inStockOrderList[])dataGridView1.DataSource;
@@ -97,12 +111,12 @@
                     {
                         this.Close();
                     }
-                
+
                 }
                 else//淇濆瓨搴撳瓨鏄庣粏
                 {
                     WMS.yunneiWCS.productStockList[] modifyStockList = (WMS.yunneiWCS.productStockList[])dataGridView1.DataSource;
-                    var res = FLogin.wcsWcf.modfiyStockList(modifyStockList,0);
+                    var res = FLogin.wcsWcf.modfiyStockList(modifyStockList, 0);
                     int statu = res.status == 200 ? 1 : 2;
                     WMS.EnumDefine.messages ms = new WMS.EnumDefine.messages(statu, res.msg);
                     ms.Show();
@@ -111,9 +125,9 @@
                         this.Close();
                     }
                 }
-               
-               
-               
+
+
+
             }
             catch (Exception)
             {
@@ -132,7 +146,7 @@
             {
                 if (dataGridView1.Columns[e.ColumnIndex].Name == "delete")
                 {
-                    if (this.Text.Substring(0,1)=="G"&&this.Text.Length>4)//鍏ュ簱鍗曚慨鏀�
+                    if (this.Text.Substring(0, 1) == "G" && this.Text.Length > 4)//鍏ュ簱鍗曚慨鏀�
                     {
                         WMS.yunneiWCS.inStockOrderList[] modifyStockList = (WMS.yunneiWCS.inStockOrderList[])dataGridView1.DataSource;
                         var modfiy = modifyStockList.ToList();
@@ -148,10 +162,10 @@
                         dataGridView1.DataSource = null;
                         dataGridView1.DataSource = modfiy.ToArray();
                     }
-                   
-                   
+
+
                 }
-              
+
             }
             catch (Exception ex)
             {
@@ -168,7 +182,7 @@
 
             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);
- 
+
         }
     }
 }
diff --git a/WMS/WMS/UI/SynthesizeQuery/FrmMes.Designer.cs b/WMS/WMS/UI/SynthesizeQuery/FrmMes.Designer.cs
new file mode 100644
index 0000000..1cb2e24
--- /dev/null
+++ b/WMS/WMS/UI/SynthesizeQuery/FrmMes.Designer.cs
@@ -0,0 +1,709 @@
+锘縩amespace WMS.UI.WORK
+{
+    partial class FrmMes
+    {
+        /// <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(FrmMes));
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
+            this.toolStripLabel5 = new System.Windows.Forms.ToolStripLabel();
+            this.toolStripTextBox1 = new System.Windows.Forms.ToolStripTextBox();
+            this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel();
+            this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
+            this.toolStripComboBox1 = new System.Windows.Forms.ToolStripComboBox();
+            this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
+            this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator();
+            this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();
+            this.bindingNavigator1 = new System.Windows.Forms.BindingNavigator(this.components);
+            this.toolStripLabel4 = new System.Windows.Forms.ToolStripLabel();
+            this.toolStripLabel3 = new System.Windows.Forms.ToolStripLabel();
+            this.splitContainer2 = new System.Windows.Forms.SplitContainer();
+            this.panel2 = new System.Windows.Forms.Panel();
+            this.dataGridView1 = new System.Windows.Forms.DataGridView();
+            this.splitContainer1 = new System.Windows.Forms.SplitContainer();
+            this.panel1 = new System.Windows.Forms.Panel();
+            this.uiComboBox_status = new Sunny.UI.UIComboBox();
+            this.uiTextBox_toPlace = new Sunny.UI.UITextBox();
+            this.uiTextBox_sourcePlace = new Sunny.UI.UITextBox();
+            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.uiComboBox_version = new Sunny.UI.UIComboBox();
+            this.uiTextBox_containerCode = new Sunny.UI.UITextBox();
+            this.uiTextBox_supplier = new Sunny.UI.UITextBox();
+            this.btnFind = new System.Windows.Forms.Button();
+            this.btnReset = new System.Windows.Forms.Button();
+            this.label1 = new System.Windows.Forms.Label();
+            this.ID = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.productCode = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.productName = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.supplier = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.containerCode = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.qty = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.createDate = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.isSendToMes = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.澶囨敞 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.MES杩斿洖 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.鎺ㄩ�佹椂闂� = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.edit = new System.Windows.Forms.DataGridViewButtonColumn();
+            ((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).BeginInit();
+            this.bindingNavigator1.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.splitContainer1)).BeginInit();
+            this.splitContainer1.Panel1.SuspendLayout();
+            this.splitContainer1.Panel2.SuspendLayout();
+            this.splitContainer1.SuspendLayout();
+            this.panel1.SuspendLayout();
+            this.SuspendLayout();
+            // 
+            // toolStripLabel5
+            // 
+            this.toolStripLabel5.Name = "toolStripLabel5";
+            this.toolStripLabel5.Size = new System.Drawing.Size(13, 34);
+            this.toolStripLabel5.Text = "/";
+            // 
+            // toolStripTextBox1
+            // 
+            this.toolStripTextBox1.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F);
+            this.toolStripTextBox1.Name = "toolStripTextBox1";
+            this.toolStripTextBox1.Size = new System.Drawing.Size(38, 37);
+            this.toolStripTextBox1.Text = "1";
+            this.toolStripTextBox1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.toolStripTextBox1_KeyDown);
+            // 
+            // toolStripLabel2
+            // 
+            this.toolStripLabel2.BackColor = System.Drawing.Color.DodgerBlue;
+            this.toolStripLabel2.Name = "toolStripLabel2";
+            this.toolStripLabel2.Size = new System.Drawing.Size(44, 34);
+            this.toolStripLabel2.Text = "涓嬩竴椤�";
+            this.toolStripLabel2.Click += new System.EventHandler(this.toolStripLabel2_Click);
+            // 
+            // toolStripLabel1
+            // 
+            this.toolStripLabel1.Name = "toolStripLabel1";
+            this.toolStripLabel1.Size = new System.Drawing.Size(44, 34);
+            this.toolStripLabel1.Text = "涓婁竴椤�";
+            this.toolStripLabel1.Click += new System.EventHandler(this.toolStripLabel1_Click);
+            // 
+            // 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, 37);
+            this.toolStripComboBox1.Text = "姣忛〉10鏉�";
+            this.toolStripComboBox1.SelectedIndexChanged += new System.EventHandler(this.toolStripComboBox1_SelectedIndexChanged);
+            // 
+            // bindingNavigatorSeparator2
+            // 
+            this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
+            this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 37);
+            // 
+            // bindingNavigatorSeparator1
+            // 
+            this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
+            this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 37);
+            // 
+            // bindingNavigatorSeparator
+            // 
+            this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
+            this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 37);
+            // 
+            // 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(1443, 37);
+            this.bindingNavigator1.TabIndex = 0;
+            this.bindingNavigator1.Text = "bindingNavigator1";
+            // 
+            // toolStripLabel4
+            // 
+            this.toolStripLabel4.Image = ((System.Drawing.Image)(resources.GetObject("toolStripLabel4.Image")));
+            this.toolStripLabel4.Name = "toolStripLabel4";
+            this.toolStripLabel4.Size = new System.Drawing.Size(20, 34);
+            this.toolStripLabel4.Click += new System.EventHandler(this.toolStripLabel4_Click);
+            // 
+            // toolStripLabel3
+            // 
+            this.toolStripLabel3.Image = ((System.Drawing.Image)(resources.GetObject("toolStripLabel3.Image")));
+            this.toolStripLabel3.Name = "toolStripLabel3";
+            this.toolStripLabel3.Size = new System.Drawing.Size(20, 34);
+            this.toolStripLabel3.Click += new System.EventHandler(this.toolStripLabel3_Click);
+            // 
+            // 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(1443, 448);
+            this.splitContainer2.SplitterDistance = 408;
+            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(1443, 408);
+            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;
+            dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
+            dataGridViewCellStyle1.Font = new System.Drawing.Font("瀹嬩綋", 16.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
+            dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
+            this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+            this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
+            this.ID,
+            this.Column1,
+            this.Column2,
+            this.productCode,
+            this.productName,
+            this.Column3,
+            this.supplier,
+            this.containerCode,
+            this.qty,
+            this.createDate,
+            this.isSendToMes,
+            this.澶囨敞,
+            this.MES杩斿洖,
+            this.鎺ㄩ�佹椂闂�,
+            this.edit});
+            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(1443, 408);
+            this.dataGridView1.TabIndex = 0;
+            this.dataGridView1.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellContentClick);
+            this.dataGridView1.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.dataGridView1_CellFormatting);
+            this.dataGridView1.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dataGridView1_RowPostPaint);
+            // 
+            // 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(1443, 501);
+            this.splitContainer1.SplitterWidth = 3;
+            this.splitContainer1.TabIndex = 4;
+            // 
+            // panel1
+            // 
+            this.panel1.BackColor = System.Drawing.Color.DarkSeaGreen;
+            this.panel1.Controls.Add(this.uiComboBox_status);
+            this.panel1.Controls.Add(this.uiTextBox_toPlace);
+            this.panel1.Controls.Add(this.uiTextBox_sourcePlace);
+            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.uiComboBox_version);
+            this.panel1.Controls.Add(this.uiTextBox_containerCode);
+            this.panel1.Controls.Add(this.uiTextBox_supplier);
+            this.panel1.Controls.Add(this.btnFind);
+            this.panel1.Controls.Add(this.btnReset);
+            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(1443, 40);
+            this.panel1.TabIndex = 1;
+            // 
+            // uiComboBox_status
+            // 
+            this.uiComboBox_status.DataSource = null;
+            this.uiComboBox_status.FillColor = System.Drawing.Color.White;
+            this.uiComboBox_status.Font = new System.Drawing.Font("寰蒋闆呴粦", 9F);
+            this.uiComboBox_status.Location = new System.Drawing.Point(1285, 6);
+            this.uiComboBox_status.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+            this.uiComboBox_status.MinimumSize = new System.Drawing.Size(47, 0);
+            this.uiComboBox_status.Name = "uiComboBox_status";
+            this.uiComboBox_status.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
+            this.uiComboBox_status.Size = new System.Drawing.Size(126, 27);
+            this.uiComboBox_status.TabIndex = 100;
+            this.uiComboBox_status.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.uiComboBox_status.Watermark = "浠诲姟鐘舵��";
+            // 
+            // uiTextBox_toPlace
+            // 
+            this.uiTextBox_toPlace.ButtonSymbol = 61761;
+            this.uiTextBox_toPlace.ButtonWidth = 100;
+            this.uiTextBox_toPlace.CanEmpty = true;
+            this.uiTextBox_toPlace.Cursor = System.Windows.Forms.Cursors.IBeam;
+            this.uiTextBox_toPlace.FillColor = System.Drawing.Color.White;
+            this.uiTextBox_toPlace.Font = new System.Drawing.Font("寰蒋闆呴粦", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiTextBox_toPlace.Location = new System.Drawing.Point(235, 6);
+            this.uiTextBox_toPlace.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+            this.uiTextBox_toPlace.Maximum = 2147483647D;
+            this.uiTextBox_toPlace.Minimum = -2147483648D;
+            this.uiTextBox_toPlace.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiTextBox_toPlace.Name = "uiTextBox_toPlace";
+            this.uiTextBox_toPlace.Padding = new System.Windows.Forms.Padding(4);
+            this.uiTextBox_toPlace.Size = new System.Drawing.Size(98, 27);
+            this.uiTextBox_toPlace.TabIndex = 99;
+            this.uiTextBox_toPlace.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.uiTextBox_toPlace.Watermark = "鐩爣鐐�";
+            // 
+            // uiTextBox_sourcePlace
+            // 
+            this.uiTextBox_sourcePlace.ButtonSymbol = 61761;
+            this.uiTextBox_sourcePlace.ButtonWidth = 100;
+            this.uiTextBox_sourcePlace.CanEmpty = true;
+            this.uiTextBox_sourcePlace.Cursor = System.Windows.Forms.Cursors.IBeam;
+            this.uiTextBox_sourcePlace.FillColor = System.Drawing.Color.White;
+            this.uiTextBox_sourcePlace.Font = new System.Drawing.Font("寰蒋闆呴粦", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiTextBox_sourcePlace.Location = new System.Drawing.Point(131, 6);
+            this.uiTextBox_sourcePlace.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+            this.uiTextBox_sourcePlace.Maximum = 2147483647D;
+            this.uiTextBox_sourcePlace.Minimum = -2147483648D;
+            this.uiTextBox_sourcePlace.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiTextBox_sourcePlace.Name = "uiTextBox_sourcePlace";
+            this.uiTextBox_sourcePlace.Padding = new System.Windows.Forms.Padding(4);
+            this.uiTextBox_sourcePlace.Size = new System.Drawing.Size(98, 27);
+            this.uiTextBox_sourcePlace.TabIndex = 98;
+            this.uiTextBox_sourcePlace.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.uiTextBox_sourcePlace.Watermark = "璧风偣";
+            // 
+            // 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, 6);
+            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 = 95;
+            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, 6);
+            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 = 94;
+            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, 6);
+            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 = 93;
+            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, 6);
+            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 = 92;
+            this.uiComboBox_materialName.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.uiComboBox_materialName.Watermark = "鐗╂枡鍚嶇О";
+            // 
+            // uiComboBox_version
+            // 
+            this.uiComboBox_version.DataSource = null;
+            this.uiComboBox_version.FillColor = System.Drawing.Color.White;
+            this.uiComboBox_version.Font = new System.Drawing.Font("寰蒋闆呴粦", 9F);
+            this.uiComboBox_version.Location = new System.Drawing.Point(340, 6);
+            this.uiComboBox_version.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.uiComboBox_version.MinimumSize = new System.Drawing.Size(63, 0);
+            this.uiComboBox_version.Name = "uiComboBox_version";
+            this.uiComboBox_version.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
+            this.uiComboBox_version.Size = new System.Drawing.Size(98, 27);
+            this.uiComboBox_version.TabIndex = 88;
+            this.uiComboBox_version.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.uiComboBox_version.Watermark = "鏈哄瀷";
+            // 
+            // 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(835, 6);
+            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 = 90;
+            this.uiTextBox_containerCode.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.uiTextBox_containerCode.Watermark = "鎵樼洏鍙�";
+            // 
+            // uiTextBox_supplier
+            // 
+            this.uiTextBox_supplier.ButtonSymbol = 61761;
+            this.uiTextBox_supplier.ButtonWidth = 100;
+            this.uiTextBox_supplier.CanEmpty = true;
+            this.uiTextBox_supplier.Cursor = System.Windows.Forms.Cursors.IBeam;
+            this.uiTextBox_supplier.FillColor = System.Drawing.Color.White;
+            this.uiTextBox_supplier.Font = new System.Drawing.Font("寰蒋闆呴粦", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiTextBox_supplier.Location = new System.Drawing.Point(719, 6);
+            this.uiTextBox_supplier.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.uiTextBox_supplier.Maximum = 2147483647D;
+            this.uiTextBox_supplier.Minimum = -2147483648D;
+            this.uiTextBox_supplier.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiTextBox_supplier.Name = "uiTextBox_supplier";
+            this.uiTextBox_supplier.Padding = new System.Windows.Forms.Padding(5);
+            this.uiTextBox_supplier.Size = new System.Drawing.Size(101, 27);
+            this.uiTextBox_supplier.TabIndex = 91;
+            this.uiTextBox_supplier.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
+            this.uiTextBox_supplier.Watermark = "渚涘簲鍟�";
+            // 
+            // btnFind
+            // 
+            this.btnFind.BackColor = System.Drawing.Color.DarkSeaGreen;
+            this.btnFind.BackgroundImage = global::WMS.Properties.Resources.search;
+            this.btnFind.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+            this.btnFind.Location = new System.Drawing.Point(1481, 2);
+            this.btnFind.Margin = new System.Windows.Forms.Padding(2);
+            this.btnFind.Name = "btnFind";
+            this.btnFind.Size = new System.Drawing.Size(44, 34);
+            this.btnFind.TabIndex = 12;
+            this.btnFind.UseVisualStyleBackColor = false;
+            this.btnFind.Click += new System.EventHandler(this.btnFind_Click);
+            // 
+            // btnReset
+            // 
+            this.btnReset.BackColor = System.Drawing.Color.DarkSeaGreen;
+            this.btnReset.BackgroundImage = global::WMS.Properties.Resources.閲嶇疆__1_;
+            this.btnReset.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+            this.btnReset.Location = new System.Drawing.Point(1427, 2);
+            this.btnReset.Margin = new System.Windows.Forms.Padding(2);
+            this.btnReset.Name = "btnReset";
+            this.btnReset.Size = new System.Drawing.Size(44, 34);
+            this.btnReset.TabIndex = 13;
+            this.btnReset.UseVisualStyleBackColor = false;
+            this.btnReset.Click += new System.EventHandler(this.btnReset_Click);
+            // 
+            // 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(10, 9);
+            this.label1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+            this.label1.Name = "label1";
+            this.label1.Size = new System.Drawing.Size(124, 24);
+            this.label1.TabIndex = 3;
+            this.label1.Text = "MES鍑哄叆搴�";
+            // 
+            // ID
+            // 
+            this.ID.DataPropertyName = "ID";
+            this.ID.FillWeight = 103.2058F;
+            this.ID.HeaderText = "ID";
+            this.ID.Name = "ID";
+            this.ID.ReadOnly = true;
+            this.ID.Visible = false;
+            // 
+            // Column1
+            // 
+            this.Column1.DataPropertyName = "outInFlagName";
+            this.Column1.HeaderText = "绫诲瀷";
+            this.Column1.Name = "Column1";
+            // 
+            // Column2
+            // 
+            this.Column2.DataPropertyName = "sourcePlace";
+            this.Column2.HeaderText = "搴撲綅";
+            this.Column2.Name = "Column2";
+            // 
+            // productCode
+            // 
+            this.productCode.DataPropertyName = "materialCode";
+            this.productCode.FillWeight = 142.132F;
+            this.productCode.HeaderText = "鐗╂枡缂栫爜";
+            this.productCode.Name = "productCode";
+            this.productCode.ReadOnly = true;
+            // 
+            // productName
+            // 
+            this.productName.DataPropertyName = "materialName";
+            this.productName.FillWeight = 103.2058F;
+            this.productName.HeaderText = "鐗╂枡鍚嶇О";
+            this.productName.Name = "productName";
+            this.productName.ReadOnly = true;
+            // 
+            // Column3
+            // 
+            this.Column3.DataPropertyName = "version";
+            this.Column3.HeaderText = "鏈哄瀷";
+            this.Column3.Name = "Column3";
+            // 
+            // supplier
+            // 
+            this.supplier.DataPropertyName = "supplier";
+            this.supplier.HeaderText = "渚涘簲鍟�";
+            this.supplier.Name = "supplier";
+            // 
+            // containerCode
+            // 
+            this.containerCode.DataPropertyName = "containerCode";
+            this.containerCode.HeaderText = "鎵樼洏鍙�";
+            this.containerCode.Name = "containerCode";
+            // 
+            // qty
+            // 
+            this.qty.DataPropertyName = "qty";
+            this.qty.FillWeight = 103.2058F;
+            this.qty.HeaderText = "鏁伴噺";
+            this.qty.Name = "qty";
+            this.qty.ReadOnly = true;
+            // 
+            // createDate
+            // 
+            this.createDate.DataPropertyName = "CreateTime";
+            this.createDate.FillWeight = 103.2058F;
+            this.createDate.HeaderText = "鍒涘缓鏃堕棿";
+            this.createDate.Name = "createDate";
+            this.createDate.ReadOnly = true;
+            // 
+            // isSendToMes
+            // 
+            this.isSendToMes.DataPropertyName = "isSendToMes";
+            this.isSendToMes.FillWeight = 103.2058F;
+            this.isSendToMes.HeaderText = "鏄惁鍙戦��";
+            this.isSendToMes.Name = "isSendToMes";
+            this.isSendToMes.ReadOnly = true;
+            // 
+            // 澶囨敞
+            // 
+            this.澶囨敞.DataPropertyName = "Remark";
+            this.澶囨敞.HeaderText = "澶囨敞";
+            this.澶囨敞.Name = "澶囨敞";
+            // 
+            // MES杩斿洖
+            // 
+            this.MES杩斿洖.DataPropertyName = "MesRet";
+            this.MES杩斿洖.HeaderText = "MES杩斿洖";
+            this.MES杩斿洖.Name = "MES杩斿洖";
+            // 
+            // 鎺ㄩ�佹椂闂�
+            // 
+            this.鎺ㄩ�佹椂闂�.DataPropertyName = "SendToMesTime";
+            this.鎺ㄩ�佹椂闂�.HeaderText = "鎺ㄩ�佹椂闂�";
+            this.鎺ㄩ�佹椂闂�.Name = "鎺ㄩ�佹椂闂�";
+            // 
+            // edit
+            // 
+            this.edit.HeaderText = "鎿嶄綔";
+            this.edit.Name = "edit";
+            this.edit.Text = "鏄庣粏";
+            this.edit.UseColumnTextForButtonValue = true;
+            // 
+            // FrmMes
+            // 
+            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.ClientSize = new System.Drawing.Size(1443, 501);
+            this.Controls.Add(this.splitContainer1);
+            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
+            this.Margin = new System.Windows.Forms.Padding(2);
+            this.Name = "FrmMes";
+            this.ShowIcon = false;
+            this.Text = "inStockCode";
+            this.Load += new System.EventHandler(this.inStockCode_Load);
+            ((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).EndInit();
+            this.bindingNavigator1.ResumeLayout(false);
+            this.bindingNavigator1.PerformLayout();
+            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();
+            this.splitContainer1.Panel1.ResumeLayout(false);
+            this.splitContainer1.Panel2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
+            this.splitContainer1.ResumeLayout(false);
+            this.panel1.ResumeLayout(false);
+            this.panel1.PerformLayout();
+            this.ResumeLayout(false);
+
+        }
+
+        #endregion
+
+        private System.Windows.Forms.ToolStripLabel toolStripLabel3;
+        private System.Windows.Forms.ToolStripLabel toolStripLabel5;
+        private System.Windows.Forms.ToolStripTextBox toolStripTextBox1;
+        private System.Windows.Forms.ToolStripLabel toolStripLabel2;
+        private System.Windows.Forms.ToolStripLabel toolStripLabel1;
+        private System.Windows.Forms.ToolStripComboBox toolStripComboBox1;
+        private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2;
+        private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1;
+        private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator;
+        private System.Windows.Forms.BindingNavigator bindingNavigator1;
+        private System.Windows.Forms.ToolStripLabel toolStripLabel4;
+        private System.Windows.Forms.SplitContainer splitContainer2;
+        private System.Windows.Forms.Panel panel2;
+        private System.Windows.Forms.DataGridView dataGridView1;
+        private System.Windows.Forms.SplitContainer splitContainer1;
+        private System.Windows.Forms.Panel panel1;
+        private System.Windows.Forms.Label label1;
+        private System.Windows.Forms.Button btnFind;
+        private System.Windows.Forms.Button btnReset;
+        private Sunny.UI.UIComboBox uiComboBox_materialCode;
+        private Sunny.UI.UIComboBox uiComboBox_materialName;
+        private Sunny.UI.UIComboBox uiComboBox_version;
+        private Sunny.UI.UITextBox uiTextBox_containerCode;
+        private Sunny.UI.UITextBox uiTextBox_supplier;
+        private Sunny.UI.UIDatetimePicker uiDatetimePicker_end;
+        private Sunny.UI.UIDatetimePicker uiDatetimePicker_start;
+        private Sunny.UI.UITextBox uiTextBox_toPlace;
+        private Sunny.UI.UITextBox uiTextBox_sourcePlace;
+        private Sunny.UI.UIComboBox uiComboBox_status;
+        private System.Windows.Forms.DataGridViewTextBoxColumn ID;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
+        private System.Windows.Forms.DataGridViewTextBoxColumn productCode;
+        private System.Windows.Forms.DataGridViewTextBoxColumn productName;
+        private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
+        private System.Windows.Forms.DataGridViewTextBoxColumn supplier;
+        private System.Windows.Forms.DataGridViewTextBoxColumn containerCode;
+        private System.Windows.Forms.DataGridViewTextBoxColumn qty;
+        private System.Windows.Forms.DataGridViewTextBoxColumn createDate;
+        private System.Windows.Forms.DataGridViewTextBoxColumn isSendToMes;
+        private System.Windows.Forms.DataGridViewTextBoxColumn 澶囨敞;
+        private System.Windows.Forms.DataGridViewTextBoxColumn MES杩斿洖;
+        private System.Windows.Forms.DataGridViewTextBoxColumn 鎺ㄩ�佹椂闂�;
+        private System.Windows.Forms.DataGridViewButtonColumn edit;
+    }
+}
\ No newline at end of file
diff --git a/WMS/WMS/UI/SynthesizeQuery/FrmMes.cs b/WMS/WMS/UI/SynthesizeQuery/FrmMes.cs
new file mode 100644
index 0000000..bc6ad5a
--- /dev/null
+++ b/WMS/WMS/UI/SynthesizeQuery/FrmMes.cs
@@ -0,0 +1,495 @@
+锘縰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.EnumDefine;
+using WMS.Model;
+using WMS.UI.SynthesizeQuery;
+using WMS.Untils;
+using WMS.yunneiWCS;
+
+namespace WMS.UI.WORK
+{
+    public partial class FrmMes : Form
+    {
+        WMS.yunneiWCS.Wms_outInStockRecord_V2_Mes param = new yunneiWCS.Wms_outInStockRecord_V2_Mes();
+        BindingSource bs = new BindingSource();
+        string materialName = "";
+        string materialCode = "";
+        int orderStatus = 0;
+        int pagaSize = 20;//
+        paging paga = new paging();
+        public FrmMes()
+        {
+            InitializeComponent();
+            this.dataGridView1.AutoGenerateColumns = false;
+        }
+
+        private void inStockCode_Load(object sender, EventArgs e)
+        {
+            try
+            {
+                this.toolStripComboBox1.SelectedIndex = 1;
+
+                LoadSelectData();
+                //姣忛〉10鏉�
+                //姣忛〉20鏉�
+                //姣忛〉30鏉�
+                //姣忛〉100鏉�
+                btnReset_Click(null, null);
+                this.dataGridView1.ReadOnly = true;
+                this.dataGridView1.Columns["createDate"].DefaultCellStyle.Format = "yyyy-MM-dd HH:mm:ss";
+                this.dataGridView1.Columns["鎺ㄩ�佹椂闂�"].DefaultCellStyle.Format = "yyyy-MM-dd HH:mm:ss";
+                FormHelper.DataGridViewSelfAdaptionWidth(this.dataGridView1);
+            }
+            catch (Exception ex)
+            {
+                WZ.Useful.Commons.LogTextHelper.WriteLine("AddUser", "btnSave_Click", ex.ToString());
+
+            }
+        }
+
+        /// <summary>
+        /// 鍔犺浇涓嬫媺鏁版嵁
+        /// </summary>
+        private void LoadSelectData()
+        {
+            var fr = FLogin.wcsWcf.GetSelectList("version");
+            var versionList = fr.resData;
+            this.uiComboBox_version.Items.Clear();
+            this.uiComboBox_version.Items.AddRange(versionList);
+
+            //鐗╂枡缂栫爜
+            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);
+
+            IList<SelectItem> infoList = new List<SelectItem>();
+            SelectItem info1 = new SelectItem() { Id = "0", Name = "涓嶇瓫閫夌姸鎬�" };
+            SelectItem info2 = new SelectItem() { Id = "1", Name = "鍚�" };
+            SelectItem info3 = new SelectItem() { Id = "2", Name = "鏄�" };
+
+            infoList.Add(info1);
+            infoList.Add(info2);
+            infoList.Add(info3);
+
+            uiComboBox_status.ValueMember = "Id";
+            uiComboBox_status.DisplayMember = "Name";
+            uiComboBox_status.DataSource = infoList;
+        }
+
+        /// <summary>鏁版嵁鏌ユ壘
+        /// 
+        /// </summary>
+        /// <param name="paga">鍒嗛〉</param>
+        /// <param name="name">鐗╂枡鍚嶇О</param>
+        /// <param name="code">鐗╂枡缂栧彿</param>
+        /// <param name="status">鍏ュ簱鍗曠姸鎬�</param>
+        private void findData()
+        {
+            try
+            {
+                #region 鍒ゆ柇鏈夋病鏈夎緭鍏ョ瓫閫夋潯浠� uiTextBox_positionName
+                //param.positionName = uiTextBox_positionName.Text.Trim() != "" ? uiTextBox_positionName.Text.Trim() : "";//搴撲綅鍚嶇О
+                param.sourcePlace = uiTextBox_sourcePlace.Text.Trim() != "" ? uiTextBox_sourcePlace.Text.Trim() : "";//璧风偣
+                param.toPlace = uiTextBox_toPlace.Text.Trim() != "" ? uiTextBox_toPlace.Text.Trim() : "";//鐩爣鐐�
+                param.materialName = uiComboBox_materialName.Text.Trim() != "" ? uiComboBox_materialName.Text.Trim() : "";//鐗╂枡鍚嶇О
+                param.materialCode = uiComboBox_materialCode.Text.Trim() != "" ? uiComboBox_materialCode.Text.Trim() : "";//鐗╂枡缂栫爜
+                param.containerCode = uiTextBox_containerCode.Text.Trim() != "" ? uiTextBox_containerCode.Text.Trim() : "";//鎵樼洏鍙�
+                param.version = uiComboBox_version.Text.Trim() != "" ? uiComboBox_version.Text.Trim() : "";//鏈哄瀷
+                param.supplier = uiTextBox_supplier.Text.Trim() != "" ? uiTextBox_supplier.Text.Trim() : "";//渚涘簲鍟�
+                param.isSendToMes = Convert.ToByte(uiComboBox_status.SelectedIndex);
+                if (param.isSendToMes == 0)
+                {
+                    param.isSendToMes = null;
+                }
+                if (param.isSendToMes == 1)
+                {
+                    param.isSendToMes = 0;
+                }
+                if (param.isSendToMes == 2)
+                {
+                    param.isSendToMes = 1;
+                }
+                #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 res = FLogin.wcsWcf.findOutInStockRecord_V2_Mes(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
+                {
+                    this.dataGridView1.DataSource = new List<WMS.yunneiWCS.v_inStockOrder>();
+                    MessageBox.Show("鑾峰彇澶辫触");
+                }
+            }
+            catch (Exception)
+            {
+
+            }
+
+        }
+        private void dataGridView1_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e)
+        {
+            if (this.dataGridView1.DataSource != null)
+            {
+                DataGridView dgv = (DataGridView)sender;
+                if (dgv.Columns[e.ColumnIndex].Name == "isSendToMes")
+                {
+                    e.Value = Enum.GetName(typeof(yesNoStatus), Convert.ToInt32(e.Value));
+                    // 搴旂敤璇ormat锛孎ormat瀹屾瘯銆�
+                    e.FormattingApplied = true;
+                }
+            }
+
+        }
+
+        private void btnFind_Click(object sender, EventArgs e)
+        {
+            //materialName = uiComboBox_materialName.Text.Trim();
+            //materialCode = uiComboBox_materialCode.Text.Trim();
+            orderStatus = (int)uiComboBox_status.SelectedIndex;
+            paga.pagenum = 1;
+            paga.pagesize = pagaSize;
+            findData();
+            toolStripTextBox1.Text = "1";
+            toolStripLabel1.Enabled = false;//涓婁竴椤�
+            toolStripLabel4.Enabled = false;//绗竴椤�
+            toolStripLabel2.Enabled = true;//涓嬩竴椤�
+            toolStripLabel3.Enabled = true;//鏈�鍚庝竴椤�
+
+        }
+
+        private void btnReset_Click(object sender, EventArgs e)
+        {
+
+            this.uiTextBox_sourcePlace.Text = "";
+            this.uiTextBox_toPlace.Text = "";
+            this.uiTextBox_supplier.Text = "";
+            this.uiComboBox_version.Text = "";
+            this.uiTextBox_containerCode.Text = "";
+
+            //uiDatetimePicker_start.Value = startDateTime;
+            //uiDatetimePicker_end.Value = endDateTime;
+            materialName = uiComboBox_materialName.Text = "";
+            materialCode = uiComboBox_materialCode.Text = "";
+            orderStatus = uiComboBox_status.SelectedIndex = 0;
+            //paga.endDateTime = new DateTime();
+            //paga.startDateTime = new DateTime();
+            //uiDatetimePicker_end.Text = "鎴鏃ユ湡";
+            //uiDatetimePicker_start.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();
+        }
+        /// <summary>绗嚑椤靛洖杞�
+        /// 
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void toolStripTextBox1_KeyDown(object sender, KeyEventArgs e)
+        {
+            try
+            {
+                if (e.KeyCode == Keys.Enter)
+                {
+                    int numPapg = 0;
+                    int.TryParse(toolStripTextBox1.Text.Trim(), out numPapg);
+                    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 > 0 && numPapg <= sizetatol)
+                    {
+
+
+                        paga.pagenum = numPapg;
+                        paga.pagesize = pagaSize;
+                        findData();
+
+                    }
+                    else
+                    {
+                        toolStripTextBox1.Text = "1";
+                        WMS.EnumDefine.messages ms = new WMS.EnumDefine.messages(2, "璇疯緭鍏ユ暟瀛�,骞跺ぇ浜�1涓斾笉澶т簬鎬婚〉鏁�");
+                        ms.Show();
+                    }
+                }
+            }
+            catch (Exception)
+            {
+
+            }
+        }
+        /// <summary>绗竴椤�
+        /// 
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        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 toolStripLabel1_Click(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)
+            {
+
+            }
+        }
+        /// <summary>涓嬩竴椤�
+        /// 
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void toolStripLabel2_Click(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)
+            {
+
+            }
+        }
+        /// <summary>鏈�鍚庝竴椤�
+        /// 
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void toolStripLabel3_Click(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)
+            {
+
+            }
+        }
+        /// <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)
+            {
+
+            }
+        }
+
+        /// <summary>澧炲姞搴忓彿
+        /// 
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        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);
+
+        }
+        /// <summary>缂栬緫鍜屽垹闄�
+        /// 
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
+        {
+            try
+            {
+                if (dataGridView1.Columns[e.ColumnIndex].Name == "edit")
+                {
+                    int i = dataGridView1.CurrentRow.Index;
+                    string codeName = dataGridView1.Rows[i].Cells["id"].Value.ToString();
+                    FrmPVClist listView = new FrmPVClist("", 3, Convert.ToInt64(codeName));
+                    listView.ShowDialog();
+                }
+                if (dataGridView1.Columns[e.ColumnIndex].Name == "delete")
+                {
+                    //int i = dataGridView1.CurrentRow.Index;
+                    //string codeName = dataGridView1.Rows[i].Cells["orderCode"].Value.ToString();
+                    //DialogResult dr = MessageBox.Show("纭瑕佷綔搴熸鍗曞悧", "鍏ュ簱鍗曚綔搴�", MessageBoxButtons.OKCancel, MessageBoxIcon.Question);
+                    //if (dr == DialogResult.OK)
+                    //{
+                    //    var res = FLogin.wcsWcf.deleteInStock(codeName);
+                    //    int statu = res.status == 200 ? 1 : 2;
+                    //    WMS.EnumDefine.messages ms = new WMS.EnumDefine.messages(statu, res.msg);
+                    //    ms.Show();
+                    //    int numPapg = 0;
+                    //    int.TryParse(toolStripTextBox1.Text.Trim(), out numPapg);
+                    //    paga.pagenum = numPapg == 0 ? 1 : numPapg;
+                    //    paga.pagesize = pagaSize;
+                    //    findData();
+                    //}
+
+                }
+            }
+            catch (Exception ex)
+            {
+
+            }
+        }
+
+        private void uiDatetimePicker_start_ValueChanged(object sender, DateTime value)
+        {
+
+        }
+
+        private void uiDatetimePicker_end_ValueChanged(object sender, DateTime value)
+        {
+
+        }
+    }
+}
diff --git a/WMS/WMS/UI/SynthesizeQuery/FrmMes.resx b/WMS/WMS/UI/SynthesizeQuery/FrmMes.resx
new file mode 100644
index 0000000..c662c91
--- /dev/null
+++ b/WMS/WMS/UI/SynthesizeQuery/FrmMes.resx
@@ -0,0 +1,197 @@
+锘�<?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>
+  <metadata name="bindingNavigator1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>17, 17</value>
+  </metadata>
+  <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>
+  <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="ID.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="Column1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="Column2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="productCode.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="productName.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="supplier.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="containerCode.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="qty.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="createDate.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="isSendToMes.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="澶囨敞.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="MES杩斿洖.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="鎺ㄩ�佹椂闂�.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="edit.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/UI/SynthesizeQuery/FrmPVC.cs b/WMS/WMS/UI/SynthesizeQuery/FrmPVC.cs
index fffdfef..40900ae 100644
--- a/WMS/WMS/UI/SynthesizeQuery/FrmPVC.cs
+++ b/WMS/WMS/UI/SynthesizeQuery/FrmPVC.cs
@@ -198,7 +198,7 @@
                         ShowErrorTip("鐗╂枡鏄┖鎵樼洏锛屾病鏈夋槑缁嗭紒");
                         return;
                     }
-                    FrmPVClist listView = new FrmPVClist(ss, 1);
+                    FrmPVClist listView = new FrmPVClist(ss, 1, 0);
                     listView.ShowDialog();
                 }
                 else if (dataGridView1.Columns[e.ColumnIndex].Name == "delete")
diff --git a/WMS/WMS/UI/WORK/inStockCode.cs b/WMS/WMS/UI/WORK/inStockCode.cs
index e2a5877..395ae58 100644
--- a/WMS/WMS/UI/WORK/inStockCode.cs
+++ b/WMS/WMS/UI/WORK/inStockCode.cs
@@ -445,7 +445,7 @@
                 {
                     int i = dataGridView1.CurrentRow.Index;
                     string codeName = dataGridView1.Rows[i].Cells["orderCode"].Value.ToString();
-                    FrmPVClist listView = new FrmPVClist(codeName, 2);
+                    FrmPVClist listView = new FrmPVClist(codeName, 2, 0);
                     listView.ShowDialog();
                 }
                 if (dataGridView1.Columns[e.ColumnIndex].Name == "delete")
diff --git a/WMS/WMS/UI/WORK/preview.cs b/WMS/WMS/UI/WORK/preview.cs
index dc62070..099b225 100644
--- a/WMS/WMS/UI/WORK/preview.cs
+++ b/WMS/WMS/UI/WORK/preview.cs
@@ -101,7 +101,7 @@
             {
                 if (!newform.Contains(button.Text))
                 {
-                    FrmPVClist listView = new FrmPVClist(button.Text, 1);//dataGridView1
+                    FrmPVClist listView = new FrmPVClist(button.Text, 1,0);//dataGridView1
                     listView.Show();
                     newform.Add(button.Text);
                 }
diff --git a/WMS/WMS/WMS.csproj b/WMS/WMS/WMS.csproj
index 684cfce..0892f67 100644
--- a/WMS/WMS/WMS.csproj
+++ b/WMS/WMS/WMS.csproj
@@ -104,6 +104,7 @@
   <ItemGroup>
     <Compile Include="EnumDefine\addUser.cs" />
     <Compile Include="EnumDefine\basicData.cs" />
+    <Compile Include="EnumDefine\yesNoStatus.cs" />
     <Compile Include="EnumDefine\codeStatus.cs" />
     <Compile Include="EnumDefine\HTTPService.cs" />
     <Compile Include="EnumDefine\messages.cs">
@@ -214,6 +215,12 @@
     </Compile>
     <Compile Include="UI\SynthesizeQuery\FrmStore.Designer.cs">
       <DependentUpon>FrmStore.cs</DependentUpon>
+    </Compile>
+    <Compile Include="UI\SynthesizeQuery\FrmMes.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="UI\SynthesizeQuery\FrmMes.Designer.cs">
+      <DependentUpon>FrmMes.cs</DependentUpon>
     </Compile>
     <Compile Include="UI\WORK\FrmTaskHandOperation.cs">
       <SubType>Form</SubType>
@@ -367,6 +374,9 @@
     </EmbeddedResource>
     <EmbeddedResource Include="UI\SynthesizeQuery\FrmStore.resx">
       <DependentUpon>FrmStore.cs</DependentUpon>
+    </EmbeddedResource>
+    <EmbeddedResource Include="UI\SynthesizeQuery\FrmMes.resx">
+      <DependentUpon>FrmMes.cs</DependentUpon>
     </EmbeddedResource>
     <EmbeddedResource Include="UI\WORK\FrmTaskHandOperation.resx">
       <DependentUpon>FrmTaskHandOperation.cs</DependentUpon>
@@ -538,6 +548,12 @@
     <None Include="Service References\yunneiWCS\WMS.yunneiWCS.resMsgOfWms_outInStockRecordFj0h9u9J.datasource">
       <DependentUpon>Reference.svcmap</DependentUpon>
     </None>
+    <None Include="Service References\yunneiWCS\WMS.yunneiWCS.resMsgOfWms_outInStockRecord_Details_V2_MesFj0h9u9J.datasource">
+      <DependentUpon>Reference.svcmap</DependentUpon>
+    </None>
+    <None Include="Service References\yunneiWCS\WMS.yunneiWCS.resMsgOfWms_outInStockRecord_V2_MesFj0h9u9J.datasource">
+      <DependentUpon>Reference.svcmap</DependentUpon>
+    </None>
     <None Include="Service References\yunneiWCS\WMS.yunneiWCS.srmEntity.datasource">
       <DependentUpon>Reference.svcmap</DependentUpon>
     </None>
diff --git a/WMS/WMS/WMSFrmMain.Designer.cs b/WMS/WMS/WMSFrmMain.Designer.cs
index 628ea98..52a57f7 100644
--- a/WMS/WMS/WMSFrmMain.Designer.cs
+++ b/WMS/WMS/WMSFrmMain.Designer.cs
@@ -50,6 +50,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.panel1.SuspendLayout();
             this.menuStripMain.SuspendLayout();
             this.panel2.SuspendLayout();
@@ -64,7 +65,7 @@
             this.panel1.Controls.Add(this.panel2);
             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, 2, 2, 2);
+            this.panel1.Margin = new System.Windows.Forms.Padding(2);
             this.panel1.Name = "panel1";
             this.panel1.Size = new System.Drawing.Size(1118, 64);
             this.panel1.TabIndex = 10;
@@ -74,7 +75,7 @@
             this.button_exit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
             this.button_exit.Font = new System.Drawing.Font("瀹嬩綋", 16.2F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.button_exit.Location = new System.Drawing.Point(978, 33);
-            this.button_exit.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+            this.button_exit.Margin = new System.Windows.Forms.Padding(2);
             this.button_exit.Name = "button_exit";
             this.button_exit.Size = new System.Drawing.Size(137, 29);
             this.button_exit.TabIndex = 11;
@@ -195,6 +196,7 @@
             this.缁煎悎鏌ヨ.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
             this.鎶ヨ璁板綍鏌ヨ,
             this.娓呯悊搴撳瓨鏌ヨ,
+            this.tsm_OutInStockRecord_V2_Mes,
             this.鍑哄叆搴撹褰昑oolStripMenuItem});
             this.缁煎悎鏌ヨ.ForeColor = System.Drawing.Color.Maroon;
             this.缁煎悎鏌ヨ.Image = ((System.Drawing.Image)(resources.GetObject("缁煎悎鏌ヨ.Image")));
@@ -292,7 +294,7 @@
             this.panel2.Controls.Add(this.pictureBox1);
             this.panel2.Dock = System.Windows.Forms.DockStyle.Left;
             this.panel2.Location = new System.Drawing.Point(0, 0);
-            this.panel2.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+            this.panel2.Margin = new System.Windows.Forms.Padding(2);
             this.panel2.Name = "panel2";
             this.panel2.Size = new System.Drawing.Size(269, 64);
             this.panel2.TabIndex = 9;
@@ -304,11 +306,20 @@
             this.pictureBox1.Image = global::WMS.Properties.Resources.logo;
             this.pictureBox1.InitialImage = null;
             this.pictureBox1.Location = new System.Drawing.Point(0, 0);
-            this.pictureBox1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+            this.pictureBox1.Margin = new System.Windows.Forms.Padding(2);
             this.pictureBox1.Name = "pictureBox1";
             this.pictureBox1.Size = new System.Drawing.Size(269, 64);
             this.pictureBox1.TabIndex = 0;
             this.pictureBox1.TabStop = false;
+            // 
+            // 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(208, 32);
+            this.tsm_OutInStockRecord_V2_Mes.Text = "MES鍑哄叆搴�";
+            this.tsm_OutInStockRecord_V2_Mes.Click += new System.EventHandler(this.tsm_OutInStockRecord_V2_Mes_Click);
             // 
             // WMSFrmMain
             // 
@@ -357,6 +368,7 @@
         private System.Windows.Forms.Button button_exit;
         private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem3;
         private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem4;
+        private System.Windows.Forms.ToolStripMenuItem tsm_OutInStockRecord_V2_Mes;
     }
 }
 
diff --git a/WMS/WMS/WMSFrmMain.cs b/WMS/WMS/WMSFrmMain.cs
index 117fb2e..a88f875 100644
--- a/WMS/WMS/WMSFrmMain.cs
+++ b/WMS/WMS/WMSFrmMain.cs
@@ -12,6 +12,7 @@
 using System.Threading;
 using WMS.UI.Basic;
 using sunui.forms;
+using WMS.UI.WORK;
 
 namespace WMS
 {
@@ -34,7 +35,7 @@
         /// <summary>
         /// 瑕佸鐞嗚繃婊ょ殑涓荤洰褰�
         /// </summary>
-        private static List<String> igortMenuList = new List<string>() { 
+        private static List<String> igortMenuList = new List<string>() {
             "绯荤粺璁剧疆","缁煎悎鏌ヨ"
         };
 
@@ -464,6 +465,9 @@
             FormShow(new UI.SynthesizeQuery.FrmStore());
         }
 
-
+        private void tsm_OutInStockRecord_V2_Mes_Click(object sender, EventArgs e)
+        {
+            FormShow(new FrmMes());
+        }
     }
 }
diff --git a/WMS/WMS/WMSFrmMain.resx b/WMS/WMS/WMSFrmMain.resx
index d06eb3f..172bb7d 100644
--- a/WMS/WMS/WMSFrmMain.resx
+++ b/WMS/WMS/WMSFrmMain.resx
@@ -175,6 +175,17 @@
         +gXY91RCw0poWAkN69D1AEEGitUPErAwAAAAAElFTkSuQmCC
 </value>
   </data>
+  <data name="缁煎悎鏌ヨ.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+    <value>
+        iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAL
+        DAAACwwBP0AiyAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNAay06AAAAD+SURBVFhH
+        7Y5BCgQxCATnefP/D2VRaKiIrCJsZg9zKA9Wd8y11nqUdHkSH/d9L4PiFD7eD7wfmHxAnUjMVfiYlHmU
+        xFyFj0mZR0nMVfiYlHmUxFyFj0mZR0nMVfiYlHmUxFyFj0mZR0nMVfiYlHmUxFyFj0mZR0nMVfiIZT5I
+        5LuZDj5imQ8S+W6mg49Y5oNEvpvp4COW+SCR72QyZ8iLLawlC0S+k8mcIS+2sJYsEPlOJnOGvNjCWrJA
+        5DuZzBnyYgtryQKR72QyZ8iLLawlC0S+k8mcIS+2sJYsEPlOJnOGvNjCWrJA5DuZzBny4mv41/zPB54k
+        XZ4kXZ5jXR/agGmH33CXEwAAAABJRU5ErkJggg==
+</value>
+  </data>
   <data name="鎶ヨ璁板綍鏌ヨ.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
     <value>
         iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACH
@@ -222,7 +233,7 @@
         XTesb3QPLh88M+QwdP6m681Lt7xuXbu94vbgcOjwnZHokdE77DtTd1PuvriXeW/h/sYH6AdFD6UeVjxS
         fNTws+7PbaOWo6fHXMf6Hwc/vj/OGn/2S8Yv7ycKnpCfVEyqTDZPmU2dmnafvvF05dOJZ+nPFmYKf5X+
         tfa5zvMffnP8rX82YnbiBf/Fp99LXsq/PPRq2aueuYC5R69TXy/MF72Rf3P4LeNt37vwd5MLWe+x7ys/
-        6H7o/ujz8cGn1E+f/gUDmPP8usTo0wAAAAlwSFlzAAALDwAACw8BkvkDpQAA9UFJREFUeF7snQdgHUe5
+        6H7o/ujz8cGn1E+f/gUDmPP8usTo0wAAAAlwSFlzAAALDgAACw4BQL7hQQAA9UFJREFUeF7snQdgHUe5
         /S/weDzKo/5pD3jw6KGGEgLpoaUQIIEEAgkhpBLSSSMVQnovju3YTnOJq3rvvfcuW7JcZFu2ZEuymtXv
         /M9v7h15fX1ly47TwEqOd+/u7Ozs7Jzzfd/M7K7PGHMYh3EY/6YIu/EwDuMw/j0QduNhHMZh/Hsg7MbD
         OIzD+PdA2I2HcRiH8e+BsBsP4zAO498DYTcexmEcxr8Hwm48jMM4jH8PhN14GIdxGP8eCLvxMA7jMP49
@@ -1947,15 +1958,20 @@
         N+XxHyL/c/zn+M/xn+P/J8ePfvT/AQKYTWfSKtPLAAAAAElFTkSuQmCC
 </value>
   </data>
-  <data name="缁煎悎鏌ヨ.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+  <data name="绯荤粺璁剧疆.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
     <value>
         iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAL
-        DAAACwwBP0AiyAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNAay06AAAAD+SURBVFhH
-        7Y5BCgQxCATnefP/D2VRaKiIrCJsZg9zKA9Wd8y11nqUdHkSH/d9L4PiFD7eD7wfmHxAnUjMVfiYlHmU
-        xFyFj0mZR0nMVfiYlHmUxFyFj0mZR0nMVfiYlHmUxFyFj0mZR0nMVfiYlHmUxFyFj0mZR0nMVfiIZT5I
-        5LuZDj5imQ8S+W6mg49Y5oNEvpvp4COW+SCR72QyZ8iLLawlC0S+k8mcIS+2sJYsEPlOJnOGvNjCWrJA
-        5DuZzBnyYgtryQKR72QyZ8iLLawlC0S+k8mcIS+2sJYsEPlOJnOGvNjCWrJA5DuZzBny4mv41/zPB54k
-        XZ4kXZ5jXR/agGmH33CXEwAAAABJRU5ErkJggg==
+        DAAACwwBP0AiyAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNAay06AAAAJCSURBVFhH
+        xZfRUdwwGITpAEpIB9ABPN4bJZAKIB2QDqAD6CDpgHQAHVACJZj9PJbn995a55tJyMM3Plb7r2RbksXJ
+        MAz/lSh+JVHcwm63uxBD4SL5DhFFR+FX4lmcFe1G1AHclLYzgf+qaWtEsaKQJ9E6eS36Q9HhobS9Fv25
+        6YkoVhRQBwBPk/5i+suK/73mOVGsKODaAsHvvuGdw/xkElF0FPJhocdwnjIbe4IKuIt38UN8K1oKP8T4
+        +HVlxTzytxhfYcM7Z7Z7CBPql2nAU2EeMDiu6SnRIbg+rw4fwL0ZEwTG5YU+tae6yvwUUsjaBAPudt4L
+        ErRPvlQPPK3T5t8LABl8kwFeRbfzBr7J7xmL9w+LPyoy+yAO7moV/FYfl+P8QwZm6nfBbP0janF3M1mD
+        Osshl3z6Gb8d1VyNzmPzHQN1lrMATzVH08TP5jsG6ixnAZ5qjqaJfz+AqeBcMPlYinUWv1XfVqgrGcAS
+        JJs+xi06FoIMvpbHbXkr+K1+bwnCniDj2kby27098Fs99PcBGdY2kEb3cNHAZ3WVxYbmhb0ttMGdxdeB
+        PrWnukr+Fqjh0ox84RiUn36AjpjljdQxd5s+TpdxAKBGZimdXhet91p6jGdIXVld5DKYxTyYf6yhAp/N
+        x9JdPVGsKODOAuE2aDylNIfuUm4jihUF+Dscz/+6+rwYv3a6+iDmo3wiihULrGd/P7jUf0zqnPkrp2JW
+        x71pfl6YT7/6fSoYePdEDFHcAuFiHoC3byWKX8dw8glnQpawyTkPFAAAAABJRU5ErkJggg==
 </value>
   </data>
   <data name="鏉冮檺绠$悊.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
@@ -3868,22 +3884,6 @@
         8PSukehSwWu+3meLtERKTHZS62lajgKz4gHBHsORRRVCpC+hocKLAjBiDGZjMJ6NsoCEj4DipNFFVVkU
         UUUIRRRRQhFFFFCEUUUUIRRRRQhFFFFCEUUUUIRRRRQhFFFFCEUUUUIRRRRQhFFFFCEUUUUIRRRRQhFF
         FFCEUUUUIRRRRQhFFFFCEUUUUIRRRRQhFFFFCEUUUUIRRRRQhFFFFCEUUUUIRRRRQhFFFFCF/9k=
-</value>
-  </data>
-  <data name="绯荤粺璁剧疆.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
-    <value>
-        iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAL
-        DAAACwwBP0AiyAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNAay06AAAAJCSURBVFhH
-        xZfRUdwwGITpAEpIB9ABPN4bJZAKIB2QDqAD6CDpgHQAHVACJZj9PJbn995a55tJyMM3Plb7r2RbksXJ
-        MAz/lSh+JVHcwm63uxBD4SL5DhFFR+FX4lmcFe1G1AHclLYzgf+qaWtEsaKQJ9E6eS36Q9HhobS9Fv25
-        6YkoVhRQBwBPk/5i+suK/73mOVGsKODaAsHvvuGdw/xkElF0FPJhocdwnjIbe4IKuIt38UN8K1oKP8T4
-        +HVlxTzytxhfYcM7Z7Z7CBPql2nAU2EeMDiu6SnRIbg+rw4fwL0ZEwTG5YU+tae6yvwUUsjaBAPudt4L
-        ErRPvlQPPK3T5t8LABl8kwFeRbfzBr7J7xmL9w+LPyoy+yAO7moV/FYfl+P8QwZm6nfBbP0janF3M1mD
-        Osshl3z6Gb8d1VyNzmPzHQN1lrMATzVH08TP5jsG6ixnAZ5qjqaJfz+AqeBcMPlYinUWv1XfVqgrGcAS
-        JJs+xi06FoIMvpbHbXkr+K1+bwnCniDj2kby27098Fs99PcBGdY2kEb3cNHAZ3WVxYbmhb0ttMGdxdeB
-        PrWnukr+Fqjh0ox84RiUn36AjpjljdQxd5s+TpdxAKBGZimdXhet91p6jGdIXVld5DKYxTyYf6yhAp/N
-        x9JdPVGsKODOAuE2aDylNIfuUm4jihUF+Dscz/+6+rwYv3a6+iDmo3wiihULrGd/P7jUf0zqnPkrp2JW
-        x71pfl6YT7/6fSoYePdEDFHcAuFiHoC3byWKX8dw8glnQpawyTkPFAAAAABJRU5ErkJggg==
 </value>
   </data>
   <data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
diff --git a/wcs/yunneiWCS/yunneiWCS/wcf/IyunneiWcf.cs b/wcs/yunneiWCS/yunneiWCS/wcf/IyunneiWcf.cs
index d124ec4..ca54a61 100644
--- a/wcs/yunneiWCS/yunneiWCS/wcf/IyunneiWcf.cs
+++ b/wcs/yunneiWCS/yunneiWCS/wcf/IyunneiWcf.cs
@@ -39,6 +39,15 @@
         [OperationContract]
         resMsg<v_inStockOrder> findInStockNewVersion(paging page, v_inStockOrder value);
 
+        /// <summary>鏌ユ壘鍑哄叆搴撹褰曠粰MES [EditBy shaocx,2025-09-01]
+        /// 
+        /// </summary>
+        /// <param name="page">鍒嗛〉</param>
+        /// <returns></returns>
+        [OperationContract]
+        resMsg<Wms_outInStockRecord_V2_Mes> findOutInStockRecord_V2_Mes(paging page, Wms_outInStockRecord_V2_Mes value);
+
+
 
         [OperationContract]
         resMsg<position> findPosition(paging page, string position, int islock, int isfree);
@@ -131,6 +140,16 @@
         resMsg<string> modfiyStockList(List<productStockList> value, long taskId);
         [OperationContract]
         resMsg<inStockOrderList> findInStockList(string inStockCode);
+
+        /// <summary>鏌ユ壘鍑哄叆搴撹褰曟帹琛宮es璇︽儏
+        /// 
+        /// </summary>
+        /// <param name="inStockCode"></param>
+        /// <returns></returns>
+        [OperationContract]
+        resMsg<Wms_outInStockRecord_Details_V2_Mes> findOutInStockRecord_Details_V2_Mes(long mainId);
+
+
         [OperationContract]
         resMsg<string> modfiyInStockList(List<inStockOrderList> value);
         [OperationContract]
diff --git a/wcs/yunneiWCS/yunneiWCS/wcf/yunneiWcf.cs b/wcs/yunneiWCS/yunneiWCS/wcf/yunneiWcf.cs
index 2fdd92a..9293210 100644
--- a/wcs/yunneiWCS/yunneiWCS/wcf/yunneiWcf.cs
+++ b/wcs/yunneiWCS/yunneiWCS/wcf/yunneiWcf.cs
@@ -903,6 +903,130 @@
             return msg;
         }
 
+        /// <summary>鏌ユ壘鍑哄叆搴撹褰曠粰MES [EditBy shaocx,2025-09-01]
+        /// 
+        /// </summary>
+        /// <param name="page">鍒嗛〉</param>
+        /// <returns></returns>
+        public resMsg<Wms_outInStockRecord_V2_Mes> findOutInStockRecord_V2_Mes(paging page, Wms_outInStockRecord_V2_Mes value)
+        {
+            resMsg<Wms_outInStockRecord_V2_Mes> msg = new resMsg<Wms_outInStockRecord_V2_Mes>();
+            msg.status = 400;
+            try
+            {
+                using (dbmodel mod = new dbmodel())
+                {
+                    string sql = "SELECT * FROM [LA20025].[dbo].[Wms_outInStockRecord_V2_Mes]  ";
+                    sql = sql + " WHERE 1=1 ";
+                    if (!string.IsNullOrEmpty(value.sourcePlace))//璧风偣
+                    {
+                        sql = sql + " and sourcePlace='" + value.sourcePlace + "' ";
+                    }
+                    if (!string.IsNullOrEmpty(value.toPlace))//鐩爣鐐�
+                    {
+                        sql = sql + " and toPlace='" + value.toPlace + "' ";
+                    }
+                    if (!string.IsNullOrEmpty(value.containerCode))//鎵樼洏鍙�
+                    {
+                        sql = sql + " and containerCode like'%" + value.containerCode + "%' ";
+                    }
+                    if (!string.IsNullOrEmpty(value.materialCode))//鐗╂枡缂栧彿
+                    {
+                        sql = sql + " and materialCode like '%" + value.materialCode + "%'";
+                    }
+                    if (!string.IsNullOrEmpty(value.materialName))//鐗╂枡鍚嶇О
+                    {
+                        sql = sql + " and  materialName like '%" + value.materialName + "%' ";
+                    }
+                    if (!string.IsNullOrEmpty(value.version))//鏈哄瀷
+                    {
+                        sql = sql + " and  version like '%" + value.version + "%' ";
+                    }
+                    if (!string.IsNullOrEmpty(value.supplier))//渚涘簲鍟�
+                    {
+                        sql = sql + "  and  supplier like '%" + value.supplier + "%'";
+                    }
+                    if (value.isSendToMes != null && value.isSendToMes != 0)
+                    {
+                        sql = sql + " and isSendToMes = '" + value.isSendToMes + "' ";
+                    }
+                    //if (value.positionType == (byte)positionType.浣欐枡鍥炲簱)//鏄惁鏌ヨ浣欐枡
+                    //{
+                    //    sql = sql + " and  positionType =" + value.positionType;
+                    //}
+                    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_V2_Mes> dataList = mod.Database.SqlQuery<Wms_outInStockRecord_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_V2_Mes> fenyeRerult = new List<Wms_outInStockRecord_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", "findOutInStockRecord_V2_Mes", ex.ToString());
+            }
+
+            return msg;
+        }
+
+
         /// <summary>鏌ユ壘鍏ュ簱鍗曟祦姘村彿
         /// 
         /// </summary>
@@ -943,6 +1067,41 @@
             return res;
         }
 
+
+        /// <summary>鏌ユ壘鍑哄叆搴撹褰曟帹琛宮es璇︽儏
+        /// 
+        /// </summary>
+        /// <param name="inStockCode"></param>
+        /// <returns></returns>
+        public resMsg<Wms_outInStockRecord_Details_V2_Mes> findOutInStockRecord_Details_V2_Mes(long mainId)
+        {
+            resMsg<Wms_outInStockRecord_Details_V2_Mes> res = new resMsg<Wms_outInStockRecord_Details_V2_Mes>();
+            res.status = 400;
+            try
+            {
+                using (dbmodel mod = new dbmodel())
+                {
+
+                    List<Wms_outInStockRecord_Details_V2_Mes> instockList = mod.Wms_outInStockRecord_Details_V2_Mes.Where(x => x.mainId == mainId).ToList();
+                    if (instockList.Count > 0)
+                    {
+                        res.status = 200;
+                        res.date = instockList;
+                    }
+                    else
+                    {
+                        res.msg = "鏌ヤ笉鍒版槑缁�";
+                    }
+
+                }
+            }
+            catch (Exception)
+            {
+                res.msg = "鏌ヨ寮傚父";
+            }
+            return res;
+        }
+
         /// <summary>淇敼鍏ュ簱鍗曟祦姘村彿
         /// 
         /// </summary>

--
Gitblit v1.9.3