|
|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
<template>
|
|
|
|
|
<div style="padding: 0 20px;">
|
|
|
|
|
<lx-header icon="md-apps" text="付款计划" style="margin-bottom: 10px; border: 0px; margin-top: 15px">
|
|
|
|
|
<lx-header icon="md-apps" style="margin-bottom: 10px; border: 0px; margin-top: 15px" text="付款计划">
|
|
|
|
|
<div slot="content"></div>
|
|
|
|
|
<slot>
|
|
|
|
|
<div class="selects">
|
|
|
|
|
@ -8,7 +8,8 @@
|
|
|
|
|
<span style="padding: 0 6px;word-break: keep-all;">
|
|
|
|
|
付款计划日期
|
|
|
|
|
</span>
|
|
|
|
|
<DatePicker :value="[select.start,select.end]" placeholder="请选择日期" type="daterange" placement="bottom-start" style="width: 200px" @on-change="datePick"></DatePicker>
|
|
|
|
|
<DatePicker :value="[select.start,select.end]" placeholder="请选择日期" placement="bottom-start" style="width: 200px"
|
|
|
|
|
type="daterange" @on-change="datePick"></DatePicker>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
@ -18,14 +19,17 @@
|
|
|
|
|
<Input v-model="select.keyword" placeholder="请输入关键字" style="width: 180px"></Input>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<Button type="primary" style="margin-left: 10px" @click="select={showDate:'',start:'',end:'',pageIndex:1,keyword:''}">重置</Button>
|
|
|
|
|
<Button type="primary" style="margin-left: 10px" @click="getSignPlan">查询</Button>
|
|
|
|
|
<Button style="margin-left: 10px" type="primary"
|
|
|
|
|
@click="select={showDate:'',start:'',end:'',pageIndex:1,keyword:''}">重置
|
|
|
|
|
</Button>
|
|
|
|
|
<Button style="margin-left: 10px" type="primary" @click="getSignPlan">查询</Button>
|
|
|
|
|
</div>
|
|
|
|
|
</slot>
|
|
|
|
|
</lx-header>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<xy-table :list="list" :table-item="table" @delete="deleteContractSign" @editor="(row)=>{$refs['detailContractSign'].planId = row.id;$refs['detailContractSign'].isShow = true}"></xy-table>
|
|
|
|
|
<xy-table :list="list" :table-item="table" @delete="deleteContractSign"
|
|
|
|
|
@editor="(row)=>{$refs['detailContractSign'].planId = row.id;$refs['detailContractSign'].isShow = true}"></xy-table>
|
|
|
|
|
|
|
|
|
|
<div style="display: flex;justify-content: flex-end;">
|
|
|
|
|
<Page :total="total" show-elevator/>
|
|
|
|
|
@ -41,6 +45,7 @@ import {parseTime} from "@/utils"
|
|
|
|
|
import {Message} from "element-ui";
|
|
|
|
|
|
|
|
|
|
import detailContractSign from "@/views/contract/components/detailContractSign";
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
components: {
|
|
|
|
|
detailContractSign
|
|
|
|
|
@ -119,7 +124,14 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
async getSignPlan() {
|
|
|
|
|
const res = await getContractSign({page_size:10,page:this.select.pageIndex,keyword:this.select.keyword,start_date:this.select.start,end_date:this.select.end})
|
|
|
|
|
const res = await getContractSign({
|
|
|
|
|
page_size: 10,
|
|
|
|
|
page: this.select.pageIndex,
|
|
|
|
|
keyword: this.select.keyword,
|
|
|
|
|
start_date: this.select.start,
|
|
|
|
|
end_date: this.select.end,
|
|
|
|
|
is_auth:1
|
|
|
|
|
})
|
|
|
|
|
this.total = res.total
|
|
|
|
|
this.list = res.data
|
|
|
|
|
},
|
|
|
|
|
@ -147,7 +159,7 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style scoped lang="scss">
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
.selects {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|