Commit 18f4ea64 authored by duxinyuan's avatar duxinyuan

bug

parent befaf933
...@@ -493,9 +493,9 @@ ...@@ -493,9 +493,9 @@
</form> </form>
</div> </div>
<div class="modal-footer noprint" id="hiddenOr" > <div class="modal-footer noprint" id="hiddenOr" >
<button type="button" class="btn btn-primary" href="#modal_pass" data-toggle="modal">审核通过</button> <button type="button" class="btn btn-primary pass" href="#modal_pass" data-toggle="modal">审核通过</button>
<button type="button" class="btn btn-primary" href="#modal_false" data-toggle="modal">驳回</button> <button type="button" class="btn btn-primary turnback" href="#tuikuan_modal" data-toggle="modal">转到已退款</button>
<button type="button" class="btn btn-primary" href="#tuikuan_modal" data-toggle="modal">转到已退款</button> <button type="button" class="btn btn-primary fail" href="#modal_false" data-toggle="modal">驳回</button>
<button type="button" class="btn btn-primary" id="print" >打印</button> <button type="button" class="btn btn-primary" id="print" >打印</button>
</div> </div>
</div> </div>
......
...@@ -298,10 +298,14 @@ define(['doT', 'text!temp/refund_template_tpl.html', 'css!style/home.css', 'ckfi ...@@ -298,10 +298,14 @@ define(['doT', 'text!temp/refund_template_tpl.html', 'css!style/home.css', 'ckfi
var str = '' ; var str = '' ;
if (data.data.status == 1) { if (data.data.status == 1) {
str = '审核中' str = '审核中'
$('.pass').show();
$('.turnback').hide();
} else if (data.data.status == 2) { } else if (data.data.status == 2) {
str = '退款成功' str = '退款成功'
} else if (data.data.status == 3) { } else if (data.data.status == 3) {
str = '已审核' str = '已审核'
$('.pass').hide();
$('.turnback').show();
} else if (data.data.status == 4) { } else if (data.data.status == 4) {
str = '驳回' str = '驳回'
} else { } else {
......
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