diff --git a/anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangtaizhang/relation/cheliangtaizhangChu.vue b/anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangtaizhang/relation/cheliangtaizhangChu.vue index e7be40d123..82b56f2f5c 100644 --- a/anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangtaizhang/relation/cheliangtaizhangChu.vue +++ b/anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangtaizhang/relation/cheliangtaizhangChu.vue @@ -379,6 +379,14 @@ export default { this.$message({ showClose: true, type: 'error', message: '因赠品价值大于0,请填写备注' }) return } + if (this.temp.rebateMoneyOne !== '' && this.temp.rebateMoneyOne !== '0' && this.temp.middleOne === '') { + this.$message({ showClose: true, type: 'error', message: '因返利金额1不为空,则中介人1不能为空' }) + return + } + if (this.temp.rebateMoneyTwo !== '' && this.temp.rebateMoneyTwo !== '0' && this.temp.middleTwo === '') { + this.$message({ showClose: true, type: 'error', message: '因返利金额2不为空,则中介人2不能为空' }) + return + } this.$refs['dataForm'].validate((valid) => { if (valid) { const tip = '请确认是否临时出库?'