|
|
@ -2927,7 +2927,28 @@ Ext.extend(Shipping.MsOpSeaeIndex, Ext.Panel, {
|
|
|
|
_this.onSendToDJY('del');
|
|
|
|
_this.onSendToDJY('del');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//, {
|
|
|
|
|
|
|
|
// text: Zi.LAN.ESL, //"ESL业务执行",
|
|
|
|
|
|
|
|
// menu: [
|
|
|
|
|
|
|
|
// {
|
|
|
|
|
|
|
|
// text: Zi.LAN.ESL_ETA, //"ESL到港时间更新",
|
|
|
|
|
|
|
|
// handler: function (menu, event) {
|
|
|
|
|
|
|
|
// _this.ESLWork("ETA");
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
// },
|
|
|
|
|
|
|
|
// {
|
|
|
|
|
|
|
|
// text: Zi.LAN.ESL_CWFPCX, //"ESL舱位分配查询",
|
|
|
|
|
|
|
|
// handler: function (menu, event) {
|
|
|
|
|
|
|
|
// _this.ESLWork("CWFPCX");
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
// }, {
|
|
|
|
|
|
|
|
// text: Zi.LAN.ESL_GSDXZ, //"ESL格式单批量接收",
|
|
|
|
|
|
|
|
// handler: function (menu, event) {
|
|
|
|
|
|
|
|
// _this.ESLWork("GSDXZ");
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
// ]
|
|
|
|
|
|
|
|
//}
|
|
|
|
, {
|
|
|
|
, {
|
|
|
|
text: '推送港联顺费用',
|
|
|
|
text: '推送港联顺费用',
|
|
|
|
handler: function (menu, event) {
|
|
|
|
handler: function (menu, event) {
|
|
|
@ -15989,6 +16010,59 @@ Ext.extend(Shipping.MsOpSeaeIndex, Ext.Panel, {
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
, ESLWork: function (WORKTYPE) {
|
|
|
|
|
|
|
|
var selections = this.GridCheckBoxModel.selected.items;
|
|
|
|
|
|
|
|
if (selections.length == 0) {
|
|
|
|
|
|
|
|
Ext.Msg.show({ title: Zi.LAN.TiShi, msg: Zi.LAN.QingXianXuanZeYeWu, icon: Ext.Msg.INFO, buttons: Ext.Msg.OK }); //请先选择要更新的业务!
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
var BSNOStr = '';
|
|
|
|
|
|
|
|
for (var i = 0; i < selections.length; i++) {
|
|
|
|
|
|
|
|
var rec = selections[i];
|
|
|
|
|
|
|
|
var BSNO = "'" + rec.data.BSNO + "'";
|
|
|
|
|
|
|
|
if (BSNOStr == '')
|
|
|
|
|
|
|
|
BSNOStr = BSNO;
|
|
|
|
|
|
|
|
else {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BSNOStr = BSNOStr + ',' + BSNO;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (BSNOStr == '') {
|
|
|
|
|
|
|
|
Ext.Msg.show({ title: Zi.LAN.TiShi, msg: Zi.LAN.QingXianXuanZeYeWu, icon: Ext.Msg.INFO, buttons: Ext.Msg.OK });
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else {
|
|
|
|
|
|
|
|
Ext.Ajax.request({
|
|
|
|
|
|
|
|
waitMsg: '',
|
|
|
|
|
|
|
|
url: '/MvcShipping/MsOpSeae/ESLWork',
|
|
|
|
|
|
|
|
params: {
|
|
|
|
|
|
|
|
WORKTYPE: WORKTYPE,
|
|
|
|
|
|
|
|
BSNO: BSNOStr
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
callback: function (options, success, response) {
|
|
|
|
|
|
|
|
if (success) {
|
|
|
|
|
|
|
|
var result = Ext.JSON.decode(response.responseText);
|
|
|
|
|
|
|
|
if (result.Success != true) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Ext.Msg.show({ title: Zi.LAN.TiShi, msg: result.Message, icon: Ext.Msg.INFO, buttons: Ext.Msg.OK });
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MsgTip("提示", result.Message, 2500);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
Ext.Msg.show({ title: Zi.LAN.ChuoWu, msg: result.Message, icon: Ext.Msg.ERROR, buttons: Ext.Msg.OK });
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
scope: this
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
function fnSearch() {
|
|
|
|
function fnSearch() {
|
|
|
|