Browse Source

admin refill recharge add_type 4

xiaoyu 3 years ago
parent
commit
cd07b21628

+ 1 - 1
admin/control/refill_evidence.php

@@ -109,7 +109,7 @@ class refill_evidenceControl extends SystemControl
     {
         $status_text = ['申请中', '已通过', '已驳回'];
         $operation_text = ['未预存', '已预存'];
-        $add_type_text = ['商户预存','后台手动预存','后台手动调款'];
+        $add_type_text = ['商户预存','后台手动预存','后台手动调款','余额找平'];
         $is_bank_text = ['否','是'];
 
         $merchants = [];

+ 1 - 0
admin/templates/default/merchant.refill.evidence_list.php

@@ -107,6 +107,7 @@
                         <option value="1" <?php if($_GET['add_type'] == '1'){ echo 'selected';}?>>商户预存</option>
                         <option value="2" <?php if($_GET['add_type'] == '2'){ echo 'selected';}?>>后台手动预存</option>
                         <option value="3" <?php if($_GET['add_type'] == '3'){ echo 'selected';}?>>后台手动调款</option>
+                        <option value="4" <?php if($_GET['add_type'] == '4'){ echo 'selected';}?>>余额找平</option>
                     </select>
                 </td>
                 <th><label for="is_bank">转款类型</label></th>

+ 12 - 1
admin/templates/default/recharge.manual.edit.php

@@ -15,7 +15,6 @@
     <form id="points_form" method="post" name="form1" enctype="multipart/form-data">
         <input type="hidden" name="form_submit" value="ok"/>
         <input type="hidden" name="type" value="<?php echo $_GET['type']; ?>"/>
-        <input type="hidden" name="add_type" value="3"/>
         <table class="table tb-type2 nobdb">
             <tbody>
             <tr class="noborder">
@@ -56,6 +55,18 @@
                 <td class="vatop tips"></td>
             </tr>
             <tr>
+                <td colspan="2" class="required"><label class="validation">调款类型:</label></td>
+            </tr>
+            <tr class="noborder">
+                <td class="vatop rowform">
+                    <select name="add_type" id="add_type">
+                        <option value="3">手动调款</option>
+                        <option value="4">余额找平</option>
+                    </select>
+                </td>
+                <td class="vatop tips"></td>
+            </tr>
+            <tr>
                 <td colspan="2"><label>充值申请凭证:</label></td>
             </tr>
             <tr class="noborder">