@ -1541,31 +1541,8 @@ Ext.extend(Shipping.InspectionIndex, Ext.Panel, {
scope : this
scope : this
}
}
, '-' , {
, '-' , {
text : "EDI报文" ,
menu : [ {
text : "导出易航线" ,
handler : function ( menu , event ) {
_this . onCreateELineEDIClick ( menu , event ) ;
}
} , '-' , {
text : "导入博世报文" ,
handler : function ( menu , event ) {
_this . ImortBsXml ( menu , event ) ;
}
} , {
text : "导出博世报文" ,
handler : function ( menu , event ) {
_this . onCreateBsXml ( menu , event ) ;
}
} , {
text : "上传博世报文" ,
handler : function ( menu , event ) {
_this . onUpdateBsXml ( menu , event ) ;
}
} ] ,
scope : this
} , '-' , {
text : '导出EXCEL' , //"EXCEL模板导出",
text : '导出EXCEL' , //"EXCEL模板导出",
iconCls : "btnexportexcel" ,
iconCls : "btnexportexcel" ,
handler : function ( button , event ) {
handler : function ( button , event ) {
@ -1578,11 +1555,7 @@ Ext.extend(Shipping.InspectionIndex, Ext.Panel, {
, {
, {
text : "其他操作" ,
text : "其他操作" ,
menu : [
menu : [
{ text : "批量状态更新" ,
{
handler : function ( menu , event ) {
_this . onUpOpStatusClick ( menu , event , 1 ) ;
}
} , {
text : "业务批量修改" , //"业务批量修改",
text : "业务批量修改" , //"业务批量修改",
handler : function ( menu , event ) {
handler : function ( menu , event ) {
_this . winModifyShow . show ( ) ;
_this . winModifyShow . show ( ) ;
@ -1604,33 +1577,10 @@ Ext.extend(Shipping.InspectionIndex, Ext.Panel, {
handler : function ( menu , event ) {
handler : function ( menu , event ) {
_this . onPiLiangServiceFeeClick ( menu , event ) ;
_this . onPiLiangServiceFeeClick ( menu , event ) ;
}
}
} , { text : "刷新舱单状态" ,
handler : function ( menu , event ) {
_this . onCustomRefreshStatusClick ( menu , event ) ;
}
} , { text : "烟台码头状态" ,
handler : function ( menu , event ) {
_this . onYanTaiYardStatusClick ( menu , event ) ;
}
} , { text : "QQCT|QQCTU海关放行" ,
handler : function ( menu , event ) {
_this . onQQCTQQCTUBILLClick ( menu , event ) ;
}
} ] ,
} ] ,
scope : this
scope : this
}
}
, '-' , {
text : "批量读取单一窗口信息" ,
id : "btnGetSingle" ,
hidden : true ,
handler : function ( button , event ) {
_this . GetDecHead _Port _Time ( ) ;
} ,
scope : this
} , this . comboxcdnType
, this . comboxisSecondApply
, this . comboxIES
, this . comboxisdownload
]
]
} ) ;
} ) ;
@ -2196,31 +2146,6 @@ Ext.extend(Shipping.InspectionIndex, Ext.Panel, {
//#endregion
//#endregion
Ext . Ajax . request ( {
waitMsg : '' ,
url : '/MvcShipping/MsBaseInfo/GetUserModuleEnable' ,
params : {
modulename : "modGetSingle"
} ,
callback : function ( options , success , response ) {
if ( success ) {
var result = Ext . JSON . decode ( response . responseText ) ;
if ( result . Success != true ) {
} else {
var btnEdit = Ext . getCmp ( 'btnGetSingle' ) ;
btnEdit . setVisible ( true ) ;
}
} else {
}
} ,
scope : this
} ) ;
} , //end initUIComponents
} , //end initUIComponents
InitGrid : function ( ) {
InitGrid : function ( ) {
@ -3455,7 +3380,7 @@ Ext.extend(Shipping.InspectionIndex, Ext.Panel, {
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 printType = ' MSOPAPPLY LIST';
var printType = ' INSPECTION LIST';
var sql1 = returnstr ;
var sql1 = returnstr ;
var sql2 = "select * from op_apply where BSNO='" + bsno + "'" ;
var sql2 = "select * from op_apply where BSNO='" + bsno + "'" ;
var sql3 = "" ;
var sql3 = "" ;
@ -3519,7 +3444,7 @@ Ext.extend(Shipping.InspectionIndex, Ext.Panel, {
bsno = record . data . BSNO ;
bsno = record . data . BSNO ;
}
}
var printType = ' MSOPAPPLYLIST SELECT';
var printType = ' INSPECTION SELECT';
var sql1 = "select *,(SELECT TOP 1 STATUS FROM OP_STATUS WHERE BSNO=op_apply.BSNO ORDER BY COMPTIME DESC,INPUTTIME DESC) as OPSTATUS from op_apply WHERE BSNO IN (" + feeGidSql + ") order by " + sortstr ;
var sql1 = "select *,(SELECT TOP 1 STATUS FROM OP_STATUS WHERE BSNO=op_apply.BSNO ORDER BY COMPTIME DESC,INPUTTIME DESC) as OPSTATUS from op_apply WHERE BSNO IN (" + feeGidSql + ") order by " + sortstr ;
var sql2 = "select *,(SELECT TOP 1 STATUS FROM OP_STATUS WHERE BSNO=op_apply.BSNO ORDER BY COMPTIME DESC,INPUTTIME DESC) as OPSTATUS from op_apply where BSNO='" + bsno + "'" ;
var sql2 = "select *,(SELECT TOP 1 STATUS FROM OP_STATUS WHERE BSNO=op_apply.BSNO ORDER BY COMPTIME DESC,INPUTTIME DESC) as OPSTATUS from op_apply where BSNO='" + bsno + "'" ;
var sql3 = "" ;
var sql3 = "" ;