充值h5-后台-支持同地区下不同货币收款
This commit is contained in:
@@ -11,19 +11,21 @@
|
||||
<div id="toolbar">
|
||||
<div class="col-sm-12">
|
||||
<label for="searchType"
|
||||
class="col-sm-4 control-label">地区:</label>
|
||||
<div class="col-sm-6">
|
||||
class="col-sm-2 control-label">地区:</label>
|
||||
<div class="col-sm-8">
|
||||
<select name="searchType"
|
||||
id="searchType"
|
||||
data-btn-class="btn-warning"
|
||||
class="form-control">
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-sm-2">
|
||||
<button id="btnSearch" class="btn btn-default">
|
||||
<i class="glyphicon glyphicon-search"></i>查询
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<button id="btnSearch"
|
||||
class="btn btn-default">
|
||||
<i class="glyphicon glyphicon-search"></i>查询
|
||||
</button>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-body"
|
||||
@@ -60,9 +62,6 @@
|
||||
<input type="hidden"
|
||||
name="code"
|
||||
id="code" />
|
||||
<input type="hidden"
|
||||
name="currency"
|
||||
id="currency" />
|
||||
<input type="hidden"
|
||||
name="type"
|
||||
id="type" />
|
||||
@@ -76,9 +75,19 @@
|
||||
id="name">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="currency"
|
||||
class="col-sm-3 control-label">货币:</label>
|
||||
<div class="col-sm-9">
|
||||
<input type="text"
|
||||
readonly
|
||||
class="form-control"
|
||||
id="currency">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="rate"
|
||||
class="col-sm-3 control-label">USD汇率:</label>
|
||||
class="col-sm-3 control-label">兑USD汇率:</label>
|
||||
<div class="col-sm-9">
|
||||
<input type="text"
|
||||
class="form-control"
|
||||
@@ -324,9 +333,10 @@ export default {
|
||||
$('#regionTable').bootstrapTable({
|
||||
columns: [
|
||||
{ field: 'name', title: '地区', align: 'center', width: '5%' },
|
||||
{ field: 'currency', title: '货币', align: 'center', width: '5%'},
|
||||
{
|
||||
field: 'rate',
|
||||
title: 'USD汇率',
|
||||
title: '兑USD汇率',
|
||||
align: 'center',
|
||||
width: '5%',
|
||||
formatter: function (val, row, index) {
|
||||
@@ -430,7 +440,7 @@ export default {
|
||||
return '<img src="' + val + '" style="width:90px;height:90px;" alt="">'
|
||||
}
|
||||
},
|
||||
{ field: 'regionName', title: '地区', align: 'center', width: '5%' },
|
||||
{ field: 'currency', title: '货币', align: 'center', width: '5%' },
|
||||
{
|
||||
field: 'isEnabled',
|
||||
title: '是否展示在充值H5',
|
||||
@@ -823,7 +833,7 @@ export default {
|
||||
var $select = $('#searchType');
|
||||
for (let i = 0; i < array.length; i++) {
|
||||
var $option = $('<option value="' + array[i].type + '" />');
|
||||
$option.html(array[i].name);
|
||||
$option.html(array[i].desc + '(' + array[i].name + ')');
|
||||
if (i == 0) {
|
||||
$option.attr('selected', true);
|
||||
}
|
||||
|
Reference in New Issue
Block a user