|
|
|
@ -903,6 +903,17 @@ |
|
|
|
}) |
|
|
|
return |
|
|
|
} |
|
|
|
// 硫化产品报工必须填写生产模数 - rqrq |
|
|
|
var orderPartNo = (this.saveHeaderData.partNo || '').toUpperCase() |
|
|
|
if (orderPartNo.indexOf('SP') === 0) { |
|
|
|
var moldCount = this.moQty |
|
|
|
if (moldCount === null || moldCount === undefined || String(moldCount).trim() === '' || Number(moldCount) === 0 || isNaN(Number(moldCount))) { |
|
|
|
this.$alert('硫化生产必须填写生产模数!', '错误信息', { |
|
|
|
confirmButtonText: '确定' |
|
|
|
}) |
|
|
|
return |
|
|
|
} |
|
|
|
} |
|
|
|
if(this.moQty==null||this.moQty==''){ |
|
|
|
this.saveHeaderData.moldQty=0 |
|
|
|
}else { |
|
|
|
|