监管车明细,发货人改为文本框;未保存前点击导入excel提示请先保存业务

DS7_JingHan
ddlucky 2 years ago
parent 791732103e
commit 4a5189bce4

@ -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,

Loading…
Cancel
Save