| | |
| | | ",HProdMaterName,HCusName,HWorkRemark,HImportNote,HMaterNumber_A" + |
| | | ",HMaterNumber_B,HMaterNumber_C,HMaterNumber_D,HProdType,HMaterShortName" + |
| | | ",HMaterIDA,HMaterIDB,HMaterIDC,HMaterIDD,HICMOEntryID" + |
| | | ",HPicNumVer,HPicNumAssemble,HMaterTexture,HProductNum,HVerNum,HPRDORGID,HBLFlag,HCusNumber,HPickLabel,HPickLabelNumber,HWorkBillSortNo" + |
| | | ",HPicNumVer,HPicNumAssemble,HMaterTexture,HProductNum,HVerNum,HPRDORGID,HBLFlag,HCusNumber,HPickLabel,HPickLabelNumber,HXTNumber,HXTModel,HWorkBillSortNo" + |
| | | ") " + |
| | | " values('" + this.BillType + "','" + this.HBillSubType + "'," + omodel.HInterID.ToString() + ",'" + omodel.HBillNo + "','" + omodel.HDate + "','" + omodel.HMaker + "',getdate()," + "" + (omodel.HPrevMainSourceInterID == 0 ? omodel.HInterID : omodel.HPrevMainSourceInterID) + |
| | | "," + omodel.HYear.ToString() + "," + omodel.HPeriod.ToString() + ",'" + omodel.HRemark + "','" + omodel.HBatchNo + "'," + omodel.HMainMaterID.ToString() + "," + omodel.HKeyMaterID.ToString() + "," + omodel.HNo.ToString() + ",'" + omodel.HOrderProcNO + "'" + |
| | |
| | | ",'" + omodel.HProdMaterName + "','" + omodel.HCusName + "','" + omodel.HWorkRemark + "','" + omodel.HImportNote + "','" + omodel.HMaterNumber_A + "'" + |
| | | ",'" + omodel.HMaterNumber_B + "','" + omodel.HMaterNumber_C + "','" + omodel.HMaterNumber_D + "','" + omodel.HProdType + "','" + omodel.HMaterShortName + "'" + |
| | | ",'" + omodel.HMaterIDA + "','" + omodel.HMaterIDB + "','" + omodel.HMaterIDC + "','" + omodel.HMaterIDD + "'," + omodel.HICMOEntryID + |
| | | ",'" + omodel.HPicNumVer + "','" + omodel.HPicNumAssemble + "','" + omodel.HMaterTexture + "','" + omodel.HProductNum + "','" + omodel.HVerNum + "','"+ omodel.HPRDORGID+ "','"+omodel.HBLFlag+ "','" + omodel.HCusNumber + "','" + omodel.HPickLabel + "','" + omodel.HPickLabelNumber + "','" + omodel.HWorkBillSortNo + |
| | | ",'" + omodel.HPicNumVer + "','" + omodel.HPicNumAssemble + "','" + omodel.HMaterTexture + "','" + omodel.HProductNum + "','" + omodel.HVerNum + "','"+ omodel.HPRDORGID+ "','"+omodel.HBLFlag+ "','" + omodel.HCusNumber + "','" + omodel.HPickLabel + "','" + omodel.HPickLabelNumber + "','" + omodel.HXTNumber + "','" + omodel.HXTModel + "','" + omodel.HWorkBillSortNo + |
| | | "') "); |
| | | sErr = sErr + "1;"; |
| | | //æå
¥å表 |
| | |
| | | public string HCusNumber; |
| | | public string HPickLabel; |
| | | public string HPickLabelNumber; |
| | | public string HXTNumber; |
| | | public string HXTModel; |
| | | } |
| | | } |
| | |
| | | FentityModel.Add("FBomId", new JObject() { ["Fnumber"] = dr1["FBOMNUM"].ToString() }); //BOMçæ¬ï¼FBomId(å¿
填项) |
| | | FentityModel.Add("FCostRate", dr1["FCostRate"].ToString());// ææ¬æé |
| | | FentityModel.Add("FISBACKFLUSH", dr1["FISBACKFLUSH"].ToString() == "1" ? true : false);// åå²é¢æ |
| | | FentityModel.Add("FMOMAINENTRYID", dr1["FMOENTRYID"].ToString());// |
| | | FentityModel.Add("F_bsv_Base1", new JObject() { ["Fnumber"] = dr1["FPREBDONENUMBER"].ToString() }); //å
è£
æ è¯ |
| | | FentityModel.Add("FLot", new JObject() { ["FNumber"] = dr1["FBATCHNO"].ToString() }); //æ¹å· |
| | | FentityModel.Add("F_bsv_Text", dr1["å·¥åºæµè½¬å¡å·"].ToString()); //æµè½¬å¡å· |
| | |
| | | FentityModel.Add("FKeeperTypeId", "BD_KeeperOrg"); |
| | | FentityModel.Add("FKeeperId", new JObject() { ["FNumber"] = item["HPrdOrgNumber"].ToString() });// |
| | | FentityModel.Add("FIsOverLegalOrg", "false");// |
| | | //æ¹å· |
| | | //FFLOWID FFLOWLINEID FRULEID FSTABLENAME |
| | | //f6e6eec3 - 5267 - 4f02 - 8593 - b633da508a72 3 PRD_MO2MORPT T_PRD_MOENTRY |
| | | //ä¸å¡æµç¨å¾ï¼FEntity_Link_FFlowId |
| | | //æ¨è¿è·¯çº¿ï¼FEntity_Link_FFlowLineId |
| | | //转æ¢è§åï¼FEntity_Link_FRuleId |
| | | //æºå表å
ç ï¼FEntity_Link_FSTableId |
| | | //æºå表ï¼FEntity_Link_FSTableName |
| | | //æºåå
ç ï¼FEntity_Link_FSBillId |
| | | //æºååå½å
ç ï¼FEntity_Link_FSId |
| | | //åå§æºå¸¦éï¼FEntity_Link_FBaseQuaQtyOld |
| | | //ä¿®æ¹æºå¸¦éï¼FEntity_Link_FBaseQuaQty |
| | | //æ¹å· |
| | | //FFLOWID FFLOWLINEID FRULEID FSTABLENAME |
| | | //f6e6eec3 - 5267 - 4f02 - 8593 - b633da508a72 3 PRD_MO2MORPT T_PRD_MOENTRY |
| | | //ä¸å¡æµç¨å¾ï¼FEntity_Link_FFlowId |
| | | //æ¨è¿è·¯çº¿ï¼FEntity_Link_FFlowLineId |
| | | //转æ¢è§åï¼FEntity_Link_FRuleId |
| | | //æºå表å
ç ï¼FEntity_Link_FSTableId |
| | | //æºå表ï¼FEntity_Link_FSTableName |
| | | //æºåå
ç ï¼FEntity_Link_FSBillId |
| | | //æºååå½å
ç ï¼FEntity_Link_FSId |
| | | //åå§æºå¸¦éï¼FEntity_Link_FBaseQuaQtyOld |
| | | //ä¿®æ¹æºå¸¦éï¼FEntity_Link_FBaseQuaQty |
| | | |
| | | |
| | | |
| | | |
| | | JArray Fentity2 = new JArray(); |
| | | JObject FentityModel2 = new JObject(); |
| | | FentityModel2.Add("FEntity_Link_FFlowId", "f6e6eec3-5267-4f02-8593-b633da508a72"); |
| | | FentityModel2.Add("FEntity_Link_FFlowLineId", "5"); |
| | | FentityModel2.Add("FEntity_Link_FRuleId", "PRD_MORPT2INSTOCK"); |
| | | FentityModel2.Add("FEntity_Link_FSTableName", "T_PRD_MORPTENTRY"); |
| | | FentityModel2.Add("FEntity_Link_FSTableId", "0"); |
| | | FentityModel2.Add("FEntity_Link_FSBillId", item["HSourceInterID"].ToString()); |
| | | FentityModel2.Add("FEntity_Link_FSId", item["HSourceEntryID"].ToString()); |
| | | FentityModel2.Add("FEntity_Link_FBasePrdRealQtyOld", item["å
³èæ°é"].ToString()); |
| | | FentityModel2.Add("FEntity_Link_FBasePrdRealQty", item["æ°é"].ToString()); |
| | | Fentity2.Add(FentityModel2); |
| | | FentityModel.Add("FEntity_Link", Fentity2); |
| | | FentityModel.Add("FBFLowId", new JObject() { ["FID"] = "f6e6eec3-5267-4f02-8593-b633da508a72" }); // |
| | | Fentity.Add(FentityModel); |
| | | |
| | | |
| | | Fentity.Add(FentityModel); |
| | | } |
| | | model.Add("FEntity", Fentity); //æç»ä¿¡æ¯ |
| | |
| | | <publishTime>02/22/2013 16:43:40</publishTime> |
| | | </File> |
| | | <File Include="bin/BLL.dll"> |
| | | <publishTime>10/26/2022 15:47:08</publishTime> |
| | | <publishTime>11/02/2022 22:03:01</publishTime> |
| | | </File> |
| | | <File Include="bin/BLL.pdb"> |
| | | <publishTime>10/26/2022 15:47:08</publishTime> |
| | | <publishTime>11/02/2022 22:03:01</publishTime> |
| | | </File> |
| | | <File Include="bin/BouncyCastle.Crypto.dll"> |
| | | <publishTime>12/18/2020 05:32:28</publishTime> |
| | | </File> |
| | | <File Include="bin/DAL.dll"> |
| | | <publishTime>10/26/2022 15:47:06</publishTime> |
| | | <publishTime>11/02/2022 22:02:58</publishTime> |
| | | </File> |
| | | <File Include="bin/DAL.pdb"> |
| | | <publishTime>10/26/2022 15:47:06</publishTime> |
| | | <publishTime>11/02/2022 22:02:58</publishTime> |
| | | </File> |
| | | <File Include="bin/Dapper.dll"> |
| | | <publishTime>07/22/2016 22:52:40</publishTime> |
| | | </File> |
| | | <File Include="bin/DBUtility.dll"> |
| | | <publishTime>10/26/2022 15:47:04</publishTime> |
| | | <publishTime>11/02/2022 22:02:56</publishTime> |
| | | </File> |
| | | <File Include="bin/DBUtility.pdb"> |
| | | <publishTime>10/26/2022 15:47:04</publishTime> |
| | | <publishTime>11/02/2022 22:02:56</publishTime> |
| | | </File> |
| | | <File Include="bin/Grpc.Core.Api.dll"> |
| | | <publishTime>03/22/2022 13:17:26</publishTime> |
| | |
| | | <publishTime>07/25/2012 19:48:56</publishTime> |
| | | </File> |
| | | <File Include="bin/Model.dll"> |
| | | <publishTime>10/26/2022 15:47:05</publishTime> |
| | | <publishTime>11/02/2022 22:02:56</publishTime> |
| | | </File> |
| | | <File Include="bin/Model.pdb"> |
| | | <publishTime>10/26/2022 15:47:05</publishTime> |
| | | <publishTime>11/02/2022 22:02:56</publishTime> |
| | | </File> |
| | | <File Include="bin/Models/ClsSc_MouldScrapOutBillMain.cs"> |
| | | <publishTime>03/15/2022 10:06:42</publishTime> |
| | |
| | | <publishTime>10/23/2021 17:07:54</publishTime> |
| | | </File> |
| | | <File Include="bin/Pub_Class.dll"> |
| | | <publishTime>10/26/2022 15:47:03</publishTime> |
| | | <publishTime>11/02/2022 22:02:54</publishTime> |
| | | </File> |
| | | <File Include="bin/Pub_Class.pdb"> |
| | | <publishTime>10/26/2022 15:47:03</publishTime> |
| | | <publishTime>11/02/2022 22:02:54</publishTime> |
| | | </File> |
| | | <File Include="bin/Pub_Control.dll"> |
| | | <publishTime>10/26/2022 15:47:04</publishTime> |
| | | <publishTime>11/02/2022 22:02:55</publishTime> |
| | | </File> |
| | | <File Include="bin/Pub_Control.pdb"> |
| | | <publishTime>10/26/2022 15:47:04</publishTime> |
| | | <publishTime>11/02/2022 22:02:55</publishTime> |
| | | </File> |
| | | <File Include="bin/SQLHelper.dll"> |
| | | <publishTime>10/26/2022 15:47:04</publishTime> |
| | | <publishTime>11/02/2022 22:02:55</publishTime> |
| | | </File> |
| | | <File Include="bin/SQLHelper.pdb"> |
| | | <publishTime>10/26/2022 15:47:04</publishTime> |
| | | <publishTime>11/02/2022 22:02:55</publishTime> |
| | | </File> |
| | | <File Include="bin/stdole.dll"> |
| | | <publishTime>05/09/2021 13:35:37</publishTime> |
| | |
| | | <publishTime>11/24/2014 19:18:48</publishTime> |
| | | </File> |
| | | <File Include="bin/WebAPI.dll"> |
| | | <publishTime>10/26/2022 15:47:11</publishTime> |
| | | <publishTime>11/02/2022 22:03:04</publishTime> |
| | | </File> |
| | | <File Include="bin/WebAPI.dll.config"> |
| | | <publishTime>12/15/2021 17:59:43</publishTime> |
| | | </File> |
| | | <File Include="bin/WebAPI.pdb"> |
| | | <publishTime>10/26/2022 15:47:11</publishTime> |
| | | <publishTime>11/02/2022 22:03:04</publishTime> |
| | | </File> |
| | | <File Include="bin/WebGrease.dll"> |
| | | <publishTime>07/18/2013 01:03:52</publishTime> |
| | |
| | | <publishTime>12/20/2021 13:19:56</publishTime> |
| | | </File> |
| | | <File Include="Web.config"> |
| | | <publishTime>10/26/2022 15:47:24</publishTime> |
| | | <publishTime>11/02/2022 22:03:20</publishTime> |
| | | </File> |
| | | </ItemGroup> |
| | | </Project> |
| | |
| | | } |
| | | |
| | | |
| | | |
| | | if (DBUtility.ClsPub.isStrNull(txtHMaterID.Text) == "3.01.0211" && DBUtility.ClsPub.isStrNull(txtHProcID.Text) == "æåæ£éª") |
| | | { |
| | | string HMXH = ""; |
| | | string HZM = ""; |
| | | string HZM2 = ""; |
| | | string HZM3 = ""; |
| | | HMXH = DBUtility.ClsPub.isStrNull(txtHMouldNum.Text); |
| | | HZM = HMXH.Substring(0, 1); |
| | | HZM2 = HMXH.Substring(2, 1); |
| | | HZM3 = HMXH.Substring(3, 1); |
| | | if (HZM != "0") |
| | | { |
| | | MessageBox.Show("模穴å·é误第ä¸ä½è¯·éæ°è¾å
¥0"); |
| | | return false; |
| | | } |
| | | if (HZM2 != "0") |
| | | { |
| | | MessageBox.Show("模穴å·é误第ä¸ä½è¯·éæ°è¾å
¥0"); |
| | | return false; |
| | | } |
| | | if (HZM3 != "0") |
| | | { |
| | | MessageBox.Show("模穴å·é误第åä½è¯·éæ°è¾å
¥0"); |
| | | return false; |
| | | } |
| | | } |
| | | |
| | | if (DBUtility.ClsPub.isStrNull(txtHMaterID.Text) == "3.01.0266" && DBUtility.ClsPub.isStrNull(txtHProcID.Text) == "æåæ£éª") |
| | | { |
| | | string HMXH = ""; |
| | | string HZM = ""; |
| | | string HZM2 = ""; |
| | | string HZM3 = ""; |
| | | HMXH = DBUtility.ClsPub.isStrNull(txtHMouldNum.Text); |
| | | HZM = HMXH.Substring(0, 1); |
| | | HZM2 = HMXH.Substring(2, 1); |
| | | HZM3 = HMXH.Substring(3, 1); |
| | | if (HZM != "0") |
| | | { |
| | | MessageBox.Show("模穴å·é误第ä¸ä½è¯·éæ°è¾å
¥0"); |
| | | return false; |
| | | } |
| | | if (HZM2 != "0") |
| | | { |
| | | MessageBox.Show("模穴å·é误第ä¸ä½è¯·éæ°è¾å
¥0"); |
| | | return false; |
| | | } |
| | | if (HZM3 != "0") |
| | | { |
| | | MessageBox.Show("模穴å·é误第åä½è¯·éæ°è¾å
¥0"); |
| | | return false; |
| | | } |
| | | } |
| | | |
| | | |
| | | if (DBUtility.ClsPub.isStrNull(txtHMaterID.Text) == "3.01.0267" && DBUtility.ClsPub.isStrNull(txtHProcID.Text) == "æåæ£éª") |
| | | { |
| | | string HMXH = ""; |
| | | string HZM = ""; |
| | | string HZM2 = ""; |
| | | string HZM3 = ""; |
| | | HMXH = DBUtility.ClsPub.isStrNull(txtHMouldNum.Text); |
| | | HZM = HMXH.Substring(0, 1); |
| | | HZM2 = HMXH.Substring(2, 1); |
| | | HZM3 = HMXH.Substring(3, 1); |
| | | if (HZM != "0") |
| | | { |
| | | MessageBox.Show("模穴å·é误第ä¸ä½è¯·éæ°è¾å
¥0"); |
| | | return false; |
| | | } |
| | | if (HZM2 != "0") |
| | | { |
| | | MessageBox.Show("模穴å·é误第ä¸ä½è¯·éæ°è¾å
¥0"); |
| | | return false; |
| | | } |
| | | if (HZM3 != "0") |
| | | { |
| | | MessageBox.Show("模穴å·é误第åä½è¯·éæ°è¾å
¥0"); |
| | | return false; |
| | | } |
| | | } |
| | | |
| | | |
| | | //å¿
è¾é¡¹ç®æ¯å¦ä¸ºç©º |
| | | |
| | | if (DBUtility.ClsPub.isLong(lngBillKey) <= 0) |