黄梓星 il y a 1 an
Parent
commit
93aac3eeb2
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/views/purchase/PurchaseDemandList/add.vue

+ 1 - 1
src/views/purchase/PurchaseDemandList/add.vue

@@ -609,7 +609,7 @@ export default {
       customerOptions: [],
       pickerOptionsEnd: {
         disabledDate: (time) => {
-          return time.getTime() < Date.now() - 1 * 24 * 60 * 60 * 1000
+          return time.getTime() < new Date(this.basicForm.demandDate).getTime() - 8.64e7
         }
       },
       isBDXQ: false,