Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-API
| | |
| | | oSc_PackUnionBill.ShowDialog(); |
| | | break; |
| | | case "gy_barcodebill_chaima": |
| | | WarM.ä»åºç®¡ç.Gy_BarCodeBill_ChaiMa oGy_BarCodeBill_ChaiMa = new WarM.ä»åºç®¡ç.Gy_BarCodeBill_ChaiMa(); |
| | | WarM.Gy_BarCodeBill_ChaiMa oGy_BarCodeBill_ChaiMa = new WarM.Gy_BarCodeBill_ChaiMa(); |
| | | oGy_BarCodeBill_ChaiMa.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; |
| | | //oGy_BarCodeBill_ChaiMa.ModCaption = gnmc; |
| | | oGy_BarCodeBill_ChaiMa.ShowDialog(); |
| | |
| | |  |
| | | namespace WarM.ä»åºç®¡ç |
| | | namespace WarM |
| | | { |
| | | partial class Gy_BarCodeBill_ChaiMa |
| | | { |
| | |
| | | this.grdSum.BackgroundColor = System.Drawing.Color.Khaki; |
| | | this.grdSum.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
| | | this.grdSum.Dock = System.Windows.Forms.DockStyle.Bottom; |
| | | this.grdSum.Location = new System.Drawing.Point(4, 476); |
| | | this.grdSum.Location = new System.Drawing.Point(4, 512); |
| | | this.grdSum.Margin = new System.Windows.Forms.Padding(4); |
| | | this.grdSum.Name = "grdSum"; |
| | | this.grdSum.ReadOnly = true; |
| | |
| | | this.tabControl1.Controls.Add(this.tabPage1); |
| | | this.tabControl1.Controls.Add(this.tabPage2); |
| | | this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill; |
| | | this.tabControl1.Location = new System.Drawing.Point(0, 185); |
| | | this.tabControl1.Location = new System.Drawing.Point(0, 149); |
| | | this.tabControl1.Margin = new System.Windows.Forms.Padding(4); |
| | | this.tabControl1.Name = "tabControl1"; |
| | | this.tabControl1.SelectedIndex = 0; |
| | | this.tabControl1.Size = new System.Drawing.Size(1356, 525); |
| | | this.tabControl1.Size = new System.Drawing.Size(1356, 561); |
| | | this.tabControl1.TabIndex = 54; |
| | | // |
| | | // tabPage1 |
| | |
| | | this.tabPage1.Margin = new System.Windows.Forms.Padding(4); |
| | | this.tabPage1.Name = "tabPage1"; |
| | | this.tabPage1.Padding = new System.Windows.Forms.Padding(4); |
| | | this.tabPage1.Size = new System.Drawing.Size(1348, 496); |
| | | this.tabPage1.Size = new System.Drawing.Size(1348, 532); |
| | | this.tabPage1.TabIndex = 0; |
| | | this.tabPage1.Text = "页1"; |
| | | this.tabPage1.Text = "æ¡ç ä¿¡æ¯"; |
| | | this.tabPage1.UseVisualStyleBackColor = true; |
| | | // |
| | | // grdMain |
| | |
| | | this.grdMain.ReadOnly = true; |
| | | this.grdMain.RowHeadersWidth = 30; |
| | | this.grdMain.RowTemplate.Height = 23; |
| | | this.grdMain.Size = new System.Drawing.Size(1340, 472); |
| | | this.grdMain.Size = new System.Drawing.Size(1340, 508); |
| | | this.grdMain.TabIndex = 47; |
| | | // |
| | | // tabPage2 |
| | |
| | | this.tabPage2.Margin = new System.Windows.Forms.Padding(4); |
| | | this.tabPage2.Name = "tabPage2"; |
| | | this.tabPage2.Padding = new System.Windows.Forms.Padding(4); |
| | | this.tabPage2.Size = new System.Drawing.Size(1348, 496); |
| | | this.tabPage2.Size = new System.Drawing.Size(1348, 532); |
| | | this.tabPage2.TabIndex = 1; |
| | | this.tabPage2.Text = "页2"; |
| | | this.tabPage2.Text = "æ°ç ä¿¡æ¯"; |
| | | this.tabPage2.UseVisualStyleBackColor = true; |
| | | // |
| | | // grdMain_Pay |
| | |
| | | this.grdMain_Pay.ReadOnly = true; |
| | | this.grdMain_Pay.RowHeadersWidth = 30; |
| | | this.grdMain_Pay.RowTemplate.Height = 23; |
| | | this.grdMain_Pay.Size = new System.Drawing.Size(1340, 464); |
| | | this.grdMain_Pay.Size = new System.Drawing.Size(1340, 500); |
| | | this.grdMain_Pay.TabIndex = 49; |
| | | // |
| | | // grdSum_Pay |
| | |
| | | this.grdSum_Pay.BackgroundColor = System.Drawing.Color.Khaki; |
| | | this.grdSum_Pay.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
| | | this.grdSum_Pay.Dock = System.Windows.Forms.DockStyle.Bottom; |
| | | this.grdSum_Pay.Location = new System.Drawing.Point(4, 468); |
| | | this.grdSum_Pay.Location = new System.Drawing.Point(4, 504); |
| | | this.grdSum_Pay.Margin = new System.Windows.Forms.Padding(4); |
| | | this.grdSum_Pay.Name = "grdSum_Pay"; |
| | | this.grdSum_Pay.ReadOnly = true; |
| | |
| | | // |
| | | this.cmdSourceBillNo.Image = ((System.Drawing.Image)(resources.GetObject("cmdSourceBillNo.Image"))); |
| | | this.cmdSourceBillNo.ImageAlign = System.Drawing.ContentAlignment.TopRight; |
| | | this.cmdSourceBillNo.Location = new System.Drawing.Point(1332, 15); |
| | | this.cmdSourceBillNo.Location = new System.Drawing.Point(1152, 19); |
| | | this.cmdSourceBillNo.Margin = new System.Windows.Forms.Padding(4); |
| | | this.cmdSourceBillNo.Name = "cmdSourceBillNo"; |
| | | this.cmdSourceBillNo.Size = new System.Drawing.Size(29, 28); |
| | |
| | | // |
| | | this.P1.BackColor = System.Drawing.Color.Lavender; |
| | | this.P1.Controls.Add(this.gbUp); |
| | | this.P1.Controls.Add(this.cmdSourceBillNo); |
| | | this.P1.Dock = System.Windows.Forms.DockStyle.Top; |
| | | this.P1.Location = new System.Drawing.Point(0, 62); |
| | | this.P1.Margin = new System.Windows.Forms.Padding(4); |
| | | this.P1.Name = "P1"; |
| | | this.P1.Size = new System.Drawing.Size(1356, 123); |
| | | this.P1.Size = new System.Drawing.Size(1356, 87); |
| | | this.P1.TabIndex = 49; |
| | | // |
| | | // gbUp |
| | | // |
| | | this.gbUp.BackColor = System.Drawing.Color.Transparent; |
| | | this.gbUp.Controls.Add(this.txtHMaker); |
| | | this.gbUp.Controls.Add(this.cmdSourceBillNo); |
| | | this.gbUp.Controls.Add(this.label3); |
| | | this.gbUp.Controls.Add(this.button1); |
| | | this.gbUp.Controls.Add(this.label1); |
| | | this.gbUp.Controls.Add(this.txtNum); |
| | | this.gbUp.Controls.Add(this.txtHBillNo); |
| | | this.gbUp.Controls.Add(this.label2); |
| | | this.gbUp.Location = new System.Drawing.Point(79, 15); |
| | | this.gbUp.Location = new System.Drawing.Point(4, 4); |
| | | this.gbUp.Margin = new System.Windows.Forms.Padding(4); |
| | | this.gbUp.Name = "gbUp"; |
| | | this.gbUp.Padding = new System.Windows.Forms.Padding(4); |
| | | this.gbUp.Size = new System.Drawing.Size(1189, 97); |
| | | this.gbUp.Size = new System.Drawing.Size(1189, 74); |
| | | this.gbUp.TabIndex = 33; |
| | | this.gbUp.TabStop = false; |
| | | // |
| | |
| | | this.Controls.Add(this.Tool); |
| | | this.Controls.Add(this.grdPrint); |
| | | this.Name = "Gy_BarCodeBill_ChaiMa"; |
| | | this.Text = "Gy_BarCodeBill_ChaiMa"; |
| | | this.Text = "æ¡ç æç "; |
| | | this.Load += new System.EventHandler(this.Gy_BarCodeBill_ChaiMa_Load); |
| | | ((System.ComponentModel.ISupportInitialize)(this.grdSum)).EndInit(); |
| | | this.tabControl1.ResumeLayout(false); |
| | |
| | | using System.Text; |
| | | using System.Windows.Forms; |
| | | |
| | | namespace WarM.ä»åºç®¡ç |
| | | namespace WarM |
| | | { |
| | | public partial class Gy_BarCodeBill_ChaiMa : Form |
| | | { |
| | |
| | | TkSuQmCC |
| | | </value> |
| | | </data> |
| | | <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <value>61</value> |
| | | </metadata> |
| | | </root> |
| | |
| | | var _value = oMain["oMain"].ToString(); |
| | | string msg1 = _value.ToString(); |
| | | string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries); |
| | | string msg2 = sArray[0].ToString(); |
| | | //string msg3 = sArray[1].ToString(); |
| | | string msg2 = sArray[0].ToString();//ä¿åæ°æ® |
| | | string user = sArray[1].ToString();//ç¨æ·å |
| | | //string msg4 = sArray[2].ToString(); |
| | | //string msg5 = sArray[3].ToString(); |
| | | |
| | | ////夿æ¯å¦æç¼è¾æé |
| | | //if (!DBUtility.ClsPub.Security_Log("Xs_SeOrderBill_Edit", 1, false, user)) |
| | | //{ |
| | | // objJsonResult.code = "0"; |
| | | // objJsonResult.count = 0; |
| | | // objJsonResult.Message = "æ æéç¼è¾!"; |
| | | // objJsonResult.data = null; |
| | | // return objJsonResult; |
| | | //} |
| | | |
| | | |
| | | //ååºåå |
| | | msg2 = "[" + msg2.ToString() + "]"; |
| | | List<Warehouse> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Warehouse>>(msg2); |
| | |
| | | /// <returns></returns> |
| | | [Route("Cg_POInStockBill/DeltetPOInStockBill")] |
| | | [HttpGet] |
| | | public object DeltetPOInStockBill(string HInterID) |
| | | public object DeltetPOInStockBill(string HInterID,string user) |
| | | { |
| | | try |
| | | { |
| | | //夿æ¯å¦æå é¤çæé |
| | | if (!DBUtility.ClsPub.Security_Log("Xs_SeOrderBill_Drop", 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ å 餿é!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | //å
å é¤ éè¶æ°æ® |
| | | objJsonResult = DeleteKingDee(HInterID); |
| | | if (objJsonResult.code == "0") |
| | |
| | | #region éå®éè´§åæ¥è¯¢ |
| | | [Route("Kf_ICStockBillMain/GetCStockBillList")] |
| | | [HttpGet] |
| | | public object GetCStockBillList(string sWhere) |
| | | public object GetCStockBillList(string sWhere,string user) |
| | | { |
| | | try |
| | | { |
| | | //夿æ¯å¦ææ¥è¯¢æé |
| | | if (!DBUtility.ClsPub.Security_Log("Kf_ICStockBill_Query", 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ æéæ¥è¯¢!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | if (sWhere == null || sWhere.Equals("")) |
| | | { |
| | | ds = oCN.RunProcReturn("select * from h_v_IF_Kf_ICStockBillMain where 1=1", "h_v_IF_Kf_ICStockBillMain"); |
| | |
| | | [HttpGet] |
| | | public object AuditProcessReportList(int HInterID, int IsAudit, string CurUserName) |
| | | { |
| | | //IsAudit=1 å®¡æ ¸ï¼ IsAudit=2 åå®¡æ ¸ |
| | | //ç¼è¾æé |
| | | //if (!DBUtility.ClsPub.Security_Log_second("Sc_MouldProdMoveBill_Check", 1, false, CurUserName)) |
| | | //{ |
| | | // objJsonResult.code = "0"; |
| | | // objJsonResult.count = 0; |
| | | // objJsonResult.Message = "æ å®¡æ ¸æéï¼"; |
| | | // objJsonResult.data = null; |
| | | // return objJsonResult; |
| | | //} |
| | | |
| | | try |
| | | { |
| | | //IsAudit=1 å®¡æ ¸ï¼ IsAudit=2 åå®¡æ ¸ |
| | | //ç¼è¾æé |
| | | if (!DBUtility.ClsPub.Security_Log_second("Kf_ICStockBill_Check", 1, false, CurUserName)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ å®¡æ ¸æéï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | Int64 lngBillKey = 0; |
| | | lngBillKey = DBUtility.ClsPub.isLong(HInterID); |
| | | if (lngBillKey == 0) |
| | |
| | | } |
| | | } |
| | | |
| | | //å·æ°è¡¨ä½ è¿ååºå
¥åºæ¡ç 临æ¶è¡¨ï¼é¢æåºåºç®æ´çï¼ |
| | | [Route("MateOutBill/DisBillEntryList_Webs_New_Json1")] |
| | | [HttpGet] |
| | | public object DisBillEntryList_Webs_New_Json1(long HBillID, string HBillType, string sWhere) |
| | | { |
| | | try |
| | | { |
| | | ds = webserver.GetKf_PonderationBillMain_Temp_New(HBillID, HBillType, sWhere); |
| | | if (ds == null || ds.Tables[0].Rows.Count <= 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "没æè¿åä»»ä½è®°å½ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | //DBUtility.ClsPub.MessageBeep((int)DBUtility.ClsPub.BeepType.Warning); |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "è·åä¿¡æ¯æåï¼"; |
| | | objJsonResult.data = new |
| | | { |
| | | list = ds.Tables[0], |
| | | list2 = ds.Tables[5] |
| | | }; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "没æè¿åä»»ä½è®°å½ï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | |
| | | [Route("MateOutBill/Delete_Json")] |
| | | [HttpGet] |
| | | public object Delete_Json(long HInterID, long HMaterID, long HAuxPropID, string HMTONo, long HSourceInterID, long HSourceEntryID, string sHBillType) |
| | |
| | | /// <returns></returns> |
| | | [Route("Sc_ProductionReturnBill/list")] |
| | | [HttpGet] |
| | | public object list(string sWhere) |
| | | public object list(string sWhere,string user) |
| | | { |
| | | try |
| | | { |
| | | //夿æ¯å¦ææ¥è¯¢çæé |
| | | if (!DBUtility.ClsPub.Security_Log("Kf_ProductionReturnBill_Query", 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ æéæ¥è¯¢!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | if (sWhere == null || sWhere.Equals("")) |
| | | { |
| | | ds = oCN.RunProcReturn("select * from h_v_IF_ProductionReturnList where 1=1 order by æ¥æ desc", "h_v_IF_ProductionReturnList"); |
| | |
| | | /// <returns></returns> |
| | | [Route("Kf_MoveStockBill/GetMoveStockBillList")] |
| | | [HttpGet] |
| | | public object GetMoveStockBillList(string sWhere) |
| | | public object GetMoveStockBillList(string sWhere,string user) |
| | | { |
| | | try |
| | | { |
| | | //夿æ¯å¦ææ¥è¯¢æé |
| | | if (!DBUtility.ClsPub.Security_Log("Kf_MoveStockBillQuery", 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ æ¥è¯¢æé!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | if (sWhere == null || sWhere.Equals("")) |
| | | { |
| | | ds = oCN.RunProcReturn("select * from h_v_IF_MoveStockBillList order by æ¥æ desc", "h_v_IF_MoveStockBillList"); |
| | |
| | | /// <returns></returns> |
| | | [Route("Kf_SellOutBill/GetSellOutBillList")] |
| | | [HttpGet] |
| | | public object GetSellOutBillList(string sWhere) |
| | | public object GetSellOutBillList(string sWhere,string user) |
| | | { |
| | | try |
| | | { |
| | | //夿æ¯å¦ææ¥è¯¢æé |
| | | if (!DBUtility.ClsPub.Security_Log("Kf_SellOutBillQuery", 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ²¡ææ¥è¯¢æé!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | ds = Sc_GetSellOutBillList(sWhere); |
| | | if (ds == null || ds.Tables[0].Rows.Count <= 0) |
| | |
| | | /// <returns></returns> |
| | | [Route("Kf_OtherOutBill/GetOtherOutBillList")] |
| | | [HttpGet] |
| | | public object GetOtherOutBillList(string sWhere) |
| | | public object GetOtherOutBillList(string sWhere,string user) |
| | | { |
| | | try |
| | | { |
| | | //夿æ¯å¦ææ¥è¯¢æé |
| | | if (!DBUtility.ClsPub.Security_Log("Kf_OtherOutBillQuery", 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ æ¥è¯¢æé!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | if (sWhere == null || sWhere.Equals("")) |
| | | { |
| | | ds = oCN.RunProcReturn("select * from h_v_Kf_OtherOutBillList where 1=1 order by æ¥æ desc", "h_v_Kf_OtherOutBillList"); |
| | |
| | | /// <returns></returns> |
| | | [Route("Kf_ProductInBill/GetProductInBill")] |
| | | [HttpGet] |
| | | public object GetProductInBill(string sWhere) |
| | | public object GetProductInBill(string sWhere,string user) |
| | | { |
| | | try |
| | | { |
| | | //夿æ¯å¦ææ¥è¯¢æé |
| | | if (!DBUtility.ClsPub.Security_Log("Kf_ProductInBill_Query", 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ æ¥è¯¢æé!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | |
| | | if (sWhere == null || sWhere.Equals("")) |
| | | { |
| | |
| | | /// <returns></returns> |
| | | [Route("Kf_OtherInBill/GetOtherInBill")] |
| | | [HttpGet] |
| | | public object GetOtherInBill(string sWhere) |
| | | public object GetOtherInBill(string sWhere,string user) |
| | | { |
| | | try |
| | | { |
| | | //夿æ¯å¦ææ¥è¯¢æé |
| | | if (!DBUtility.ClsPub.Security_Log("Kf_OtherInBillQuery", 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ æ¥è¯¢æé!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | if (sWhere == null || sWhere.Equals("")) |
| | | { |
| | |
| | | /// <returns></returns> |
| | | [Route("Kf_EntrustInBill/GetEntrustInBill")] |
| | | [HttpGet] |
| | | public object GetEntrustInBill(string sWhere) |
| | | public object GetEntrustInBill(string sWhere,string user) |
| | | { |
| | | try |
| | | { |
| | | //夿æ¯å¦ææ¥è¯¢æé |
| | | if (!DBUtility.ClsPub.Security_Log("Kf_EntrustInBillQuery", 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ æéæ¥è¯¢!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | if (sWhere == null || sWhere.Equals("")) |
| | | { |
| | | ds = oCN.RunProcReturn("select * from h_v_Kf_EntrustInBillList where 1=1", "h_v_Kf_EntrustInBillList"); |
| | |
| | | /// </summary> |
| | | [Route("Xs_SeOrderBill/list")] |
| | | [HttpGet] |
| | | public object list(string sWhere) |
| | | public object list(string sWhere,string user) |
| | | { |
| | | try |
| | | { |
| | | //夿æ¥è¯¢æé |
| | | if (!DBUtility.ClsPub.Security_Log("Xs_SeOrderBillQuery", 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ æéæ¥è¯¢!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | if (sWhere == null || sWhere.Equals("")) |
| | | { |
| | | ds = oCN.RunProcReturn("select * from h_v_IF_SeOrderBillList " + sWhere, "h_v_IF_SeOrderBillList"); |
| | |
| | | /// </summary> |
| | | [Route("Xs_SeOutStockBill/list")] |
| | | [HttpGet] |
| | | public object list(string sWhere) |
| | | public object list(string sWhere,string user) |
| | | { |
| | | try |
| | | { |
| | | //夿æ¯å¦ææ¥è¯¢æé |
| | | if (!DBUtility.ClsPub.Security_Log("Xs_SeOutStockBillQuery", 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ æéæ¥è¯¢!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | if (sWhere == null || sWhere.Equals("")) |
| | | { |
| | | ds = oCN.RunProcReturn("select * from h_v_IF_SeOutStockBillList " + sWhere, "h_v_IF_SeOutStockBillList"); |
| | |
| | | |
| | | [Route("WW_PPBomBillController/Get_WW_PPBomBillList")] |
| | | [HttpGet] |
| | | public object Get_WW_PPBomBillList(string sWhere) |
| | | public object Get_WW_PPBomBillList(string sWhere,string user) |
| | | { |
| | | try |
| | | { |
| | | |
| | | if (!DBUtility.ClsPub.Security_Log("", 1, false, user)) |
| | | { |
| | | |
| | | } |
| | | |
| | | ds = WW_PPBomBillList(sWhere); |
| | | if (ds == null) |
| | | { |
| | |
| | | |
| | | public static DataSet WW_PPBomBillList(string sWhere) |
| | | { |
| | | string sql1 = string.Format(@"select * from h_v_WW_PPBomBillList"); |
| | | string sql1 = string.Format(@"select * from h_v_WW_PPBomBillList where 1=1 "); |
| | | if (sWhere == null || sWhere.Equals("")) |
| | | { |
| | | return new SQLHelper.ClsCN().RunProcReturn(sql1 + sWhere + "order by æ¥æ desc", "h_v_WW_PPBomBillList"); |
| | |
| | | public DataSet ds = new DataSet(); |
| | | public SQLHelper.ClsCN oCn = new SQLHelper.ClsCN(); |
| | | |
| | | #region è°æ¨åå表 |
| | | #region è°æ¨ç³è¯·åå表 |
| | | [Route("Kf_MoveStockRequestBill/GetMoveStockRequestBillList")] |
| | | [HttpGet] |
| | | public object GetMoveStockRequestBillList(string sWhere) |
| | | public object GetMoveStockRequestBillList(string sWhere,string user) |
| | | { |
| | | try |
| | | { |
| | | //夿æé(ç¥) |
| | | //夿æ¯å¦ææ¥è¯¢æé |
| | | if (!DBUtility.ClsPub.Security_Log("Kf_MoveStockRequestBill_Query", 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ æéæ¥è¯¢!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | string sql1 = string.Format("select * from h_v_IF_MoveStockRequestBillList_Litee where 1=1 "); |
| | | if (sWhere == null || sWhere.Equals("")) |
| | |
| | | |
| | | [Route("Kf_MateOutBackBill/GetMateOutBillList")] |
| | | [HttpGet] |
| | | public object GetMateOutBillList(string sWhere) |
| | | public object GetMateOutBillList(string sWhere,string user) |
| | | { |
| | | try |
| | | { |
| | | //夿æ¯å¦ææ¥è¯¢æé |
| | | if (!DBUtility.ClsPub.Security_Log("Kf_MateOutBackBill_Query", 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ æéæ¥è¯¢!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | if (sWhere == null || sWhere.Equals("")) |
| | | { |
| | | ds = oCn.RunProcReturn("select * from h_v_IF_MateOutBackBillList order by æ¥æ desc", "h_v_IF_MateOutBackBillList"); |
| | |
| | | public object set_DeleteBill(string HInterID,string user) |
| | | { |
| | | //ç¼è¾æé |
| | | if (!DBUtility.ClsPub.Security_Log_second("Kf_MateOutBackBill_Delete", 1, false, user)) |
| | | if (!DBUtility.ClsPub.Security_Log_second("Kf_EntrustOutBill_Drop", 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | |
| | | |
| | | [Route("Kf_MateOutBill/GetMateOutBillList")] |
| | | [HttpGet] |
| | | public object GetMateOutBillList(string sWhere) |
| | | public object GetMateOutBillList(string sWhere,string user) |
| | | { |
| | | try |
| | | { |
| | | //夿æ¯å¦ææ¥è¯¢æé |
| | | if (!DBUtility.ClsPub.Security_Log("Kf_MateOutBillQuery", 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ æ¥è¯¢æé!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | ds = oCn.RunProcReturn("select * from h_v_IF_MateOutBillList " + sWhere + " order by æ¥æ desc", "h_v_IF_MateOutBillList"); |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | |
| | | { |
| | | try |
| | | { |
| | | //夿æé(ç¥) |
| | | //夿æ¯å¦ææ¥è¯¢æé |
| | | if (!DBUtility.ClsPub.Security_Log("Kf_MoveStockStepOutBillQuery", 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ æ¥è¯¢æé!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | string sql1 = string.Format("select * from h_v_Kf_MoveStockStepOutBillList where (è°å
¥ç»ç»='" + Organization + "')"); |
| | | if (sWhere == null || sWhere.Equals("")) |
| | |
| | | |
| | | [Route("Kf_EntrustOutBackBill/GetEntrustOutBackBillList")] |
| | | [HttpGet] |
| | | public object GetEntrustOutBackBillList(string sWhere) |
| | | public object GetEntrustOutBackBillList(string sWhere,string user) |
| | | { |
| | | //夿æ¯å¦ææ¥è¯¢æé |
| | | if (!DBUtility.ClsPub.Security_Log("Kf_EntrustOutBillQuery", 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ æ¥è¯¢æé!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | try |
| | | { |
| | | ds = oCn.RunProcReturn("select * from h_v_Kf_EntrustOutBillList " + sWhere + " order by æ¥æ desc", "h_v_Kf_EntrustOutBillList"); |
| | |
| | | { |
| | | try |
| | | { |
| | | //夿æé(ç¥) |
| | | |
| | | //夿æ¥è¯¢æé |
| | | if (!DBUtility.ClsPub.Security_Log("Fb_StepFoldinBill_Query", 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ æ¥è¯¢æé!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | string sql1 = string.Format("select * from h_v_Kf_MoveStockStepInBillList where (è°å
¥ç»ç»='" + Organization + "')"); |
| | | if (sWhere == null || sWhere.Equals("")) |
| | | { |