付费申请审批,debug

DS7_JinGang
dengyu 1 year ago
parent 6b51dffe96
commit 756c46d57f

@ -809,6 +809,7 @@ Ext.extend(Shipping.ChPayapplicationAudit, Ext.Panel, {
} else {
return "";
}
}
}, {
sortable: true,
dataIndex: 'CURRENCY',

@ -1418,9 +1418,31 @@ namespace DSWeb.SoftMng.Controllers
//头表没有金额合计 放弃
}
//if (checktype == "原产国") {
// //对比
//}
if (checktype == "国家比对")
{
//1 头表ieflag=e时 对比头表的tradecountry 和明细的DestinationCountry
//2 头表ieflag=i时 对比头表的tradecountry 和明细的originCountry
var headcountry = head.TradeCountry;
if (head.IEFlag == "E") {
foreach (var item in body) {
if (item.DestinationCountry != headcountry) {
result.SetErrorInfo($"报关单国别{headcountry}与商品明细值{item.DestinationCountry}不一致,请注意核对!");
return result;
}
}
}
if (head.IEFlag == "I")
{
foreach (var item in body)
{
if (item.OriginCountry != headcountry)
{
result.SetErrorInfo($"报关单国别{headcountry}与商品明细值{item.OriginCountry}不一致,请注意核对!");
return result;
}
}
}
}
return result;
@ -1439,6 +1461,12 @@ namespace DSWeb.SoftMng.Controllers
{
errorstr += "<br>序号9002 (" + _r.Message + ")";
}
_r = DoCheck("国家比对");
if (!_r.Success)
{
errorstr += "<br>序号9003 (" + _r.Message + ")";
}
}
}

Loading…
Cancel
Save