|
|
|
@ -33,6 +33,9 @@ Ext.extend(Shipping.MsChRecvAppSettlementEdit, Ext.Panel, {
|
|
|
|
|
this.sqlcontext = '';
|
|
|
|
|
this.formname = "MsChRecvAppSettlementEdit"; //页面名称
|
|
|
|
|
|
|
|
|
|
parentWin = window.parent.opener;
|
|
|
|
|
mainWin = getMainForm(parentWin);
|
|
|
|
|
|
|
|
|
|
this.storeMustBe = Ext.create('Ext.data.Store', {
|
|
|
|
|
model: 'DsShipping.ux.OpDefValue',
|
|
|
|
|
remoteSort: true,
|
|
|
|
@ -1100,6 +1103,39 @@ Ext.extend(Shipping.MsChRecvAppSettlementEdit, Ext.Panel, {
|
|
|
|
|
|
|
|
|
|
this.girdfeecolums = this.initgirdfeecolums;
|
|
|
|
|
|
|
|
|
|
var addDetailMenu = [
|
|
|
|
|
{
|
|
|
|
|
text: Zi.LAN.AllApplyAmount,
|
|
|
|
|
handler: function (menu, event) {
|
|
|
|
|
_this.onAddDetailClick(menu, event, '');
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var CurrList = mainWin.GetPubStore("SelectCurr").data;
|
|
|
|
|
CurrList.each(function (record) {
|
|
|
|
|
|
|
|
|
|
//jsonArray.push(record.get('ORGID'));
|
|
|
|
|
//alert(strLANGUAGES);//zh-cn
|
|
|
|
|
var data = record.data;
|
|
|
|
|
var text = data.EnumValueName;
|
|
|
|
|
if (strLANGUAGES == "en-us") {
|
|
|
|
|
text = data.EnumValueName_2
|
|
|
|
|
}
|
|
|
|
|
var curr = data.EnumValueId;
|
|
|
|
|
if (curr != "") {
|
|
|
|
|
addDetailMenu.push(
|
|
|
|
|
{
|
|
|
|
|
text: text,
|
|
|
|
|
handler: function (menu, event) {
|
|
|
|
|
_this.onAddDetailClick(menu, event, curr);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
this.gridAddFeeList = new Ext.grid.GridPanel({
|
|
|
|
|
store: this.storeAddFeeList,
|
|
|
|
|
enableHdMenu: false,
|
|
|
|
@ -1118,20 +1154,22 @@ Ext.extend(Shipping.MsChRecvAppSettlementEdit, Ext.Panel, {
|
|
|
|
|
text: Zi.LAN.AddApplyDetail ,
|
|
|
|
|
id: "btnadddetail",
|
|
|
|
|
iconCls: 'btnadddetail',
|
|
|
|
|
menu: [
|
|
|
|
|
{ text: Zi.LAN.AllApplyAmount,
|
|
|
|
|
handler: function (menu, event) {
|
|
|
|
|
_this.onAddDetailClick(menu, event, '');
|
|
|
|
|
}
|
|
|
|
|
}, { text: Zi.LAN.OnlyRMBApplyAmount,
|
|
|
|
|
handler: function (menu, event) {
|
|
|
|
|
_this.onAddDetailClick(menu, event, 'RMB');
|
|
|
|
|
}
|
|
|
|
|
}, { text: Zi.LAN.OnlyUSDApplyAmount,
|
|
|
|
|
handler: function (menu, event) {
|
|
|
|
|
_this.onAddDetailClick(menu, event, 'USD');
|
|
|
|
|
}
|
|
|
|
|
}],
|
|
|
|
|
menu: addDetailMenu,
|
|
|
|
|
|
|
|
|
|
//[
|
|
|
|
|
// { text: Zi.LAN.AllApplyAmount,
|
|
|
|
|
// handler: function (menu, event) {
|
|
|
|
|
// _this.onAddDetailClick(menu, event, '');
|
|
|
|
|
// }
|
|
|
|
|
// }, { text: Zi.LAN.OnlyRMBApplyAmount,
|
|
|
|
|
// handler: function (menu, event) {
|
|
|
|
|
// _this.onAddDetailClick(menu, event, 'RMB');
|
|
|
|
|
// }
|
|
|
|
|
// }, { text: Zi.LAN.OnlyUSDApplyAmount,
|
|
|
|
|
// handler: function (menu, event) {
|
|
|
|
|
// _this.onAddDetailClick(menu, event, 'USD');
|
|
|
|
|
// }
|
|
|
|
|
// }],
|
|
|
|
|
|
|
|
|
|
scope: this
|
|
|
|
|
}, '-', {
|
|
|
|
|