diff --git a/src/api/base/orderGroup.js b/src/api/base/orderGroup.js new file mode 100644 index 00000000..692fe74b --- /dev/null +++ b/src/api/base/orderGroup.js @@ -0,0 +1,54 @@ +import request from '@/utils/request' +// 获得集团订单分页 +export function getOrderGroupPage(query) { + return request({ + url: '/base/order-group/page', + method: 'get', + params: query + }) +} + +// 获得集团订单 +export function getOrderGroup(query) { + return request({ + url: '/base/order-group/get', + method: 'get', + params: query + }) +} + +// 更新集团订单 +export function updateOrderGroup(data) { + return request({ + url: '/base/order-group/update', + method: 'put', + data: data + }) +} + +// 创建集团订单 +export function createOrderGroup(data) { + return request({ + url: '/base/order-group/create', + method: 'post', + data: data + }) +} + +// 修改集团订单状态,结束-终止-作废用 +export function groupOrderStatusSet(data) { + return request({ + url: '/base/order-group/groupOrderStatusSet', + method: 'put', + data: data + }) +} + +// 获得集团订单详情 +export function orderGroupDetail(query) { + return request({ + url: '/base/order-group/getDetail', + method: 'get', + params: query + }) +} \ No newline at end of file diff --git a/src/api/base/orderManage.js b/src/api/base/orderManage.js index 9933c9b7..bd415ce0 100644 --- a/src/api/base/orderManage.js +++ b/src/api/base/orderManage.js @@ -86,6 +86,15 @@ export function orderDelete(query) { }) } +// 修改订单状态,结束-终止-作废用 +export function orderStatusSet(data) { + return request({ + url: '/base/order/orderStatusSet', + method: 'put', + data: data + }) +} + // 下发订单,绑定的穿工单id,新建不传 export function orderIssue(data) { return request({ diff --git a/src/views/order/base/orderGroup/components/bindOrder.vue b/src/views/order/base/orderGroup/components/bindOrder.vue new file mode 100644 index 00000000..612cd94a --- /dev/null +++ b/src/views/order/base/orderGroup/components/bindOrder.vue @@ -0,0 +1,304 @@ + + \ No newline at end of file diff --git a/src/views/order/base/orderGroup/components/orderGroupAdd.vue b/src/views/order/base/orderGroup/components/orderGroupAdd.vue new file mode 100644 index 00000000..1cf82535 --- /dev/null +++ b/src/views/order/base/orderGroup/components/orderGroupAdd.vue @@ -0,0 +1,196 @@ + + \ No newline at end of file diff --git a/src/views/order/base/orderGroup/index.vue b/src/views/order/base/orderGroup/index.vue new file mode 100644 index 00000000..2bbde83b --- /dev/null +++ b/src/views/order/base/orderGroup/index.vue @@ -0,0 +1,437 @@ + + \ No newline at end of file diff --git a/src/views/order/base/orderGroup/orderGroupDetailData.vue b/src/views/order/base/orderGroup/orderGroupDetailData.vue new file mode 100644 index 00000000..6d67d36e --- /dev/null +++ b/src/views/order/base/orderGroup/orderGroupDetailData.vue @@ -0,0 +1,376 @@ + + + \ No newline at end of file diff --git a/src/views/order/base/orderManage/components/addWorkOrder.vue b/src/views/order/base/orderManage/components/addWorkOrder.vue index 45f2a62e..d2a9465e 100644 --- a/src/views/order/base/orderManage/components/addWorkOrder.vue +++ b/src/views/order/base/orderManage/components/addWorkOrder.vue @@ -117,6 +117,20 @@ + + + + + + + + + + @@ -129,8 +143,6 @@ - - diff --git a/src/views/order/base/orderManage/components/orderAdd.vue b/src/views/order/base/orderManage/components/orderAdd.vue index df871a9e..e027839c 100644 --- a/src/views/order/base/orderManage/components/orderAdd.vue +++ b/src/views/order/base/orderManage/components/orderAdd.vue @@ -16,39 +16,6 @@ - - - - - {{ item.name }} - {{ item.specifications }} - - - - - - - - - - - - - - - - - - - @@ -61,43 +28,25 @@ - - - - - - - - - - - - - - - + + + {{ item.name }} + {{ item.specifications }} - - - - - + + @@ -112,8 +61,6 @@ - - - + + + -