yuantianjiao 6 years ago
parent
commit
7cd845db13

+ 3
- 4
src/components/topCaseInfo/index.vue View File

@@ -2,7 +2,7 @@
2 2
   <div class="topCaseInfo flex-h">
3 3
     <i class="iconfont icon-dingwei"></i>
4 4
       <span>{{data.caseName}}</span>
5
-      <a v-if="data.ShowSelect && from !== 'sales'" @click="selectCase">请选择</a>
5
+      <a v-if="data.ShowSelect" @click="selectCase">请选择</a>
6 6
       <div class="flex-item">
7 7
         <span>{{userName}}您好!</span>
8 8
       </div>
@@ -16,7 +16,7 @@ export default {
16 16
   props: ['data', 'userName'],
17 17
   data () {
18 18
     return {
19
-      from: ''
19
+
20 20
     }
21 21
   },
22 22
   computed: {
@@ -26,8 +26,7 @@ export default {
26 26
 
27 27
   },
28 28
   created () {
29
-    this.from = sessionStorage.getItem('from')
30
-    console.log(this.from)
29
+
31 30
   },
32 31
   methods: {
33 32
     selectCase () { // 选择案场

+ 1
- 1
src/pages/sales/salesGiveOutDetail/index.vue View File

@@ -28,7 +28,7 @@
28 28
                   </div>
29 29
                   <div class="flex-item">
30 30
                     <div>
31
-                      <span>¥{{item.Price}} * 1</span>
31
+                      <span>¥{{item.Price}} * {{item.Number}}</span>
32 32
                     </div>
33 33
                   </div>
34 34
                   <span>{{toolClass.dateFormat(item.CreateDate, 'yyyy/MM/dd hh:mm')}}</span>

+ 1
- 1
src/pages/user/mainPage/coffeeIndex/index.vue View File

@@ -263,7 +263,7 @@ export default {
263 263
   },
264 264
   created () {
265 265
     this.fromPage = sessionStorage.getItem('from')
266
-    if (!this.userInfo.customer.MapUser) {
266
+    if (!this.userInfo.customer.MapUser || (this.userInfo.customer.MapUser && this.fromPage !== 'sales')) {
267 267
       this.topCaseInfoData.ShowSelect = true
268 268
     }
269 269
     if (this.userInfo.customer.MapUser !== '') {