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