1、OEE报表计算功能 选择时间添加限制,禁止选择选今天及未来日期
2、解决车间布局图点击设备详细弹窗展示异常问题(删除车间看板页面独立的详情弹窗组件,沿用设备监控页面详情弹窗组件)
| | |
| | | import VueDragResize from 'vue-drag-resize' |
| | | import api from '@/api/mdc' |
| | | import { getFileAccessHttpUrl } from '@/api/manage' |
| | | import EquipmentDetailModal from './modules/WorkshopSignage/EquipmentDetailModal' |
| | | import EquipmentDetailModal from './modules/DeviceBaseInfo/EquipmentDetailModal.vue' |
| | | import { message } from 'ant-design-vue' |
| | | |
| | | message.config({ |
| | |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item label="鏃ユ湡"> |
| | | <a-range-picker v-model="dates" style="width: 100%" value-format="YYYY-MM-DD" |
| | | <a-range-picker v-model="dates" :disabledDate="disabledDate" style="width: 100%" value-format="YYYY-MM-DD" |
| | | @change="dateParamChange"></a-range-picker> |
| | | </a-form-model-item> |
| | | </a-col> |
| | |
| | | |
| | | <script> |
| | | import mdcApi from '@/api/mdc' |
| | | import moment from 'moment' |
| | | |
| | | export default { |
| | | name: 'ComputeOeeModal', |
| | |
| | | this.model.endTime = value2[1] |
| | | }, |
| | | |
| | | disabledDate(current) { |
| | | // 涓嶈兘閫夋嫨褰撳ぉ鍙婂綋澶╀互鍚庣殑鏃ユ湡 |
| | | return current && current > moment().startOf('days') |
| | | }, |
| | | |
| | | handleModalClose() { |
| | | this.visible = false |
| | | this.model = {} |