From 28d11a7ef1420630cf66789980fc216cafc67c75 Mon Sep 17 00:00:00 2001 From: lijingjia Date: Fri, 2 Aug 2024 10:54:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E5=8F=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/design/ant/input.less | 8 ++++++++ src/views/operation/seaexport/detail/index.vue | 14 ++++++++++---- .../seaexport/detail/modules/basicInfo.vue | 1 + .../seaexport/detail/modules/cargoInfo.vue | 7 +------ .../seaexport/detail/modules/goodsTable.vue | 16 +++++++++++++--- .../seaexport/detail/modules/mailingInfo.vue | 1 + 6 files changed, 34 insertions(+), 13 deletions(-) diff --git a/src/design/ant/input.less b/src/design/ant/input.less index 1599f37c..1a173d4f 100644 --- a/src/design/ant/input.less +++ b/src/design/ant/input.less @@ -28,3 +28,11 @@ width: 100% !important; max-width: 100%; } + +.ant-input[disabled], .ant-input-affix-wrapper-disabled, .ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector, .ant-picker.ant-picker-disabled, .ant-input-number-disabled { + background-color: #F5F9FC!important; + color: #7A8798!important; + input { + color: #7A8798!important; + } +} diff --git a/src/views/operation/seaexport/detail/index.vue b/src/views/operation/seaexport/detail/index.vue index 73d1c843..ae6397d0 100644 --- a/src/views/operation/seaexport/detail/index.vue +++ b/src/views/operation/seaexport/detail/index.vue @@ -52,7 +52,6 @@
{ loading.value = false createMessage.success(res.message) + // 关闭当前页面 + const { fullPath } = route //获取当前路径 + tabStore.closeTabByKey(fullPath, router) }).catch(() => { loading.value = false }) @@ -1462,13 +1464,13 @@ } // 选择舱位 const sspace = ref() - const cvisible = ref(false) + const cvisible = ref(true) const cvalue = ref(1) const handleOk = () => { if (cvalue.value == 1) { sspace.value.init() } else { - createTask(202) + createTask('WAIT_BOOKING') } cvisible.value = false } @@ -1487,6 +1489,10 @@ // 最后一个审批完,弹出选择是否现舱 if (res.data.isCompleted && res.data.flowStatus == 3) { cvisible.value = true + } else { + // 关闭当前页面 + const { fullPath } = route //获取当前路径 + tabStore.closeTabByKey(fullPath, router) } }).catch(() => { loading.value = false diff --git a/src/views/operation/seaexport/detail/modules/basicInfo.vue b/src/views/operation/seaexport/detail/modules/basicInfo.vue index 682c7c6b..2bed3754 100644 --- a/src/views/operation/seaexport/detail/modules/basicInfo.vue +++ b/src/views/operation/seaexport/detail/modules/basicInfo.vue @@ -6,6 +6,7 @@