20240417 康乾 大简云同步调整

dev
ddlucky 7 months ago
parent 17a976d647
commit c282e4bc4e

1
.gitignore vendored

@ -105,3 +105,4 @@ DSWeb/Properties/PublishProfiles/FolderProfile.pubxml
/DSWeb.DJY_RESP/packages /DSWeb.DJY_RESP/packages
/DSWeb.DJY_RESP/publish /DSWeb.DJY_RESP/publish
/DSWeb/INVOICEPDF /DSWeb/INVOICEPDF
/DSWeb/DSWeb.csproj.user

@ -873,7 +873,7 @@ namespace DSWeb.Areas.CommMng.DAL
YARD = yard, YARD = yard,
VESSEL = vessel, VESSEL = vessel,
VOYNO = voynoinner, VOYNO = voynoinner,
ETD = SetDayMinute_Str(YgtETD), ETD = SetDayMinute_Str(etd),
//ETD = SetDayMinute_Str(YgtETD), //ETD = SetDayMinute_Str(YgtETD),
ETA = SetDayZero_Str(eta), ETA = SetDayZero_Str(eta),
ATD = SetDayMinute_Str(atd), ATD = SetDayMinute_Str(atd),
@ -897,7 +897,7 @@ namespace DSWeb.Areas.CommMng.DAL
PAYABLEAT = payableat, PAYABLEAT = payableat,
SERVICE = service, SERVICE = service,
MARKS = (marks), MARKS = (marks),
CUSTSERVICE = service, CUSTSERVICE = custservice,
HSCODE = hscode, HSCODE = hscode,
GOODSNAME = , GOODSNAME = ,
DESCRIPTION = (description), DESCRIPTION = (description),
@ -925,7 +925,7 @@ namespace DSWeb.Areas.CommMng.DAL
//合同号 = pono, //合同号 = pono,
ORDERNO = pono, ORDERNO = pono,
//合同号备注 = pono, //合同号备注 = pono,
FRCUSTSERVICE = custservice, //CUSTSERVICE = custservice,
OP = op, OP = op,
DOC = doc, DOC = doc,
@ -1271,6 +1271,7 @@ namespace DSWeb.Areas.CommMng.DAL
ctnbsno = "*"; ctnbsno = "*";
var newctn = new MsOpSeaeDetail var newctn = new MsOpSeaeDetail
{ {
CTN_ID = Guid.NewGuid().ToString(),
CTNCODE = info.CTNID, CTNCODE = info.CTNID,
SIZE = info.CTNSIZE, SIZE = info.CTNSIZE,
CTN = info.CTN, CTN = info.CTN,

@ -46,7 +46,7 @@ namespace DSWeb.MvcShipping.DAL.OP_SERVICEBILLDAL
{ {
#region 查询 #region 查询
const string HeadSql = " SELECT BSNO,PARENTID,CORPID,SALECORPID,DEPT,SALEDEPT,SALE,BILLSTATUS,BSSTATUS,FEESTATS,MBLNO,CUSTNO,CUSTOMNO,CONTRACTNO,SERVICETYPE,INPUTBY,TEL,ACCDATE,BSDATE,MODIFIEDUSER,MODIFIEDTIME,ETA,ATA,VESSEL,VOYNO,FORWARDER,SHIPAGENCY,CARRIER,CUSTOMERNAME,FEE_1 ,FEE_2,REMARK,SERVICE,DJYID FROM OP_SERVICEBILL where 1=1 "; const string HeadSql = " SELECT BSNO,PARENTID,CORPID,SALECORPID,DEPT,SALEDEPT,SALE,BILLSTATUS,BSSTATUS,FEESTATS,MBLNO,CUSTNO,CUSTOMNO,CONTRACTNO,SERVICETYPE,INPUTBY,TEL,ACCDATE,BSDATE,MODIFIEDUSER,MODIFIEDTIME,ETA,ATA,VESSEL,VOYNO,FORWARDER,SHIPAGENCY,CARRIER,CUSTOMERNAME,FEE_1 ,FEE_2,REMARK,SERVICE,DJYID,''OT1,''OT2,''OT3,''OT4 FROM OP_SERVICEBILL where 1=1 ";
public static List<OP_SERVICEBILL_md> GetDataList(int start, int limit, string sort, string condition, VW_user_md userinfo, ref int count) public static List<OP_SERVICEBILL_md> GetDataList(int start, int limit, string sort, string condition, VW_user_md userinfo, ref int count)

@ -1256,8 +1256,22 @@ Ext.extend(Shipping.MsOpSeaeIndex, Ext.Panel, {
width: 70 width: 70
}, { }, {
dataIndex: 'TRADETERM', dataIndex: 'TRADETERM',
header: Zi.LAN.TRADETERM, //'货物标识', header: Zi.LAN.TRADETERM, //'贸易条款',
width: 70 width: 70
}, {
sortable: false,
dataIndex: 'DJYID',
text: Zi.LAN.ISDJYORDER,
width: 90,
renderer: function (value, meta, record) {
if (value) {
meta.tdCls = 'feestatus_pass';
return "是";
} else {
return "";
}
}
}, { }, {
dataIndex: 'ISCANCEL', dataIndex: 'ISCANCEL',
header: Zi.LAN.TUI_B, //'退舱', header: Zi.LAN.TUI_B, //'退舱',
@ -1448,7 +1462,9 @@ Ext.extend(Shipping.MsOpSeaeIndex, Ext.Panel, {
return ""; return "";
} }
} }
}, { }
, {
sortable: false, sortable: false,
dataIndex: 'RCVESTATUS', dataIndex: 'RCVESTATUS',
text: Zi.LAN.RCVESTATUS, text: Zi.LAN.RCVESTATUS,
@ -1468,7 +1484,11 @@ Ext.extend(Shipping.MsOpSeaeIndex, Ext.Panel, {
return ""; return "";
} }
} }
}]; }
];
this.girdcolums = this.initgirdcolums; this.girdcolums = this.initgirdcolums;

