Browse Source

[fix]

修改其他联系人前端页面:表头按钮调整为统一样式;操作栏按钮,引用$.table.dropdownToggle方法;隐藏联系人id字段;
修改其他收货地址前端页面:表头按钮调整为统一样式;操作栏按钮,引用$.table.dropdownToggle方法;隐藏收货人id字段;
修改其他开票信息前端页面:表头按钮调整为统一样式;操作栏按钮,引用$.table.dropdownToggle方法;
dev
liuxiaoxu 3 months ago
parent
commit
3218ebb96a
  1. 10
      ruoyi-admin/src/main/resources/templates/system/contacts/contacts.html
  2. 9
      ruoyi-admin/src/main/resources/templates/system/invoice/invoice.html
  3. 11
      ruoyi-admin/src/main/resources/templates/system/shippingaddress/shippingaddress.html

10
ruoyi-admin/src/main/resources/templates/system/contacts/contacts.html

@ -40,7 +40,7 @@
<i class="fa fa-plus"></i> 添加 <i class="fa fa-plus"></i> 添加
</a> </a>
</div> </div>
<div class="col-sm-12 select-table table-striped" style="white-space: nowrap"> <div class="col-sm-12 select-table table-striped">
<table id="bootstrap-table"></table> <table id="bootstrap-table"></table>
</div> </div>
</div> </div>
@ -67,6 +67,7 @@
{ {
field: 'contactid', field: 'contactid',
title: '联系人id', title: '联系人id',
visible: false
}, },
{ {
field: 'enterpriseCode', field: 'enterpriseCode',
@ -133,9 +134,10 @@
align: 'center', align: 'center',
formatter: function(value, row, index) { formatter: function(value, row, index) {
var actions = []; var actions = [];
actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.contactid + '\')"><i class="fa fa-edit"></i>编辑</a> '); actions.push('<a class=" ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.contactid + '\')"><i class="fa fa-edit"></i>编辑</a> ');
actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.contactid + '\')"><i class="fa fa-remove"></i>删除</a>'); actions.push('<a class=" ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.contactid + '\')"><i class="fa fa-remove"></i>删除</a>');
return actions.join(''); var actionLinks = actions.join('');
return $.table.dropdownToggle(actionLinks);
} }
} }
] ]

9
ruoyi-admin/src/main/resources/templates/system/invoice/invoice.html

@ -110,10 +110,11 @@
align: 'center', align: 'center',
formatter: function(value, row, index) { formatter: function(value, row, index) {
var actions = []; var actions = [];
actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> '); actions.push('<a class=" ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> ');
actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a> '); actions.push('<a class=" ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a> ');
actions.push('<a class="btn btn-primary btn-xs ' + '" href="javascript:void(0)" onclick="$.operate.detail(\'' + row.id + '\')"><i class="fa fa-edge"></i>详情</a> '); actions.push('<a class=" ' + '" href="javascript:void(0)" onclick="$.operate.detail(\'' + row.id + '\')"><i class="fa fa-edge"></i>详情</a> ');
return actions.join(''); var actionLinks = actions.join('');
return $.table.dropdownToggle(actionLinks);
} }
}] }]
}; };

11
ruoyi-admin/src/main/resources/templates/system/shippingaddress/shippingaddress.html

@ -47,7 +47,7 @@
<!-- </a>--> <!-- </a>-->
</div> </div>
<div class="col-sm-12 select-table table-striped"> <div class="col-sm-12 select-table table-striped">
<table id="bootstrap-table" style="white-space:nowrap"></table> <table id="bootstrap-table" ></table>
</div> </div>
</div> </div>
</div> </div>
@ -70,7 +70,7 @@
modalName: "送货地址", modalName: "送货地址",
columns: [ columns: [
{checkbox: true}, {checkbox: true},
{title: '送货id',field: 'deliveryId'}, {title: '送货id',field: 'deliveryId', visible: false},
{title: '客户/企业代码',field: 'enterpriseCode'}, {title: '客户/企业代码',field: 'enterpriseCode'},
{title: '客户/企业名称',field: 'enterpriseName'}, {title: '客户/企业名称',field: 'enterpriseName'},
{title: '联系人电话',field: 'customerPhone'}, {title: '联系人电话',field: 'customerPhone'},
@ -90,9 +90,10 @@
align: 'center', align: 'center',
formatter: function (value, row, index) { formatter: function (value, row, index) {
var actions = []; var actions = [];
actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.deliveryId + '\')"><i class="fa fa-edit"></i>编辑</a> '); actions.push('<a class=" ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.deliveryId + '\')"><i class="fa fa-edit"></i>编辑</a> ');
actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.deliveryId + '\')"><i class="fa fa-remove"></i>删除</a>'); actions.push('<a class=" ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.deliveryId + '\')"><i class="fa fa-remove"></i>删除</a>');
return actions.join(''); var actionLinks = actions.join('');
return $.table.dropdownToggle(actionLinks);
} }
} }
] ]

Loading…
Cancel
Save