src/views/workOrder/produceOrderList.vue
@@ -762,6 +762,8 @@ activated() { window.addEventListener('resize', this.getHeight) this.getHeight() this.getErpOrderSearch() this.getPrentOrganizationNoCompany() }, created() { this.getErpOrderSearch() @@ -829,6 +831,10 @@ } const res = await ErpOrderSearch(data) res.data.forEach(i => { i.planenddate = i.planenddate ? i.planenddate : handleDatetime(new Date()) i.planstartdate = i.planstartdate ? i.planstartdate : handleDatetime(new Date()) }) this.tableData = res.data this.total = res.count },