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 @@ - + - +