DS7_HYRD
hanxuntao 7 months ago
parent d7d9133bb8
commit c069699db2

@ -12,7 +12,7 @@ Ext.extend(Shipping.MsRptProfitViewIndex, Ext.Panel, {
OprationStatus: null, //仅当弹出界面时使用
SelectedRecord: null,
sqlcontext: '1=2',
sqlselect: '1=2',
initUIComponents: function () {
//定义数据集

@ -133,7 +133,18 @@ Ext.extend(Shipping.MsRptOpProfitPerCentIndex, Ext.Panel, {
//alert(month);
openNewDiv("layer", Zi.LAN.TITLE, 1083, 630, escape(objName));
var rdOBJNAME = Ext.getCmp('rdOBJNAME');
var OBJNAME = rdOBJNAME.getValue();
this.sqlselect = " B." + OBJNAME + "='" + objName + "'";
var openSet = "height=700, width=1024, toolbar=no, menubar=no,scrollbars=1, resizable=1,location=no, status=no,Top= " + (screen.height - 750) / 2 + ",Left= " + (screen.width - 1100) / 2
var openType = "_blank";
var openUrl = "";
openUrl = "../MvcShipping/MsRptOpProfit/ViewIndex";
window.open(openUrl, openType, openSet);
//openNewDiv("layer", Zi.LAN.TITLE, 1083, 630, escape(objName));
}, this);
//////////////////////////////////////////////////////////////////////////////////////////////

Loading…
Cancel
Save