123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- <div style="margin-top: 10px;" id="withdrawConfigs-app">
- <div style="text-align: center;margin-top: 5px;margin-bottom: 10px;font-size: 20px;">
- 编辑 - 提现配置
- </div>
- <el-form action="{{route('admin.withdrawConfig.update',array('id'=>$model->id))}}" method="post" id="form-create">
- <!-- 图片 -->
- <!-- 排序 -->
- <ui-input-number label="最低金额" checked="checked" name="mix_money" value="{{$model->mix_money}}" min="1" max="99999" tips="最低提现金额"></ui-input-number>
- <!-- 是否显示 -->
- <ui-radio label="手续费类型" :params="params" tips="控制手续费是比列还是固定金额"></ui-radio>
- <ui-input-number label="手续费" checked="checked" name="proportion" value="{{$model->proportion}}" min="-1" max="100" tips="手续费数量"></ui-input-number>
- <ui-input-number label="自动审核金额" checked="checked" name="auto_money" value="{{$model->auto_money}}" min="-1" max="999999" tips="自动审核的最大金额"></ui-input-number>
- <ui-input-number label="自动审核天数" checked="checked" name="auto_day" value="{{$model->auto_day}}" min="-1" max="999999" tips="自动审核的最大天数"></ui-input-number>
- <ui-input-number label="自动审核次数" checked="checked" name="auto_num" value="{{$model->auto_num}}" min="-1" max="999999" tips="在最大天数以内,超过了此次数将不会自动审核通过"></ui-input-number>
- <ui-submit></ui-submit>
- </el-form>
- </div>
- <script type="application/javascript">
- $(function () {
-
- new Vue({
- el: '#withdrawConfigs-app',
- data :function () {
- return {
- params: {
-
- group: {},
- attr: {
- name: 'type',
- radioCheck:{{$model->type}},
- label: 'el-radio-button',
- radios: [
- {
- value:1,
- label: '比列',
- disable: false
- },
- {
- value:2,
- label: '固定金额',
- disable: false
- }
- ]
- }
- }
- };
- }
- });
- jQuery.validator.setDefaults({
- debug: false,
- success: "success",
- errorElement: 'div'
- });
-
- window.form = $('#form-create').validate({
- rules: {
- image: {
- required: true,
- maxlength: 255,
- normalizer: function ( value ) {
- return $.trim(value);
- }
- },
-
-
-
-
-
-
-
- show: {
- required: true
- },
- sort: {
- required: true,
- normalizer: function ( value ) {
- return $.trim(value);
- }
- }
- }
- });
-
- window.formDatum = $('form').serialize();
- });
- </script>
- @include('layouts.admin.form_script')
|