zhongtianhaoyuan 4 年 前
コミット
f598bedd54

+ 10 - 2
src/views/tranManagement/tranManagementReceivingFeedback.vue

@@ -53,8 +53,8 @@
       <el-table
         class="wenzi"
         :data="warehouseList.records"
-        style="width: 100%; margin-top: 20px"
-        height="650"
+        style="width: 100%;"
+        height="780"
       >
         <el-table-column type="index" label="序号" width="80">
           <template scope="scope">
@@ -561,4 +561,12 @@ export default {
     position: relative;
     font-size: 14px;
 }
+/deep/.el-pagination {
+    text-align: center;
+    white-space: nowrap;
+    padding: 2px 5px;
+    color: #303133;
+    font-weight: 700;
+    margin-bottom: 20px;
+}
 </style>

+ 1 - 1
src/views/tranManagement/tranManagementShipping.vue

@@ -52,7 +52,7 @@
       <el-table
         class="wenzi"
         :data="warehouseList.records"
-        style="width: 100%; margin-top: 20px"
+        style="width: 100%;"
         height="780"
       >
         <el-table-column type="index" label="序号" width="80">

+ 22 - 1
src/views/tranManagement/tranManagementTransporHairRespond.vue

@@ -54,7 +54,7 @@
         class="wenzi"
         :data="tranManagementList.records"
         style="width: 100%; margin-top: 20px"
-        height="680"
+        height="780"
       >
         <el-table-column type="index" label="序号" width="80">
           <template scope="scope">
@@ -155,6 +155,15 @@
           </template>
         </el-table-column>
       </el-table>
+       <el-pagination
+        @size-change="handleSizeChange"
+        @current-change="handleCurrentChange"
+        :current-page="currentPage"
+        :page-size="deptCircularPage.pageSize"
+        layout="total, sizes, prev, pager, next, jumper"
+        :total="deptBudgetTotal"
+      >
+      </el-pagination>
     </div>
   </div>
 </template>
@@ -194,6 +203,7 @@ export default {
       year: '',
       currentPage: 1,
       pageSize: 10,
+      deptBudgetTotal: 0,
       searchTypeText: '未完成',
       searchKeyWord: '',
       contractType: 2,
@@ -330,6 +340,9 @@ export default {
       })
         .toPromise()
         .then((response) => {
+            this.deptCircularPage.currentPage = response.current
+          this.deptCircularPage.pageSize = response.size
+          this.deptBudgetTotal = response.total
           this.tranManagementList = response
         })
     },
@@ -485,4 +498,12 @@ export default {
   height: 32px;
 margin:0 10px;
 }
+/deep/.el-pagination {
+    text-align: center;
+    white-space: nowrap;
+    padding: 2px 5px;
+    color: #303133;
+    font-weight: 700;
+    margin-bottom: 20px;
+}
 </style>

+ 22 - 1
src/views/tranManagement/tranManagementTransporTationFire.vue

@@ -70,7 +70,7 @@
       <el-table
         class="wenzi"
         :data="tranManagementList.records"
-        style="width: 100%; margin-top: 20px"
+        style="width: 100%;"
         height="780"
       >
         <el-table-column type="index" label="序号" width="80">
@@ -174,6 +174,15 @@
           </template>
         </el-table-column>
       </el-table>
+      <el-pagination
+        @size-change="handleSizeChange"
+        @current-change="handleCurrentChange"
+        :current-page="currentPage"
+        :page-size="deptCircularPage.pageSize"
+        layout="total, sizes, prev, pager, next, jumper"
+        :total="deptBudgetTotal"
+      >
+      </el-pagination>
     </div>
   </div>
 </template>
@@ -215,6 +224,7 @@ export default {
       year: '',
       currentPage: 1,
       pageSize: 10,
+      deptBudgetTotal:0,
       searchTypeText: '未完成',
       searchKeyWord: '',
       tranTypeKey: 2,
@@ -346,6 +356,9 @@ export default {
         .toPromise()
         .then((response) => {
           this.tranManagementList = response
+           this.deptCircularPage.currentPage = response.current
+          this.deptCircularPage.pageSize = response.size
+          this.deptBudgetTotal = response.total
         })
     },
     editClick(row) {
@@ -529,4 +542,12 @@ export default {
   height: 32px;
   margin: 0 10px;
 }
+/deep/.el-pagination {
+    text-align: center;
+    white-space: nowrap;
+    padding: 2px 5px;
+    color: #303133;
+    font-weight: 700;
+    margin-bottom: 20px;
+}
 </style>

+ 23 - 3
src/views/tranManagement/tranManagementVehicle.vue

@@ -52,7 +52,7 @@
       <el-table
         class="wenzi"
         :data="warehouseList.records"
-        style="width: 100%; margin-top: 20px"
+        style="width: 100%;"
         height="780"
       >
         <el-table-column prop="warehouseName" label="序号" width="80">
@@ -143,6 +143,15 @@
           </template>
         </el-table-column>
       </el-table>
+       <el-pagination
+        @size-change="handleSizeChange"
+        @current-change="handleCurrentChange"
+        :current-page="currentPage"
+        :page-size="deptCircularPage.pageSize"
+        layout="total, sizes, prev, pager, next, jumper"
+        :total="deptBudgetTotal"
+      >
+      </el-pagination>
     </div>
   </div>
 </template>
@@ -184,6 +193,7 @@ export default {
       year: '',
       currentPage: 1,
       pageSize: 10,
+    deptBudgetTotal :0,
       searchTypeText: '未完成',
       searchKeyWord: '',
       contractType: 2,
@@ -326,6 +336,9 @@ export default {
       })
         .toPromise()
         .then((response) => {
+           this.deptCircularPage.currentPage = response.current
+          this.deptCircularPage.pageSize = response.size
+          this.deptBudgetTotal = response.total
           this.warehouseList = response
         })
     },
@@ -526,7 +539,14 @@ export default {
 }
 .el-range-editor--small.el-input__inner {
   height: 32px;
-  margin:0 10px;
-  
+  margin:0 10px; 
+}
+/deep/.el-pagination {
+    text-align: center;
+    white-space: nowrap;
+    padding: 2px 5px;
+    color: #303133;
+    font-weight: 700;
+    margin-bottom: 20px;
 }
 </style>