|
|
|
@ -135,22 +135,41 @@ Ext.extend(Shipping.MsCodeCtnEdiIndex, Ext.Panel, {
|
|
|
|
|
|
|
|
|
|
this.storeCustomerNameRef = Ext.create('DsExt.ux.RefTableStore', {
|
|
|
|
|
model: 'DsShipping.ux.CustomRefModel',
|
|
|
|
|
proxy: { url: '/CommMng/BasicDataRef/GetCustomRefListRm' }
|
|
|
|
|
proxy: { url: '/CommMng/BasicDataRef/GetCustomRefList' }
|
|
|
|
|
});
|
|
|
|
|
this.storeCustomerNameRef.load({ params: { condition: ""} });
|
|
|
|
|
this.storeCustomerNameRef.load({ params: { condition: "" } });
|
|
|
|
|
this.comboxCustomerNameRef = Ext.create('DsExt.ux.RefTableCombox', {
|
|
|
|
|
store: this.storeCustomerNameRef,
|
|
|
|
|
forceSelection: true,
|
|
|
|
|
matchFieldWidth: false, //下拉款自适应宽度
|
|
|
|
|
queryMode: 'remote',
|
|
|
|
|
minChars: 1,
|
|
|
|
|
queryParam: 'CODENAME',
|
|
|
|
|
autoSelect: true,
|
|
|
|
|
name: 'CUSTOMERNAME',
|
|
|
|
|
queryMode: 'local',
|
|
|
|
|
name: 'CustomerName',
|
|
|
|
|
valueField: 'CustName',
|
|
|
|
|
displayField: 'CodeAndName'
|
|
|
|
|
displayField: 'CodeAndName',
|
|
|
|
|
listeners: {
|
|
|
|
|
beforequery: function (e) {
|
|
|
|
|
return FilterCombox(e);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
//this.storeCustomerNameRef = Ext.create('DsExt.ux.RefTableStore', {
|
|
|
|
|
// model: 'DsShipping.ux.CustomRefModel',
|
|
|
|
|
// proxy: { url: '/CommMng/BasicDataRef/GetCustomRefListRm' }
|
|
|
|
|
//});
|
|
|
|
|
//this.storeCustomerNameRef.load({ params: { condition: ""} });
|
|
|
|
|
//this.comboxCustomerNameRef = Ext.create('DsExt.ux.RefTableCombox', {
|
|
|
|
|
// store: this.storeCustomerNameRef,
|
|
|
|
|
// forceSelection: true,
|
|
|
|
|
// matchFieldWidth: false, //下拉款自适应宽度
|
|
|
|
|
// queryMode: 'remote',
|
|
|
|
|
// minChars: 1,
|
|
|
|
|
// queryParam: 'CODENAME',
|
|
|
|
|
// autoSelect: true,
|
|
|
|
|
// name: 'CUSTOMERNAME',
|
|
|
|
|
// valueField: 'CustName',
|
|
|
|
|
// displayField: 'CodeAndName'
|
|
|
|
|
//});
|
|
|
|
|
|
|
|
|
|
this.gridListCustCellEditing = Ext.create('Ext.grid.plugin.CellEditing', {
|
|
|
|
|
clicksToEdit: 1
|
|
|
|
|
});
|
|
|
|
|