|
|
|
|
@ -42,6 +42,7 @@
|
|
|
|
|
<el-form-item>
|
|
|
|
|
<el-button type='primary' icon='Search' @click='handleQuery'>搜索</el-button>
|
|
|
|
|
<el-button icon='Refresh' @click='resetQuery'>重置</el-button>
|
|
|
|
|
<el-button type="warning" plain icon="Download" @click="handleExport">导出</el-button>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-form>
|
|
|
|
|
</el-card>
|
|
|
|
|
@ -121,7 +122,7 @@ import {
|
|
|
|
|
delPlanInfo,
|
|
|
|
|
addPlanInfo,
|
|
|
|
|
updatePlanInfo,
|
|
|
|
|
orderAddProductPlanList, issuePlanInfo, queryMoritorPageList, queryMoritorList
|
|
|
|
|
orderAddProductPlanList, issuePlanInfo, queryMoritorList
|
|
|
|
|
} from '@/api/mes/planInfo';
|
|
|
|
|
import { PlanInfoVO, PlanInfoQuery, PlanInfoForm } from '@/api/mes/planInfo/types';
|
|
|
|
|
import { getBaseShiftInfoList } from '@/api/mes/baseShiftInfo';
|
|
|
|
|
@ -486,6 +487,14 @@ const handleDateRangeChange = (val) => {
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 导出按钮操作
|
|
|
|
|
function handleExport() {
|
|
|
|
|
proxy.download('/mes/planInfo/exportMonitor', {
|
|
|
|
|
...queryParams.value
|
|
|
|
|
}, `生产计划监控_${new Date().getTime()}.xlsx`)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
<style>
|
|
|
|
|
/* 设置头部样式 */
|
|
|
|
|
|