| | |
| | | # 配合后端服务 |
| | | # VITE_APP_LOCAL = 'int' |
| | | # VITE_APP_LOCAL = 'zhl' |
| | | VITE_APP_LOCAL = 'hjy' |
| | | VITE_APP_LOCAL = 'lhj' |
| | |
| | | uploadErrorParseWeldSeamData: "焊缝工单数据已解析失败", |
| | | }, |
| | | table: { |
| | | mainPartCustomer:"主件客户", |
| | | mainPartNumber: "主件料号", |
| | | businessType: "业务类型", |
| | | documentNumber: "单据号", |
| | |
| | | documentStatus: "单据状态", |
| | | updateBy: "审核时间", |
| | | workCenter: "当前工序", |
| | | department: "当前工序负责人", |
| | | department: "当前工序负责部门", |
| | | opStatus: "当前工序状态", |
| | | nextOpName: "下一工序", |
| | | nextProcessDeparment: "下一工序负责人", |
| | | nextProcessDeparment: "下一工序负责部门", |
| | | itemNumber: "料号", |
| | | drawingNo: "图号", |
| | | versionNumber: "版本号", |
| | |
| | | salesOrder: "销售订单号", |
| | | salesOrderLine: "销售订单行", |
| | | goodProductsQuantity: "良品数量", |
| | | processNumber: "工序序号", |
| | | processNumber: "工序号", |
| | | factoryCenter: "工作中心", |
| | | dependencyDepartment: "所属部门", |
| | | planStartDay: "计划开工日", |
| | |
| | | subItemPartNumber: "子件料号", |
| | | mismatchedProductionQuantity: "未匹配生产数量", |
| | | workorderCreationTime: "工单创建时间", |
| | | workOrderReviewTime:"工单审核时间", |
| | | workOrderStartTime: "工单开工时间", |
| | | delayRiskIdentification: "延迟风险标识", |
| | | startDateOfDemandPlan: "需求计划开工日", |
| | | requirementPlanCompletionDate: "需求计划完工日", |
| | |
| | | uploadErrorParseWeldSeamData: "Failed to parse weld work order data", |
| | | }, |
| | | table: { |
| | | mainPartCustomer: "Main part customer", |
| | | mainPartNumber: "Main part number", |
| | | businessType: "Business type", |
| | | documentNumber: "Document number", |
| | |
| | | documentStatus: "Document Status", |
| | | updateBy: "Audit time", |
| | | workCenter: "Current process", |
| | | department: "Current process leader", |
| | | department: "Current process deparment", |
| | | opStatus: "Current process status", |
| | | nextOpName: "Next process", |
| | | nextProcessDeparment: "Next Process Manager", |
| | | nextProcessDeparment: "Next process deparment", |
| | | itemNumber: "Item number", |
| | | drawingNo: "Drawing No", |
| | | versionNumber: "Version number", |
| | |
| | | subItemPartNumber: "Sub Item Part Number", |
| | | mismatchedProductionQuantity: "Mismatched Production Quantity", |
| | | workorderCreationTime: "Work order creation time", |
| | | workOrderReviewTime:"Work order review time", |
| | | workOrderStartTime: "Work order start time", |
| | | delayRiskIdentification: "Delay risk identification", |
| | | startDateOfDemandPlan: "Start date of demand plan", |
| | | requirementPlanCompletionDate: "Requirement plan completion date", |
| | |
| | | const { proxy } = getCurrentInstance(); |
| | | const { t, locale } = useI18n(); |
| | | const { |
| | | aps_is_suspended, |
| | | aps_document_status, |
| | | aps_account, |
| | | aps_business_type, |
| | | } = proxy.useDict( |
| | | "aps_is_suspended", |
| | | "aps_document_status", |
| | | "aps_account", |
| | | "aps_business_type" |
| | | "aps_account" |
| | | ); |
| | | const exampleList = ref([]); |
| | | const planList = ref([]); |
| | |
| | | width: 60, |
| | | align: "center", |
| | | slots: { content: "expandContent" }, |
| | | fixed:"left", |
| | | }, |
| | | { type: "checkbox", width: 60, align: "center" }, |
| | | { type: "seq", title: t("plan.table.seq"), width: 60 }, |
| | |
| | | // field: 'mainPartDrawingNumber', |
| | | // width: 150, |
| | | // }, |
| | | // { |
| | | // title: '客户名称', |
| | | // field: 'customer', |
| | | // width: 200, |
| | | // }, |
| | | { |
| | | title: t('plan.table.customer'), |
| | | field: 'customer', |
| | | width: 200, |
| | | }, |
| | | { |
| | | title: t("plan.table.businessType"), |
| | | field: "businessType", |
| | |
| | | // field: 'isOutsourcing', |
| | | // width: 100, |
| | | // }, |
| | | // { |
| | | // title: '账套', |
| | | // field: 'account', |
| | | // width: 100, |
| | | // }, |
| | | { |
| | | title: t('plan.table.account'), |
| | | field: 'account', |
| | | width: 100, |
| | | // formatter: ({ cellValue, row, column }) => { |
| | | // if (cellValue) { |
| | | // console.log(cellValue,aps_account.value,"llll") |
| | | // for (let i = 0; i < aps_account.value.length; i++) { |
| | | // if (cellValue === aps_account.value[i].value) { |
| | | // return aps_account.value[i].label; |
| | | // } |
| | | // } |
| | | // } |
| | | // }, |
| | | }, |
| | | // { |
| | | // title: '上阶物料', |
| | | // field: 'advancedMaterials', |
| | |
| | | // }, |
| | | ]; |
| | | subGridOptions.value.columns = [ |
| | | { |
| | | title: t("plan.table.itemNumber"), |
| | | field: "itemNo", |
| | | width: 150, |
| | | align: "center", |
| | | }, |
| | | // { |
| | | // title: t("plan.table.itemNumber"), |
| | | // field: "itemNo", |
| | | // width: 150, |
| | | // align: "center", |
| | | // }, |
| | | { |
| | | title: t("plan.table.workOrderNo"), |
| | | field: "workOrderNo", |
| | |
| | | // width: 90, |
| | | // align:"center", |
| | | // }, |
| | | { |
| | | title: t("plan.table.standardTime"), |
| | | field: "standardTime", |
| | | width: 90, |
| | | align: "center", |
| | | }, |
| | | { |
| | | title: t("plan.table.processOrder"), |
| | | field: "processOrder", |
| | | width: 90, |
| | | align: "center", |
| | | }, |
| | | // { |
| | | // title: t("plan.table.standardTime"), |
| | | // field: "standardTime", |
| | | // width: 90, |
| | | // align: "center", |
| | | // }, |
| | | // { |
| | | // title: t("plan.table.processOrder"), |
| | | // field: "processOrder", |
| | | // width: 90, |
| | | // align: "center", |
| | | // }, |
| | | { |
| | | title: t("plan.table.integrationDay"), |
| | | field: "integrationDay", |
| | |
| | | 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 |
| | | } |
| | | |
| | |
| | | loadingSubUpAndDown.value = true; |
| | | metalOrderManageUpAndDownList({requireId: row.requireId}).then((res) => { |
| | | console.log(res,"metalOrderManageUpAndDownList"); |
| | | subUpAndDownList.value = res; |
| | | subUpAndDownList.value = res.rows; |
| | | loadingSubUpAndDown.value = false; |
| | | }).catch(() => { |
| | | loadingSubUpAndDown.value = false; |