|
|
@@ -64,30 +64,9 @@ Ext.define('saas.view.sale.sale.FormPanel', {
|
|
|
allowBlank : false
|
|
|
}, {
|
|
|
name : "sa_toplace",
|
|
|
- editable:false,
|
|
|
- xtype : "remotecombo",
|
|
|
- storeUrl:'/api/document/address/getCombo',
|
|
|
+ xtype : "textfield",
|
|
|
fieldLabel : "交货地址",
|
|
|
- allowBlank : false,
|
|
|
- columnWidth : 0.5,
|
|
|
- hiddenBtn:false,//true 则会关闭新增按钮功能
|
|
|
- addHandler:function(b){
|
|
|
- var document = Ext.create('saas.view.document.kind.Kind',{});
|
|
|
- var form = this.ownerCmp.ownerCt;
|
|
|
- this.dialog = form.getController().getView().add({
|
|
|
- xtype: 'document-kind-childwin',
|
|
|
- bind: {
|
|
|
- title: '新增交货地址'
|
|
|
- },
|
|
|
- dataKind:'address',
|
|
|
- belong:document.etc['address'],
|
|
|
- _parent:form,
|
|
|
- _combo:this.ownerCmp,
|
|
|
- record:null,
|
|
|
- session: true
|
|
|
- });
|
|
|
- this.dialog.show();
|
|
|
- }
|
|
|
+ columnWidth : 0.5
|
|
|
}, {
|
|
|
name : "detailGridField",
|
|
|
xtype : "detailGridField",
|