From d915fe3af97517bc4ce5693cb4e6f3fdcd0e2e34 Mon Sep 17 00:00:00 2001 From: yinq Date: Sun, 16 Jun 2024 10:33:08 +0800 Subject: [PATCH] =?UTF-8?q?change=20-=20=E8=AE=A2=E5=8D=95=E4=B8=8B?= =?UTF-8?q?=E8=BE=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/mes/prod/prodOrderInfo.js | 9 +++ .../mes/prod/prodOrderInfo/releasePlan.vue | 75 +++++++++---------- 2 files changed, 44 insertions(+), 40 deletions(-) diff --git a/src/api/mes/prod/prodOrderInfo.js b/src/api/mes/prod/prodOrderInfo.js index b6fad87..ec073a7 100644 --- a/src/api/mes/prod/prodOrderInfo.js +++ b/src/api/mes/prod/prodOrderInfo.js @@ -42,3 +42,12 @@ export function delProdOrderInfo(objId) { method: 'delete' }) } + +// 根据订单生成工单 +export function generateWorkOrder(query) { + return request({ + url: '/mes/prod/prodOrderInfo/generateWorkOrder', + method: 'get', + params: query + }) +} diff --git a/src/views/mes/prod/prodOrderInfo/releasePlan.vue b/src/views/mes/prod/prodOrderInfo/releasePlan.vue index 7b0192a..853fa15 100644 --- a/src/views/mes/prod/prodOrderInfo/releasePlan.vue +++ b/src/views/mes/prod/prodOrderInfo/releasePlan.vue @@ -7,22 +7,24 @@ {{ form.orderCode }} - + {{ form.materialName }} + {{ form.orderDetail.AreaAndWeight }} {{ parseTime(form.beginDate) }} - - - - - - - - - - + + + + + + + + + + {{ form.orderAmount }} - {{ form.materialName }} + {{ form.orderDetail.CustomerInfo }} + {{ form.orderDetail.UsingRawMaterials }} {{ parseTime(form.endDate) }} @@ -61,14 +63,14 @@ - + - +