|
@@ -54,7 +54,7 @@
|
|
</el-select>
|
|
</el-select>
|
|
</template>
|
|
</template>
|
|
<template slot="whetherSettlementSearch">
|
|
<template slot="whetherSettlementSearch">
|
|
- <el-checkbox v-model="search.whetherSettlement" :true-label="1" :false-label="0"></el-checkbox>
|
|
|
|
|
|
+ <el-checkbox v-model="search.whetherSettlement" :true-label="0" :false-label="1"></el-checkbox>
|
|
</template>
|
|
</template>
|
|
<template slot="customerName" slot-scope="scope">
|
|
<template slot="customerName" slot-scope="scope">
|
|
<span style="color: #409EFF;cursor: pointer" @click.stop="beforeOpenPage(scope.row,scope.index)">{{ scope.row.customerName }}</span>
|
|
<span style="color: #409EFF;cursor: pointer" @click.stop="beforeOpenPage(scope.row,scope.index)">{{ scope.row.customerName }}</span>
|
|
@@ -85,7 +85,7 @@ import _ from "lodash";
|
|
import reportDialog from "@/components/report-dialog/main";
|
|
import reportDialog from "@/components/report-dialog/main";
|
|
import { gainUser } from "@/api/basicData/customerInquiry";
|
|
import { gainUser } from "@/api/basicData/customerInquiry";
|
|
import detail from "./detail";
|
|
import detail from "./detail";
|
|
-
|
|
|
|
|
|
+import {defaultDate3} from "@/util/date";
|
|
export default {
|
|
export default {
|
|
name: "index",
|
|
name: "index",
|
|
components: {
|
|
components: {
|
|
@@ -116,7 +116,8 @@ export default {
|
|
statementData: {},
|
|
statementData: {},
|
|
form: {},
|
|
form: {},
|
|
search: {
|
|
search: {
|
|
- whetherSettlement:0
|
|
|
|
|
|
+ whetherSettlement:0,
|
|
|
|
+ businesDateList:defaultDate3()
|
|
},
|
|
},
|
|
dataList: [],
|
|
dataList: [],
|
|
loading: false,
|
|
loading: false,
|
|
@@ -249,15 +250,15 @@ export default {
|
|
this.userList = res.data.data;
|
|
this.userList = res.data.data;
|
|
});
|
|
});
|
|
|
|
|
|
- let i = 0;
|
|
|
|
- this.option.column.forEach(item => {
|
|
|
|
- if (item.search) i++
|
|
|
|
- })
|
|
|
|
- if (i % 3 !== 0){
|
|
|
|
- const num = 3 - Number(i % 3)
|
|
|
|
- this.option.searchMenuSpan = num * 8;
|
|
|
|
- this.option.searchMenuPosition = "right";
|
|
|
|
- }
|
|
|
|
|
|
+ // let i = 0;
|
|
|
|
+ // this.option.column.forEach(item => {
|
|
|
|
+ // if (item.search) i++
|
|
|
|
+ // })
|
|
|
|
+ // if (i % 3 !== 0){
|
|
|
|
+ // const num = 3 - Number(i % 3)
|
|
|
|
+ // this.option.searchMenuSpan = num * 8;
|
|
|
|
+ // this.option.searchMenuPosition = "right";
|
|
|
|
+ // }
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
cellStyle() {
|
|
cellStyle() {
|
|
@@ -290,6 +291,7 @@ export default {
|
|
this.page.pageSize = val;
|
|
this.page.pageSize = val;
|
|
},
|
|
},
|
|
onLoad(page, params) {
|
|
onLoad(page, params) {
|
|
|
|
+ this.search=this.deepClone(this.search)
|
|
this.search.customerId = this.search.customerName
|
|
this.search.customerId = this.search.customerName
|
|
this.sysitemType = localStorage.getItem('sysitemType');
|
|
this.sysitemType = localStorage.getItem('sysitemType');
|
|
if (this.sysitemType == 999) {
|
|
if (this.sysitemType == 999) {
|
|
@@ -343,7 +345,7 @@ export default {
|
|
this.itemloading = false;
|
|
this.itemloading = false;
|
|
});
|
|
});
|
|
if (this.page.total) {
|
|
if (this.page.total) {
|
|
- this.option.height = window.innerHeight - 230;
|
|
|
|
|
|
+ this.option.height = window.innerHeight - 280;
|
|
}
|
|
}
|
|
})
|
|
})
|
|
.finally(() => {
|
|
.finally(() => {
|