Explorar o código

电量管理增加角色degree-manage

hfxc226 hai 1 mes
pai
achega
931e1cfa0c
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/views/produce/record/ProduceRecord.vue

+ 2 - 1
src/views/produce/record/ProduceRecord.vue

@@ -288,7 +288,8 @@ export default {
     },
     disabledDate (current) {
       // Can not select days today and after today
-      return current > this.BaseTool.Moment().subtract(1, 'days').endOf('day')
+      // return current > this.BaseTool.Moment().subtract(1, 'days').endOf('day')
+      return current > this.BaseTool.Moment().endOf('day')
     },
     handleEdit (record) {
       this.visible = false