JinHanShengHang
ddlucky 7 months ago
commit 01c2151e19

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
<NameOfLastUsedPublishProfile>FolderProfile</NameOfLastUsedPublishProfile>
<UseIISExpress>true</UseIISExpress>
<Use64BitIISExpress />

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
<UseIISExpress>true</UseIISExpress>
<Use64BitIISExpress />
<IISExpressSSLPort />

@ -1050,7 +1050,7 @@ Ext.extend(Shipping.MsChInvoiceIndex, Ext.Panel, {
}
Ext.MessageBox.confirm(Zi.LAN.Prompt, Zi.LAN.suredelete, function (btn) {
Ext.MessageBox.confirm(Zi.LAN.Prompt, '确实要作废吗?', function (btn) {
if (btn == 'yes') {
Ext.Ajax.request({
waitMsg: Zi.LAN.nowdelete,

@ -1993,7 +1993,7 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeDAL
var blUpSQL = " insert into sys_log(GID,NAME,LOGTYPE,LOGTIME,LOGCONTENT,CREATEUSER) values(NEWID(),'" + headData.BSNO + "','ETD更改','" + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + "','" + headData.ETD + '(' + ETD + ')' + "','" + userid + "')";
bool bl = T_ALL_DA.GetExecuteSqlCommand(blUpSQL);
}
var ACCDATE2 = T_ALL_DA.GetStrSQL("ACCDATE", "select MBLNO from OP_SEAE WHERE BSNO='" + headData.BSNO + "'");
var ACCDATE2 = T_ALL_DA.GetStrSQL("ACCDATE", "select ACCDATE from OP_SEAE WHERE BSNO='" + headData.BSNO + "'");
if (ACCDATE2 != headData.ACCDATE)
{
var blUpSQL = " insert into sys_log(GID,NAME,LOGTYPE,LOGTIME,LOGCONTENT,CREATEUSER) values(NEWID(),'" + headData.BSNO + "','会计期间更改','" + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + "','" + headData.ACCDATE + '(' + ACCDATE2 + ')' + "','" + userid + "')";
@ -2233,14 +2233,19 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeDAL
//则用ctnall的前两位填充size
//用ctnall的后两位填充ctn
foreach (var ctn in bodyList) {
if (!string.IsNullOrWhiteSpace(ctn.CTNALL) && string.IsNullOrWhiteSpace(ctn.SIZE))
{
ctn.SIZE = ctn.CTNALL.Substring(0, 2);
}
if (!string.IsNullOrWhiteSpace(ctn.CTNALL) && string.IsNullOrWhiteSpace(ctn.CTN))
if (bodyList != null)
{
foreach (var ctn in bodyList)
{
ctn.SIZE = ctn.CTNALL.Substring(ctn.CTNALL.Length - 2, 2);
if (!string.IsNullOrWhiteSpace(ctn.CTNALL) && string.IsNullOrWhiteSpace(ctn.SIZE))
{
ctn.SIZE = ctn.CTNALL.Substring(0, 2);
}
if (!string.IsNullOrWhiteSpace(ctn.CTNALL) && string.IsNullOrWhiteSpace(ctn.CTN))
{
ctn.SIZE = ctn.CTNALL.Substring(ctn.CTNALL.Length - 2, 2);
}
}
}

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
<UseIISExpress>true</UseIISExpress>
<Use64BitIISExpress />
<IISExpressSSLPort />

Loading…
Cancel
Save