diff --git a/src/api/plan/whiteOrder.js b/src/api/plan/whiteOrder.js new file mode 100644 index 00000000..80b354aa --- /dev/null +++ b/src/api/plan/whiteOrder.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询白坯订单管理列表 +export function listWhiteOrder(query) { + return request({ + url: '/plan/whiteOrder/list', + method: 'get', + params: query + }); +} + +// 查询白坯订单管理详细 +export function getWhiteOrder(id) { + return request({ + url: '/plan/whiteOrder/' + id, + method: 'get' + }); +} + +// 新增白坯订单管理 +export function addWhiteOrder(data) { + return request({ + url: '/plan/whiteOrder', + method: 'post', + data: data + }); +} + +// 修改白坯订单管理 +export function updateWhiteOrder(data) { + return request({ + url: '/plan/whiteOrder', + method: 'put', + data: data + }); +} + +// 删除白坯订单管理 +export function delWhiteOrder(id) { + return request({ + url: '/plan/whiteOrder/' + id, + method: 'delete' + }); +} diff --git a/src/views/plan/order/index.vue b/src/views/plan/order/index.vue index 91f2920d..d94834a1 100644 --- a/src/views/plan/order/index.vue +++ b/src/views/plan/order/index.vue @@ -72,17 +72,17 @@ - - 新增 - - + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 搜索 + 重置 + + + + + + 新增 + + + 展开/折叠 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{dict.label}} + + + + + + + + + + + + + +
+ + +