|
|
|
@ -446,6 +446,19 @@ namespace DSWeb.Areas.Dispatch.Controllers
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (QueryInfo.formname == "BSSOURCE")
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
var evList = BasicDataRefDAL.GetSourceList("1=1", "");
|
|
|
|
|
|
|
|
|
|
_result = Json(new
|
|
|
|
|
{
|
|
|
|
|
ErrorCode = 0,
|
|
|
|
|
Message = "获取成功",
|
|
|
|
|
BaseInfo = evList
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return _result;
|
|
|
|
|
}
|
|
|
|
|
catch (Exception e)
|
|
|
|
@ -3286,7 +3299,11 @@ namespace DSWeb.Areas.Dispatch.Controllers
|
|
|
|
|
|
|
|
|
|
var condition = SearchParam.getcondition(searchParams);
|
|
|
|
|
|
|
|
|
|
var datalist = MsSeaeOrderDAL.GetDataList(QueryInfo.start, QueryInfo.limit, condition, userinfo.USERID,userinfo.CODENAME, userinfo.COMPANYID);
|
|
|
|
|
//DatasetSort _sort = new DatasetSort();
|
|
|
|
|
|
|
|
|
|
var sortstr = @"[{""property"":""BSDATE"",""direction"":""desc""}]";
|
|
|
|
|
|
|
|
|
|
var datalist = MsSeaeOrderDAL.GetDataList(QueryInfo.start, QueryInfo.limit, condition, userinfo.USERID,userinfo.CODENAME, userinfo.COMPANYID, sortstr);
|
|
|
|
|
|
|
|
|
|
var totalcount = MsSeaeOrderDAL.getTotalCount(condition, userinfo.USERID, userinfo.CODENAME, userinfo.COMPANYID);
|
|
|
|
|
|
|
|
|
@ -3386,7 +3403,9 @@ namespace DSWeb.Areas.Dispatch.Controllers
|
|
|
|
|
|
|
|
|
|
var condition = SearchParam.getcondition(searchParams);
|
|
|
|
|
|
|
|
|
|
var datalist = MsSeaeOrderDAL.GetAuditDataList( condition, userinfo.USERID, userinfo.SHOWNAME, userinfo.COMPANYID, QueryInfo.start, QueryInfo.limit);
|
|
|
|
|
var sortstr = @"[{""property"":""BSDATE"",""direction"":""desc""}]";
|
|
|
|
|
|
|
|
|
|
var datalist = MsSeaeOrderDAL.GetAuditDataList( condition, userinfo.USERID, userinfo.SHOWNAME, userinfo.COMPANYID, QueryInfo.start, QueryInfo.limit, sortstr);
|
|
|
|
|
|
|
|
|
|
var totalcount = MsSeaeOrderDAL.getAuditCount(condition, userinfo.USERID, userinfo.SHOWNAME, userinfo.COMPANYID);
|
|
|
|
|
|
|
|
|
@ -3764,6 +3783,9 @@ namespace DSWeb.Areas.Dispatch.Controllers
|
|
|
|
|
|
|
|
|
|
if (result.Success)
|
|
|
|
|
{
|
|
|
|
|
//提交审核成功后添加费用
|
|
|
|
|
MsSeaeOrderDAL.CreateFeeOrder(headData);
|
|
|
|
|
|
|
|
|
|
return Json(new { ErrorCode = 0, Message = result.Message, Data = result.Data });
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
@ -3825,7 +3847,9 @@ namespace DSWeb.Areas.Dispatch.Controllers
|
|
|
|
|
|
|
|
|
|
if (result.Success)
|
|
|
|
|
{
|
|
|
|
|
//删除 ch_fee_order
|
|
|
|
|
//撤回提交成功 删除 ch_fee_order
|
|
|
|
|
MsSeaeOrderDAL.DeleteFeeOrder(headData);
|
|
|
|
|
|
|
|
|
|
return Json(new { ErrorCode = 0, Message = result.Message, Data = result.Data });
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
@ -3950,7 +3974,9 @@ namespace DSWeb.Areas.Dispatch.Controllers
|
|
|
|
|
|
|
|
|
|
if (result.Success)
|
|
|
|
|
{
|
|
|
|
|
//删除ch_fee_order
|
|
|
|
|
//驳回提交成功 删除 ch_fee_order
|
|
|
|
|
MsSeaeOrderDAL.DeleteFeeOrder(headData);
|
|
|
|
|
|
|
|
|
|
return Json(new { ErrorCode = 0, Message = result.Message, Data = result.Data });
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
@ -4031,7 +4057,7 @@ namespace DSWeb.Areas.Dispatch.Controllers
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取费用列表
|
|
|
|
|
/// 获取销售订舱费用列表
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="CUSTOMERNAME"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
@ -4089,7 +4115,7 @@ namespace DSWeb.Areas.Dispatch.Controllers
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 保存费用列表
|
|
|
|
|
/// 保存销售订舱费用列表
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="CUSTOMERNAME"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
@ -4117,7 +4143,6 @@ namespace DSWeb.Areas.Dispatch.Controllers
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
string LANGUAGES = "";
|
|
|
|
|
string userid = userinfo.USERID;
|
|
|
|
|
|
|
|
|
@ -4154,7 +4179,7 @@ namespace DSWeb.Areas.Dispatch.Controllers
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 删除费用列表
|
|
|
|
|
/// 删除销售订舱费用列表
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="CUSTOMERNAME"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|