| | |
| | | #endregion |
| | | |
| | | #region çäº§ç»æåæ¨¡å æ«æå®¢æ·ç®±ï¼æï¼æ¡ç -å¯è´è£
ç®±å 20251103 |
| | | |
| | | /// <summary> |
| | | /// çäº§ç»æåæ¨¡å æ«æç®±ï¼æï¼æ¡ç |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | |
| | | [Route("WEBSController/Get_PackBarCode_PackUnionBill_New_Json_Cus")] |
| | | [HttpGet] |
| | | public object Get_PackBarCode_PackUnionBill_New_Json_Cus(Int64 HInterID, string HBillNo, string HBillType, string HBillSubType, string HBarCode_Pack, string HSourceBillNo) |
| | |
| | | |
| | | #endregion |
| | | |
| | | |
| | | #region æ£éªå æ«ææºå æ ¹æ®åæ®ç±»å æºåç±»å æºåå· è§£æå¹¶è¿åæ£éªé¡¹ç® |
| | | [Route("WEBSController/get_CheckBillBarCode_Json_CheckItem")] |
| | | [HttpGet] |
| | |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region å¯è´ è£
ç®±åæ«æç®±æ¡ç æ¥è¯¢æ¯å¦å¨å®¢æ·æ¡ç æ¡£æ¡ï¼ä¸å¨å°±è§£æä¿åå®¢æ·æ¡ç æ¡£æ¡è¡¨ |
| | | |
| | | [Route("WEBSController/GetHBarCode_CusJX")] |
| | | [HttpGet] |
| | | public object GetHBarCode_CusJX(Int64 HInterID, string HBillNo, string HBillType, string HBillSubType, string HBarCode_Pack, string HSourceBillNo) |
| | | { |
| | | try |
| | | { |
| | | |
| | | ds = oCn.RunProcReturn("exec h_p_WMS_AddPackBarCode_PackUnionBill_New_CusJX " + HInterID.ToString() + ",'" + HBillNo + "','" + HBillType + "','" + HBillSubType + "','" + HBarCode_Pack + "','" + HSourceBillNo + "'", "h_p_WMS_AddPackBarCode_PackUnionBill_New_CusJX"); |
| | | if (ds == null || ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ«æç®±ãææ¡ç åçé误ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else if (DBUtility.ClsPub.isLong(ds.Tables[0].Rows[0]["HBack"]) == 1) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[0]["HRemark"]); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "æåï¼"; |
| | | objJsonResult.data = ds.Tables[0]; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æå
¥å®¢æ·æ¡ç æ¡£æ¡è¡¨å¤±è´¥ï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | |
| | | #endregion |
| | | } |
| | | } |