|
|
|
@ -4360,18 +4360,20 @@ Ext.extend(Shipping.MsOpAirnEdit, Ext.Panel, {
|
|
|
|
|
var btnESave = Ext.getCmp('btnESave');
|
|
|
|
|
var btnESaveAndClose = Ext.getCmp('btnESaveAndClose');
|
|
|
|
|
var btnESaveAndNew = Ext.getCmp('btnESaveAndNew');
|
|
|
|
|
var btnECopyNew = Ext.getCmp('btnECopyNew');
|
|
|
|
|
var btnCUSTNO = Ext.getCmp('btnCUSTNO');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (enable) {
|
|
|
|
|
btnESave.enable();
|
|
|
|
|
btnESaveAndClose.enable();
|
|
|
|
|
btnESaveAndNew.enable();
|
|
|
|
|
//btnECopyNew.enable();
|
|
|
|
|
btnCUSTNO.enable();
|
|
|
|
|
} else {
|
|
|
|
|
btnESave.disable();
|
|
|
|
|
btnESaveAndClose.disable();
|
|
|
|
|
btnESaveAndNew.disable();
|
|
|
|
|
//btnECopyNew.disable();
|
|
|
|
|
btnCUSTNO.disable();
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
//#endregion
|
|
|
|
|