소스 검색

搬运工对账单 修改序号字段

yuansh 1 년 전
부모
커밋
462d6b84a0
1개의 변경된 파일13개의 추가작업 그리고 11개의 파일을 삭제
  1. 13 11
      src/views/oa/SyCarryList.vue

+ 13 - 11
src/views/oa/SyCarryList.vue

@@ -142,15 +142,21 @@
         description: '搬运装卸费用-搬运工对账单-主表管理页面',
         // 表头
         columns: [
+          // {
+          //   title: '序号',
+          //   dataIndex: '',
+          //   key: 'rowIndex',
+          //   width: 40,
+          //   align: "center",
+          //   customRender:function (t, r, index) {
+          //     return parseInt(index)+1;
+          //   }
+          // },
           {
             title: '序号',
-            dataIndex: '',
-            key: 'rowIndex',
             width: 40,
-            align: "center",
-            customRender:function (t, r, index) {
-              return parseInt(index)+1;
-            }
+            align:"center",
+            dataIndex: 'code'
           },
           {
             title: '名称',
@@ -158,11 +164,7 @@
             width: 100,
             dataIndex: 'name'
           },
-          // {
-          //   title: '编号',
-          //   align:"center",
-          //   dataIndex: 'code'
-          // },
+         
           {
             title: '状态',
             align:"center",