diff --git a/api/workorder/index.js b/api/workorder/index.js index 0074583..c4a0f25 100644 --- a/api/workorder/index.js +++ b/api/workorder/index.js @@ -58,4 +58,31 @@ export function updateReport(params) { method: 'get', params }) +} + +// 检验箱标签(TODO 2025-04-06 新报工接口) +export function InspectionBoxLabel(params) { + return request({ + url: '/mes/Mobile/PrintAndReportWork/inspectionBoxLabel', + method: 'get', + params + }) +} + +// 检验箱标签(TODO 2025-04-06 新报工接口) +export function InspectionProductLabel(params) { + return request({ + url: '/mes/Mobile/PrintAndReportWork/inspectionProductLabel', + method: 'get', + params + }) +} + +// 箱子标签和产品标签关联,及产品标签检验,及其工单报工(TODO 2025-04-06 新报工接口) +export function BoxLabelAndProductLabel(params) { + return request({ + url: '/mes/Mobile/PrintAndReportWork/box_label_and_product_label', + method: 'get', + params + }) } \ No newline at end of file diff --git a/pages/produceManagement/scanLabelReport/scanLabelReport.vue b/pages/produceManagement/scanLabelReport/scanLabelReport.vue index 8183fd0..8dc885a 100644 --- a/pages/produceManagement/scanLabelReport/scanLabelReport.vue +++ b/pages/produceManagement/scanLabelReport/scanLabelReport.vue @@ -1,22 +1,305 @@ - diff --git a/pages/produceManagement/workorder/workorder.vue b/pages/produceManagement/workorder/workorder.vue index 5fde6b5..17f4472 100644 --- a/pages/produceManagement/workorder/workorder.vue +++ b/pages/produceManagement/workorder/workorder.vue @@ -36,7 +36,7 @@ @@ -163,7 +163,7 @@ export default { status: item.status, title: `${item.fkWorkorder} -- ${statusStr}`, note: `${item.productionName} ${item.productionCode}`, - rightText: `${item.finishedNum ?? 0} 修改报工` + rightText: `${item.finishedNum ?? 0} 扫码报工` }; }); } @@ -186,7 +186,7 @@ export default { onListItemClick(item) { const params = item.workOrderInfo; uni.navigateTo({ - url: '/pages/produceManagement/reportWorkOrder/reportWorkOrder?' + tansParams(params) + url: '/pages/produceManagement/scanLabelReport/scanLabelReport?' + tansParams(params) }); }, // 扫码报工