|
|
|
@ -243,6 +243,14 @@ |
|
|
|
this.$message.warning('计划开工时间不能早于计划完工时间!') |
|
|
|
return |
|
|
|
} |
|
|
|
if (this.selectRow.timeRequired<=0){ |
|
|
|
this.$message.warning('需求随时间不能小于0!') |
|
|
|
return |
|
|
|
} |
|
|
|
if (this.selectRow.crewsize<1) { |
|
|
|
this.$message.warning('操作工人数不能少于1!') |
|
|
|
return |
|
|
|
} |
|
|
|
let centerInfo = { |
|
|
|
workCenterNo: this.selectRow.workCenterNo, |
|
|
|
active: 'Y', |
|
|
|
|