Commit f0bcde2d authored by hujun's avatar hujun

收款删除

parent c4f51a39
......@@ -2474,6 +2474,7 @@ class Finance extends Basic
$list[$k]['pay_type_num'] = $v['pay_type'];
$list[$k]['type_num'] = $v['type'];
}
$data['list'] = $list;
//加时间条件
if ($is_show) {
......@@ -3360,7 +3361,7 @@ class Finance extends Basic
}
$m_pay_adjustment = new OPayLogAdjustment();
$pay_id = $m_pay_adjustment->getFieldValue('id', ['paylog_id'=>$this->params['pay_id']]);
$pay_id = $m_pay_adjustment->getFieldValue('id', ['new_paylog_id'=>$this->params['pay_id']]);
if ($pay_id) {
return $this->response($code, '该收款有调整信息,不能删除');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment