change - 生产工单排产->自动安排优化

master
yinq 4 months ago
parent 36f65f26e7
commit 053581c5d9

@ -520,7 +520,7 @@ export default {
if (planBeginTime != null && planEndTime != null) {
item.duration = this.calculateDaysDifference(planBeginTime, planEndTime);
}
if (this.arrangeType === 1 && planEndTime != null){
if (this.arrangeType === 1 && planEndTime != null && children != null) {
const date = new Date(planEndTime);
date.setDate(date.getDate() + 1);
children.forEach(item => {

Loading…
Cancel
Save