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