|  |  |  | 
|---|
|  |  |  | <label class="layui-form-label febs-form-item-require">拨付数目:</label> | 
|---|
|  |  |  | <div class="layui-input-block"> | 
|---|
|  |  |  | <input type="number" name="addBalance" lay-verify="required" autocomplete="off" class="layui-input"> | 
|---|
|  |  |  | <div class="layui-word-aux">输入负数即减少数量</div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <div class="layui-form-item febs-hide"> | 
|---|
|  |  |  | 
|---|
|  |  |  | initUserValue(); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | function initUserValue() { | 
|---|
|  |  |  | var balance; | 
|---|
|  |  |  | if (type == 1) { | 
|---|
|  |  |  | balance = systemPay.balance | 
|---|
|  |  |  | } else if (type == 2) { | 
|---|
|  |  |  | balance = systemPay.score | 
|---|
|  |  |  | } else if (type ==3) { | 
|---|
|  |  |  | balance = systemPay.prizeScore | 
|---|
|  |  |  | } else { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  | form.val("systemPay-update-form", { | 
|---|
|  |  |  | "id": systemPay.id, | 
|---|
|  |  |  | "balance": balance, | 
|---|
|  |  |  | "balance": systemPay.balance, | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|