|
@@ -15,7 +15,7 @@
|
|
<a-row :gutter="15">
|
|
<a-row :gutter="15">
|
|
<a-col :md="7" :sm="24">
|
|
<a-col :md="7" :sm="24">
|
|
<a-form-item label="创建时间">
|
|
<a-form-item label="创建时间">
|
|
- <rangeDate id="billFlowModal-createDate" ref="createDate" @change="createDateChange" />
|
|
|
|
|
|
+ <rangeDate id="billFlowModal-createDate" ref="createDate" v-model="time" @change="createDateChange" />
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</a-col>
|
|
<a-col :md="6" :sm="24">
|
|
<a-col :md="6" :sm="24">
|
|
@@ -123,13 +123,16 @@ export default {
|
|
spinning: false,
|
|
spinning: false,
|
|
isShow: this.openModal, // 是否打开弹框
|
|
isShow: this.openModal, // 是否打开弹框
|
|
disabled: false,
|
|
disabled: false,
|
|
|
|
+ time: [], // 创建时间
|
|
queryParam: {
|
|
queryParam: {
|
|
- auditBeginDate: '', // 审核开始时间
|
|
|
|
- auditEndDate: '', // 审核结束时间
|
|
|
|
- bizNo: '', // 单据号
|
|
|
|
- bizType: undefined, // 单据类型
|
|
|
|
- bizCreateBeginDate: undefined, // 创建开始时间
|
|
|
|
- bizCreateEndDate: undefined // 创建结束时间
|
|
|
|
|
|
+ beginDate: '', // 创建开始时间
|
|
|
|
+ endDate: '', // 创建结束时间
|
|
|
|
+ customerName: undefined, // 客户名称
|
|
|
|
+ customerSn: undefined, // 客户Sn
|
|
|
|
+ bizNo: '', // 关联财务单号
|
|
|
|
+ bizType: undefined, // 收支类型
|
|
|
|
+ tradeType: undefined, // 交易类型
|
|
|
|
+ dealState: undefined // 交易状态
|
|
},
|
|
},
|
|
// 表头
|
|
// 表头
|
|
columns: [
|
|
columns: [
|
|
@@ -167,6 +170,16 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ // 选择客户
|
|
|
|
+ custSatelliteChange (obj, row) {
|
|
|
|
+ if (row) {
|
|
|
|
+ this.queryParam.customerSn = row && row.customerSn || undefined
|
|
|
|
+ this.queryParam.customerName = undefined
|
|
|
|
+ } else {
|
|
|
|
+ this.queryParam.customerName = obj || undefined
|
|
|
|
+ this.queryParam.customerSn = undefined
|
|
|
|
+ }
|
|
|
|
+ },
|
|
// 统计
|
|
// 统计
|
|
getCount (val) {
|
|
getCount (val) {
|
|
bizTradeQueryGroupCount(val).then(res => {
|
|
bizTradeQueryGroupCount(val).then(res => {
|
|
@@ -205,16 +218,18 @@ export default {
|
|
},
|
|
},
|
|
// 重置
|
|
// 重置
|
|
resetSearchForm () {
|
|
resetSearchForm () {
|
|
- this.$refs.rangeDate.resetDate()
|
|
|
|
- this.$refs.createDate.resetDate()
|
|
|
|
- this.queryParam.auditBeginDate = ''
|
|
|
|
- this.queryParam.auditEndDate = ''
|
|
|
|
- this.queryParam.bizCreateBeginDate = ''
|
|
|
|
- this.queryParam.bizCreateEndDate = ''
|
|
|
|
|
|
+ this.time = []
|
|
|
|
+ this.$refs.rangeDate.resetDate([])
|
|
|
|
+ this.queryParam.beginDate = ''
|
|
|
|
+ this.queryParam.endDate = ''
|
|
|
|
+ this.queryParam.customerName = undefined
|
|
|
|
+ this.queryParam.customerSn = undefined
|
|
this.queryParam.bizNo = ''
|
|
this.queryParam.bizNo = ''
|
|
this.queryParam.bizType = undefined
|
|
this.queryParam.bizType = undefined
|
|
|
|
+ this.queryParam.tradeType = undefined
|
|
|
|
+ this.queryParam.dealState = undefined
|
|
|
|
+ this.$refs.custSatelliteList.resetForm()
|
|
this.$refs.table.refresh(true)
|
|
this.$refs.table.refresh(true)
|
|
- this.$refs.table.clearSelected()
|
|
|
|
}
|
|
}
|
|
},
|
|
},
|
|
watch: {
|
|
watch: {
|