|
|
|
@ -587,6 +587,31 @@ Ext.extend(Shipping.MsOpOtherEdit, Ext.Panel, {
|
|
|
|
|
valueField: 'country',
|
|
|
|
|
displayField: 'country'
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.storePORTLOAD = Ext.create('DsExt.ux.RefEnumStore', {});
|
|
|
|
|
this.storePORTLOAD.load({ params: { enumTypeId: 83000 } });
|
|
|
|
|
this.comboxPORTLOAD = Ext.create('DsExt.ux.RefEnumCombox', {
|
|
|
|
|
fieldLabel: "装货港",
|
|
|
|
|
store: this.storePORTLOAD,
|
|
|
|
|
forceSelection: false,
|
|
|
|
|
flex: 1,
|
|
|
|
|
valueField: 'EnumValueName',
|
|
|
|
|
displayField: 'EnumValueName',
|
|
|
|
|
name: 'PORTLOAD'
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
this.storePORTDISCHARGE = Ext.create('DsExt.ux.RefEnumStore', {});
|
|
|
|
|
this.storePORTDISCHARGE.load({ params: { enumTypeId: 83000 } });
|
|
|
|
|
this.comboxPORTDISCHARGE = Ext.create('DsExt.ux.RefEnumCombox', {
|
|
|
|
|
fieldLabel: "卸货港",
|
|
|
|
|
store: this.storePORTDISCHARGE,
|
|
|
|
|
forceSelection: false,
|
|
|
|
|
flex: 1,
|
|
|
|
|
valueField: 'EnumValueName',
|
|
|
|
|
displayField: 'EnumValueName',
|
|
|
|
|
name: 'PORTDISCHARGE'
|
|
|
|
|
});
|
|
|
|
|
//#endregion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -617,13 +642,18 @@ Ext.extend(Shipping.MsOpOtherEdit, Ext.Panel, {
|
|
|
|
|
xtype: 'container',
|
|
|
|
|
layout: 'hbox',
|
|
|
|
|
defaultType: 'textfield',
|
|
|
|
|
items: [this.comboxBSSOURCE, this.comboxBSSOURCEDETAIL, {
|
|
|
|
|
fieldLabel: '装货港',
|
|
|
|
|
name: 'PORTLOAD'
|
|
|
|
|
}, {
|
|
|
|
|
fieldLabel: '卸货港',
|
|
|
|
|
name: 'PORTDISCHARGE'
|
|
|
|
|
}, this.comboxTRANSTYPE, this.comboxTRADETYPE]
|
|
|
|
|
items: [this.comboxBSSOURCE, this.comboxBSSOURCEDETAIL,
|
|
|
|
|
|
|
|
|
|
// {
|
|
|
|
|
// fieldLabel: '装货港',
|
|
|
|
|
// name: 'PORTLOAD'
|
|
|
|
|
//}, {
|
|
|
|
|
// fieldLabel: '卸货港',
|
|
|
|
|
// name: 'PORTDISCHARGE'
|
|
|
|
|
// }
|
|
|
|
|
, this.comboxPORTLOAD
|
|
|
|
|
, this.comboxPORTDISCHARGE
|
|
|
|
|
, this.comboxTRANSTYPE, this.comboxTRADETYPE]
|
|
|
|
|
}, {
|
|
|
|
|
xtype: 'container',
|
|
|
|
|
layout: 'hbox',
|
|
|
|
|