@ -227,7 +227,8 @@
{ name: 'PROFITRATE', type: 'string' }, { name: 'PROFITRATE', type: 'string' },
{ name: 'GROUPBS', type: 'string' }, { name: 'GROUPBS', type: 'string' },
{ name: 'IRCODE', type: 'string' }, { name: 'IRCODE', type: 'string' },
{ name: 'BillFeeStatus', type: 'string' } { name: 'BillFeeStatus', type: 'string' },
{ name: 'DJYID', type: 'string' }
] ]

@ -845,3 +845,4 @@ Zi.LAN.ImportAndClose = "引入并关闭";
Zi.LAN.SERVICETYPE = "业务类型"; Zi.LAN.SERVICETYPE = "业务类型";
Zi.LAN.SERVICEBILLService = "费用项目"; Zi.LAN.SERVICEBILLService = "费用项目";
Zi.LAN.ATA = "ATA"; Zi.LAN.ATA = "ATA";
Zi.LAN.ISDJYORDER = "是否大简云订舱";

@ -692,7 +692,14 @@ Ext.extend(Shipping.OP_SERVICEBILLEdit, Ext.Panel, {
dataIndex: 'RECEIPTTYPE', dataIndex: 'RECEIPTTYPE',
header: '单据类型', header: '单据类型',
editor: this.comboxReceiptid_DOC, editor: this.comboxReceiptid_DOC,
width: 80 width: 80,
renderer: function (value, p, record) {
if (value != "发票" && value != "账单") {
return "原始单据"
} else {
return value;
}
}
}, },
{ {
sortable: true, hidden: true, sortable: true, hidden: true,
@ -1709,11 +1716,11 @@ Ext.extend(Shipping.OP_SERVICEBILLEdit, Ext.Panel, {
buttonCfg: { iconCls: 'uploaddialog' }, buttonCfg: { iconCls: 'uploaddialog' },
anchor: '98%' anchor: '98%'
}, { }, {
xtype: 'textfield', xtype: 'textfield', hidden:true,
id: 'FILETYPEField', id: 'FILETYPEField',
name: 'FILETYPE', name: 'FILETYPE',
fieldLabel: '随附单证代码', fieldLabel: '文件类型',
values:'原始单据' values:''
} }
, { , {
@ -1747,7 +1754,7 @@ Ext.extend(Shipping.OP_SERVICEBILLEdit, Ext.Panel, {
params: { params: {
CUSTNO: billno, CUSTNO: billno,
BSNO: BSNO, BSNO: BSNO,
TYPE: comboxFileType.getRawValue(), TYPE: "",//Ext.getCmp('FILETYPEField').getValue(),
DOCUMENTATTACHEDCODE: Ext.getCmp('DOCUMENTATTACHEDCODE').getValue(), //需求编号SR2017081100003 DOCUMENTATTACHEDCODE: Ext.getCmp('DOCUMENTATTACHEDCODE').getValue(), //需求编号SR2017081100003
DOCUMENTATTACHEDNO: Ext.getCmp('DOCUMENTATTACHEDNO').getValue() //需求编号SR2017081100003 DOCUMENTATTACHEDNO: Ext.getCmp('DOCUMENTATTACHEDNO').getValue() //需求编号SR2017081100003
}, },

@ -832,18 +832,18 @@ Ext.extend(Shipping.OP_SERVICEBILLIndex, Ext.Panel, {
scope: this scope: this
} }
//, { , {
// text: "打印", id: "print", text: "导出", id: "export",
// tooltip: 'print', tooltip: 'export',
// handler: function (button, event) { handler: function (button, event) {
// //this.PushState("30011"); //this.PushState("30011");
// this.Print(); this.onExportClick();
// }, },
// scope: this scope: this
//} }
, { , {
xtype: 'button', xtype: 'button',hidden:true,
text: "高级查询", text: "高级查询",
iconCls: "btnmore", iconCls: "btnmore",
handler: function (button, event) { handler: function (button, event) {
@ -1352,9 +1352,7 @@ Ext.extend(Shipping.OP_SERVICEBILLIndex, Ext.Panel, {
} }
, onExportClick: function (button, event) { , onExportClick: function (button, event) {
if (this.storeBodyList.getCount() == 0) { _this = this;
return;
}
var sortstr = ''; var sortstr = '';
if (this.sortfield != '' && this.sortdire != '') { if (this.sortfield != '' && this.sortdire != '') {
@ -1378,11 +1376,11 @@ Ext.extend(Shipping.OP_SERVICEBILLIndex, Ext.Panel, {
Ext.MessageBox.hide(); Ext.MessageBox.hide();
var jsonresult = Ext.JSON.decode(response.responseText); var jsonresult = Ext.JSON.decode(response.responseText);
if (jsonresult.Success) { if (jsonresult.Success) {
var returnstr = jsonresult.Data; var returnstr = jsonresult.data;
var sql1 = returnstr; var sql1 = returnstr;
sql1 = sql1.replace(/\+/g, "@@@") sql1 = sql1.replace(/\+/g, "@@@")
if (sql1 != '') { if (sql1 != '') {
GridExportBySql(sql1, _this.formname + 'bill', '委托结算服务.xls'); GridExportBySql(sql1, _this.formname , '委托结算服务.xls');
} }

@ -19,7 +19,7 @@ namespace DSWeb.SoftMng.Common
/// <returns>如果参数存在不安全字符则返回true</returns> /// <returns>如果参数存在不安全字符则返回true</returns>
public static bool SqlFilterExist(string source) public static bool SqlFilterExist(string source)
{ {
string pattern = @"(insert|delete|database|go|db_name|sys.|exec|create|grant|revoke|alter|execute|drop|openrowset|\(|drop table|update|truncate|asc\(|mid\(|char\(|xp_cmdshell|netlocalgroup administrators|net user|dec|exec|database|chr|declare)([\s+.*]|$)"; string pattern = @"(insert|delete|database|go|db_name|sys.|exec|create|grant|revoke|alter|execute|drop|openrowset|drop table|update|truncate|asc\(|mid\(|char\(|xp_cmdshell|netlocalgroup administrators|net user|dec|exec|database|chr|declare)([\s+.*]|$)";
if (Regex.IsMatch(source, pattern, RegexOptions.IgnoreCase)) if (Regex.IsMatch(source, pattern, RegexOptions.IgnoreCase))
return true; return true;
return false; return false;

@ -1,40 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectView>ShowAllFiles</ProjectView>
<NameOfLastUsedPublishProfile>配置文件1</NameOfLastUsedPublishProfile>
<UseIISExpress>true</UseIISExpress>
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
<Use64BitIISExpress />
<IISExpressSSLPort />
<IISExpressAnonymousAuthentication />
<IISExpressWindowsAuthentication />
<IISExpressUseClassicPipelineMode />
<UseGlobalApplicationHostFile />
</PropertyGroup>
<ProjectExtensions>
<VisualStudio>
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
<WebProjectProperties>
<StartPageUrl>
</StartPageUrl>
<StartAction>CurrentPage</StartAction>
<AspNetDebugging>True</AspNetDebugging>
<SilverlightDebugging>False</SilverlightDebugging>
<NativeDebugging>False</NativeDebugging>
<SQLDebugging>False</SQLDebugging>
<ExternalProgram>
</ExternalProgram>
<StartExternalURL>
</StartExternalURL>
<StartCmdLineArguments>
</StartCmdLineArguments>
<StartWorkingDirectory>
</StartWorkingDirectory>
<EnableENC>True</EnableENC>
<AlwaysStartWebServerOnDebug>True</AlwaysStartWebServerOnDebug>
</WebProjectProperties>
</FlavorProperties>
</VisualStudio>
</ProjectExtensions>
</Project>
Loading…
Cancel
Save