|
|
|
@ -1075,7 +1075,11 @@ Ext.extend(Shipping.MsOp_SuperVision_TruckEdit, Ext.Panel, {
|
|
|
|
|
text: "EXCEL导入", //"EXCEL导入",
|
|
|
|
|
iconCls: "btnexportexcel",
|
|
|
|
|
handler: function (button, event) {
|
|
|
|
|
this.onImportBillClick(button, event);
|
|
|
|
|
if (this.opStatus == 'add') {
|
|
|
|
|
Ext.Msg.show({ title: '注意', msg: '请先保存业务信息后再打开其他模块!', icon: Ext.Msg.ERROR, buttons: Ext.Msg.OK });
|
|
|
|
|
} else {
|
|
|
|
|
this.onImportBillClick(button, event);
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
scope: this
|
|
|
|
|
}, {
|
|
|
|
@ -1139,7 +1143,18 @@ Ext.extend(Shipping.MsOp_SuperVision_TruckEdit, Ext.Panel, {
|
|
|
|
|
sortable: true,
|
|
|
|
|
dataIndex: 'CUSTOMERNAME',
|
|
|
|
|
header: '发货人',
|
|
|
|
|
editor: this.comboxDetailCUSTOMER1,
|
|
|
|
|
editor: {
|
|
|
|
|
xtype: 'textfield',
|
|
|
|
|
selectOnFocus: true,
|
|
|
|
|
enableKeyEvents: true,
|
|
|
|
|
listeners: {
|
|
|
|
|
keydown: function (textfield, e) {
|
|
|
|
|
if (e.getKey() == 40) {
|
|
|
|
|
_this.onNextKeyClick(17)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
width: 120
|
|
|
|
|
}, {
|
|
|
|
|
sortable: false,
|
|
|
|
|