From c1d3b50f1855ab3231125e01b351878ffc78dda8 Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Thu, 24 Nov 2022 16:50:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E8=BD=A6=E8=BE=86=E5=8F=B0?= =?UTF-8?q?=E8=B4=A6--=E5=87=BA=E5=BA=93=E6=97=B6=E5=A6=82=E8=BF=94?= =?UTF-8?q?=E5=88=A9=E9=87=91=E9=A2=9D=E4=B8=8D=E4=B8=BA=E7=A9=BA=EF=BC=8C?= =?UTF-8?q?=20=E5=88=99=E4=B8=AD=E4=BB=8B=E4=BA=BA=E4=B8=8D=E8=83=BD?= =?UTF-8?q?=E4=B8=BA=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cheliangtaizhang/relation/cheliangtaizhangChu.vue | 8 ++++++++ 1 file changed, 8 insertions(+) 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 = '请确认是否临时出库?'