diff --git a/src/views/modules/changeManagement/changeRecord.vue b/src/views/modules/changeManagement/changeRecord.vue index abf45cd..47a4f9b 100644 --- a/src/views/modules/changeManagement/changeRecord.vue +++ b/src/views/modules/changeManagement/changeRecord.vue @@ -4097,6 +4097,10 @@ // } 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 === '') { this.$message.warning('请填写在生产品处理意见!') return @@ -4107,6 +4111,10 @@ } } 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 === '') { this.$message.warning('请填写成品库存处理意见!') return @@ -4116,7 +4124,17 @@ 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.affectedNumber == null || this.costImpactData.affectedNumber === '') { + this.$message.warning('请填写影响的原材料及其库存量数量!') + return + } if (this.costImpactData.affectedOpinions == null || this.costImpactData.affectedOpinions === '') { this.$message.warning('请填写影响的原材料及其库存量处理意见!') return diff --git a/src/views/modules/changeManagement/changeRequest.vue b/src/views/modules/changeManagement/changeRequest.vue index 01de55f..5347f2d 100644 --- a/src/views/modules/changeManagement/changeRequest.vue +++ b/src/views/modules/changeManagement/changeRequest.vue @@ -2541,6 +2541,10 @@ } // 库存成本影响校验 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 === '') { this.$message.warning('请填写在生产品处理意见!') return @@ -2551,6 +2555,10 @@ } } 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 === '') { this.$message.warning('请填写成品库存处理意见!') return @@ -2560,7 +2568,17 @@ 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.affectedNumber == null || this.costImpactData.affectedNumber === '') { + this.$message.warning('请填写影响的原材料及其库存量数量!') + return + } if (this.costImpactData.affectedOpinions == null || this.costImpactData.affectedOpinions === '') { this.$message.warning('请填写影响的原材料及其库存量处理意见!') return diff --git a/src/views/modules/sampleManagement/technicalSpecificationDetail/com_tsd_basicInformation.vue b/src/views/modules/sampleManagement/technicalSpecificationDetail/com_tsd_basicInformation.vue index 250d8a8..d9d35c1 100644 --- a/src/views/modules/sampleManagement/technicalSpecificationDetail/com_tsd_basicInformation.vue +++ b/src/views/modules/sampleManagement/technicalSpecificationDetail/com_tsd_basicInformation.vue @@ -133,7 +133,7 @@ - + @@ -141,7 +141,7 @@ - +