条码生成时增加存入初始化源单子内码HInitSourceEntryID字段值
| | |
| | | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="Current"> |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="Current"> |
| | | <PropertyGroup> |
| | | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
| | | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
| | |
| | | <WarningLevel>4</WarningLevel> |
| | | </PropertyGroup> |
| | | <ItemGroup> |
| | | <Reference Include="AxInterop.gregn6Lib, Version=6.0.0.0, Culture=neutral, processorArchitecture=MSIL"> |
| | | <SpecificVersion>False</SpecificVersion> |
| | | <HintPath>..\SCM\bin\x86\Debug\AxInterop.gregn6Lib.dll</HintPath> |
| | | </Reference> |
| | | <Reference Include="BLL, Version=1.0.0.0, Culture=neutral, processorArchitecture=x86"> |
| | | <SpecificVersion>False</SpecificVersion> |
| | | <HintPath>..\DLL\BLL.dll</HintPath> |
| | |
| | | <Reference Include="DBUtility, Version=1.0.0.0, Culture=neutral, processorArchitecture=x86"> |
| | | <SpecificVersion>False</SpecificVersion> |
| | | <HintPath>..\DLL\DBUtility.dll</HintPath> |
| | | </Reference> |
| | | <Reference Include="Interop.gregn6Lib, Version=6.0.0.0, Culture=neutral, processorArchitecture=MSIL"> |
| | | <SpecificVersion>False</SpecificVersion> |
| | | <HintPath>..\SCM\bin\x86\Debug\Interop.gregn6Lib.dll</HintPath> |
| | | </Reference> |
| | | <Reference Include="Pub_Class, Version=1.0.0.0, Culture=neutral, processorArchitecture=x86"> |
| | | <SpecificVersion>False</SpecificVersion> |
| | |
| | | </Compile> |
| | | <Compile Include="Program.cs" /> |
| | | <Compile Include="Properties\AssemblyInfo.cs" /> |
| | | <EmbeddedResource Include="Form1.resx"> |
| | | <DependentUpon>Form1.cs</DependentUpon> |
| | | </EmbeddedResource> |
| | | <EmbeddedResource Include="Properties\Resources.resx"> |
| | | <Generator>ResXFileCodeGenerator</Generator> |
| | | <LastGenOutput>Resources.Designer.cs</LastGenOutput> |
| | |
| | | <Name>SCM</Name> |
| | | </ProjectReference> |
| | | </ItemGroup> |
| | | <ItemGroup> |
| | | <COMReference Include="Axgregn6Lib"> |
| | | <Guid>{4018F953-1BFE-441E-8A04-DC8BA1FF060E}</Guid> |
| | | <VersionMajor>6</VersionMajor> |
| | | <VersionMinor>0</VersionMinor> |
| | | <Lcid>0</Lcid> |
| | | <WrapperTool>aximp</WrapperTool> |
| | | <Isolated>False</Isolated> |
| | | </COMReference> |
| | | <COMReference Include="gregn6Lib"> |
| | | <Guid>{4018F953-1BFE-441E-8A04-DC8BA1FF060E}</Guid> |
| | | <VersionMajor>6</VersionMajor> |
| | | <VersionMinor>0</VersionMinor> |
| | | <Lcid>0</Lcid> |
| | | <WrapperTool>tlbimp</WrapperTool> |
| | | <Isolated>False</Isolated> |
| | | <EmbedInteropTypes>True</EmbedInteropTypes> |
| | | </COMReference> |
| | | <COMReference Include="stdole"> |
| | | <Guid>{00020430-0000-0000-C000-000000000046}</Guid> |
| | | <VersionMajor>2</VersionMajor> |
| | | <VersionMinor>0</VersionMinor> |
| | | <Lcid>0</Lcid> |
| | | <WrapperTool>primary</WrapperTool> |
| | | <Isolated>False</Isolated> |
| | | <EmbedInteropTypes>True</EmbedInteropTypes> |
| | | </COMReference> |
| | | </ItemGroup> |
| | | <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> |
| | | <!-- To modify your build process, add your task inside one of the targets below and uncomment it. |
| | | Other similar extension points exist, see Microsoft.Common.targets. |
| | |
| | | /// </summary> |
| | | private void InitializeComponent() |
| | | { |
| | | this.components = new System.ComponentModel.Container(); |
| | | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); |
| | | this.printDialog1 = new System.Windows.Forms.PrintDialog(); |
| | | this.axGRDisplayViewer1 = new Axgregn6Lib.AxGRDisplayViewer(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.axGRDisplayViewer1)).BeginInit(); |
| | | this.SuspendLayout(); |
| | | // |
| | | // printDialog1 |
| | | // |
| | | this.printDialog1.UseEXDialog = true; |
| | | // |
| | | // axGRDisplayViewer1 |
| | | // |
| | | this.axGRDisplayViewer1.Enabled = true; |
| | | this.axGRDisplayViewer1.Location = new System.Drawing.Point(70, 57); |
| | | this.axGRDisplayViewer1.Name = "axGRDisplayViewer1"; |
| | | this.axGRDisplayViewer1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axGRDisplayViewer1.OcxState"))); |
| | | this.axGRDisplayViewer1.Size = new System.Drawing.Size(124, 151); |
| | | this.axGRDisplayViewer1.TabIndex = 0; |
| | | // |
| | | // Form1 |
| | | // |
| | | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); |
| | | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
| | | this.ClientSize = new System.Drawing.Size(284, 261); |
| | | this.Controls.Add(this.axGRDisplayViewer1); |
| | | this.Name = "Form1"; |
| | | this.Text = "Form1"; |
| | | ((System.ComponentModel.ISupportInitialize)(this.axGRDisplayViewer1)).EndInit(); |
| | | this.ResumeLayout(false); |
| | | |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | private System.Windows.Forms.PrintDialog printDialog1; |
| | | private Axgregn6Lib.AxGRDisplayViewer axGRDisplayViewer1; |
| | | } |
| | | } |
| | | |
| New file |
| | |
| | | <?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="printDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |
| | | <value>17, 17</value> |
| | | </metadata> |
| | | <data name="axGRDisplayViewer1.OcxState" mimetype="application/x-microsoft.net.object.binary.base64"> |
| | | <value> |
| | | AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w |
| | | LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACFTeXN0 |
| | | ZW0uV2luZG93cy5Gb3Jtcy5BeEhvc3QrU3RhdGUBAAAABERhdGEHAgIAAAAJAwAAAA8DAAAAiQAAAAIB |
| | | AAAAAQAAAAAAAAAAAAAAAHQAAAAACQAAAwABAAAACwABAAsAAQACAAAAAgAAAAIAAAACAAAAAgAAAAsA |
| | | AAALAAAACwAAAAsAAQALAAAACwAAAAsAAAALAAEACwABAAsAAQATAAUAAIATAA0AAIATAA4AAIALAAAA |
| | | CwABAAsAAQALAAEAAAAAAAs= |
| | | </value> |
| | | </data> |
| | | </root> |
| | |
| | | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="Current"> |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="Current"> |
| | | <PropertyGroup> |
| | | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
| | | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
| | |
| | | <Reference Include="Pub_Control, Version=1.0.6933.41359, Culture=neutral, processorArchitecture=x86"> |
| | | <SpecificVersion>False</SpecificVersion> |
| | | <HintPath>..\DLL\Pub_Control.dll</HintPath> |
| | | </Reference> |
| | | <Reference Include="SQLHelper, Version=1.0.0.0, Culture=neutral, processorArchitecture=x86"> |
| | | <SpecificVersion>False</SpecificVersion> |
| | | <HintPath>..\DLL\SQLHelper.dll</HintPath> |
| | | </Reference> |
| | | <Reference Include="System"> |
| | | <HintPath>C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll</HintPath> |
| | |
| | | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="Current"> |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="Current"> |
| | | <PropertyGroup> |
| | | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
| | | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
| | |
| | | <SpecificVersion>False</SpecificVersion> |
| | | <HintPath>..\DLL\DBUtility.dll</HintPath> |
| | | </Reference> |
| | | <Reference Include="Interop.Excel, Version=1.5.0.0, Culture=neutral, processorArchitecture=MSIL"> |
| | | <SpecificVersion>False</SpecificVersion> |
| | | <HintPath>..\..\..\..\çå¨å½é
\ç卿ºä»£ç 20180829\ç卿ºä»£ç \NETERP\bin\x86\Debug\Interop.Excel.dll</HintPath> |
| | | <Reference Include="Interop.Excel"> |
| | | <HintPath>..\DLL\Interop.Excel.dll</HintPath> |
| | | <EmbedInteropTypes>True</EmbedInteropTypes> |
| | | </Reference> |
| | | <Reference Include="NPOI, Version=2.1.3.1, Culture=neutral, PublicKeyToken=0df73ec7942b34e1, processorArchitecture=MSIL"> |
| | | <SpecificVersion>False</SpecificVersion> |
| | | <HintPath>..\..\..\..\APS\MESæºä»£ç \NETERP\bin\x86\Debug\NPOI.dll</HintPath> |
| | | <Reference Include="NPOI"> |
| | | <HintPath>..\DLL\NPOI.dll</HintPath> |
| | | </Reference> |
| | | <Reference Include="NPOI.OOXML, Version=2.1.3.1, Culture=neutral, PublicKeyToken=0df73ec7942b34e1, processorArchitecture=MSIL"> |
| | | <SpecificVersion>False</SpecificVersion> |
| | | <HintPath>..\..\..\..\APS\MESæºä»£ç \NETERP\bin\x86\Debug\NPOI.OOXML.dll</HintPath> |
| | | <Reference Include="NPOI.OOXML"> |
| | | <HintPath>..\DLL\NPOI.OOXML.dll</HintPath> |
| | | </Reference> |
| | | <Reference Include="NPOI.OpenXml4Net, Version=2.1.3.1, Culture=neutral, PublicKeyToken=0df73ec7942b34e1, processorArchitecture=MSIL"> |
| | | <SpecificVersion>False</SpecificVersion> |
| | | <HintPath>..\..\..\..\APS\MESæºä»£ç \NETERP\bin\x86\Debug\NPOI.OpenXml4Net.dll</HintPath> |
| | | <Reference Include="NPOI.OpenXml4Net"> |
| | | <HintPath>..\DLL\NPOI.OpenXml4Net.dll</HintPath> |
| | | </Reference> |
| | | <Reference Include="NPOI.OpenXmlFormats, Version=2.1.3.1, Culture=neutral, PublicKeyToken=0df73ec7942b34e1, processorArchitecture=MSIL"> |
| | | <SpecificVersion>False</SpecificVersion> |
| | | <HintPath>..\..\..\..\APS\MESæºä»£ç \NETERP\bin\x86\Debug\NPOI.OpenXmlFormats.dll</HintPath> |
| | | <Reference Include="NPOI.OpenXmlFormats"> |
| | | <HintPath>..\DLL\NPOI.OpenXmlFormats.dll</HintPath> |
| | | </Reference> |
| | | <Reference Include="Pub_Class, Version=1.0.0.0, Culture=neutral, processorArchitecture=x86"> |
| | | <SpecificVersion>False</SpecificVersion> |
| | |
| | | <Reference Include="System.Web.Services" /> |
| | | <Reference Include="System.Windows.Forms" /> |
| | | <Reference Include="System.Xml" /> |
| | | <Reference Include="Microsoft.CSharp" /> |
| | | </ItemGroup> |
| | | <ItemGroup> |
| | | <Compile Include="Class1.cs" /> |
| | |
| | | //public static string WEBSURL = "http://122.227.138.236/WEBS-WMS/WebService1.asmx"; //å£é¾ |
| | | //public static string WEBSURL = "http://220.189.218.154:8091/WEBS-WMS/WebService1.asmx"; //åç»´å° å¤ç½ |
| | | //public static string WEBSURL = "http://122.227.199.62:5050/LMESWEBS/WebService1.asmx"; //é©çµ å¤ç½JIT |
| | | public static string WEBSURL = "http://122.227.199.62:5050/WMSWEBS/WebService1.asmx"; //é©çµ å¤ç½ |
| | | //public static string WEBSURL = "http://122.227.199.62:5050/WMSWEBS/WebService1.asmx"; //é©çµ å¤ç½ |
| | | public static string WEBSURL = "http://192.168.10.61/WEB-WMS/WebService1.asmx"; //é©çµ å
ç½æµè¯ |
| | | //public static string WEBSURL = "http://192.168.10.60/WMSWEBS/WebService1.asmx"; //é©çµ å
ç½å®æ³¢ï¼è½¦é´ï¼ |
| | | //public static string WEBSURL = "http://60.190.50.86:5050/WEBS_CE/WebService1.asmx"; //é£é¾ |
| | | //public static string WEBSURL = "http://192.192.192.13/WMSWEBS/WebService1.asmx"; //åå |
| | |
| | | ",HPressModel,HCusModel,HMaterialModel,HColor,HBarCodeDate " + |
| | | ",HLogo,HPackageSize,HMaterialJQty,HMaterialMQty,HCustomBatchNo " + |
| | | ",HSTOCKORGID,HOWNERID,HBeginDate,HSeOrderBillNo,HGBBarCode " + |
| | | ",POOrderBillNo,HInterID " + |
| | | ",POOrderBillNo,HInterID,HInitSourceEntryID " + |
| | | ",HMaterName,HMaterModel,HPinfan,HAuxPropID,HMTONo " + |
| | | ") values (" |
| | | + "'" + HBarCode + "','" + HBarCodeType + "'," + HMaterID.ToString() + "," + HUnitID.ToString() + "," + HQty2.ToString() |
| | |
| | | + ",'" + HPressModel + "','" + HCusModel + "','" + HMaterialModel + "','" + HColor + "','" + sDate + "'" |
| | | + ",'" + HLogo + "','" + HPackageSize + "'," + HMaterialJQty.ToString() + "," + HMaterialMQty.ToString() + ",'" + HCustomBatchNo + "'" |
| | | + ", " + HOrgID.ToString() + "," + HOrgID.ToString() + ",'" + HBeginDate.ToShortDateString() + "','" + HSeOrderBillNo + "','" + HGBBarCode + "'" |
| | | + ",'" + POOrderBillNo + "'," + HInterID.ToString() |
| | | + ",'" + POOrderBillNo + "'," + HInterID.ToString() + "," + HSourceEntryID.ToString() |
| | | + ",'" + HMaterName + "','" + HMaterModel + "','" + HPinfan + "'," + HAuxPropID.ToString() + ",'" + HMTONo + "')"; |
| | | //oCn.RunProc("exec setLSH '" + ClsPub.GetServerDate(0) + "'"); |
| | | mm = mm + 1; |