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 }}
-
+