汇总状态的操作修改

master
zyx 4 years ago
parent 2c5889cd50
commit 041006e1b4

@ -190,6 +190,10 @@ class AggregateFinanceStatementController extends ThinkController
$this->error("参数错误"); $this->error("参数错误");
} }
if (!$_REQUEST['first_partner_id']) {
$this->error("编辑失败,聚合公司绑定关系未添加,请添加公司绑定关系后重算");
}
if ($_REQUEST['is_edit']) { if ($_REQUEST['is_edit']) {
$verify_status = 0; $verify_status = 0;
} else { } else {
@ -453,7 +457,7 @@ class AggregateFinanceStatementController extends ThinkController
if (!$value['first_party_info']) { if (!$value['first_party_info']) {
$this->ajaxReturn(array( $this->ajaxReturn(array(
'status' => 1, 'status' => 1,
"info"=>"审批失败,存在没有绑定关系的对账单,请绑定关系后重算" "info"=>"审批失败,聚合公司绑定关系未添加,请添加公司绑定关系后重算"
)); ));
} }

@ -684,7 +684,7 @@
window.parent.reload(); window.parent.reload();
},350); },350);
}else{ }else{
alert("添加失败,请联系管理员") alert(data.info)
} }
}); });
//发送添加请求 //发送添加请求

Loading…
Cancel
Save