diff --git a/js/demandPlan/child/delivery_batch_list.js b/js/demandPlan/child/delivery_batch_list.js
index 9b76d34..449cff6 100644
--- a/js/demandPlan/child/delivery_batch_list.js
+++ b/js/demandPlan/child/delivery_batch_list.js
@@ -153,7 +153,8 @@ function initTable() {
title: "序号",
align: "center",
templet: function (d) {
- return d.LAY_NUM;
+ let color = d.needType === '2' ? '#f56c6c' : '#262626';
+ return '' + d.LAY_NUM + ''
},
},
{
@@ -162,6 +163,10 @@ function initTable() {
title: "物机类型 ",
unresize: true,
align: "center",
+ templet: function (d) {
+ let color = d.needType === '2' ? '#f56c6c' : '#262626';
+ return '' + d.type + ''
+ },
},
{
field: "name",
@@ -169,6 +174,10 @@ function initTable() {
title: "物机名称",
unresize: true,
align: "center",
+ templet: function (d) {
+ let color = d.needType === '2' ? '#f56c6c' : '#262626';
+ return '' + d.name + ''
+ },
},
{
field: "module",
@@ -176,6 +185,10 @@ function initTable() {
width: '10%',
unresize: true,
align: "center",
+ templet: function (d) {
+ let color = d.needType === '2' ? '#f56c6c' : '#262626';
+ return '' + d.module + ''
+ },
},
{
field: "unit",
@@ -183,6 +196,10 @@ function initTable() {
width: '10%',
unresize: true,
align: "center",
+ templet: function (d) {
+ let color = d.needType === '2' ? '#f56c6c' : '#262626';
+ return '' + d.unit + ''
+ },
},
{
field: "needNum",
@@ -335,7 +352,7 @@ function viewFile(obj) {
]
}
});
- }else{
+ } else {
// 调用公司的预览文件的服务
}
}