| | |
| | | icon="Download" |
| | | @click="handleExport" |
| | | v-hasPermi="['plateProcessShopStat:export']" |
| | | >{{ $t(`page.common.export`) }}</el-button |
| | | >{{ $t(`common.common.export`) }}</el-button |
| | | > |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | <el-button |
| | | type="success" |
| | | plain |
| | | icon="Edit" |
| | | icon="Refresh" |
| | | @click="handleUpdate" |
| | | :disabled="loading" |
| | | v-hasPermi="['plateProcessShopStat:update']" |
| | | >{{ $t(`page.common.update`) }}</el-button |
| | | >{{ $t(`common.common.update`) }}</el-button |
| | | > |
| | | </el-col> |
| | | |
| | |
| | | columns.value = [ |
| | | /* { type: 'seq', title: '序号', width: 60 },*/ |
| | | { |
| | | title: t("page.table.mainPartNumber"), |
| | | title: t("plan.table.mainPartNumber"), |
| | | field: "mainPartNumber", |
| | | width: 150, |
| | | fixed: "left", |
| | | }, |
| | | { |
| | | title: t("page.table.businessType"), |
| | | title: t("plan.table.businessType"), |
| | | field: "businessType", |
| | | width: 120, |
| | | fixed: "left", |
| | | }, |
| | | { |
| | | title: t("page.table.documentNumber"), |
| | | title: t("plan.table.documentNumber"), |
| | | field: "documentNumber", |
| | | width: 160, |
| | | fixed: "left", |
| | | }, |
| | | { |
| | | title: t("page.table.requirementType"), |
| | | title: t("plan.table.requirementType"), |
| | | field: "requirementType", |
| | | width: 100, |
| | | fixed: "left", |
| | | }, |
| | | { |
| | | title: t("page.table.documentStatus"), |
| | | title: t("plan.table.documentStatus"), |
| | | field: "documentStatus", |
| | | width: 100, |
| | | fixed: "left", |
| | | }, |
| | | { |
| | | title: t("page.table.updateBy"), |
| | | title: t("plan.table.updateBy"), |
| | | field: "updateBy", |
| | | width: 100, |
| | | }, |
| | | { |
| | | title: t("page.table.workCenter"), |
| | | title: t("plan.table.workCenter"), |
| | | field: "workCenter", |
| | | width: 200, |
| | | }, |
| | | { |
| | | title: t("page.table.department"), |
| | | title: t("plan.table.department"), |
| | | field: "department", |
| | | width: 200, |
| | | }, |
| | | { |
| | | title: t("page.table.opStatus"), |
| | | title: t("plan.table.opStatus"), |
| | | field: "opStatus", |
| | | width: 200, |
| | | }, |
| | | { |
| | | title: t("page.table.nextOpName"), |
| | | title: t("plan.table.nextOpName"), |
| | | field: "nextOpName", |
| | | width: 100, |
| | | }, |
| | | { |
| | | title: t("page.table.nextProcessDeparment"), |
| | | title: t("plan.table.nextProcessDeparment"), |
| | | field: "nextProcessDeparment", |
| | | width: 200, |
| | | }, |
| | | { |
| | | title: t("page.table.itemNumber"), |
| | | title: t("plan.table.itemNumber"), |
| | | field: "itemNumber", |
| | | width: 150, |
| | | type: "html", |
| | | }, |
| | | { |
| | | title: t("page.table.drawingNo"), |
| | | title: t("plan.table.drawingNo"), |
| | | field: "drawingNo", |
| | | width: 150, |
| | | // format: 'YYYY-MM-DD' |
| | | }, |
| | | { |
| | | title: t("page.table.versionNumber"), |
| | | title: t("plan.table.versionNumber"), |
| | | field: "versionNumber", |
| | | width: 100, |
| | | type: "html", |
| | | }, |
| | | { |
| | | title: t("page.table.cheaperCode"), |
| | | title: t("plan.table.cheaperCode"), |
| | | field: "cheaperCode", |
| | | width: 100, |
| | | }, |
| | | { |
| | | title: t("page.table.productionQuantity"), |
| | | title: t("plan.table.productionQuantity"), |
| | | field: "productionQuantity", |
| | | width: 100, |
| | | type: "html", |
| | | }, |
| | | { |
| | | title: t("page.table.planworkOrderTime"), |
| | | title: t("plan.table.planworkOrderTime"), |
| | | field: "planworkOrderTime", |
| | | width: 200, |
| | | }, |
| | | { |
| | | title: t("page.table.planEndDay"), |
| | | title: t("plan.table.planEndDay"), |
| | | field: "planEndDay", |
| | | width: 150, |
| | | format: "YYYY-MM-DD hh:mm:ss", |
| | |
| | | listApsPlateProcessShopStatUpdate().then((response) => { |
| | | // form.value = response.data; |
| | | ElMessage({ |
| | | message: "数据更新成功", |
| | | message: t("plan.message.update"), |
| | | type: "success", |
| | | }); |
| | | loading.value = false; |
| | |
| | | `aps_plate_plan_list_${new Date().getTime()}.xlsx` |
| | | ); |
| | | } |
| | | getList(); |
| | | // getList(); |
| | | // onMounted(async () => { |
| | | // await nextTick(); |
| | | |