sale-client 3.6.77 → 3.6.78
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/components/FilesManage/UserGeneralInfoTest.vue +11 -0
- package/src/components/FilesManageNew/UserGeneralInfoTest.vue +11 -0
- package/src/components/revenue/comprehen/ComprehenOperation/MeterDisable/DisableManage.vue +1 -0
- package/src/components/webMeter/MeterManage/WebMeterBatchOperationValve.vue +1 -0
- package/src/filiale/rongcheng/ChargeModal.vue +178 -0
- package/src/filiale/rongcheng/sale.js +2 -0
- package/src/filiale/shanxian/components/webMeter/WebMeterBatchOperationValve.vue +1 -0
package/package.json
CHANGED
|
@@ -24,7 +24,12 @@
|
|
|
24
24
|
<div style="height: auto;width: 100%">
|
|
25
25
|
<div style="margin-bottom: 2%; margin-top: 2%">
|
|
26
26
|
<img style="margin-top: -5px" src="../../../static/images/lefticon/矩形1183.png">
|
|
27
|
+
<span v-if="!usertype">
|
|
27
28
|
<a style="font-size: 20px;font-weight: 500;">发票信息</a> <a style="color: #999999"></a>
|
|
29
|
+
</span>
|
|
30
|
+
<span v-if="usertype">
|
|
31
|
+
<a style="font-size: 20px;font-weight: 500;">企业信息</a> <a style="color: #999999"></a>
|
|
32
|
+
</span>
|
|
28
33
|
</div>
|
|
29
34
|
<user-paper-info-test :baseinfo="data.baseinfo"></user-paper-info-test>
|
|
30
35
|
</div>
|
|
@@ -649,6 +654,12 @@ export default {
|
|
|
649
654
|
}
|
|
650
655
|
},
|
|
651
656
|
computed: {
|
|
657
|
+
usertype () {
|
|
658
|
+
if (this.row && this.row.f_user_type) {
|
|
659
|
+
return this.row.f_user_type == '非民用'
|
|
660
|
+
}
|
|
661
|
+
return this.$refs.useressential.$refs.useraddressinfile.usertype
|
|
662
|
+
},
|
|
652
663
|
meterbrands () {
|
|
653
664
|
return this.$GetSaleParam.getGasbrand()
|
|
654
665
|
},
|
|
@@ -20,7 +20,12 @@
|
|
|
20
20
|
<div style="height: auto;width: 100%">
|
|
21
21
|
<div style="margin-bottom: 2%; margin-top: 2%">
|
|
22
22
|
<img style="margin-top: -5px" src="../../../static/images/lefticon/矩形1183.png">
|
|
23
|
+
<span v-if="!usertype">
|
|
23
24
|
<a style="font-size: 20px;font-weight: 500;">发票信息</a> <a style="color: #999999"></a>
|
|
25
|
+
</span>
|
|
26
|
+
<span v-if="usertype">
|
|
27
|
+
<a style="font-size: 20px;font-weight: 500;">企业信息</a> <a style="color: #999999"></a>
|
|
28
|
+
</span>
|
|
24
29
|
</div>
|
|
25
30
|
<user-paper-info-test :baseinfo="data.baseinfo"></user-paper-info-test>
|
|
26
31
|
</div>
|
|
@@ -581,6 +586,12 @@ export default {
|
|
|
581
586
|
}
|
|
582
587
|
},
|
|
583
588
|
computed: {
|
|
589
|
+
usertype () {
|
|
590
|
+
if (this.row && this.row.f_user_type) {
|
|
591
|
+
return this.row.f_user_type == '非民用'
|
|
592
|
+
}
|
|
593
|
+
return this.$refs.useressential.$refs.useraddressinfile.usertype
|
|
594
|
+
},
|
|
584
595
|
meterbrands () {
|
|
585
596
|
return this.$GetSaleParam.getGasbrand()
|
|
586
597
|
},
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<modal :show.sync="modalShow" backdrop="false" width="50%" title="提示信息">
|
|
3
|
+
<article slot="modal-body">
|
|
4
|
+
<div style="width:98%;margin: auto" v-show="showInformation">
|
|
5
|
+
<div v-show="filesNotComplete" style="font-size: 15px;padding: 10px"> 用户档案信息不全,请完善
|
|
6
|
+
<span style="float: right">
|
|
7
|
+
<button class="button_search" @click="operational('files_complete')"
|
|
8
|
+
style="width: max-content;">完善信息</button>
|
|
9
|
+
<button class="button_search" @click="close">取消</button>
|
|
10
|
+
</span>
|
|
11
|
+
</div>
|
|
12
|
+
<div v-show="isBlackList" style="font-size: 15px;padding: 10px"> 黑名单用户,无法进行收费操作,{{ userproperties }}
|
|
13
|
+
</div>
|
|
14
|
+
<div v-show="isInvoList" style="font-size: 15px;padding: 10px"> {{ involists }}
|
|
15
|
+
</div>
|
|
16
|
+
<span v-show="isInvoList || isBlackList" style="float: right">
|
|
17
|
+
<button class="button_search" @click="close">确定</button>
|
|
18
|
+
</span>
|
|
19
|
+
<div v-show="!isBlackList&&isBasicLiving" style="font-size: 15px;padding: 10px"> {{ basicinformation }}
|
|
20
|
+
<span style="float: right">
|
|
21
|
+
<button class="button_search" @click="operational('basic-living')"
|
|
22
|
+
style="width: max-content;">低保续保</button>
|
|
23
|
+
<button class="button_search" @click="operational('stop-basic-living')" v-if="stopBasicLiving"
|
|
24
|
+
style="width: max-content;">停止续保</button>
|
|
25
|
+
<button class="button_search btn-gn" @click="success('isBasicLiving')" v-if="!stopBasicLiving">确认</button>
|
|
26
|
+
</span>
|
|
27
|
+
</div>
|
|
28
|
+
<p>{{ authorityInformation }}</p>
|
|
29
|
+
</div>
|
|
30
|
+
<div style="width:98%;margin: auto" v-show="!showInformation">
|
|
31
|
+
<route v-ref:route @close="close" @success="success" v-show="!showInformation" :data="row"></route>
|
|
32
|
+
</div>
|
|
33
|
+
</article>
|
|
34
|
+
<footer slot="modal-footer" class="modal-footer" style="text-align: center;border: 0">
|
|
35
|
+
<!--如果想忽略到期信息,modal的值设为null-->
|
|
36
|
+
<!-- <button class="button_clear" @click="ignore" v-if="basicLiving">忽略</button>-->
|
|
37
|
+
</footer>
|
|
38
|
+
</modal>
|
|
39
|
+
</template>
|
|
40
|
+
<script>
|
|
41
|
+
|
|
42
|
+
let initGen = async function (self) {
|
|
43
|
+
if (!self.row.f_price_id || !self.row.f_gasmodel_id || !self.row.f_gasbrand_id) {
|
|
44
|
+
self.filesNotComplete = true
|
|
45
|
+
}
|
|
46
|
+
let _this = self
|
|
47
|
+
self.$login.f.functions[1].children.forEach(function (value) {
|
|
48
|
+
if (value.name === '特殊用户') {
|
|
49
|
+
_this.basicLivingAuthority = true
|
|
50
|
+
}
|
|
51
|
+
})
|
|
52
|
+
console.log('============================', self.data)
|
|
53
|
+
console.log('============================', self.data2)
|
|
54
|
+
if (self.data2.data.length > 0) {
|
|
55
|
+
// isInvoList involists
|
|
56
|
+
_this.isInvoList = true
|
|
57
|
+
self.data2.data.forEach(function (value) {
|
|
58
|
+
_this.involists = '尊敬的' + (value.f_invoice_name) + '用户您好, 您有一张未领取发票, 发票金额为' + (value.f_invoice_money) +
|
|
59
|
+
', 发票日期为' + (value.f_invoice_date) + ', 请您及时领取'
|
|
60
|
+
})
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
self.data.data.forEach(function (value) {
|
|
64
|
+
if (value.f_parameter_key === 'dibaohu_endDate' && _this.basicLivingAuthority) {
|
|
65
|
+
if (value.days <= 0) {
|
|
66
|
+
_this.isBasicLiving = true
|
|
67
|
+
_this.basicinformation = '低保已到期' + (-value.days) + '天'
|
|
68
|
+
_this.stopBasicLiving = true
|
|
69
|
+
} else if (value.days > 0 && value.days < self.dibao_remind) {
|
|
70
|
+
_this.isBasicLiving = true
|
|
71
|
+
_this.basicinformation = '低保还有' + (value.days) + '天到期'
|
|
72
|
+
} else {
|
|
73
|
+
console.log('低保剩余天数大于提醒天数')
|
|
74
|
+
}
|
|
75
|
+
} else if (value.f_parameter_key === 'blackList' && _this.filesCompleteAuthority) {
|
|
76
|
+
_this.isBlackList = true
|
|
77
|
+
_this.userproperties = '该用户为黑名单用户,被限制购气,原因为' + (value.f_comments)
|
|
78
|
+
if (value.f_offsite_time) {
|
|
79
|
+
_this.userproperties += '(安检日期)' + (value.f_offsite_time)
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
})
|
|
83
|
+
if (!self.filesNotComplete && !self.isBlackList && !self.isBasicLiving) {
|
|
84
|
+
self.authorityInformation = '您没有相关的业务操作权限, 请联系管理员!!'
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export default {
|
|
89
|
+
title: '收费弹出框',
|
|
90
|
+
props: {
|
|
91
|
+
// 动态属性表数据
|
|
92
|
+
data: {
|
|
93
|
+
type: Object
|
|
94
|
+
},
|
|
95
|
+
// 动态属性表数据
|
|
96
|
+
data2: {
|
|
97
|
+
type: Object
|
|
98
|
+
},
|
|
99
|
+
// 双击用户的数据
|
|
100
|
+
row: {
|
|
101
|
+
type: Object
|
|
102
|
+
},
|
|
103
|
+
modalShow: {
|
|
104
|
+
type: Boolean
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
data() {
|
|
108
|
+
return {
|
|
109
|
+
showInformation: true,
|
|
110
|
+
informationtype: '',
|
|
111
|
+
// 档案不完善
|
|
112
|
+
filesNotComplete: false,
|
|
113
|
+
// 黑名单
|
|
114
|
+
isBlackList: false,
|
|
115
|
+
// 未领发票
|
|
116
|
+
isInvoList: false,
|
|
117
|
+
// 低保户到期
|
|
118
|
+
isBasicLiving: false,
|
|
119
|
+
// 终止低保户 必选低保户到期
|
|
120
|
+
stopBasicLiving: false,
|
|
121
|
+
// 低保户信息
|
|
122
|
+
basicinformation: '',
|
|
123
|
+
// 黑名单信息
|
|
124
|
+
userproperties: '',
|
|
125
|
+
// 发票未领取信息
|
|
126
|
+
involists: '',
|
|
127
|
+
// 低保户到期提醒时间
|
|
128
|
+
dibao_remind: this.$appdata.getSingleValue('低保快到期提醒') ? this.$appdata.getSingleValue('低保快到期提醒') : 0,
|
|
129
|
+
// 低保户权限
|
|
130
|
+
basicLivingAuthority: false,
|
|
131
|
+
// 档案完善权限
|
|
132
|
+
filesCompleteAuthority: true
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
methods: {
|
|
136
|
+
close () {
|
|
137
|
+
this.$emit('close')
|
|
138
|
+
},
|
|
139
|
+
async success(val) {
|
|
140
|
+
//
|
|
141
|
+
if (val === 'filesNotComplete') {
|
|
142
|
+
this.filesNotComplete = false
|
|
143
|
+
} else if (val === 'isBasicLiving') {
|
|
144
|
+
this.isBasicLiving = false
|
|
145
|
+
}
|
|
146
|
+
// 如果所有提示信息均处理,获取改户数据,进入收费操作
|
|
147
|
+
if (!this.filesNotComplete && !this.isBlackList && !this.isBasicLiving) {
|
|
148
|
+
this.showInformation = false
|
|
149
|
+
let data = await this.$resetpost('rs/sql/sale_getUser', {data: {condition: `1=1 and f_userinfo_code = '${this.row.f_userinfo_code}' and u.f_filialeid = ${this.$login.f.orgid}`}}, {
|
|
150
|
+
resolveMsg: '',
|
|
151
|
+
rejectMsg: ''
|
|
152
|
+
})
|
|
153
|
+
this.$emit('modalsuccess', data.data[0])
|
|
154
|
+
} else {
|
|
155
|
+
// 没有处理完,显示提示信息
|
|
156
|
+
this.showInformation = true
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
operational(val) {
|
|
160
|
+
this.showInformation = false
|
|
161
|
+
this.$refs.route.init(val, {data: this.row})
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
ready () {
|
|
165
|
+
initGen(this)
|
|
166
|
+
}
|
|
167
|
+
// watch: {
|
|
168
|
+
// 'modalShow' (val) {
|
|
169
|
+
// this.modal = val
|
|
170
|
+
// }
|
|
171
|
+
// }
|
|
172
|
+
}
|
|
173
|
+
</script>
|
|
174
|
+
<style>
|
|
175
|
+
.basic-main {
|
|
176
|
+
width: 79%;
|
|
177
|
+
}
|
|
178
|
+
</style>
|
|
@@ -105,4 +105,6 @@ export default function () {
|
|
|
105
105
|
|
|
106
106
|
// 用户表具信息test
|
|
107
107
|
Vue.component('file-user-meter-info', (resolve) => { require(['./UserMeterInfoTest'], resolve) })
|
|
108
|
+
// 售气收费 --弹出框
|
|
109
|
+
Vue.component('charge-modal', (resolve) => { require(['./ChargeModal'], resolve) })
|
|
108
110
|
}
|