|
|
@@ -9,30 +9,30 @@ Ext.define('saas.view.document.customer.BasePanel', {
|
|
|
xtype : "textfield",
|
|
|
name : "cu_code",
|
|
|
emptyText : "客户编号",
|
|
|
- columnWidth : 0.25,
|
|
|
+ width:90,
|
|
|
},{
|
|
|
xtype : "textfield",
|
|
|
name : "cu_name",
|
|
|
emptyText : "客户名称",
|
|
|
- columnWidth : 0.25
|
|
|
+ width:90,
|
|
|
},{
|
|
|
editable:false,
|
|
|
hiddenBtn:true,
|
|
|
xtype : "remotecombo",
|
|
|
storeUrl:'/api/document/customerkind/getCombo',
|
|
|
name : "cu_type",
|
|
|
- emptyText : "请选择客户类型",
|
|
|
- columnWidth : 0.25
|
|
|
+ emptyText : "客户类型",
|
|
|
+ width:120,
|
|
|
},{
|
|
|
xtype : "textfield",
|
|
|
name : "cu_sellername",
|
|
|
emptyText : "业务员",
|
|
|
- columnWidth : 0.25,
|
|
|
+ width:120,
|
|
|
},{
|
|
|
xtype : "textfield",
|
|
|
name : "cu_promisedays",
|
|
|
emptyText : "承付天数",
|
|
|
- columnWidth : 0.25,
|
|
|
+ width:120,
|
|
|
getCondition: function(value) {
|
|
|
if(value.indexOf("=")>=0||value.indexOf("<")>=0||value.indexOf(">")>=0){
|
|
|
return ' cu_promisedays ' + value;
|
|
|
@@ -46,7 +46,7 @@ Ext.define('saas.view.document.customer.BasePanel', {
|
|
|
xtype : "textfield",
|
|
|
name : "cu_credit",
|
|
|
emptyText : "额度",
|
|
|
- columnWidth : 0.25,
|
|
|
+ width:70,
|
|
|
dataIndex : "cu_credit",
|
|
|
getCondition: function(value) {
|
|
|
if(value.indexOf("=")>=0||value.indexOf("<")>=0||value.indexOf(">")>=0){
|
|
|
@@ -60,12 +60,12 @@ Ext.define('saas.view.document.customer.BasePanel', {
|
|
|
},{
|
|
|
xtype: 'combobox',
|
|
|
name: 'cu_statuscode',
|
|
|
- fieldLabel: '状态',
|
|
|
queryMode: 'local',
|
|
|
displayField: 'cu_status',
|
|
|
valueField: 'cu_statuscode',
|
|
|
- emptyText :'全部',
|
|
|
+ emptyText :'状态',
|
|
|
editable:false,
|
|
|
+ width:100,
|
|
|
store: Ext.create('Ext.data.ArrayStore', {
|
|
|
fields: ['cu_statuscode', 'cu_status'],
|
|
|
data: [
|