|
|
@ -4097,6 +4097,10 @@ |
|
|
// } |
|
|
// } |
|
|
|
|
|
|
|
|
if (this.costImpactData.productionProductFlag === 'Y') { // 在生产品 |
|
|
if (this.costImpactData.productionProductFlag === 'Y') { // 在生产品 |
|
|
|
|
|
if (this.costImpactData.productionProductNumber == null || this.costImpactData.productionProductNumber === '') { |
|
|
|
|
|
this.$message.warning('请填写在生产品数量!') |
|
|
|
|
|
return |
|
|
|
|
|
} |
|
|
if (this.costImpactData.productionProductOpinions == null || this.costImpactData.productionProductOpinions === '') { |
|
|
if (this.costImpactData.productionProductOpinions == null || this.costImpactData.productionProductOpinions === '') { |
|
|
this.$message.warning('请填写在生产品处理意见!') |
|
|
this.$message.warning('请填写在生产品处理意见!') |
|
|
return |
|
|
return |
|
|
@ -4107,6 +4111,10 @@ |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
if (this.costImpactData.inventoryProductFlag === 'Y') { // 成品库存 |
|
|
if (this.costImpactData.inventoryProductFlag === 'Y') { // 成品库存 |
|
|
|
|
|
if (this.costImpactData.inventoryProductNumber == null || this.costImpactData.inventoryProductNumber === '') { |
|
|
|
|
|
this.$message.warning('请填写成品库存数量!') |
|
|
|
|
|
return |
|
|
|
|
|
} |
|
|
if (this.costImpactData.inventoryProductOpinions == null || this.costImpactData.inventoryProductOpinions === '') { |
|
|
if (this.costImpactData.inventoryProductOpinions == null || this.costImpactData.inventoryProductOpinions === '') { |
|
|
this.$message.warning('请填写成品库存处理意见!') |
|
|
this.$message.warning('请填写成品库存处理意见!') |
|
|
return |
|
|
return |
|
|
@ -4116,7 +4124,17 @@ |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
if (this.costImpactData.newOrderFlag === 'Y') { // 新订单 |
|
|
|
|
|
if (this.costImpactData.newOrderNumber == null || this.costImpactData.newOrderNumber === '') { |
|
|
|
|
|
this.$message.warning('请填写新订单数量!') |
|
|
|
|
|
return |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
if (this.costImpactData.affectedFlag === 'Y') { // 影响的原材料及其库存量 |
|
|
if (this.costImpactData.affectedFlag === 'Y') { // 影响的原材料及其库存量 |
|
|
|
|
|
if (this.costImpactData.affectedNumber == null || this.costImpactData.affectedNumber === '') { |
|
|
|
|
|
this.$message.warning('请填写影响的原材料及其库存量数量!') |
|
|
|
|
|
return |
|
|
|
|
|
} |
|
|
if (this.costImpactData.affectedOpinions == null || this.costImpactData.affectedOpinions === '') { |
|
|
if (this.costImpactData.affectedOpinions == null || this.costImpactData.affectedOpinions === '') { |
|
|
this.$message.warning('请填写影响的原材料及其库存量处理意见!') |
|
|
this.$message.warning('请填写影响的原材料及其库存量处理意见!') |
|
|
return |
|
|
return |
|
|
|