|  |  | 
 |  |  |         function initUserValue() { | 
 |  |  |             var balance; | 
 |  |  |             if (type == 1) { | 
 |  |  |                 balance = systemPay.balance | 
 |  |  |                 balance = systemPay.trendsNft | 
 |  |  |             } else if (type == 2) { | 
 |  |  |                 balance = systemPay.score | 
 |  |  |                 balance = systemPay.fcmCntAva | 
 |  |  |             } else if (type ==3) { | 
 |  |  |                 balance = systemPay.prizeScore | 
 |  |  |                 balance = systemPay.tokenAva | 
 |  |  |             } else { | 
 |  |  |  | 
 |  |  |             } | 
 |  |  | 
 |  |  |  | 
 |  |  |         form.on('submit(systemPay-update-form-submit)', function (data) { | 
 |  |  |             data.field.type = type; | 
 |  |  |             febs.post(ctx + 'admin/mallMember/updateSystemPay', data.field, function () { | 
 |  |  |             febs.post(ctx + 'admin/mallMember/updateSystemPayInfo', data.field, function () { | 
 |  |  |                 layer.closeAll(); | 
 |  |  |                 febs.alert.success('操作成功'); | 
 |  |  |                 $('#febs-member-list').find('#reset').click(); |