|
|
|
@ -153,13 +153,19 @@ Ext.extend(Shipping.FeeEditGrid, Ext.Panel, {
|
|
|
|
|
store: this.storeFeeNameRef,
|
|
|
|
|
minChars: 1,
|
|
|
|
|
matchFieldWidth: false,
|
|
|
|
|
//queryParam: 'Name',
|
|
|
|
|
queryMode: 'remote',
|
|
|
|
|
queryParam: 'Name',
|
|
|
|
|
forceSelection: true,
|
|
|
|
|
lazyRender: false,
|
|
|
|
|
name: 'FeeName',
|
|
|
|
|
valueField: 'Name',
|
|
|
|
|
displayField: 'CodeAndName',
|
|
|
|
|
listeners: {
|
|
|
|
|
beforequery: function (e) {
|
|
|
|
|
var port = _thisfee.comboxFeeNameRef.rawValue;
|
|
|
|
|
if (port != '')
|
|
|
|
|
e.query = port;
|
|
|
|
|
},
|
|
|
|
|
'focus': function (_this, eOpts) {
|
|
|
|
|
//var selections = _thisfee.gridDrChFee.getSelectionModel().getSelection(); //获得选中的项
|
|
|
|
|
//var strCustomerName = selections[0].get('FeeName');
|
|
|
|
@ -200,14 +206,19 @@ Ext.extend(Shipping.FeeEditGrid, Ext.Panel, {
|
|
|
|
|
this.comboxFeeNameRefCr = Ext.create('DsExt.ux.RefTableCombox', {
|
|
|
|
|
store: this.storeFeeNameRefCr,
|
|
|
|
|
forceSelection: true,
|
|
|
|
|
queryMode: 'local',
|
|
|
|
|
queryMode: 'remote',
|
|
|
|
|
minChars: 1,
|
|
|
|
|
//queryParam: 'Name',
|
|
|
|
|
queryParam: 'Name',
|
|
|
|
|
lazyRender: false,
|
|
|
|
|
name: 'FeeName', matchFieldWidth: false,
|
|
|
|
|
valueField: 'Name',
|
|
|
|
|
displayField: 'CodeAndName',
|
|
|
|
|
listeners: {
|
|
|
|
|
beforequery: function (e) {
|
|
|
|
|
var port = _thisfee.comboxFeeNameRefCr.rawValue;
|
|
|
|
|
if (port != '')
|
|
|
|
|
e.query = port;
|
|
|
|
|
},
|
|
|
|
|
//beforequery: function (e) {
|
|
|
|
|
// return FilterCombox(e);
|
|
|
|
|
//},
|
|
|
|
|