public string sSaveBox(string sCode, DataTable dtBarCode) { string sReturn = ""; try { TH.WebService.DAL._BarCodeList DAL = new TH.WebService.DAL._BarCodeList(); if (dtBarCode == null || dtBarCode.Rows.Count == 0) { sReturn = "获得条形码列表失败"; } else { int iCou = DAL.iBarCodeBox(sCode, dtBarCode); sReturn = "装箱成功:" + dtBarCode.Rows.Count.ToString() + "条"; } } catch (Exception ee) { sReturn = ee.Message; } return(sReturn); }
public string sBarCodeInvalid(DataTable dt) { string sReturn = ""; try { TH.WebService.DAL._BarCodeList DAL = new TH.WebService.DAL._BarCodeList(); if (dt == null || dt.Rows.Count == 0) { sReturn = "获得条形码列表失败"; } else { int iCou = DAL.iBarCodeInvalid(dt); sReturn = "成功作废条形码:" + iCou.ToString() + "条"; } } catch (Exception ee) { sReturn = ee.Message; } return(sReturn); }
public int iChkBarCodeUsed(string sType, string sCode, string BarCode, int RDType) { TH.WebService.DAL._BarCodeList DAL = new TH.WebService.DAL._BarCodeList(); int iCou = DAL.iChkBarCodeUsed(sType, sCode, BarCode, RDType); return(iCou); }
public decimal dBarCodeQty(string sBarCode) { decimal d = 0; try { TH.WebService.DAL._BarCodeList DAL = new TH.WebService.DAL._BarCodeList(); d = DAL.dBarCodeQty(sBarCode); } catch (Exception ee) { } return(d); }
public int iBarCodeUsed(string sBarCode, string sType) { int iCou = 0; try { TH.WebService.DAL._BarCodeList DAL = new TH.WebService.DAL._BarCodeList(); iCou = DAL.iBarCodeUsed(sBarCode, sType); } catch (Exception ee) { } return(iCou); }
public string sSaveUnBox(string sCode) { string sReturn = ""; try { TH.WebService.DAL._BarCodeList DAL = new TH.WebService.DAL._BarCodeList(); int iCou = DAL.iBarCodeUnBox(sCode); sReturn = "拆箱成功:" + iCou.ToString() + "条"; } catch (Exception ee) { sReturn = ee.Message; } return(sReturn); }
public string dtSBoxInvCode(string sBarCode) { string sReturn = ""; try { TH.WebService.DAL._BarCodeList DAL = new TH.WebService.DAL._BarCodeList(); DataTable dt = DAL.dtSBoxInvCode(sBarCode); if (dt != null && dt.Rows.Count > 0) { sReturn = Cls序列化.SerializeDataTableXml(dt); } } catch (Exception ee) { } return(sReturn); }