|
|
@@ -22,7 +22,7 @@
|
|
|
</div>
|
|
|
<div class="produtMag-panel">
|
|
|
</div>
|
|
|
- <tableLayout v-tableLoad="tableLoad" checkbox="true" :layout="tablecols" :data="list" :opwidth="200" height="calc(100vh - 300px)" :width="true" :custom="true" fixedName="operation amount" @selectionChange="selectionChange">
|
|
|
+ <tableLayout v-tableLoad="tableLoad" checkbox="true" :layout="tablecols" :data="list" :opwidth="200" height="calc(100vh - 356px)" :width="true" :custom="true" fixedName="operation amount" @selectionChange="selectionChange">
|
|
|
<template v-slot:customcol="scope">
|
|
|
<div v-if="scope.column.columnname == 'qty'">
|
|
|
<!-- <el-input-number size="mini" v-if="editIndex == scope.column.data.sa_contract_itemsid" v-model="scope.column.data.qty" @change="qtyChange" :min="1" label="描述文字"></el-input-number>-->
|
|
|
@@ -80,8 +80,8 @@
|
|
|
</template>
|
|
|
</tableLayout>
|
|
|
</div>
|
|
|
- <!-- <div style="height: 35px;margin-top: 20px">
|
|
|
- <div v-if="$route.query.type != '框架'" style="float: left">金额(元):{{ data.signamount ? tool.formatAmount(data.signamount,2) : '0.00'}}</div>
|
|
|
+ <div style="height: 35px;margin-top: 16px">
|
|
|
+<!-- <div v-if="$route.query.type != '框架'" style="float: left">金额(元):{{ data.signamount ? tool.formatAmount(data.signamount,2) : '0.00'}}</div>-->
|
|
|
<div style="float: right">
|
|
|
<el-pagination
|
|
|
background
|
|
|
@@ -89,11 +89,12 @@
|
|
|
@current-change="handleCurrentChange"
|
|
|
:current-page="params.content.pageNumber"
|
|
|
:page-sizes="[20, 50, 100, 200]"
|
|
|
- :page-size="100"
|
|
|
+ :page-size="20"
|
|
|
layout="total,sizes, prev, pager, next, jumper"
|
|
|
:total="total">
|
|
|
</el-pagination>
|
|
|
- </div> -->
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
@@ -130,7 +131,7 @@ export default {
|
|
|
"content": {
|
|
|
"sa_contractid": this.$route.query.id,
|
|
|
"pageNumber": 1,
|
|
|
- "pageSize": 30,
|
|
|
+ "pageSize": 20,
|
|
|
"where": {
|
|
|
"condition": "",
|
|
|
}
|
|
|
@@ -173,7 +174,8 @@ export default {
|
|
|
res.data.forEach((e,index)=>{
|
|
|
res.data[index].discountrate = Math.round((e.discountrate * 100)*100)/100
|
|
|
})
|
|
|
- this.list = this.params.content.pageNumber == 1 ? res.data : this.list.concat(res.data)
|
|
|
+ /*this.list = this.params.content.pageNumber == 1 ? res.data : this.list.concat(res.data)*/
|
|
|
+ this.list = res.data
|
|
|
console.log(this.list,res.data);
|
|
|
this.total = res.total
|
|
|
this.totalPage = res.pageTotal
|