更新
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
end-placeholder="结束日期"/>
|
||||
<el-button type="primary" size="small" icon="el-icon-search" plain style="margin-left: 10px" @click="pageCurrent1=1;pageSize1=10;total1=0;searchTable1()">查询</el-button>
|
||||
<el-button type="warning" size="small" icon="el-icon-goods" plain style="" @click="requestFund">请款</el-button>
|
||||
<el-checkbox v-model="searchAll" style="margin-left: 50px">查询全部</el-checkbox>
|
||||
<el-button type="success" size="small" icon="el-icon-download" plain style="float: right; margin-right: 20px;" @click="exportExcel">导出</el-button>
|
||||
</div>
|
||||
<!--<h3>请款表</h3>-->
|
||||
@@ -258,6 +259,7 @@ import { getNowTime, timeToStamp } from '@/utils/tool'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
searchAll: false,
|
||||
selectContents: [],
|
||||
getDate: null,
|
||||
tableData0: [],
|
||||
@@ -464,10 +466,11 @@ export default {
|
||||
this.searchTable1()
|
||||
},
|
||||
searchTable1() { // 查请款信息
|
||||
let check1, check2
|
||||
let check1, check2, check3
|
||||
this.dateRange ? check1 = 1 : (check1 = 0, this.dateRange = '')
|
||||
this.supplierValue ? check2 = 1 : check2 = 0
|
||||
searchRequestFund(this.pageCurrent1, this.pageSize1, check1, this.dateRange[0], this.dateRange[1], check2, this.supplierValue).then(response => {
|
||||
this.searchAll === false ? check3 = 1 : check3 = 0
|
||||
searchRequestFund(this.pageCurrent1, this.pageSize1, check1, this.dateRange[0], this.dateRange[1], check2, this.supplierValue, check3).then(response => {
|
||||
this.tableData1 = response.data.rows
|
||||
this.total1 = response.data.total
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user