Commit d77c31d9 authored by ZhuChunYang's avatar ZhuChunYang

update

parent d65e085a
......@@ -17,7 +17,7 @@
<form class="layui-form" lay-filter="form2">
<div class="layui-inline">
<div class="layui-input-inline">
<select class="layui-select" name="platform_id">
<select class="layui-select" name="platform_id" id="platform_id">
<option value="">选择一个钱包</option>
<?php foreach($platforms as $key => $value): ?>
<option value="<?= $value['id'] ?>"><?= $value['name'] ?></option>
......@@ -50,7 +50,7 @@
<div class="layui-form-item">
<label class="layui-form-label">钱包</label>
<div class="layui-input-inline">
<select class="layui-select" name="platform_id">
<select class="layui-select" name="platform_id" disabled>
<option value="">请选择一个钱包</option>
<?php foreach($platforms as $key => $value): ?>
<option value="<?= $value['id'] ?>"><?= $value['name'] ?></option>
......@@ -165,7 +165,7 @@ table.on('toolbar(table1)', function(obj) {
success: function() {
form.val("form1", {
id: '',
platform_id: '',
platform_id: $('#platform_id').val(),
coin: '',
sort: '',
recommend: ''
......@@ -187,6 +187,9 @@ table.on('toolbar(table1)', function(obj) {
},
btn2: function() {
$("#_form").css('display', 'none');
},
cancel: function () {
$("#_form").css('display', 'none');
}
});
}
......@@ -229,6 +232,9 @@ table.on('tool(table1)', function(obj) {
btn2: function() {
layer.close(index);
$("#_form").css('display', 'none');
},
cancel: function () {
$("#_form").css('display', 'none');
}
});
} else if ('del' == event) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment