From d6acfa4fd75177d7dcadc164338bef1186e933d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=98937886381=E2=80=99?= <‘937886381@qq.com’> Date: Tue, 13 Aug 2024 08:36:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.dev | 6 +- src/api/base/orderManage.js | 8 + .../base/orderManage/components/inputArea.vue | 37 +++ .../orderManage/components/orderSplit.vue | 261 ++++++++++++------ .../produce/order/base/orderManage/index.vue | 82 +++--- 5 files changed, 265 insertions(+), 129 deletions(-) create mode 100644 src/views/produce/order/base/orderManage/components/inputArea.vue diff --git a/.env.dev b/.env.dev index d0716c26..d61eb9b2 100644 --- a/.env.dev +++ b/.env.dev @@ -1,7 +1,7 @@ ### # @Author: Do not edit # @Date: 2023-08-29 09:40:39 - # @LastEditTime: 2024-07-31 14:57:31 + # @LastEditTime: 2024-08-02 16:01:31 # @LastEditors: zhp # @Description: ### @@ -13,7 +13,7 @@ VUE_APP_TITLE = MES系统 # 芋道管理系统/开发环境 # VUE_APP_BASE_API = 'http://100.64.0.26:48082' -# VUE_APP_BASE_API = 'http://192.168.0.33:48082' +VUE_APP_BASE_API = 'http://192.168.0.33:48082' # VUE_APP_BASE_API = 'http://192.168.4.173:48080' # VUE_APP_BASE_API = 'http://192.168.2.173:48080' # VUE_APP_BASE_API = 'http://192.168.1.81:48082' @@ -22,7 +22,7 @@ VUE_APP_TITLE = MES系统 # VUE_APP_BASE_API = 'http://192.168.1.56:48082' # VUE_APP_BASE_API = 'http://192.168.4.159:48080' # VUE_APP_BASE_API = 'http://192.168.1.64:48082' -VUE_APP_BASE_API = 'http://192.168.1.99:48082' +# VUE_APP_BASE_API = 'http://192.168.1.99:48082' diff --git a/src/api/base/orderManage.js b/src/api/base/orderManage.js index 61e8c222..07ec1c70 100644 --- a/src/api/base/orderManage.js +++ b/src/api/base/orderManage.js @@ -165,3 +165,11 @@ export function orderVoid(data) { data }) } + +export function orderSplit(data) { + return request({ + url: '/base/order/split', + method: 'post', + data + }) +} diff --git a/src/views/produce/order/base/orderManage/components/inputArea.vue b/src/views/produce/order/base/orderManage/components/inputArea.vue new file mode 100644 index 00000000..7e518162 --- /dev/null +++ b/src/views/produce/order/base/orderManage/components/inputArea.vue @@ -0,0 +1,37 @@ + + + diff --git a/src/views/produce/order/base/orderManage/components/orderSplit.vue b/src/views/produce/order/base/orderManage/components/orderSplit.vue index 08d9cc13..ce095fc3 100644 --- a/src/views/produce/order/base/orderManage/components/orderSplit.vue +++ b/src/views/produce/order/base/orderManage/components/orderSplit.vue @@ -1,29 +1,105 @@