From 1691f8244fb64fbf7e5c48b94964dfe4d3a5f067 Mon Sep 17 00:00:00 2001
From: ran <17633066053@163.com>
Date: Thu, 28 Apr 2022 16:13:36 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=B4=A6=E6=88=B7=E6=98=B5?=
=?UTF-8?q?=E7=A7=B0=E8=BF=87=E9=95=BF=E9=97=AE=E9=A2=98=E4=BB=A5=E5=8F=8A?=
=?UTF-8?q?viper=20=E5=9C=A8pr=E4=B8=8A=E6=8F=90=E7=9A=84Bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
manager/src/views/main.scss | 28 +++-------
manager/src/views/order/order/orderDetail.vue | 24 ++++-----
.../views/personal-center/personal-center.vue | 4 +-
seller/src/views/main.scss | 54 +++++++++++--------
4 files changed, 54 insertions(+), 56 deletions(-)
diff --git a/manager/src/views/main.scss b/manager/src/views/main.scss
index e743f5e0..f12849bc 100644
--- a/manager/src/views/main.scss
+++ b/manager/src/views/main.scss
@@ -149,7 +149,7 @@
right: 0;
top: 0;
height: 100%;
- width: 260px;
+
.options {
.ivu-select-dropdown {
@@ -161,20 +161,6 @@
}
}
- .language {
- display: inline-block;
- width: 30px;
- padding: 18px 0;
- text-align: center;
- cursor: pointer;
- vertical-align: middle;
- }
-
- .switch-theme-con {
- display: inline-block;
- width: 40px;
- height: 100%;
- }
.message-con {
display: inline-block;
@@ -204,15 +190,17 @@
.user-dropdown {
&-menu-con {
- position: absolute;
- right: 0;
- top: 0;
- height: 100%;
+
.main-user-name {
font-size: 14px;
display: inline-block;
cursor: pointer;
margin-right: 5px;
+ width: 200px;
+ overflow: hidden;
+ word-wrap: normal;
+ white-space: nowrap;
+ text-overflow: ellipsis;
vertical-align: middle;
overflow: hidden;
@@ -328,4 +316,4 @@
right: 4px;
z-index: 100;
top: 1px;
-}
\ No newline at end of file
+}
diff --git a/manager/src/views/order/order/orderDetail.vue b/manager/src/views/order/order/orderDetail.vue
index 7a113845..61ba503f 100644
--- a/manager/src/views/order/order/orderDetail.vue
+++ b/manager/src/views/order/order/orderDetail.vue
@@ -60,18 +60,18 @@
发票抬头:
{{
- orderInfo.receipt.receiptTitle ? orderInfo.receipt.receiptTitle : "暂无"
+ orderInfo.receipt && orderInfo.receipt.receiptTitle ? orderInfo.receipt.receiptTitle : "暂无"
}}
发票税号:
- {{ orderInfo.receipt.taxpayerId ? orderInfo.receipt.taxpayerId : "暂无" }}
+ {{ orderInfo.receipt && orderInfo.receipt.taxpayerId ? orderInfo.receipt.taxpayerId : "暂无" }}
@@ -79,7 +79,7 @@
发票内容:
{{
- orderInfo.receipt.receiptContent
+ orderInfo.receipt && orderInfo.receipt.receiptContent
? orderInfo.receipt.receiptContent
: "暂无"
}}
@@ -90,7 +90,7 @@
发票金额:
{{
- orderInfo.receipt.receiptPrice
+ orderInfo.receipt && orderInfo.receipt.receiptPrice
? orderInfo.receipt.receiptPrice
: "暂无" | unitPrice("¥")
}}
@@ -100,7 +100,7 @@
是否开票:
- {{ orderInfo.receipt.receiptStatus == 0 ? "未开" : "已开" }}
+ {{ orderInfo.receipt?(orderInfo.receipt.receiptStatus == 0 ? "未开" : "已开"):"空" }}
@@ -135,18 +135,18 @@
发票抬头:
{{
- orderInfo.receipt.receiptTitle ? orderInfo.receipt.receiptTitle : "暂无"
+ orderInfo.receipt && orderInfo.receipt.receiptTitle ? orderInfo.receipt.receiptTitle : "暂无"
}}
发票税号:
- {{ orderInfo.receipt.taxpayerId ? orderInfo.receipt.taxpayerId : "暂无" }}
+ {{ orderInfo.receipt && orderInfo.receipt.taxpayerId ? orderInfo.receipt.taxpayerId : "暂无" }}
@@ -154,7 +154,7 @@
发票内容:
{{
- orderInfo.receipt.receiptContent
+ orderInfo.receipt && orderInfo.receipt.receiptContent
? orderInfo.receipt.receiptContent
: "暂无"
}}
@@ -165,7 +165,7 @@
发票金额:
{{
- orderInfo.receipt.receiptPrice
+ orderInfo.receipt && orderInfo.receipt.receiptPrice
? orderInfo.receipt.receiptPrice
: "暂无" | unitPrice("¥")
}}
@@ -175,7 +175,7 @@
是否开票:
- {{ orderInfo.receipt.receiptStatus == 0 ? "未开" : "已开" }}
+ {{ orderInfo.receipt?(orderInfo.receipt.receiptStatus == 0 ? "未开" : "已开"):"空" }}
diff --git a/manager/src/views/personal-center/personal-center.vue b/manager/src/views/personal-center/personal-center.vue
index 1e22aae2..b58c979e 100644
--- a/manager/src/views/personal-center/personal-center.vue
+++ b/manager/src/views/personal-center/personal-center.vue
@@ -24,7 +24,7 @@
{{ userForm.username }}
-
+