wupengfei
4 天以前 da29607c3c242dbd6b2ae2699c5ed167a9d78b28
src/views/EmploymentManage/components/AddOrEditEmploymentView.vue
@@ -279,6 +279,7 @@
                  start-placeholder="开始日期"
                  end-placeholder="结束日期"
                  :disabled-date="disabledDate"
                  @change="handleTimeChange"
                ></ProFormDatePicker>
              </ProFormItemV2>
            </ProFormColItem>
@@ -393,7 +394,7 @@
}
function disabledapplyDate(time: Date) {
  return dayjs(time).isBefore(form.time[0], 'day') || dayjs(time).isAfter(form.time[1], 'day');
  return dayjs(time).isAfter(dayjs(form.time[1]), 'day') || dayjs(time).isBefore(dayjs(), 'day');
}
const feeCannotEdit = computed(() => {
@@ -507,6 +508,10 @@
  form.settlementDate = null as number;
}
function handleTimeChange() {
  form.applyTime = [] as unknown as ModelValueType;
}
function handleBack() {
  closeViewPush(route, {
    name: 'TaskManageList',