|
@@ -5,11 +5,11 @@
|
|
|
<div class="flex-align-center">
|
|
|
<el-button style="margin:0 0 10px 10px" size="small" type="primary" :disabled="data.STATUS !== '新建'" v-if="type !== 'confirmdate'" @click="drawer = true">{{setcol === 24?'添 加':'取 消'}}</el-button>
|
|
|
</div>
|
|
|
- <Table
|
|
|
+ <Table
|
|
|
height="calc(100vh - 500px)"
|
|
|
- ref="multipleTable"
|
|
|
- :layout="tablecols"
|
|
|
- :data="tableData"
|
|
|
+ ref="multipleTable"
|
|
|
+ :layout="tablecols"
|
|
|
+ :data="tableData"
|
|
|
:custom="true" :checkbox="true" fixedName="rowno orderRowno itemname itemno erpitemno model" redirect="left">
|
|
|
<template v-slot:customcol="scope">
|
|
|
<div v-if="scope.column.columnname === 'qty'">
|
|
@@ -123,15 +123,25 @@
|
|
|
</el-table-column>
|
|
|
</el-table> -->
|
|
|
<div style="margin-top:16px;text-align:right">
|
|
|
- <el-pagination
|
|
|
+<!-- <el-pagination
|
|
|
background
|
|
|
small
|
|
|
@size-change="handleSizeChange"
|
|
|
@current-change="handleCurrentChange"
|
|
|
- :current-page="currentPage"
|
|
|
+ :current-page="param.content.pageNumber"
|
|
|
:page-size="param.content.pageSize"
|
|
|
layout="total, prev, pager, next, jumper"
|
|
|
:total="total">
|
|
|
+ </el-pagination>-->
|
|
|
+ <el-pagination
|
|
|
+ background
|
|
|
+ @size-change="handleSizeChange"
|
|
|
+ @current-change="handleCurrentChange"
|
|
|
+ :current-page="param.content.pageNumber"
|
|
|
+ :page-sizes="[100, 50, 100, 200]"
|
|
|
+ :page-size="100"
|
|
|
+ layout="total,sizes, prev, pager, next, jumper"
|
|
|
+ :total="total">
|
|
|
</el-pagination>
|
|
|
</div>
|
|
|
</el-col>
|
|
@@ -187,16 +197,16 @@ export default {
|
|
|
this.total = res.total
|
|
|
this.currentPage = res.pageNumber
|
|
|
console.log(res.data);
|
|
|
-
|
|
|
+
|
|
|
},
|
|
|
handleSizeChange(val) {
|
|
|
// console.log(`每页 ${val} 条`);
|
|
|
- this.params.content.pageSize = val
|
|
|
+ this.param.content.pageSize = val
|
|
|
this.listData()
|
|
|
},
|
|
|
handleCurrentChange(val) {
|
|
|
// console.log(`当前页: ${val}`);
|
|
|
- this.params.content.pageNumber = val
|
|
|
+ this.param.content.pageNumber = val
|
|
|
this.listData()
|
|
|
},
|
|
|
async deleteOrderProduct (row) {
|
|
@@ -285,7 +295,7 @@ export default {
|
|
|
})
|
|
|
this.$emit('onSuccess')
|
|
|
res.code === 1?fn():""
|
|
|
-
|
|
|
+
|
|
|
},
|
|
|
// tableCellStyle({ row, column, rowIndex, columnIndex }) {
|
|
|
// console.log(row.taskColor, "-->row.taskColor");
|
|
@@ -309,4 +319,4 @@ export default {
|
|
|
/* /deep/.el-table__fixed .el-table__row {
|
|
|
color: red !important;
|
|
|
} */
|
|
|
-</style>
|
|
|
+</style>
|