提交 55f5a5a9 authored 作者: chengye's avatar chengye

test

上级 d98d0f70
......@@ -78,20 +78,8 @@ class Payment extends Base
}
//缴费状态
if($payment_status !== ''){
switch ($payment_status) {
case '0':
$map[]=['pay.status','=',"$payment_status"];
$this->assign('payment_status',$payment_status);
break;
case '1':
$map[]=['pay.status','=',"$payment_status"];
$this->assign('payment_status',$payment_status);
break;
case '4':
$map[]=['pay.status','=',"$payment_status"];
$this->assign('payment_status',$payment_status);
break;
}
$map[]=['pay.status','=',"$payment_status"];
$this->assign('payment_status',$payment_status);
}else{
$this->assign('payment_status','');
}
......
......@@ -26,7 +26,7 @@
</div>
<div class="layui-input-inline" style="width:150px;">
<select name="payment_status" id="payment_status">
<option value="" {if $payment_status === '' } selected {/if}>缴费状态</option>
<option value="" selected="selected" {if $payment_status === '' } selected {/if}>缴费状态</option>
<option value="0" {if $payment_status === 0 || $payment_status === '0'} selected {/if}>未缴费</option>
<option value="1" {if $payment_status == 1 } selected {/if}>已缴费</option>
<option value="4" {if $payment_status == 4 } selected {/if}>已审核</option>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论