|
|
@@ -43,36 +43,52 @@ Ext.define('saas.view.stock.appropriationInOut.FormPanelController', {
|
|
|
columnWidth : 0.25
|
|
|
}],
|
|
|
dbColumns:[{
|
|
|
- conditionCode:'id',
|
|
|
"text": "供应商ID",
|
|
|
"hidden": true,
|
|
|
"dataIndex": "id",
|
|
|
- "width": 0,
|
|
|
- "xtype": "",
|
|
|
- "items": null
|
|
|
+ "width": 100,
|
|
|
+ "xtype": "numbercolumn"
|
|
|
},{
|
|
|
- conditionCode:'ve_code',
|
|
|
"text": "供应商编号",
|
|
|
"flex": 1,
|
|
|
"dataIndex": "ve_code",
|
|
|
- "width": 100,
|
|
|
- "xtype": "",
|
|
|
- "items": null
|
|
|
+ "width": 100
|
|
|
}, {
|
|
|
- conditionCode:'ve_name',
|
|
|
"text": "供应商名称",
|
|
|
"flex": 1,
|
|
|
"dataIndex": "ve_name",
|
|
|
- "xtype": "",
|
|
|
- "items": null
|
|
|
+ "width": 100
|
|
|
}, {
|
|
|
- conditionCode:'ve_type',
|
|
|
"text": "供应商类型",
|
|
|
"flex": 0,
|
|
|
"dataIndex": "ve_type",
|
|
|
"width": 200,
|
|
|
- "xtype": "",
|
|
|
"items": null
|
|
|
+ }, {
|
|
|
+ "text": "税率",
|
|
|
+ "flex": 1,
|
|
|
+ "dataIndex": "ve_taxrate",
|
|
|
+ "width": 100
|
|
|
+ }, {
|
|
|
+ "text": "承付天数",
|
|
|
+ "flex": 1,
|
|
|
+ "dataIndex": "ve_promisedays",
|
|
|
+ "width": 100
|
|
|
+ }, {
|
|
|
+ "text": "纳税人识别号",
|
|
|
+ "flex": 1,
|
|
|
+ "dataIndex": "ve_bankaccount",
|
|
|
+ "width": 100
|
|
|
+ }, {
|
|
|
+ "text": "开户银行",
|
|
|
+ "flex": 1,
|
|
|
+ "dataIndex": "ve_bankaccount",
|
|
|
+ "width": 100
|
|
|
+ }, {
|
|
|
+ "text": "银行账户",
|
|
|
+ "flex": 1,
|
|
|
+ "dataIndex": "ve_bankcode",
|
|
|
+ "width": 100
|
|
|
}]
|
|
|
}) ;
|
|
|
|
|
|
@@ -94,9 +110,9 @@ Ext.define('saas.view.stock.appropriationInOut.FormPanelController', {
|
|
|
from:'cu_name',to:'pi_custname'
|
|
|
}],
|
|
|
dbtpls:[{
|
|
|
- field:'pi_custcode',width:100
|
|
|
+ field:'cu_code',width:100
|
|
|
},{
|
|
|
- field:'pi_custname',width:100
|
|
|
+ field:'cu_name',width:100
|
|
|
}],
|
|
|
defaultCondition:"cu_statuscode='OPEN'",
|
|
|
//放大镜窗口字段
|
|
|
@@ -112,54 +128,36 @@ Ext.define('saas.view.stock.appropriationInOut.FormPanelController', {
|
|
|
}],
|
|
|
dbColumns:[{
|
|
|
"text": "客户ID",
|
|
|
- "flex": 0,
|
|
|
+ "hidden": true,
|
|
|
"dataIndex": "id",
|
|
|
- "width": 0,
|
|
|
- "xtype": "",
|
|
|
- "items": null
|
|
|
},{
|
|
|
"text": "客户编号",
|
|
|
- "flex": 1,
|
|
|
"dataIndex": "cu_code",
|
|
|
- "width": 100,
|
|
|
- "xtype": "",
|
|
|
- "items": null
|
|
|
+ "width": 200,
|
|
|
}, {
|
|
|
"text": "客户名称",
|
|
|
- "flex": 1,
|
|
|
"dataIndex": "cu_name",
|
|
|
- "xtype": "",
|
|
|
- "items": null
|
|
|
+ "width": 200
|
|
|
},{
|
|
|
"text": "客户类型",
|
|
|
- "flex": 1,
|
|
|
"dataIndex": "cu_name",
|
|
|
- "xtype": "",
|
|
|
- "items": null
|
|
|
+ "width": 100
|
|
|
},{
|
|
|
"text": "业务员",
|
|
|
- "flex": 1,
|
|
|
"dataIndex": "cu_sellername",
|
|
|
- "xtype": "",
|
|
|
- "items": null
|
|
|
+ "width": 100
|
|
|
},{
|
|
|
"text": "税率",
|
|
|
- "flex": 1,
|
|
|
"dataIndex": "cu_taxrate",
|
|
|
- "xtype": "",
|
|
|
- "items": null
|
|
|
+ "width": 100
|
|
|
},{
|
|
|
"text": "承付天数",
|
|
|
- "flex": 1,
|
|
|
"dataIndex": "cu_promisedays",
|
|
|
- "xtype": "",
|
|
|
- "items": null
|
|
|
+ "width": 100
|
|
|
},{
|
|
|
"text": "额度",
|
|
|
- "flex": 1,
|
|
|
"dataIndex": "cu_credit",
|
|
|
- "xtype": "",
|
|
|
- "items": null
|
|
|
+ "width": 100
|
|
|
}]
|
|
|
}) ;
|
|
|
|