From 9e53db53cdbfc6155daafb94c47c17a51060e503 Mon Sep 17 00:00:00 2001 From: yulingwei <2436953959@qq.com> Date: Wed, 29 Jul 2020 14:20:01 +0800 Subject: [PATCH] upt --- .../Admin/View/StatementMangement/rewardManageSave.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Application/Admin/View/StatementMangement/rewardManageSave.html b/Application/Admin/View/StatementMangement/rewardManageSave.html index 80784e994..73ae1ef31 100644 --- a/Application/Admin/View/StatementMangement/rewardManageSave.html +++ b/Application/Admin/View/StatementMangement/rewardManageSave.html @@ -451,11 +451,11 @@ if (node_info) { var otherData = JSON.parse(node_info); // console.log(otherData) - // console.log((data['company_name'] != '0' ? data['company_id'] == otherData['company_id'] : data['company_name'] == otherData['company_name']) ); + // console.log((data['company_id'] != '0' ? data['company_id'] == otherData['company_id'] : data['company_name'] == otherData['company_name']) ); // console.log(data['company_type'] == otherData['company_type'] ); // 判断对立面是否有相同的公司或者部门 if ((data['company_type'] == otherData['company_type']) - && (data['company_name'] != '0' ? data['company_id'] == otherData['company_id'] : data['company_name'] == otherData['company_name']) ) { + && (data['company_id'] != '0' ? data['company_id'] == otherData['company_id'] : data['company_name'] == otherData['company_name']) ) { //console.log('已有相此公司的奖罚,请检查') layer.closeAll(); layer.msg('已有此公司的奖罚,请检查');