| | |
| | | <div class="title">基础信息</div> |
| | | <div class="sub"> |
| | | <span class="mr12">生产订单号:{{ header.npsNo || "-" }}</span> |
| | | <span class="mr12">生产批号:{{ header.lotNo || "-" }}</span> |
| | | <span class="mr12">生产批号:{{ header.batchNo || "-" }}</span> |
| | | <span class="mr12">产品名称:{{ header.productCategory || "-" }}</span> |
| | | <span class="mr12">规格:{{ header.specificationModel || "-" }}</span> |
| | | <span class="mr12">料号:{{ header.materialCode || "-" }}</span> |
| | | </div> |
| | | </div> |
| | | </el-card> |
| | |
| | | const header = computed(() => ({ |
| | | orderId: route.query.orderId, |
| | | npsNo: route.query.npsNo, |
| | | lotNo: route.query.lotNo, |
| | | batchNo: route.query.batchNo, |
| | | productCategory: route.query.productCategory, |
| | | specificationModel: route.query.specificationModel, |
| | | materialCode: route.query.materialCode, |
| | | })); |
| | | |
| | | // 工序数据(接口替换) |
| | |
| | | const normalizeProcess = (item) => { |
| | | // 字段以接口约定为准(你给的截图字段映射) |
| | | // 工序:completionStatus/statusText/processNo/defectiveRate/planQuantity/completeQuantity/completeQty/scrapQty |
| | | const inputQty = Number(item?.planQuantity ?? item?.inputQty ?? 0); |
| | | const inputQty = Number(item?.inputQty ?? 0); |
| | | const outputQty = Number(item?.totalQty ?? item?.outputQty ?? 0); |
| | | const qualifiedQty = Number(item?.completeQty ?? item?.qualifiedQty ?? item?.goodQty ?? 0); |
| | | const badQty = Number(item?.defectiveQuantity ?? item?.badQty ?? item?.defectQty ?? 0); |