diff --git a/src/views/ManufacturingCenter/ProjectPlanningQuery/index.vue b/src/views/ManufacturingCenter/ProjectPlanningQuery/index.vue index 363ad391..b1f11e64 100644 --- a/src/views/ManufacturingCenter/ProjectPlanningQuery/index.vue +++ b/src/views/ManufacturingCenter/ProjectPlanningQuery/index.vue @@ -384,7 +384,7 @@ export default { }, methods: { colorJudge(time1, time2) { - if(time2 === null) { + if (time2 === null) { if ((new Date(time1) - this.now) > 0 && (new Date(time1) - this.now) < (86400000 * this.warningValue)) { return 'orange' } else if ((new Date(time1) - this.now) < 0) { diff --git a/src/views/Outsourcing/OutsourcingTaskExecution/index.vue b/src/views/Outsourcing/OutsourcingTaskExecution/index.vue index f48e1ff4..a12d16fe 100644 --- a/src/views/Outsourcing/OutsourcingTaskExecution/index.vue +++ b/src/views/Outsourcing/OutsourcingTaskExecution/index.vue @@ -709,7 +709,7 @@ export default { tr[i].setAttribute('class', 'tableData') tr[i].innerHTML = '' + '' + '' + '' + '' + '' + '' - document.getElementById('tableHead').after(tr[i]) + $('#tableHead').after(tr[i]) } for (let j = 0; j < this.returns.length; j++) { document.getElementsByClassName('tableData')[j].children[0].innerHTML = j + 1