| | |
| | | form.render(); |
| | | |
| | | function initagentAmountSetValue() { |
| | | alert(agentAmountSet.giveState); |
| | | form.val("agent-amount-set-form", { |
| | | "agentAmountValue": agentAmountSet.agentAmountValue, |
| | | "giveState": agentAmountSet.giveState, |
| | |
| | | form.on('submit(agent-amount-set-form-submit)', function (data) { |
| | | console.log(data); |
| | | febs.post(ctx + 'admin/system/agentAmountSetSetting', data.field, function (res) { |
| | | febs.alert.success('设置成功'); |
| | | if (res.code == 200) { |
| | | febs.alert.success(res.message); |
| | | } else { |
| | | febs.alert.warn(res.message); |
| | | } |
| | | }); |
| | | window.location.reload(); |
| | | return false; |