|
|
|
@ -1110,7 +1110,9 @@ Ext.extend(Shipping.MsChInvoiceAppEdit, Ext.Panel, {
|
|
|
|
|
this.gridListAppDetailAfterEdit(editor, e, eOpts);
|
|
|
|
|
}, this);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.gridAppDetailCellEditing.on('beforeedit', function (editor, e) {
|
|
|
|
|
return this.gridAppDetailcellEditingBeforeEdit(editor, e);
|
|
|
|
|
}, this);
|
|
|
|
|
|
|
|
|
|
//#endregion
|
|
|
|
|
|
|
|
|
@ -1609,7 +1611,13 @@ Ext.extend(Shipping.MsChInvoiceAppEdit, Ext.Panel, {
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
gridAppDetailcellEditingBeforeEdit: function (editor, e) {
|
|
|
|
|
var BILLSTATUS = e.record.get('BILLSTATUS');
|
|
|
|
|
if (BILLSTATUS == '已开') {
|
|
|
|
|
//Ext.Msg.show({ title: '提示', msg: '已开不允许修改!', icon: Ext.Msg.INFO, buttons: Ext.Msg.OK });
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
onAddInvAppDetailClick: function () {
|
|
|
|
|
|
|
|
|
|