Skip to content

Commit

Permalink
Merge pull request #6837 from GuoLiBin6/feat/glb-to-3.11/cloudenv
Browse files Browse the repository at this point in the history
feat(v3.11/4947): extdb支持重跑未来账单
  • Loading branch information
easy-mj committed Jun 28, 2024
2 parents 96467bb + be47966 commit 79dacca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions containers/Cloudenv/views/billtasks/dialogs/Create.vue
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ export default {
dateDisabledEnd (value) {
const dateStart = this.form.start_day
if (dateStart && value < dateStart) return true
if (this.params.accountData?.provider === 'extdb' && this.form.task_type === 'pull_bill') return false
if (value > this.$moment()) return this.form.task_type !== 'predict'
return false
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ export default {
dateDisabledEnd (value) {
const dateStart = this.form.fc.getFieldValue('start_day')
if (dateStart && value < dateStart) return true
if (this.params.data.every(item => item.provider === 'extdb')) return false
if (value > this.$moment()) return true
return false
},
Expand Down

0 comments on commit 79dacca

Please sign in to comment.