|
@@ -20,7 +20,9 @@
|
|
|
<td colspan="2" class="required"><label class="validation">申请编号:</label></td>
|
|
|
</tr>
|
|
|
<tr class="noborder">
|
|
|
- <td class="vatop rowform"><input type="text" name="apply_id" id="apply_id" class="txt" value="<?php echo $output['apply_id'];?>" onchange="javascript:checkevidence();">
|
|
|
+ <td class="vatop rowform">
|
|
|
+ <input type="text" name="apply_id" id="apply_id" class="txt" value="<?php echo $output['apply_id'];?>" readonly="readonly">
|
|
|
+<!-- <input type="text" name="apply_id" id="apply_id" class="txt" value="--><?php //echo $output['apply_id'];?><!--" onchange="javascript:checkevidence();">-->
|
|
|
<input type="hidden" name="apply_id" id="apply_id" value="<?php echo $output['apply_id'];?>"/></td>
|
|
|
<td class="vatop tips"></td>
|
|
|
</tr>
|
|
@@ -28,20 +30,27 @@
|
|
|
<td colspan="2" class="required">增减类型:</label></td>
|
|
|
</tr>
|
|
|
<tr class="noborder">
|
|
|
- <td class="vatop rowform"><select id="operatetype" name="operatetype">
|
|
|
- <option value="1">增加</option>
|
|
|
- <option value="2">减少</option>
|
|
|
- <option value="3">冻结</option>
|
|
|
- <option value="4">解冻</option>
|
|
|
-
|
|
|
- </select></td>
|
|
|
+ <td class="vatop rowform">
|
|
|
+ <!--<select id="operatetype" name="operatetype" disabled>
|
|
|
+ <option value="1" <?php if($output['amount'] > 0){ echo 'selected'; }?>>增加</option>
|
|
|
+ <option value="2" <?php if($output['amount'] < 0){ echo 'selected'; }?>>减少</option>
|
|
|
+ </select>-->
|
|
|
+ <?php if($output['amount'] > 0) {?>
|
|
|
+ <input type="text" class="txt" value="增加" readonly="readonly">
|
|
|
+ <input type="hidden" name="operatetype" value="1"/></td>
|
|
|
+ <?php }?>
|
|
|
+ <?php if($output['amount'] < 0) {?>
|
|
|
+ <input type="text" class="txt" value="减少" readonly="readonly">
|
|
|
+ <input type="hidden" name="operatetype" value="2"/></td>
|
|
|
+ <?php }?>
|
|
|
+ </td>
|
|
|
<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"><input type="text" id="pointsnum" name="pointsnum" value="<?php echo $output['amount'];?>" class="txt"></td>
|
|
|
+ <td class="vatop rowform"><input type="text" id="pointsnum" name="pointsnum" value="<?php echo abs($output['amount']);?>" class="txt" readonly="readonly"></td>
|
|
|
<td class="vatop tips"></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
@@ -84,7 +93,6 @@ $(function(){
|
|
|
},
|
|
|
pointsnum : {
|
|
|
required : true,
|
|
|
- min : 1
|
|
|
}
|
|
|
},
|
|
|
messages : {
|
|
@@ -92,8 +100,7 @@ $(function(){
|
|
|
required : '请输入申请编号'
|
|
|
},
|
|
|
pointsnum : {
|
|
|
- required : '请添加预存款',
|
|
|
- min : '预存款必须大于0'
|
|
|
+ required : '请添加预存款'
|
|
|
}
|
|
|
}
|
|
|
});
|