123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- Ext.define('saas.view.statistical.CompanyInfo', {
- extend: 'saas.view.core.form.FormPanel',
- xtype: 'companyinfo',
- viewModel: 'companyinfo',
- _readUrl: '/api/operation/data/companyAnalyzeRead',
- codeInHeader: false,
- initComponent: function () {
- var me = this;
- Ext.apply(this, {
- defaultItems: [{
- xtype: 'hidden',
- name: 'ca_id',
- fieldLabel: 'id'
- }, {
- xtype: 'textfield',
- name: 'ca_companyid',
- fieldLabel: '客户编号'
- }, {
- xtype: "textfield",
- name: "ca_company",
- fieldLabel: "客户名称",
- }, {
- xtype: "textfield",
- name: "ca_address",
- fieldLabel: "地址",
- }, {
- xtype: "textfield",
- name: "ca_admin",
- fieldLabel: "管理员",
- }, {
- xtype: "datefield",
- name: "ca_createtime",
- format: 'Y-m-d H:i:s',
- fieldLabel: "注册时间",
- }, {
- xtype: "datefield",
- name: "ca_newestlogtime",
- format: 'Y-m-d H:i:s',
- fieldLabel: "最后操作时间",
- }, {
- xtype: 'textfield',
- name: 'ca_phase',
- fieldLabel: '目前阶段',
- }, {
- xtype: 'textfield',
- name: 'ca_status',
- fieldLabel: '使用状态',
- }, {
- name: "detailGridField",
- xtype: "detailGridField",
- storeModel: 'saas.model.statistical.CompanyInfo',
- detnoColumn: 'ord_detno',
- showCount: false,
- columns: [{
- text: "账户统计",
- dataIndex: "cd_accountnum",
- width: 140,
- align: 'end'
- }, {
- text: "物料资料统计",
- dataIndex: "cd_productnum",
- width: 140,
- align: 'end'
- }, {
- text: "客户资料统计",
- dataIndex: "cd_customernum",
- width: 140,
- align: 'end'
- }, {
- text: "供应商资料统计",
- dataIndex: "cd_vendornum",
- width: 140,
- align: 'end'
- }, {
- text: "销售订单统计",
- dataIndex: "cd_salenum",
- width: 140,
- align: 'end'
- }, {
- text: "采购订单统计",
- dataIndex: "cd_purchasenum",
- width: 140,
- align: 'end'
- }, {
- text: "出入库单据统计",
- dataIndex: "cd_prodionum",
- width: 140,
- align: 'end'
- }, {
- text: "付款单统计",
- dataIndex: "cd_paynum",
- width: 140,
- align: 'end'
- }, {
- text: "收款单统计",
- dataIndex: "cd_receivenum",
- width: 140,
- align: 'end'
- }]
- }],
- });
- this.callParent();
- this.setEditable(false);
- },
- });
|