|
|
@@ -98,16 +98,21 @@ function getDataRow(detail, i) {
|
|
|
|
|
|
var remarkCell = document.createElement('td'); //时间
|
|
|
remarkCell.setAttribute("class", "text-center");
|
|
|
+ remarkCell.innerHTML = detail.remark;//填充数据
|
|
|
+ row.appendChild(remarkCell);
|
|
|
+
|
|
|
+ var tipCell = document.createElement('td'); //时间
|
|
|
+ tipCell.setAttribute("class", "text-center");
|
|
|
if (detail.okStatus == 1) {
|
|
|
- remarkCell.innerHTML = '正常';
|
|
|
+ tipCell.innerHTML = '正常';
|
|
|
} else {
|
|
|
if (detail.b2bId == -1) {
|
|
|
- remarkCell.innerHTML = '<span style="color: red;">B2B未找到对应单据</span>';
|
|
|
+ tipCell.innerHTML = '<span style="color: red;">B2B未找到对应单据</span>';
|
|
|
} else {
|
|
|
- remarkCell.innerHTML = '<span style="color: red;">异常</span>'; //填充数据
|
|
|
+ tipCell.innerHTML = '<span style="color: red;">异常</span>'; //填充数据
|
|
|
}
|
|
|
}
|
|
|
- row.appendChild(remarkCell);
|
|
|
+ row.appendChild(tipCell);
|
|
|
|
|
|
return row;
|
|
|
}
|