add 全所统计增加 增加预估到账年份,预估到账月份筛选条件

This commit is contained in:
lijiarao
2024-02-27 16:00:52 +08:00
parent 39a36b26bd
commit 7e15063416
@@ -102,6 +102,25 @@
dictCode="yn"/>
</a-form-item>
</a-col>
<a-col :xl="6" :lg="7" :md="8" :sm="24">
<a-form-item label="预估到账年份" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-year-date style="width:100%" @change="estimatedArrivalYearChange" placeholder="请选择预估到账年份" v-model="queryParam.estimatedArrivalYear"></j-year-date>
</a-form-item>
</a-col>
<a-col :xl="6" :lg="7" :md="8" :sm="24">
<a-form-item label="预估到账月份" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-select
style="width:100%"
placeholder="请选择预估到账月份"
:disabled="!queryParam.estimatedArrivalYear"
v-model="queryParam.estimatedArrivalMonth"
show-search
allowClear
>
<a-select-option v-for="item in MonthData" :key="item.value" :value="item.value">{{item.name}}</a-select-option>
</a-select>
</a-form-item>
</a-col>
<a-col :xl="10" :lg="11" :md="12" :sm="24">
<a-form-item label="应收款项" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input
@@ -582,6 +601,12 @@ export default {
if(!this.queryParam.paymentYear) {
this.queryParam.paymentMonth = undefined
}
},
// 确认年份 年份选择器改变的事件
estimatedArrivalYearChange() {
if(!this.queryParam.estimatedArrivalYear) {
this.queryParam.estimatedArrivalMonth = undefined
}
}
}
}