|
|
@@ -5211,10 +5211,11 @@ namespace Dongke.IBOSS.PRD.Service.PMModuleLogic
|
|
|
string fhUserCode = dsResult.Tables[0].Rows[0]["FHUserCode"].ToString();
|
|
|
if (dsResult.Tables[0].Rows[0]["SENDOUTGOODSLOGID"] != null && !string.IsNullOrEmpty(dsResult.Tables[0].Rows[0]["SENDOUTGOODSLOGID"].ToString()) && dsResult.Tables[0].Rows[0]["SENDOUTGOODSLOGID"].ToString() != "0")
|
|
|
{
|
|
|
- string sqlStr1 = "select f.SENDOUTCODE from Tp_Pm_Sendoutgoodslog f WHERE f.SENDOUTGOODSLOGID = "+Convert.ToInt32(dsResult.Tables[0].Rows[0]["SENDOUTGOODSLOGID"]);
|
|
|
+ string sqlStr1 = "select f.SENDOUTCODE,f.MBLNR from Tp_Pm_Sendoutgoodslog f WHERE f.SENDOUTGOODSLOGID = " + Convert.ToInt32(dsResult.Tables[0].Rows[0]["SENDOUTGOODSLOGID"]);
|
|
|
DataTable dsResult1 = oracleConn.GetSqlResultToDt(sqlStr1, null);
|
|
|
resultEntity.Status = Constant.ServiceResultStatus.ValidationFailed;
|
|
|
- resultEntity.Message = "此产品【" + barcode + "】已发货,不能进行该操作,发货单号:"+ dsResult1.Rows[0]["SENDOUTCODE"].ToString();
|
|
|
+ resultEntity.Message = "此产品【" + barcode + "】已发货,不能进行该操作,凭证单号:【"+ dsResult1.Rows[0]["MBLNR"].ToString() +
|
|
|
+ "】;发货单号:"+ dsResult1.Rows[0]["SENDOUTCODE"].ToString();
|
|
|
return resultEntity;
|
|
|
}
|
|
|
if (string.IsNullOrEmpty(fhUserCode))
|