Browse Source

客户放大镜列表宽度调整

rainco 7 years ago
parent
commit
5fb625f846
1 changed files with 11 additions and 18 deletions
  1. 11 18
      frontend/saas-web/app/view/core/dbfind/types/CustomerDbfindTrigger.js

+ 11 - 18
frontend/saas-web/app/view/core/dbfind/types/CustomerDbfindTrigger.js

@@ -30,65 +30,58 @@ Ext.define('saas.view.core.dbfind.types.CustomerDbfindTrigger', {
     dbColumns: [{
         conditionCode: 'id',
         text: "客户ID",
-        flex: 0,
         dataIndex: "id",
         width: 0,
         xtype: "",
     }, {
         conditionCode: 'cu_code',
         text: "客户编号",
-        flex: 1,
         dataIndex: "cu_code",
-        width: 100,
+        width: 150,
         xtype: "",
     }, {
         conditionCode: 'cu_name',
         text: "客户名称",
-        flex: 1,
         dataIndex: "cu_name",
+        width: 180,
         xtype: "",
     }, {
         conditionCode: 'cu_type',
         text: "客户类型",
-        flex: 1,
         dataIndex: "cu_type",
-        width: 200,
+        width: 150,
         xtype: "",
     }, {
         text: "业务员编号",
-        flex: 1,
         dataIndex: "cu_sellercode",
-        width: 100
+        width:150
     }, {
         text: "业务员",
-        flex: 1,
         dataIndex: "cu_sellername",
-        width: 100
+        width:180
     }, {
         text: "税率",
-        flex: 1,
         dataIndex: "cu_taxrate",
-        width: 100,
         xtype: 'numbercolumn',
+        width:80,
+        renderer: function (v) {
+            return Ext.util.Format.number(v, '0');
+        }
     }, {
         text: "承付天数",
-        flex: 1,
         dataIndex: "cu_promisedays",
-        width: 100,
+        width:100,
         xtype: 'numbercolumn',
-        align: 'end',
         renderer: function (v) {
             return Ext.util.Format.number(v, '0');
         }
     }, {
         text: "额度",
-        flex: 1,
         dataIndex: "cu_credit",
-        width: 100,
+        width:100,
         xtype: 'numbercolumn',
     }, {
         text: "客户地址",
-        flex: 1,
         dataIndex: "ca_address",
         width: 250
     }]