|
@ -32,16 +32,17 @@ |
|
|
type="success" |
|
|
type="success" |
|
|
icon="el-icon-check" |
|
|
icon="el-icon-check" |
|
|
size="mini" |
|
|
size="mini" |
|
|
@click="handleCreateBills()" |
|
|
@click="handleConfirm()" |
|
|
>生成出库单(支持批量)</el-button |
|
|
>已确认(支持批量)</el-button |
|
|
> |
|
|
> |
|
|
<el-button |
|
|
<el-button |
|
|
class="filter-item" |
|
|
class="filter-item" |
|
|
type="success" |
|
|
type="warning" |
|
|
icon="el-icon-check" |
|
|
icon="el-icon-edit" |
|
|
size="mini" |
|
|
size="mini" |
|
|
@click="handleConfirm()" |
|
|
v-loading="formLoading" |
|
|
>已确认</el-button |
|
|
@click="handleCreateBills()" |
|
|
|
|
|
>生成出库单(支持批量)</el-button |
|
|
> |
|
|
> |
|
|
</flexbox> |
|
|
</flexbox> |
|
|
</div> |
|
|
</div> |
|
@ -63,7 +64,7 @@ |
|
|
</el-tooltip> |
|
|
</el-tooltip> |
|
|
|
|
|
|
|
|
<span style="margin-left: 10px; color: #ff5640; float: right" |
|
|
<span style="margin-left: 10px; color: #ff5640; float: right" |
|
|
>说明:每间隔30秒进行自动刷新!</span |
|
|
>说明:每间隔3分钟进行自动刷新!</span |
|
|
> |
|
|
> |
|
|
</flexbox> |
|
|
</flexbox> |
|
|
</div> |
|
|
</div> |
|
@ -106,7 +107,7 @@ |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
|
|
|
|
|
|
<!-- 操作名称 --> |
|
|
<!-- 操作名称 --> |
|
|
<el-table-column |
|
|
<!-- <el-table-column |
|
|
prop="actionName" |
|
|
prop="actionName" |
|
|
label="操作名称(单击箭头过滤)" |
|
|
label="操作名称(单击箭头过滤)" |
|
|
width="165" |
|
|
width="165" |
|
@ -130,7 +131,7 @@ |
|
|
</el-tag> |
|
|
</el-tag> |
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> --> |
|
|
<!-- 状态 --> |
|
|
<!-- 状态 --> |
|
|
<el-table-column |
|
|
<el-table-column |
|
|
prop="stateName" |
|
|
prop="stateName" |
|
@ -816,8 +817,8 @@ export default { |
|
|
version: "", |
|
|
version: "", |
|
|
materialCode: undefined, |
|
|
materialCode: undefined, |
|
|
sapCode: undefined, |
|
|
sapCode: undefined, |
|
|
cp7begin: undefined, |
|
|
cp7Begin: undefined, |
|
|
cp7end: undefined, |
|
|
cp7End: undefined, |
|
|
kenncode: undefined, |
|
|
kenncode: undefined, |
|
|
chassisNumber: undefined, |
|
|
chassisNumber: undefined, |
|
|
materialGroup: undefined, |
|
|
materialGroup: undefined, |
|
@ -862,7 +863,7 @@ export default { |
|
|
this.listQuery.taskId = ""; |
|
|
this.listQuery.taskId = ""; |
|
|
this.listQuery.stateName = ""; |
|
|
this.listQuery.stateName = ""; |
|
|
setTimeout(this.getList, 0); |
|
|
setTimeout(this.getList, 0); |
|
|
}, 1000 * 30); //30秒刷新一次页面 |
|
|
}, 1000 * 180); //30秒刷新一次页面 |
|
|
// 通过$once来监听定时器,在beforeDestroy钩子可以被清除。 |
|
|
// 通过$once来监听定时器,在beforeDestroy钩子可以被清除。 |
|
|
this.$once("hook:beforeDestroy", () => { |
|
|
this.$once("hook:beforeDestroy", () => { |
|
|
clearInterval(timer); |
|
|
clearInterval(timer); |
|
@ -895,15 +896,15 @@ export default { |
|
|
prop: "taskId", |
|
|
prop: "taskId", |
|
|
width: 120, |
|
|
width: 120, |
|
|
}); |
|
|
}); |
|
|
tempsTabs.push({ |
|
|
// tempsTabs.push({ |
|
|
label: "模块名称", |
|
|
// label: "模块名称", |
|
|
prop: "name", |
|
|
// prop: "name", |
|
|
width: 170, |
|
|
// width: 180, |
|
|
}); |
|
|
// }); |
|
|
tempsTabs.push({ |
|
|
tempsTabs.push({ |
|
|
label: "创建人", |
|
|
label: "创建人", |
|
|
prop: "email", |
|
|
prop: "email", |
|
|
width: 110, |
|
|
width: 150, |
|
|
}); |
|
|
}); |
|
|
tempsTabs.push({ |
|
|
tempsTabs.push({ |
|
|
label: "创建时间", |
|
|
label: "创建时间", |
|
@ -913,12 +914,12 @@ export default { |
|
|
tempsTabs.push({ |
|
|
tempsTabs.push({ |
|
|
label: "说明", |
|
|
label: "说明", |
|
|
prop: "remark", |
|
|
prop: "remark", |
|
|
width: 220, |
|
|
width: 350, |
|
|
}); |
|
|
}); |
|
|
tempsTabs.push({ |
|
|
tempsTabs.push({ |
|
|
label: "审批状态", |
|
|
label: "审批状态", |
|
|
prop: "fileName", |
|
|
prop: "fileName", |
|
|
width: 150, |
|
|
width: 350, |
|
|
}); |
|
|
}); |
|
|
return tempsTabs; |
|
|
return tempsTabs; |
|
|
}, |
|
|
}, |
|
@ -934,7 +935,7 @@ export default { |
|
|
console.log(this.listQuery.Sorting); |
|
|
console.log(this.listQuery.Sorting); |
|
|
this.handleFilter(); |
|
|
this.handleFilter(); |
|
|
}, |
|
|
}, |
|
|
/** 筛选操作 */ |
|
|
/** 筛选操作 */ |
|
|
handleFilter() { |
|
|
handleFilter() { |
|
|
this.page = 1; |
|
|
this.page = 1; |
|
|
this.getList(); |
|
|
this.getList(); |
|
@ -952,163 +953,234 @@ export default { |
|
|
this.getList(); |
|
|
this.getList(); |
|
|
}, |
|
|
}, |
|
|
handleSelectionChange(val) { |
|
|
handleSelectionChange(val) { |
|
|
|
|
|
this.isEdit = false; |
|
|
|
|
|
this.multipleSelection = []; |
|
|
this.multipleSelection = val; |
|
|
this.multipleSelection = val; |
|
|
}, |
|
|
}, |
|
|
|
|
|
//已确认 |
|
|
handleConfirm(row) { |
|
|
handleConfirm(row) { |
|
|
|
|
|
this.isEdit = false; |
|
|
if (this.multipleSelection.length == 0) { |
|
|
if (this.multipleSelection.length == 0) { |
|
|
this.$message({ |
|
|
this.$message({ |
|
|
message: "至少选择一行!", |
|
|
message: "至少选择一行!", |
|
|
type: "warning", |
|
|
type: "warning", |
|
|
}); |
|
|
}); |
|
|
return; |
|
|
return; |
|
|
} |
|
|
|
|
|
var params = []; |
|
|
|
|
|
let myalert = ""; //声明变量,其变量必须在此声明后使用 |
|
|
|
|
|
if (row) { |
|
|
|
|
|
//单行 |
|
|
|
|
|
params.push(row.id); |
|
|
|
|
|
myalert = row.name; |
|
|
|
|
|
} else { |
|
|
} else { |
|
|
//多选 |
|
|
var getbillNum = ""; |
|
|
|
|
|
//判断已经生成出库单的不能再生成出库操作 |
|
|
this.multipleSelection.forEach((element) => { |
|
|
this.multipleSelection.forEach((element) => { |
|
|
let id = element.id; |
|
|
let state = element.fileName; |
|
|
params.push(id); |
|
|
if (state != "" && state != "已确认") { |
|
|
|
|
|
this.isEdit = true; |
|
|
|
|
|
getbillNum += state + ","; |
|
|
|
|
|
} |
|
|
}); |
|
|
}); |
|
|
myalert = "选中项"; |
|
|
|
|
|
} |
|
|
} |
|
|
this.$confirm("是否确认" + myalert + "?", "提示", { |
|
|
if (this.isEdit == true) { |
|
|
confirmButtonText: "确定", |
|
|
this.$message({ |
|
|
cancelButtonText: "取消", |
|
|
message: |
|
|
type: "warning", |
|
|
"已经生成出库单的不能再确认!单号:" + |
|
|
}) |
|
|
getbillNum.substr(0, getbillNum.length - 1), |
|
|
.then(() => { |
|
|
type: "warning", |
|
|
this.$axios |
|
|
}); |
|
|
.posts("/api/settleaccount/wmsjitoutput/WmsJitOutPutAudit", params) |
|
|
return; |
|
|
.then((response) => { |
|
|
} else { |
|
|
const index = this.list.indexOf(row); |
|
|
var params = []; |
|
|
this.$notify({ |
|
|
let myalert = ""; //声明变量,其变量必须在此声明后使用 |
|
|
title: "成功", |
|
|
if (row) { |
|
|
message: "操作成功", |
|
|
//单行 |
|
|
type: "success", |
|
|
params.push(row.id); |
|
|
duration: 2000, |
|
|
myalert = row.name; |
|
|
|
|
|
} else { |
|
|
|
|
|
//多选 |
|
|
|
|
|
this.multipleSelection.forEach((element) => { |
|
|
|
|
|
let id = element.id; |
|
|
|
|
|
params.push(id); |
|
|
|
|
|
}); |
|
|
|
|
|
myalert = "选中项"; |
|
|
|
|
|
} |
|
|
|
|
|
this.$confirm("是否确认" + myalert + "?", "提示", { |
|
|
|
|
|
confirmButtonText: "确定", |
|
|
|
|
|
cancelButtonText: "取消", |
|
|
|
|
|
type: "warning", |
|
|
|
|
|
}) |
|
|
|
|
|
.then(() => { |
|
|
|
|
|
this.$axios |
|
|
|
|
|
.posts( |
|
|
|
|
|
"/api/settleaccount/wmsjitoutput/WmsJitOutPutAudit", |
|
|
|
|
|
params |
|
|
|
|
|
) |
|
|
|
|
|
.then((response) => { |
|
|
|
|
|
const index = this.list.indexOf(row); |
|
|
|
|
|
this.$notify({ |
|
|
|
|
|
title: "成功", |
|
|
|
|
|
message: "操作成功", |
|
|
|
|
|
type: "success", |
|
|
|
|
|
duration: 2000, |
|
|
|
|
|
}); |
|
|
|
|
|
this.getList(); |
|
|
}); |
|
|
}); |
|
|
this.getList(); |
|
|
}) |
|
|
|
|
|
.catch(() => { |
|
|
|
|
|
this.$message({ |
|
|
|
|
|
type: "info", |
|
|
|
|
|
message: "已取消操作", |
|
|
}); |
|
|
}); |
|
|
}) |
|
|
|
|
|
.catch(() => { |
|
|
|
|
|
this.$message({ |
|
|
|
|
|
type: "info", |
|
|
|
|
|
message: "已取消操作", |
|
|
|
|
|
}); |
|
|
}); |
|
|
}); |
|
|
} |
|
|
}, |
|
|
}, |
|
|
//出库单 |
|
|
//出库单 |
|
|
handleCreateBills(row) { |
|
|
handleCreateBills(row) { |
|
|
// if (this.multipleSelection.length == 0) { |
|
|
this.isEdit = false; |
|
|
// this.$message({ |
|
|
if (this.multipleSelection.length == 0) { |
|
|
// message: "至少选择一行!", |
|
|
this.$message({ |
|
|
// type: "warning", |
|
|
message: "至少选择一行!", |
|
|
// }); |
|
|
type: "warning", |
|
|
// return; |
|
|
}); |
|
|
// } |
|
|
return; |
|
|
var params = []; |
|
|
|
|
|
let myalert = ""; //声明变量,其变量必须在此声明后使用 |
|
|
|
|
|
if (row) { |
|
|
|
|
|
//单行 |
|
|
|
|
|
params.push(row.id); |
|
|
|
|
|
myalert = row.name; |
|
|
|
|
|
} else { |
|
|
} else { |
|
|
//多选 |
|
|
var getbillNum = ""; |
|
|
|
|
|
//判断已经生成出库单的不能再生成出库操作 |
|
|
this.multipleSelection.forEach((element) => { |
|
|
this.multipleSelection.forEach((element) => { |
|
|
let id = element.id; |
|
|
let state = element.fileName; |
|
|
params.push(id); |
|
|
if (state != "" && state != "已确认") { |
|
|
|
|
|
this.isEdit = true; |
|
|
|
|
|
getbillNum += state + ","; |
|
|
|
|
|
} |
|
|
}); |
|
|
}); |
|
|
myalert = "选中项"; |
|
|
|
|
|
} |
|
|
} |
|
|
this.listBillQuery.guids = params; |
|
|
if (this.isEdit == true) { |
|
|
this.listBillQuery.version = this.JobversionValue; |
|
|
this.$message({ |
|
|
console.log("出库单条件:" + JSON.stringify(this.listBillQuery)); |
|
|
message: |
|
|
this.$confirm("是否确认出库" + myalert + "?", "提示", { |
|
|
"已经生成出库单的不能再重新生成!单号:" + |
|
|
confirmButtonText: "确定", |
|
|
getbillNum.substr(0, getbillNum.length - 1), |
|
|
cancelButtonText: "取消", |
|
|
type: "warning", |
|
|
type: "warning", |
|
|
}); |
|
|
}) |
|
|
return; |
|
|
.then(() => { |
|
|
} else { |
|
|
this.$axios |
|
|
var params = []; |
|
|
.posts( |
|
|
let myalert = ""; //声明变量,其变量必须在此声明后使用 |
|
|
"/api/settleaccount/wmsjitoutput/WmsJitOutPut", |
|
|
if (row) { |
|
|
this.listBillQuery |
|
|
//单行 |
|
|
) |
|
|
params.push(row.id); |
|
|
.then((response) => { |
|
|
myalert = row.name; |
|
|
console.log( |
|
|
} else { |
|
|
"检查柱护板-hostCheckQuery" + JSON.stringify(response) |
|
|
//多选 |
|
|
); |
|
|
this.multipleSelection.forEach((element) => { |
|
|
const index = this.list.indexOf(row); |
|
|
let id = element.id; |
|
|
this.$notify({ |
|
|
params.push(id); |
|
|
title: "成功", |
|
|
}); |
|
|
message: "生成成功", |
|
|
myalert = "选中项"; |
|
|
type: "success", |
|
|
} |
|
|
duration: 2000, |
|
|
this.listBillQuery.guids = params; |
|
|
}); |
|
|
this.listBillQuery.version = this.JobversionValue; |
|
|
|
|
|
console.log("出库单条件:" + JSON.stringify(this.listBillQuery)); |
|
|
|
|
|
this.$confirm("是否确认出库" + myalert + "?", "提示", { |
|
|
|
|
|
confirmButtonText: "确定", |
|
|
|
|
|
cancelButtonText: "取消", |
|
|
|
|
|
type: "warning", |
|
|
|
|
|
}) |
|
|
|
|
|
.then(() => { |
|
|
|
|
|
this.formLoading = true; |
|
|
|
|
|
this.$axios |
|
|
|
|
|
.posts( |
|
|
|
|
|
"/api/settleaccount/wmsjitoutput/WmsJitOutPut", |
|
|
|
|
|
this.listBillQuery |
|
|
|
|
|
) |
|
|
|
|
|
.then((response) => { |
|
|
|
|
|
const index = this.list.indexOf(row); |
|
|
|
|
|
this.$notify({ |
|
|
|
|
|
title: "成功", |
|
|
|
|
|
message: "生成成功", |
|
|
|
|
|
type: "success", |
|
|
|
|
|
duration: 2000, |
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
this.getList(); |
|
|
this.getList(); |
|
|
|
|
|
this.formLoading = false; |
|
|
|
|
|
}) |
|
|
|
|
|
.catch(() => { |
|
|
|
|
|
this.formLoading = false; |
|
|
|
|
|
}); |
|
|
|
|
|
}) |
|
|
|
|
|
.catch(() => { |
|
|
|
|
|
this.$message({ |
|
|
|
|
|
type: "info", |
|
|
|
|
|
message: "已取消操作", |
|
|
}); |
|
|
}); |
|
|
}) |
|
|
|
|
|
.catch(() => { |
|
|
|
|
|
this.$message({ |
|
|
|
|
|
type: "info", |
|
|
|
|
|
message: "已取消操作", |
|
|
|
|
|
}); |
|
|
}); |
|
|
}); |
|
|
} |
|
|
}, |
|
|
}, |
|
|
//批量删除 |
|
|
//批量删除 |
|
|
handleDelete(row) { |
|
|
handleDelete(row) { |
|
|
|
|
|
this.isEdit = false; |
|
|
if (this.multipleSelection.length == 0) { |
|
|
if (this.multipleSelection.length == 0) { |
|
|
this.$message({ |
|
|
this.$message({ |
|
|
message: "至少选择一行!", |
|
|
message: "至少选择一行!", |
|
|
type: "warning", |
|
|
type: "warning", |
|
|
}); |
|
|
}); |
|
|
return; |
|
|
return; |
|
|
} |
|
|
|
|
|
var params = []; |
|
|
|
|
|
let myalert = ""; //声明变量,其变量必须在此声明后使用 |
|
|
|
|
|
if (row) { |
|
|
|
|
|
//单行 |
|
|
|
|
|
params.push(row.id); |
|
|
|
|
|
myalert = row.name; |
|
|
|
|
|
} else { |
|
|
} else { |
|
|
//多选 |
|
|
var getbillNum = ""; |
|
|
|
|
|
//判断已经生成出库单的不能执行删除操作 |
|
|
this.multipleSelection.forEach((element) => { |
|
|
this.multipleSelection.forEach((element) => { |
|
|
let id = element.id; |
|
|
let state = element.fileName; |
|
|
params.push(id); |
|
|
if (state != "" && state != "已确认") { |
|
|
|
|
|
this.isEdit = true; |
|
|
|
|
|
getbillNum += state + ","; |
|
|
|
|
|
} |
|
|
}); |
|
|
}); |
|
|
myalert = "选中项"; |
|
|
|
|
|
} |
|
|
} |
|
|
this.$confirm("是否删除" + myalert + "?", "提示", { |
|
|
if (this.isEdit == true) { |
|
|
confirmButtonText: "确定", |
|
|
this.$message({ |
|
|
cancelButtonText: "取消", |
|
|
message: |
|
|
type: "warning", |
|
|
"已经生成出库单的不能删除!单号:" + |
|
|
}) |
|
|
getbillNum.substr(0, getbillNum.length - 1), |
|
|
.then(() => { |
|
|
type: "warning", |
|
|
this.$axios |
|
|
}); |
|
|
.posts("/api/settleaccount/Job/delete", params) |
|
|
return; |
|
|
.then((response) => { |
|
|
} else { |
|
|
const index = this.list.indexOf(row); |
|
|
var params = []; |
|
|
this.$notify({ |
|
|
let myalert = ""; //声明变量,其变量必须在此声明后使用 |
|
|
title: "成功", |
|
|
if (row) { |
|
|
message: "删除成功", |
|
|
//单行 |
|
|
type: "success", |
|
|
params.push(row.id); |
|
|
duration: 2000, |
|
|
myalert = row.name; |
|
|
|
|
|
} else { |
|
|
|
|
|
//多选 |
|
|
|
|
|
this.multipleSelection.forEach((element) => { |
|
|
|
|
|
let id = element.id; |
|
|
|
|
|
params.push(id); |
|
|
|
|
|
}); |
|
|
|
|
|
myalert = "选中项"; |
|
|
|
|
|
} |
|
|
|
|
|
this.$confirm("是否删除" + myalert + "?", "提示", { |
|
|
|
|
|
confirmButtonText: "确定", |
|
|
|
|
|
cancelButtonText: "取消", |
|
|
|
|
|
type: "warning", |
|
|
|
|
|
}) |
|
|
|
|
|
.then(() => { |
|
|
|
|
|
this.$axios |
|
|
|
|
|
.posts("/api/settleaccount/Job/delete", params) |
|
|
|
|
|
.then((response) => { |
|
|
|
|
|
const index = this.list.indexOf(row); |
|
|
|
|
|
this.$notify({ |
|
|
|
|
|
title: "成功", |
|
|
|
|
|
message: "删除成功", |
|
|
|
|
|
type: "success", |
|
|
|
|
|
duration: 2000, |
|
|
|
|
|
}); |
|
|
|
|
|
this.getList(); |
|
|
}); |
|
|
}); |
|
|
this.getList(); |
|
|
}) |
|
|
|
|
|
.catch(() => { |
|
|
|
|
|
this.$message({ |
|
|
|
|
|
type: "info", |
|
|
|
|
|
message: "已取消操作", |
|
|
}); |
|
|
}); |
|
|
}) |
|
|
|
|
|
.catch(() => { |
|
|
|
|
|
this.$message({ |
|
|
|
|
|
type: "info", |
|
|
|
|
|
message: "已取消操作", |
|
|
|
|
|
}); |
|
|
}); |
|
|
}); |
|
|
} |
|
|
}, |
|
|
}, |
|
|
//版本下拉列表选择项 |
|
|
//版本下拉列表选择项 |
|
|
JobVersionValue(params) { |
|
|
JobVersionValue(params) { |
|
@ -1279,7 +1351,7 @@ export default { |
|
|
project: "物料组", |
|
|
project: "物料组", |
|
|
maxResultCount: 1000, |
|
|
maxResultCount: 1000, |
|
|
skipCount: 0, |
|
|
skipCount: 0, |
|
|
sorting:"value ascending" |
|
|
sorting: "value ascending", |
|
|
}) |
|
|
}) |
|
|
.then((response) => { |
|
|
.then((response) => { |
|
|
this.materialGroupList = []; |
|
|
this.materialGroupList = []; |
|
@ -1323,10 +1395,10 @@ export default { |
|
|
this.listExportQuery.end = this.cp5endTime |
|
|
this.listExportQuery.end = this.cp5endTime |
|
|
? this.cp5endTime |
|
|
? this.cp5endTime |
|
|
: undefined; |
|
|
: undefined; |
|
|
this.listExportQuery.cp7begin = this.startTime |
|
|
this.listExportQuery.cp7Begin = this.startTime |
|
|
? this.startTime |
|
|
? this.startTime |
|
|
: undefined; |
|
|
: undefined; |
|
|
this.listExportQuery.cp7end = this.endTime ? this.endTime : undefined; |
|
|
this.listExportQuery.cp7End = this.endTime ? this.endTime : undefined; |
|
|
if (this.formCount.chassisNumber != "") { |
|
|
if (this.formCount.chassisNumber != "") { |
|
|
this.listExportQuery.chassisNumber = this.formCount.chassisNumber; //底盘号 |
|
|
this.listExportQuery.chassisNumber = this.formCount.chassisNumber; //底盘号 |
|
|
} |
|
|
} |
|
@ -1343,7 +1415,7 @@ export default { |
|
|
JSON.stringify(this.listExportQuery) |
|
|
JSON.stringify(this.listExportQuery) |
|
|
); |
|
|
); |
|
|
this.$axios |
|
|
this.$axios |
|
|
.gets( |
|
|
.posts( |
|
|
"/api/settleaccount/ReportMakeService/InvoiceSettledDetailDiff-Make", |
|
|
"/api/settleaccount/ReportMakeService/InvoiceSettledDetailDiff-Make", |
|
|
this.listExportQuery |
|
|
this.listExportQuery |
|
|
) |
|
|
) |
|
@ -1530,13 +1602,11 @@ export default { |
|
|
/** 通过回调控制style */ |
|
|
/** 通过回调控制style */ |
|
|
cellStyle({ row, column, rowIndex, columnIndex }) { |
|
|
cellStyle({ row, column, rowIndex, columnIndex }) { |
|
|
var item = this.list[rowIndex]; |
|
|
var item = this.list[rowIndex]; |
|
|
if (column.property === "stateName") { |
|
|
if (column.property === "fileName") { |
|
|
if (item.stateName === "Succeeded") { |
|
|
if (item.fileName === "已确认") { |
|
|
return { color: "#71d87f", cursor: "pointer" }; |
|
|
return { color: "#13CE66", cursor: "pointer", fontWeight: 700 }; |
|
|
} else if (item.stateName === "Processing") { |
|
|
} else { |
|
|
return { color: "#d87171", cursor: "pointer" }; |
|
|
return { color: "#FFBA00", cursor: "pointer", fontWeight: 800 }; |
|
|
} else if (item.stateName === "Failed") { |
|
|
|
|
|
return { color: "#ff5640", cursor: "pointer" }; |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
return { textAlign: "left" }; |
|
|
return { textAlign: "left" }; |
|
|