标签:regex 公司 yar item eof reg fresh nbsp func
function setGritCellValue(cell) {
if (cell instanceof jQuery) {
if (cell.length > 0) {
var TextValue = cell[0].innerText + ‘%‘;
$(cell).find(".f-grid-cell-inner").text(TextValue);
}
}
}
function huatu(values) {
var grid = F.ui.Grid1;
var merDate = grid.getMergedData();
var selectMonth = F.ui.FindTimeStart.value;//选择的月份
var jsonArray = [];
$.each(merDate, function (index, item) {
var index = item.index;
var id = item.id;
if (index == 2) {
var oneCell = grid.getCellEl(index, "One");
setGritCellValue(oneCell);
oneCell = grid.getCellEl(index, "Two");
setGritCellValue(oneCell);
}
});
var rowcount = merDate.length;//总行数
RefreshEcharts(values);
}
F.ready(function () {
//RefreshEcharts(‘{\"jfdnfd\":\"fdfd\"}‘);
var dateYar = getCurrentMonthLast("2020-05");
var start = dateYar.replace(new RegExp(‘/‘, ‘g‘), "-"); //把2018/8/31 替换成2018-8-31
});
标签:regex 公司 yar item eof reg fresh nbsp func
原文地址:https://www.cnblogs.com/jiangyunfeng/p/12892741.html