sale-client 3.6.303 → 3.6.304
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/filiale/rizhao/otherinfo.vue +92 -92
package/package.json
CHANGED
|
@@ -1,92 +1,92 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="flex" style="height: 90%;overflow-y: scroll">
|
|
3
|
-
<mix-price-info :data="data" v-if="data.f_price_type === '固定气价'"></mix-price-info>
|
|
4
|
-
<stairinfo :data="data" v-if="data.f_price_type === '阶梯气价'"></stairinfo>
|
|
5
|
-
<valueaddinfo :data="data" v-ref:valueaddinfo></valueaddinfo
|
|
6
|
-
<safe-check :data="data"></safe-check>
|
|
7
|
-
<service-repair :data="data" v-if="name==='维修情况查询'"></service-repair>
|
|
8
|
-
<bill-message @setstate="setstate" :state="state" :data="data"></bill-message>
|
|
9
|
-
</div>
|
|
10
|
-
</template>
|
|
11
|
-
|
|
12
|
-
<script>
|
|
13
|
-
/**
|
|
14
|
-
*客户相关信息
|
|
15
|
-
*/
|
|
16
|
-
|
|
17
|
-
import MixPriceInfo from '../../components/revenue/base/leftview/MixPriceInfo'
|
|
18
|
-
import SafeCheck from '../../components/revenue/base/leftview/SafeCheck'
|
|
19
|
-
import ServiceRepair from '../../components/revenue/base/leftview/ServiceRepair'
|
|
20
|
-
export default {
|
|
21
|
-
title: '客户相关信息',
|
|
22
|
-
data () {
|
|
23
|
-
return {
|
|
24
|
-
name: ''
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
components: {MixPriceInfo, SafeCheck, ServiceRepair},
|
|
28
|
-
props: {
|
|
29
|
-
data: {
|
|
30
|
-
type: Object
|
|
31
|
-
},
|
|
32
|
-
cardData: {
|
|
33
|
-
type: Object,
|
|
34
|
-
default: function () {
|
|
35
|
-
return {}
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
state:{
|
|
39
|
-
type: String,
|
|
40
|
-
default:null
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
ready () {
|
|
44
|
-
this.getAuthority()
|
|
45
|
-
},
|
|
46
|
-
methods: {
|
|
47
|
-
getAuthority () {
|
|
48
|
-
if (this.$login.r.find(value => value == '维修情况查询')) {
|
|
49
|
-
this.name = '维修情况查询'
|
|
50
|
-
console.log(this.name)
|
|
51
|
-
}
|
|
52
|
-
console.log('查看权限', this.$login.r)
|
|
53
|
-
},
|
|
54
|
-
dealMsg (obj) {
|
|
55
|
-
this.$dispatch('deal-msg', obj)
|
|
56
|
-
},
|
|
57
|
-
setstate(state){
|
|
58
|
-
this.$dispatch('setstate',state)
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
</script>
|
|
63
|
-
<style lang="less">
|
|
64
|
-
#mulit-info-class {
|
|
65
|
-
width: 280px;
|
|
66
|
-
margin-right: 20px;
|
|
67
|
-
overflow-y: auto;
|
|
68
|
-
> div {
|
|
69
|
-
height: auto;
|
|
70
|
-
margin-bottom: 8px;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
// 内容显示样式
|
|
74
|
-
.control-label {
|
|
75
|
-
height: 23px;
|
|
76
|
-
border-right: 1px solid #F2F6FA;
|
|
77
|
-
margin-bottom: 0;
|
|
78
|
-
text-align: left;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.info-content {
|
|
82
|
-
padding:6px;
|
|
83
|
-
span {
|
|
84
|
-
padding-left: 5px;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
// 信息区域的表格显示紧凑
|
|
88
|
-
.self-table > tbody > tr > td {
|
|
89
|
-
padding: 3px;
|
|
90
|
-
text-align: center;
|
|
91
|
-
}
|
|
92
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex" style="height: 90%;overflow-y: scroll">
|
|
3
|
+
<mix-price-info :data="data" v-if="data.f_price_type === '固定气价'"></mix-price-info>
|
|
4
|
+
<stairinfo :data="data" v-if="data.f_price_type === '阶梯气价'"></stairinfo>
|
|
5
|
+
<!-- <valueaddinfo :data="data" v-ref:valueaddinfo></valueaddinfo>-->
|
|
6
|
+
<safe-check :data="data"></safe-check>
|
|
7
|
+
<service-repair :data="data" v-if="name==='维修情况查询'"></service-repair>
|
|
8
|
+
<bill-message @setstate="setstate" :state="state" :data="data"></bill-message>
|
|
9
|
+
</div>
|
|
10
|
+
</template>
|
|
11
|
+
|
|
12
|
+
<script>
|
|
13
|
+
/**
|
|
14
|
+
*客户相关信息
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import MixPriceInfo from '../../components/revenue/base/leftview/MixPriceInfo'
|
|
18
|
+
import SafeCheck from '../../components/revenue/base/leftview/SafeCheck'
|
|
19
|
+
import ServiceRepair from '../../components/revenue/base/leftview/ServiceRepair'
|
|
20
|
+
export default {
|
|
21
|
+
title: '客户相关信息',
|
|
22
|
+
data () {
|
|
23
|
+
return {
|
|
24
|
+
name: ''
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
components: {MixPriceInfo, SafeCheck, ServiceRepair},
|
|
28
|
+
props: {
|
|
29
|
+
data: {
|
|
30
|
+
type: Object
|
|
31
|
+
},
|
|
32
|
+
cardData: {
|
|
33
|
+
type: Object,
|
|
34
|
+
default: function () {
|
|
35
|
+
return {}
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
state:{
|
|
39
|
+
type: String,
|
|
40
|
+
default:null
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
ready () {
|
|
44
|
+
this.getAuthority()
|
|
45
|
+
},
|
|
46
|
+
methods: {
|
|
47
|
+
getAuthority () {
|
|
48
|
+
if (this.$login.r.find(value => value == '维修情况查询')) {
|
|
49
|
+
this.name = '维修情况查询'
|
|
50
|
+
console.log(this.name)
|
|
51
|
+
}
|
|
52
|
+
console.log('查看权限', this.$login.r)
|
|
53
|
+
},
|
|
54
|
+
dealMsg (obj) {
|
|
55
|
+
this.$dispatch('deal-msg', obj)
|
|
56
|
+
},
|
|
57
|
+
setstate(state){
|
|
58
|
+
this.$dispatch('setstate',state)
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
</script>
|
|
63
|
+
<style lang="less">
|
|
64
|
+
#mulit-info-class {
|
|
65
|
+
width: 280px;
|
|
66
|
+
margin-right: 20px;
|
|
67
|
+
overflow-y: auto;
|
|
68
|
+
> div {
|
|
69
|
+
height: auto;
|
|
70
|
+
margin-bottom: 8px;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
// 内容显示样式
|
|
74
|
+
.control-label {
|
|
75
|
+
height: 23px;
|
|
76
|
+
border-right: 1px solid #F2F6FA;
|
|
77
|
+
margin-bottom: 0;
|
|
78
|
+
text-align: left;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.info-content {
|
|
82
|
+
padding:6px;
|
|
83
|
+
span {
|
|
84
|
+
padding-left: 5px;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
// 信息区域的表格显示紧凑
|
|
88
|
+
.self-table > tbody > tr > td {
|
|
89
|
+
padding: 3px;
|
|
90
|
+
text-align: center;
|
|
91
|
+
}
|
|
92
|
+
</style>
|