| | |
| | | columns.value = [ |
| | | /* { type: 'seq', title: '序号', width: 60 },*/ |
| | | { |
| | | title: t("plan.table.mainPartCustomer"), |
| | | field: "customer", |
| | | width: 150, |
| | | fixed: "left", |
| | | }, |
| | | { |
| | | title: t("plan.table.mainPartNumber"), |
| | | field: "mainPartNumber", |
| | | width: 150, |
| | | width: 120, |
| | | fixed: "left", |
| | | }, |
| | | { |
| | | title: t("plan.table.businessType"), |
| | | field: "businessType", |
| | | width: 120, |
| | | width: 90, |
| | | fixed: "left", |
| | | }, |
| | | { |
| | | title: t("plan.table.documentNumber"), |
| | | field: "documentNumber", |
| | | width: 160, |
| | | width: 140, |
| | | fixed: "left", |
| | | }, |
| | | { |
| | |
| | | { |
| | | title: t("plan.table.documentStatus"), |
| | | field: "documentStatus", |
| | | width: 100, |
| | | width: 70, |
| | | fixed: "left", |
| | | }, |
| | | { |
| | |
| | | type: "html", |
| | | }, |
| | | { |
| | | title: t("plan.table.planworkOrderTime"), |
| | | field: "planworkOrderTime", |
| | | title: t("plan.table.workorderCreationTime"), |
| | | field: "orderCreateTime", |
| | | width: 200, |
| | | }, |
| | | { |
| | | title: t("plan.table.workOrderReviewTime"), |
| | | field: "approveOn", |
| | | width: 200, |
| | | }, |
| | | { |
| | | title: t("plan.table.workOrderStartTime"), |
| | | field: "startWorkDate", |
| | | width: 200, |
| | | }, |
| | | // { |
| | | // title: t("plan.table.planworkOrderTime"), |
| | | // field: "planworkOrderTime", |
| | | // width: 200, |
| | | // }, |
| | | { |
| | | title: t("plan.table.planEndDay"), |
| | | field: "planEndDay", |
| | |
| | | let listValue = response.data; |
| | | dynamicList.value = response.shopNames; |
| | | aps_plate_process_statList.value = listValue; |
| | | console.log(aps_plate_process_statList.value,"aps_plate_process_statList") |
| | | total.value = response.total; |
| | | loading.value = false; |
| | | await nextTick(); |
| | |
| | | }, |
| | | }, |
| | | ]); |
| | | newArray.splice(2, 0, { |
| | | title: "焊接件齐套开始时间", |
| | | field: "hanjie_startDate", |
| | | width: 140, |
| | | }); |
| | | // newArray.splice(2, 0, { |
| | | // title: "焊接件齐套开始时间", |
| | | // field: "hanjie_startDate", |
| | | // width: 140, |
| | | // }); |
| | | columns.value = [ |
| | | ...columns.value, |
| | | ...newArray.filter( |
| | | (item) => !columns.value.some((col) => col.field === item.field) |
| | | ), |
| | | ]; |
| | | |
| | | // columns.value = columns.value |
| | | } |
| | | |