Beispiel #1
0
        public string PrintBarCodeQTY(string sBarCode, decimal dQty, string sPrintName)
        {
            string sReturn = "";

            try
            {
                TH.WebService.DAL._BarCodeRD DAL = new TH.WebService.DAL._BarCodeRD();

                sReturn = DAL.PrintBarCodeQTY(sBarCode, dQty, sPrintName);
            }
            catch (Exception ee)
            {
                sReturn = ee.Message;
            }
            return(sReturn);
        }
Beispiel #2
0
        public string sSaveBarCodeAdjust(string sBarCode, decimal dQty, decimal dQtyUse, string CreateUid)
        {
            string sReturn = "";

            try
            {
                TH.WebService.DAL._BarCodeRD DAL = new TH.WebService.DAL._BarCodeRD();


                int iCou = DAL.iSaveBarCodeAdjust(sBarCode, dQty, dQtyUse, CreateUid);

                sReturn = "成功调整条形码:" + sBarCode;
            }
            catch (Exception ee)
            {
                sReturn = ee.Message;
            }
            return(sReturn);
        }
Beispiel #3
0
        public string PrintBarCodeQTYSecond(string sBarCode, decimal dQty, string sPrintName)
        {
            string sReturn = "";

            try
            {
                TH.WebService.DAL._BarCodeRD DAL = new TH.WebService.DAL._BarCodeRD();

                decimal dUseQty = dBarCodeQty(sBarCode);
                if (dUseQty > dQty)
                {
                    sReturn = sReturn + DAL.PrintBarCodeQTY(sBarCode, dUseQty - dQty, sPrintName);
                }
            }
            catch (Exception ee)
            {
                sReturn = ee.Message;
            }
            return(sReturn);
        }