修改会长押金编辑付款人付款账号非必填

master
ELF 5 years ago
parent 4459021cb9
commit 94575cae29

@ -273,12 +273,12 @@ class PresidentDepositController extends ThinkController
if ($amount > 100000000) { if ($amount > 100000000) {
return $this->error('金额过高'); return $this->error('金额过高');
} }
if ($payer == '') { /* if ($payer == '') {
return $this->error('请输入付款人'); return $this->error('请输入付款人');
} }
if ($payAccount == '') { if ($payAccount == '') {
return $this->error('请输入付款账号'); return $this->error('请输入付款账号');
} } */
$data = []; $data = [];
$data['pay_way'] = $payType == 2 ? 4 : $payWay; $data['pay_way'] = $payType == 2 ? 4 : $payWay;

@ -119,14 +119,14 @@
</td> </td>
</tr> </tr>
<tr class="need-amount" <?php if($record && $record['pay_type']==3):?>style="display:none;"<?php endif;?>> <tr class="need-amount" <?php if($record && $record['pay_type']==3):?>style="display:none;"<?php endif;?>>
<td class="l"><?php if($record):?><i class="mustmark">*</i><?php endif?>付款人:</td> <td class="l">付款人:</td>
<td class="r table_radio"> <td class="r table_radio">
<input type="text" class="txt ratio" name="payer" id="payer" value="<?=$record?$record['payer']:''?>" placeholder="请输入付款人"> <input type="text" class="txt ratio" name="payer" id="payer" value="<?=$record?$record['payer']:''?>" placeholder="请输入付款人">
<span class="notice-text"></span> <span class="notice-text"></span>
</td> </td>
</tr> </tr>
<tr class="need-amount" <?php if($record && $record['pay_type']==3):?>style="display:none;"<?php endif;?>> <tr class="need-amount" <?php if($record && $record['pay_type']==3):?>style="display:none;"<?php endif;?>>
<td class="l"><?php if($record):?><i class="mustmark">*</i><?php endif?>付款账号:</td> <td class="l">付款账号:</td>
<td class="r table_radio"> <td class="r table_radio">
<input type="text" class="txt ratio" name="pay_account" id="pay_account" value="<?=$record?$record['pay_account']:''?>" placeholder="请输入付款账号"> <input type="text" class="txt ratio" name="pay_account" id="pay_account" value="<?=$record?$record['pay_account']:''?>" placeholder="请输入付款账号">
<span class="notice-text"></span> <span class="notice-text"></span>

Loading…
Cancel
Save