DS7合规校验内容的显示样式稍作修改;诚锐出库流程变动

DS7_JinGang
ddlucky 2 years ago
parent ff878d2261
commit fe168e3196

@ -6395,10 +6395,11 @@ namespace DSWeb.Areas.CommMng.DAL
var ruleresult = JsonConvert.Deserialize<RulesEngineResult_Root>(rtn);
var msg = "";
foreach (var detail in ruleresult.extra.detailList) {
msg += detail.resultName+"\r\n";
}
//var msg = "";
//foreach (var detail in ruleresult.extra.detailList) {
// msg += detail.resultName+"\r\n";
//}
result.Data = ruleresult;
result.OK("校验完成");
return result;
@ -6622,7 +6623,8 @@ namespace DSWeb.Areas.CommMng.DAL
if (!string.IsNullOrWhiteSpace(head.PORTDISCHARGEID)) {
bi.portDischargeCountryNo = head.PORTDISCHARGEID.Substring(0, 2);
if (head.PORTDISCHARGEID.Length >= 2)
bi.portDischargeCountryNo = head.PORTDISCHARGEID.Substring(0, 2);
var dischargecountry = cdc.code_country.FirstOrDefault(x => x.COUNTRYID == bi.portDischargeCountryNo);
if (dischargecountry != null) {
@ -6634,8 +6636,8 @@ namespace DSWeb.Areas.CommMng.DAL
if (!string.IsNullOrWhiteSpace(head.TRANSPORT))
{
bi.transportCountryNo = head.TRANSPORT.Substring(0, 2);
if(head.TRANSPORT.Length>=2)
bi.transportCountryNo = head.TRANSPORT.Substring(0, 2);
var transportcountry = cdc.code_country.FirstOrDefault(x => x.COUNTRYID == bi.transportCountryNo);
if (transportcountry != null)

@ -509,7 +509,11 @@ namespace DSWeb.Areas.MvcShipping.Helper
foreach (var item in wmsinList)
{
var = list.First(x => x.GID == item.CHEDUIID).SHORTNAME;
var = "";
if(!string.IsNullOrWhiteSpace(item.CHEDUIID))
= list.First(x => x.GID == item.CHEDUIID).SHORTNAME;
var newrk = new List<DingTalkFormField>
{
new DingTalkFormField("提单号", item.BLNO),

@ -19787,8 +19787,25 @@ Ext.extend(Shipping.MsOpSeaeEdit, Ext.Panel, {
var grid = Ext.create('Ext.grid.Panel', {
store: store,
columns: [
//{ text: "校验提醒", flex: 1, dataIndex: 'errorType', sortable: true },
{ text: "校验内容", flex: 1, dataIndex: 'resultName', sortable: true }
{
text: " ", flex: 1, dataIndex: 'errorType', sortable: true,
renderer: function (value, cellmeta) {
if (value == "Error" ) {
return "<img src='../../../../TruckMng/Content/Images/upload-stop.gif' />";
}
if (value == "Warning") {
return "<img src='../../../../TruckMng/Content/Images/btn-warning.png' />";
}
}
},
{
text: "校验内容", flex: 11, dataIndex: 'resultName', sortable: true,
renderer: function (value, meta, record) {
meta.style = 'overflow:auto;padding: 1px 6px;text-overflow: ellipsis;white-space: nowrap;white-space:normal;line-height:20px;';
return value;
}
}
],
forceFit: true,
split: true,

Loading…
Cancel
Save