From fcbf8f911ca70f22250b8cab25c75a106f3cd138 Mon Sep 17 00:00:00 2001 From: zhaoxiaolin Date: Fri, 14 Jul 2023 15:51:31 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E6=8B=86=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/mes/pro/order.js | 44 ++ src/api/mes/pro/routeprodline.js | 53 +++ src/views/mes/pro/order/index.vue | 401 +++++++++++++++++++ src/views/mes/pro/proroute/index.vue | 17 +- src/views/mes/pro/proroute/routeprodline.vue | 123 ++++++ src/views/system/menu/index.vue | 1 + 6 files changed, 638 insertions(+), 1 deletion(-) create mode 100644 src/api/mes/pro/order.js create mode 100644 src/api/mes/pro/routeprodline.js create mode 100644 src/views/mes/pro/order/index.vue create mode 100644 src/views/mes/pro/proroute/routeprodline.vue diff --git a/src/api/mes/pro/order.js b/src/api/mes/pro/order.js new file mode 100644 index 00000000..b72ba429 --- /dev/null +++ b/src/api/mes/pro/order.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询订单列表 +export function listOrder(query) { + return request({ + url: '/mes/order/list', + method: 'get', + params: query + }); +} + +// 查询订单详细 +export function getOrder(id) { + return request({ + url: '/mes/order/' + id, + method: 'get' + }); +} + +// 新增订单 +export function addOrder(data) { + return request({ + url: '/mes/order', + method: 'post', + data: data + }); +} + +// 修改订单 +export function updateOrder(data) { + return request({ + url: '/mes/order', + method: 'put', + data: data + }); +} + +// 删除订单 +export function delOrder(id) { + return request({ + url: '/mes/order/' + id, + method: 'delete' + }); +} diff --git a/src/api/mes/pro/routeprodline.js b/src/api/mes/pro/routeprodline.js new file mode 100644 index 00000000..df747f8c --- /dev/null +++ b/src/api/mes/pro/routeprodline.js @@ -0,0 +1,53 @@ +import request from '@/utils/request' + +// 查询工艺线体关联列表 +export function listLine(query) { + return request({ + url: '/mes/pro/routeprodline/list', + method: 'get', + params: query + }); +} + +// 查询工艺线体关联详细 +export function getLine(recordId) { + return request({ + url: '/mes/pro/routeprodline/' + recordId, + method: 'get' + }); +} + +// 新增工艺线体关联 +export function addLine(data) { + return request({ + url: '/mes/pro/routeprodline', + method: 'post', + data: data + }); +} + +// 修改工艺线体关联 +export function updateLine(data) { + return request({ + url: '/mes/pro/routeprodline', + method: 'put', + data: data + }); +} + +// 删除工艺线体关联 +export function delLine(recordId) { + return request({ + url: '/mes/pro/routeprodline/' + recordId, + method: 'delete' + }); +} + +// 查询工艺线体关联列表 +export function getListLine(query) { + return request({ + url: '/mes/pro/routeprodline/getList', + method: 'get', + params: query + }); +} \ No newline at end of file diff --git a/src/views/mes/pro/order/index.vue b/src/views/mes/pro/order/index.vue new file mode 100644 index 00000000..2e12cf03 --- /dev/null +++ b/src/views/mes/pro/order/index.vue @@ -0,0 +1,401 @@ + + + diff --git a/src/views/mes/pro/proroute/index.vue b/src/views/mes/pro/proroute/index.vue index f7021388..ea0da45d 100644 --- a/src/views/mes/pro/proroute/index.vue +++ b/src/views/mes/pro/proroute/index.vue @@ -73,6 +73,16 @@ @click="handleExport" v-hasPermi="['mes:pro:proroute:export']" >导出 + + + SAP同步 @@ -90,6 +100,7 @@ +