From 343aadc6d9bff0503252fa607d3bcfaff55a2f5f Mon Sep 17 00:00:00 2001 From: lb Date: Tue, 25 Apr 2023 13:48:38 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E5=AE=8C=E6=88=90=E8=AE=A2=E5=8D=95?= =?UTF-8?q?=E9=87=8C=E7=9A=84=E5=BC=B9=E7=AA=97=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/DialogWithMenu.vue | 132 +++- .../components/ListViewWithHead.vue | 3 +- .../components/tabs/InputsArea.vue | 44 ++ .../components/tabs/carDetail.vue | 12 +- .../components/tabs/orderDetail.vue | 245 +++--- .../components/tabs/orderDetailWrapper.vue | 41 + src/views/modules/pms/finishedOrder/config.js | 726 ++++++++++++------ .../order/components/ListSectionWithHead.vue | 8 +- 8 files changed, 849 insertions(+), 362 deletions(-) create mode 100644 src/views/modules/pms/finishedOrder/components/tabs/InputsArea.vue create mode 100644 src/views/modules/pms/finishedOrder/components/tabs/orderDetailWrapper.vue diff --git a/src/views/modules/pms/finishedOrder/components/DialogWithMenu.vue b/src/views/modules/pms/finishedOrder/components/DialogWithMenu.vue index f3f022c..6346361 100644 --- a/src/views/modules/pms/finishedOrder/components/DialogWithMenu.vue +++ b/src/views/modules/pms/finishedOrder/components/DialogWithMenu.vue @@ -1,29 +1,31 @@ @@ -61,11 +63,12 @@ import DialogJustForm from "./DialogJustForm.vue"; import DialogWithMenu from "./DialogWithMenu.vue"; import DialogUpload from "@/components/DialogUpload.vue"; import moment from "moment"; +import Overlay from "@/components/Overlay.vue"; // const dictList = JSON.parse(localStorage.getItem("dictList")); export default { name: "ListSectionWithHead", - components: { BaseSearchForm, BaseListTable, DialogWithMenu, DialogJustForm, DialogUpload }, + components: { BaseSearchForm, BaseListTable, DialogWithMenu, DialogJustForm, DialogUpload, Overlay }, props: { headConfig: { type: Object, @@ -125,6 +128,7 @@ export default { renderDialog: false, renderMenuDialog: false, uploadDialogVisible: false, + overlayVisible: false, }; }, mounted() { @@ -188,6 +192,7 @@ export default { type: "warning", }) .then(() => { + this.overlayVisible = true; return this.$http.post("/pms/order/confirm", data, { headers: { "Content-Type": "application/json", @@ -195,6 +200,7 @@ export default { }); }) .then(({ data: res }) => { + this.overlayVisible = false; if (res.code === 0) { // success this.$message({