|
|
|
@ -240,7 +240,7 @@
|
|
|
|
|
<tr class="deposit-item <?php if(!$needDeposit):?>no-deposit<?php endif;?>">
|
|
|
|
|
<td class="l"><i class="mustmark" style="margin-left:-7px">*</i>押金付款方式:</td>
|
|
|
|
|
<td class="r">
|
|
|
|
|
<select name="deposit[pay_type]" id="deposit-pay-type" class="select_gallery">
|
|
|
|
|
<select name="deposit[pay_type]" id="deposit-pay-type" class="select_gallery" disabled>
|
|
|
|
|
<option value="">押金付款方式</option>
|
|
|
|
|
<?php foreach($payTypes as $key => $name):?>
|
|
|
|
|
<option value="<?=$key?>" <?php if($deposit && $deposit['pay_type'] == $key):?>selected<?php endif;?>><?=$name?></option>
|
|
|
|
@ -252,7 +252,7 @@
|
|
|
|
|
<tr class="deposit-item <?php if(!$needDeposit):?>no-deposit<?php endif;?> need-amount">
|
|
|
|
|
<td class="l"><i class="mustmark" style="margin-left:-7px">*</i>押金支付方式:</td>
|
|
|
|
|
<td class="r">
|
|
|
|
|
<select name="deposit[pay_way]" id="deposit-pay-way" class="select_gallery">
|
|
|
|
|
<select name="deposit[pay_way]" id="deposit-pay-way" class="select_gallery" disabled>
|
|
|
|
|
<option value="">押金支付方式</option>
|
|
|
|
|
<?php foreach($payWays as $key => $name):?>
|
|
|
|
|
<option value="<?=$key?>" <?php if($deposit && $deposit['pay_way'] == $key):?>selected<?php endif;?>><?=$name?></option>
|
|
|
|
@ -264,21 +264,21 @@
|
|
|
|
|
<tr class="deposit-item <?php if(!$needDeposit):?>no-deposit<?php endif;?> need-amount">
|
|
|
|
|
<td class="l"><?php if($deposit):?><i class="mustmark">*</i><?php endif?>押金金额:</td>
|
|
|
|
|
<td class="r table_radio">
|
|
|
|
|
<input type="text" class="txt ratio" name="deposit[amount]" id="deposit-amount" value="<?=$deposit?$deposit['amount']:''?>" placeholder="请输入押金金额">
|
|
|
|
|
<input type="text" class="txt ratio" name="deposit[amount]" id="deposit-amount" value="<?=$deposit?$deposit['amount']:''?>" placeholder="请输入押金金额" readonly>
|
|
|
|
|
<span class="notice-text"></span>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr class="deposit-item <?php if(!$needDeposit):?>no-deposit<?php endif;?> need-amount">
|
|
|
|
|
<td class="l">押金付款人:</td>
|
|
|
|
|
<td class="r table_radio">
|
|
|
|
|
<input type="text" class="txt ratio" name="deposit[payer]" id="deposit-payer" value="<?=$deposit?$deposit['payer']:''?>" placeholder="请输入押金付款人">
|
|
|
|
|
<input type="text" class="txt ratio" name="deposit[payer]" id="deposit-payer" value="<?=$deposit?$deposit['payer']:''?>" placeholder="请输入押金付款人" readonly>
|
|
|
|
|
<span class="notice-text"></span>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr class="deposit-item <?php if(!$needDeposit):?>no-deposit<?php endif;?> need-amount">
|
|
|
|
|
<td class="l">押金付款账号:</td>
|
|
|
|
|
<td class="r table_radio">
|
|
|
|
|
<input type="text" class="txt ratio" name="deposit[pay_account]" id="deposit-pay-account" value="<?=$deposit?$deposit['pay_account']:''?>" placeholder="请输入押金付款账号">
|
|
|
|
|
<input type="text" class="txt ratio" name="deposit[pay_account]" id="deposit-pay-account" value="<?=$deposit?$deposit['pay_account']:''?>" placeholder="请输入押金付款账号" readonly>
|
|
|
|
|
<span class="notice-text"></span>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
@ -1021,7 +1021,9 @@
|
|
|
|
|
$('#deposit-pay-way').val('')
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
$('#deposit-pay-type').change()
|
|
|
|
|
|
|
|
|
|
if ($('#deposit-pay-type').val() == 3) {
|
|
|
|
|
$('.need-amount').hide();
|
|
|
|
|
}
|
|
|
|
|
// $('#deposit-pay-type').change()
|
|
|
|
|
</script>
|
|
|
|
|
</block>
|
|
|
|
|