diff --git a/src/api/base/coreWorkOrder.js b/src/api/base/coreWorkOrder.js index ba6b362c..bb50ab9b 100644 --- a/src/api/base/coreWorkOrder.js +++ b/src/api/base/coreWorkOrder.js @@ -161,3 +161,12 @@ export function createConCoreWOr(data) { data: data }) } + +// 更新分配产量 +export function updateBatch(data) { + return request({ + url: '/base/core-order-con-work-order/updateBatch', + method: 'put', + data: data + }) +} \ No newline at end of file diff --git a/src/api/base/product.js b/src/api/base/product.js index 2924c882..af1ae833 100644 --- a/src/api/base/product.js +++ b/src/api/base/product.js @@ -1,8 +1,16 @@ import request from '@/utils/request' -// 获得产品列表 +// 获得物料列表(包括产品) export function getProductAll() { return request({ url: '/base/core-product-material/listAll', method: 'get' }) } +// 获得产品列表 +export function getProductList() { + return request({ + url: '/base/core-product-material/listAllProduct', + method: 'get' + }) +} + diff --git a/src/views/produce/order/base/orderManage/components/addWorkOrder.vue b/src/views/produce/order/base/orderManage/components/addWorkOrder.vue index 3ff65ac0..cef29148 100644 --- a/src/views/produce/order/base/orderManage/components/addWorkOrder.vue +++ b/src/views/produce/order/base/orderManage/components/addWorkOrder.vue @@ -8,7 +8,7 @@ - + 绑定工单 新增工单 @@ -48,16 +48,19 @@ - {{ item.name }} - - {{ item.specifications }} - - + :label="item.name" + :value="item.id"/> + + + + + - - - - - - - - - - - - - - - - + @@ -178,37 +153,123 @@ - - + + + + 物料计算方式 + + 产品基础BOM + 工艺扩展BOM + + + +
+ + + 关联产线 + + 新增 + + + + + - - - - + + + - - - + :disabled="isBind" + step-strictly /> + + + +
+
+ + + + 关联产线及工艺 + + + 新增 + + + + + + + + + + + + + + + + + + + + +
+ diff --git a/src/views/produce/order/base/orderManage/components/orderAdd.vue b/src/views/produce/order/base/orderManage/components/orderAdd.vue index 8f0174c6..9c0dce6f 100644 --- a/src/views/produce/order/base/orderManage/components/orderAdd.vue +++ b/src/views/produce/order/base/orderManage/components/orderAdd.vue @@ -19,6 +19,12 @@ + + + + + @@ -79,7 +85,7 @@ + diff --git a/src/views/produce/workOrder/allocation.vue b/src/views/produce/workOrder/allocation.vue index 36095e3a..3b48fca6 100644 --- a/src/views/produce/workOrder/allocation.vue +++ b/src/views/produce/workOrder/allocation.vue @@ -31,7 +31,6 @@
- - - + + - - - -
- -