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

master
ELF 5 years ago
parent 4459021cb9
commit 94575cae29

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

@ -119,14 +119,14 @@
</td>
</tr>
<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">
<input type="text" class="txt ratio" name="payer" id="payer" value="<?=$record?$record['payer']:''?>" placeholder="请输入付款人">
<span class="notice-text"></span>
</td>
</tr>
<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">
<input type="text" class="txt ratio" name="pay_account" id="pay_account" value="<?=$record?$record['pay_account']:''?>" placeholder="请输入付款账号">
<span class="notice-text"></span>

Loading…
Cancel
Save