| | |
| | | websLsmain.HSupID = 0; |
| | | //websLsmain.HGroupID = lsmain[0].HGroupID; |
| | | |
| | | if (webserver.set_SaveMoveStockBill(websLsmain, "-1", ref DBUtility.ClsPub.sErrInfo)) |
| | | if (webserver.set_SaveMoveStockBill(websLsmain, sSourceBillType, ref DBUtility.ClsPub.sErrInfo)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | |
| | | // DataSet ds = new DataSet(); |
| | | // WebServer webserver = new WebServer(); |
| | | string sWhere = " Where 单据号 like '%" + HSourceBillNo.Trim() + "%'"; |
| | | ds = webserver.GetSc_PPBomBillList(sWhere); |
| | | if (HSourceBillType == "3720") |
| | | { |
| | | ds = webserver.GetSc_PPBomBillList(sWhere); |
| | | } |
| | | else if (HSourceBillType == "1243") |
| | | { |
| | | ds = webserver.GetKf_MoveStockRequestBillList(sWhere); |
| | | } |
| | | if (ds == null || ds.Tables[0].Rows.Count <= 0) |
| | | { |
| | | |