Prechádzať zdrojové kódy

预算费用管理 列表合并取消

xieyn 1 rok pred
rodič
commit
c50231a7ec
1 zmenil súbory, kde vykonal 2 pridanie a 39 odobranie
  1. 2 39
      src/views/oa/BudgetCostList.vue

+ 2 - 39
src/views/oa/BudgetCostList.vue

@@ -186,13 +186,8 @@
             key:'rowIndex',
             width:60,
             align:"center",
-            customRender: (value, row, index) => {
-              const obj = {
-                children: parseInt(index)+1,
-                attrs: {},
-              };
-              obj.attrs.rowSpan = this.myArray[index];
-              return obj
+            customRender:function (t,r,index) {
+              return parseInt(index)+1;
             }
           },
           {
@@ -200,56 +195,24 @@
             align:"center",
             dataIndex: 'registerPerson',
             width:150,
-            customRender: (value, row, index) => {
-              const obj = {
-                children: value,
-                attrs: {},
-              };
-              obj.attrs.rowSpan = this.myArray[index];
-              return obj
-            }
           },
           {
             title:'登记部门',
             align:"center",
             width:150,
             dataIndex: 'registerDept',
-            customRender: (value, row, index) => {
-              const obj = {
-                children: value,
-                attrs: {},
-              };
-              obj.attrs.rowSpan = this.myArray[index];
-              return obj
-            }
           },
           {
             title:'登记日期',
             align:"center",
             width:100,
             dataIndex: 'registerDate',
-            customRender: (value, row, index) => {
-              const obj = {
-                children: value,
-                attrs: {},
-              };
-              obj.attrs.rowSpan = this.myArray[index];
-              return obj
-            }
           },
           {
             title:'预算年度',
             align:"center",
             width:100,
             dataIndex: 'budgetYear',
-            customRender: (value, row, index) => {
-              const obj = {
-                children: value,
-                attrs: {},
-              };
-              obj.attrs.rowSpan = this.myArray[index];
-              return obj
-            }
           },
           {
             title: '部门',