Browse Source

修改部分接口以取消发送接口

lwx_dev
erdanergou 2 years ago
parent
commit
707daf34ac
  1. 7
      src/main/resources/templates/pages/depository/table-out.html

7
src/main/resources/templates/pages/depository/table-out.html

@ -322,11 +322,12 @@
// 用于给table行上色的方法 // 用于给table行上色的方法
function Layui_SetDataTableRowColor(TabDivId, RowIndex, ColorString) { function Layui_SetDataTableRowColor(TabDivId, RowIndex, ColorString) {
try { try {
var div = $("[lay-id='currentTableId'] tr:eq(" + RowIndex + ")"); let rowItem = $("[lay-id='currentTableId'] tr:eq(" + RowIndex + ")");
if (div != null) //找到对象了 let column = $(rowItem[0].childNodes[7]);
if (column != null) //找到对象了
{ {
// console.log(div); // console.log(div);
div.css("color", ColorString); column.css("background-color", ColorString);
} else { } else {
console.log('没有找到对象'); console.log('没有找到对象');

Loading…
Cancel
Save