fix:bug87155:预估到账日期查询的样式,改成分段的,不是一次性选择

This commit is contained in:
fengchenchen
2024-07-15 16:56:28 +08:00
parent 38063d2ae7
commit 773372161c
5 changed files with 107 additions and 58 deletions
@@ -42,16 +42,22 @@
<j-year-date style="width:100%" placeholder="请选择运行年份" v-model="queryParam.year"></j-year-date>
</a-form-item>
</a-col>
<a-col :xl="6" :lg="7" :md="8" :sm="24">
<a-col :xl="10" :lg="11" :md="12" :sm="24">
<a-form-item label="预估到账日期" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-range-picker
style="width: 100%"
format="YYYY-MM"
v-model="queryParam.estimatedArrivalDate"
:mode="rangeMonthDateModel"
:placeholder="['开始时间', '结束时间']"
@panelChange="handleMonthRangePanelChange"
@change="onMonthRangeDateChange"
<j-month-date placeholder="请选择开始日期"
class="query-group-cust"
v-model="queryParam[rangeMonthKey.start]"
:trigger-change="true"
date-format="YYYY-MM"
:disabled-date="disabledStartMonth"
/>
<span class="query-group-split-cust"></span>
<j-month-date placeholder="请选择结束日期"
class="query-group-cust"
v-model="queryParam[rangeMonthKey.end]"
:trigger-change="true"
date-format="YYYY-MM"
:disabled-date="disabledEndMonth"
/>
</a-form-item>
</a-col>
@@ -163,10 +169,11 @@ import IconProjectManagement from '@/assets/imgs/icon/icon_project_management.pn
import { formatMoney } from '../../utils/formatMoney'
import {getPayConfirmList} from '@api/incomePaymentsApi'
import { MonthRangeMixin } from '../../mixins/MonthRangeMixins'
import JMonthDate from '../../components/tools/JMonthDate'
export default {
name: 'GeneralProjectManagement',
components: { JYearDate, GeneralProjectModule, SelectPrincipal, ProjectDetailModal, StatusSlot, PageHeaderTitle },
components: { JYearDate, GeneralProjectModule, SelectPrincipal, ProjectDetailModal, StatusSlot, PageHeaderTitle, JMonthDate },
mixins: [JeroListMixin, MonthRangeMixin],
computed: {
importExcelUrl: function () {
@@ -70,16 +70,22 @@
<a-input placeholder="请输入标签名称" v-model="queryParam.label" :maxLength='50'></a-input>
</a-form-item>
</a-col>
<a-col :xl="6" :lg="7" :md="8" :sm="24">
<a-col :xl="10" :lg="11" :md="12" :sm="24">
<a-form-item label="预估到账日期" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-range-picker
style="width: 100%"
format="YYYY-MM"
v-model="queryParam.estimatedArrivalDate"
:mode="rangeMonthDateModel"
:placeholder="['开始时间', '结束时间']"
@panelChange="handleMonthRangePanelChange"
@change="onMonthRangeDateChange"
<j-month-date placeholder="请选择开始日期"
class="query-group-cust"
v-model="queryParam[rangeMonthKey.start]"
:trigger-change="true"
date-format="YYYY-MM"
:disabled-date="disabledStartMonth"
/>
<span class="query-group-split-cust"></span>
<j-month-date placeholder="请选择结束日期"
class="query-group-cust"
v-model="queryParam[rangeMonthKey.end]"
:trigger-change="true"
date-format="YYYY-MM"
:disabled-date="disabledEndMonth"
/>
</a-form-item>
</a-col>
@@ -248,7 +254,8 @@ import WorkGroupSetLabel from './modules/WorkGroupSetLabel'
import { formatMoney } from '../../utils/formatMoney'
import {YesOrNoEnums} from '@/enums/commonEnums'
import { MonthRangeMixin } from '../../mixins/MonthRangeMixins'
import { getAction } from "../../api/manage";
import { getAction } from '../../api/manage'
import JMonthDate from '../../components/tools/JMonthDate'
// eslint-disable-next-line no-undef,no-unused-vars
const Base64 = require('js-base64').Base64
@@ -264,7 +271,8 @@ export default {
WorkingGroupMemberSetChargeNotice,
PreviewFile,
EmailErrorMsgModal,
WorkGroupSetLabel
WorkGroupSetLabel,
JMonthDate
},
mixins: [JeroListMixin, MonthRangeMixin],
computed: {