From dca51b45d9e116e53a600357a1587400d93c678f Mon Sep 17 00:00:00 2001 From: anthonywj Date: Sat, 6 Jan 2024 10:08:42 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E5=85=A5=E5=BA=93=E7=9B=B8?= =?UTF-8?q?=E5=85=B3=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/dev/deviceChangeOrderApi.js | 20 ++ src/assets/styles/ruoyi.scss | 19 +- src/utils/enum.js | 1 + src/views/dev/devInfoEdit.vue | 299 ++++++++++++++++++ src/views/dev/devSelectProduct.vue | 13 + src/views/dev/deviceChangeOrder.vue | 230 ++++++++------ src/views/dev/js/deviceChangeOrder.js | 168 ++++++++-- src/views/inout/PanelSkPrescribeDi.vue | 1 - src/views/inout/stat/DialogCreateCustom.vue | 1 - .../purApply/purOrderSelectProduct.vue | 68 ++-- 10 files changed, 663 insertions(+), 157 deletions(-) create mode 100644 src/views/dev/devInfoEdit.vue create mode 100644 src/views/dev/devSelectProduct.vue diff --git a/src/api/dev/deviceChangeOrderApi.js b/src/api/dev/deviceChangeOrderApi.js index 6bc84a92..4790e2b8 100644 --- a/src/api/dev/deviceChangeOrderApi.js +++ b/src/api/dev/deviceChangeOrderApi.js @@ -10,6 +10,26 @@ export function changeOrderPage(query) { ) } +export function saveDraftOrder(query) { + return axios( + { + url: "/udi/device/changeOrder/draft/save", + method: "POST", + data: query + } + ) +} +export function delDraftOrder(query) { + return axios( + { + url: "/udi/device/changeOrder/del", + method: "POST", + data: query + } + ) +} + + export function saveChangeOrder(query) { return axios( { diff --git a/src/assets/styles/ruoyi.scss b/src/assets/styles/ruoyi.scss index e5feb906..42c78b96 100644 --- a/src/assets/styles/ruoyi.scss +++ b/src/assets/styles/ruoyi.scss @@ -371,10 +371,21 @@ margin-top: -10px } -.el-form-item { - margin-right: 10px; - margin-bottom: 1px; - margin-top: 1px; +//.el-form-item { +// margin-right: 10px; +// margin-bottom: 1px; +// margin-top: 1px; +//} + + +//.el-form { +// margin-top: -10px; +//} + +.query-form-item { + margin-right: 5px; + margin-bottom: 51px; } + diff --git a/src/utils/enum.js b/src/utils/enum.js index 703c3715..93029e6c 100644 --- a/src/utils/enum.js +++ b/src/utils/enum.js @@ -5,6 +5,7 @@ export const deviceChangeType = { } export const deviceChangeStatus = { + DRAFT: {key: "DRAFT", tagType: "warning", desc: "草稿"}, WAIT_CONFIRM: {key: "WAIT_CONFIRM", tagType: "warning", desc: "待目标部门确认"}, REJECT_CONFIRM: {key: "REJECT_CONFIRM", tagType: "danger", desc: "目标部门拒绝"}, FINISH: {key: "FINISH", tagType: "success", desc: "已完成"}, diff --git a/src/views/dev/devInfoEdit.vue b/src/views/dev/devInfoEdit.vue new file mode 100644 index 00000000..911614d9 --- /dev/null +++ b/src/views/dev/devInfoEdit.vue @@ -0,0 +1,299 @@ + + + + + diff --git a/src/views/dev/devSelectProduct.vue b/src/views/dev/devSelectProduct.vue new file mode 100644 index 00000000..a0f45dd5 --- /dev/null +++ b/src/views/dev/devSelectProduct.vue @@ -0,0 +1,13 @@ + + + + + diff --git a/src/views/dev/deviceChangeOrder.vue b/src/views/dev/deviceChangeOrder.vue index 55d54759..d588593d 100644 --- a/src/views/dev/deviceChangeOrder.vue +++ b/src/views/dev/deviceChangeOrder.vue @@ -4,7 +4,7 @@ - + @@ -46,18 +46,17 @@ - -