|
@@ -139,7 +139,7 @@
|
|
v-loading="listLoading"
|
|
v-loading="listLoading"
|
|
:data="dataList"
|
|
:data="dataList"
|
|
element-loading-text="Loading"
|
|
element-loading-text="Loading"
|
|
- max-height="600"
|
|
|
|
|
|
+
|
|
border
|
|
border
|
|
fit
|
|
fit
|
|
highlight-current-row
|
|
highlight-current-row
|
|
@@ -365,15 +365,15 @@
|
|
@click="handleSave"
|
|
@click="handleSave"
|
|
>保存</el-button>
|
|
>保存</el-button>
|
|
</div>
|
|
</div>
|
|
- <!-- <el-pagination-->
|
|
|
|
- <!-- :current-page="dcurrentPage"-->
|
|
|
|
- <!-- :page-sizes="pageSizeArr"-->
|
|
|
|
- <!-- :page-size="size"-->
|
|
|
|
- <!-- layout="total, sizes, prev, pager, next, jumper"-->
|
|
|
|
- <!-- :total="listTotal"-->
|
|
|
|
- <!-- @size-change="handleSizeChange2"-->
|
|
|
|
- <!-- @current-change="handleCurrentChange2"-->
|
|
|
|
- <!-- />-->
|
|
|
|
|
|
+ <el-pagination
|
|
|
|
+ :current-page="dcurrentPage"
|
|
|
|
+ :page-sizes="pageSizeArr"
|
|
|
|
+ :page-size="size"
|
|
|
|
+ layout="total, sizes, prev, pager, next, jumper"
|
|
|
|
+ :total="listTotal"
|
|
|
|
+ @size-change="handleSizeChange2"
|
|
|
|
+ @current-change="handleCurrentChange2"
|
|
|
|
+ />
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<el-row>
|
|
<el-row>
|
|
@@ -531,7 +531,7 @@ export default {
|
|
conditName:'',
|
|
conditName:'',
|
|
dataList: [],
|
|
dataList: [],
|
|
addList: [],
|
|
addList: [],
|
|
- pageSizeArr: [10, 20, 30, 50],
|
|
|
|
|
|
+ pageSizeArr: [10],
|
|
size: 10,
|
|
size: 10,
|
|
listLoading: false,
|
|
listLoading: false,
|
|
dialogVisible: false,
|
|
dialogVisible: false,
|
|
@@ -923,11 +923,18 @@ export default {
|
|
if (!this.dataList.length) {
|
|
if (!this.dataList.length) {
|
|
this.dcurrentPage !== 1 ? this.dcurrentPage -= 1 : this.dcurrentPage = 1
|
|
this.dcurrentPage !== 1 ? this.dcurrentPage -= 1 : this.dcurrentPage = 1
|
|
}
|
|
}
|
|
- // this.listTotal -= 1;
|
|
|
|
|
|
+ this.listTotal -= 1;
|
|
this.$successMsg('删除成功')
|
|
this.$successMsg('删除成功')
|
|
},
|
|
},
|
|
handleNewInfo() {
|
|
handleNewInfo() {
|
|
// 物料列表
|
|
// 物料列表
|
|
|
|
+ this.sleectBox.currentPage = 1
|
|
|
|
+ this.listTotal += 1;
|
|
|
|
+ // if (this.dataList.length ===10 ) {
|
|
|
|
+ // this.dataList = []
|
|
|
|
+ // this.dcurrentPage +=(this.listTotal /10)+1
|
|
|
|
+ // }
|
|
|
|
+
|
|
|
|
|
|
this.dataList.push({
|
|
this.dataList.push({
|
|
id: '',
|
|
id: '',
|
|
@@ -945,8 +952,6 @@ export default {
|
|
walletIds: [this.NoRebateWalletList[0].id],
|
|
walletIds: [this.NoRebateWalletList[0].id],
|
|
walletRelaList: []
|
|
walletRelaList: []
|
|
})
|
|
})
|
|
- this.sleectBox.currentPage = 1
|
|
|
|
- // this.listTotal += 1;
|
|
|
|
// this.dataList.push(this.addList[this.addList.length-1])
|
|
// this.dataList.push(this.addList[this.addList.length-1])
|
|
},
|
|
},
|
|
handleSave() {
|
|
handleSave() {
|