sale-client 4.2.17 → 4.2.19
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/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +1 -1
- package/build/dev-server.js +4 -7
- package/package.json +1 -1
- package/src/filiale/TaiYuan/Userinfo.vue +393 -0
- package/src/filiale/TaiYuan/meterinfodetail.vue +448 -0
- package/src/filiale/TaiYuan/sale.js +4 -0
- package/src/filiale/yuncheng/IndustryCommerceHand.vue +17 -4
- package/src/main.js +1 -1
- package/.gradle/8.10/checksums/checksums.lock +0 -0
- package/.gradle/8.10/dependencies-accessors/gc.properties +0 -0
- package/.gradle/8.10/executionHistory/executionHistory.bin +0 -0
- package/.gradle/8.10/executionHistory/executionHistory.lock +0 -0
- package/.gradle/8.10/fileChanges/last-build.bin +0 -0
- package/.gradle/8.10/fileHashes/fileHashes.bin +0 -0
- package/.gradle/8.10/fileHashes/fileHashes.lock +0 -0
- package/.gradle/8.10/gc.properties +0 -0
- package/.gradle/file-system.probe +0 -0
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#
|
|
1
|
+
#Thu Mar 13 17:10:29 CST 2025
|
|
2
2
|
gradle.version=5.2.1
|
package/build/dev-server.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var path = require('path')
|
|
2
2
|
var checkVersion = require('./versionCheck.js')
|
|
3
3
|
checkVersion()
|
|
4
|
-
const [ serverRul, localUrl ] = ['http://
|
|
4
|
+
const [ serverRul, localUrl ] = ['http://121.36.106.17:31467/', 'http://121.36.106.17:31467/']
|
|
5
5
|
var merge = require('webpack-merge')
|
|
6
6
|
var baseConfig = require('./webpack.dev.conf')
|
|
7
7
|
var devConfig = {
|
|
@@ -42,17 +42,14 @@ var devConfig = {
|
|
|
42
42
|
// target: 'http://410663id1ia4.vicp.fun'
|
|
43
43
|
// },
|
|
44
44
|
// '/api/af-revenue/sql': {
|
|
45
|
-
// pathRewrite: {
|
|
46
|
-
//
|
|
47
|
-
// },
|
|
45
|
+
// // pathRewrite: {
|
|
46
|
+
// // '/api/af-revenue/sql': '/sql'
|
|
47
|
+
// // },
|
|
48
48
|
// target: localUrl
|
|
49
49
|
// },
|
|
50
50
|
'/rs/pay': {
|
|
51
51
|
target: 'http://localhost:8080'
|
|
52
52
|
},
|
|
53
|
-
'/api/af-revenue': {
|
|
54
|
-
target: serverRul
|
|
55
|
-
},
|
|
56
53
|
'/api': {
|
|
57
54
|
target: serverRul
|
|
58
55
|
},
|
package/package.json
CHANGED
|
@@ -0,0 +1,393 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<partial-view v-ref:pv>
|
|
3
|
+
<div class="panel panel-info auto" style="margin-top: auto">
|
|
4
|
+
<div class="panel-heading" style="height: 35px">
|
|
5
|
+
<h4 style="display:inline-block;margin-top: auto">档案信息</h4>
|
|
6
|
+
</div>
|
|
7
|
+
<div class="auto info-content">
|
|
8
|
+
<div class="row" v-if="warninginfo.data.insMsg">
|
|
9
|
+
<p align="center"><font color="red" style="font-weight: bold">{{ warninginfo.data.insMsg }}</font></p>
|
|
10
|
+
</div>
|
|
11
|
+
|
|
12
|
+
<div class="row" :class="[config.f_userinfo_code ? 'highlight' : '']">
|
|
13
|
+
<label class="col-sm-5">客户编号</label>
|
|
14
|
+
<span class="col-sm-7"><a
|
|
15
|
+
@click="dealmsg(data)">{{ data ? data.f_userinfo_code : dafault.f_userinfo_code }}</a></span>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="row" :class="[config.f_user_name ? 'highlight' : '']">
|
|
18
|
+
<label class="col-sm-5">客户名称</label>
|
|
19
|
+
<span class="col-sm-7">{{ data ? data.f_user_name : dafault.f_user_name }}</span>
|
|
20
|
+
</div>
|
|
21
|
+
<div class="row" v-if="data.f_name_pinyin">
|
|
22
|
+
<label class="col-sm-5">名称首拼</label>
|
|
23
|
+
<span class="col-sm-7">{{ data ? data.f_name_pinyin : dafault.f_name_pinyin }}</span>
|
|
24
|
+
</div>
|
|
25
|
+
<div class="row" :class="[config.f_user_type ? 'highlight' : '']">
|
|
26
|
+
<label class="col-sm-5">客户类型</label>
|
|
27
|
+
<span class="col-sm-7">{{ data ? data.f_user_type : dafault.f_user_type }}</span>
|
|
28
|
+
</div>
|
|
29
|
+
<div class="row">
|
|
30
|
+
<label class="col-sm-5">账户余额</label>
|
|
31
|
+
<span class="col-sm-7">{{ data ? data.f_balance : dafault.f_user_type }}</span>
|
|
32
|
+
</div>
|
|
33
|
+
<div class="row" v-show="data.f_project_money && data.f_project_money > 0">
|
|
34
|
+
<label class="col-sm-5">未结金额</label>
|
|
35
|
+
<span class="col-sm-7">{{ data ?data.f_project_money: '' }} | {{ data ?data.f_gas_type: '' }}</span>
|
|
36
|
+
</div>
|
|
37
|
+
<div class="row" v-show="data && data.f_sys_balance !== 0">
|
|
38
|
+
<label class="col-sm-5">系统余额</label>
|
|
39
|
+
<span class="col-sm-7">{{ data.f_sys_balance ? data.f_sys_balance : dafault.f_user_type }}</span>
|
|
40
|
+
</div>
|
|
41
|
+
<div class="row" :class="[config.f_idnumber ? 'highlight' : '']">
|
|
42
|
+
<label class="col-sm-5" style="color: brown">证件号码</label>
|
|
43
|
+
<span class="col-sm-7" style="word-break: break-all;color: brown">{{ data ? data.f_idnumber : dafault.f_idnumber }}
|
|
44
|
+
<span v-if="data"
|
|
45
|
+
@click.stop="changeuseridnumber"
|
|
46
|
+
class="glyphicon glyphicon-pencil clickchange"
|
|
47
|
+
title="修正客户证件号码">
|
|
48
|
+
</span>
|
|
49
|
+
</span>
|
|
50
|
+
</div>
|
|
51
|
+
<div class="row" :class="[config.f_user_phone ? 'highlight' : '']">
|
|
52
|
+
<label class="col-sm-5" style="color: brown">客户电话</label>
|
|
53
|
+
<span class="col-sm-7" style="color: brown">{{ data ? data.f_user_phone : dafault.f_user_phone }}
|
|
54
|
+
<span v-if="data" @click.stop="changeuserphone"
|
|
55
|
+
class="glyphicon glyphicon-pencil clickchange" title="修正客户电话"></span>
|
|
56
|
+
</span>
|
|
57
|
+
</div>
|
|
58
|
+
<!-- <div class="row">-->
|
|
59
|
+
<!-- <label class="col-sm-5" style="color: brown">备用电话</label>-->
|
|
60
|
+
<!-- <span class="col-sm-7" style="color: brown">{{ data ? data.f_rent_phone : dafault.f_rent_phone }}-->
|
|
61
|
+
<!-- <span v-if="data" @click.stop="changerentphone"-->
|
|
62
|
+
<!-- class="glyphicon glyphicon-pencil clickchange" title="修正备用电话"></span>-->
|
|
63
|
+
<!-- </span>-->
|
|
64
|
+
<!-- </div>-->
|
|
65
|
+
<div class="row" :class="[config.f_user_state ? 'highlight' : '']">
|
|
66
|
+
<label class="col-sm-5">客户状态</label>
|
|
67
|
+
<span class="col-sm-7">{{ data ? data.f_user_state : dafault.f_user_state }}</span>
|
|
68
|
+
</div>
|
|
69
|
+
<div class="row" :class="[config.f_comments ? 'highlight' : '']">
|
|
70
|
+
<label class="col-sm-5" style="color: brown">备注信息</label>
|
|
71
|
+
<span class="col-sm-7" style="color: brown">{{ data ? data.f_comments : dafault.f_comments }}
|
|
72
|
+
<span v-if="data" @click.stop="change_reason"
|
|
73
|
+
class="glyphicon glyphicon-pencil clickchange" title="修改备注信息"></span>
|
|
74
|
+
</span>
|
|
75
|
+
</div>
|
|
76
|
+
<div class="row" :class="[config.f_address ? 'highlight' : '']">
|
|
77
|
+
<label class="col-sm-5">客户地址</label>
|
|
78
|
+
<span class="col-sm-7">{{ data ? data.f_address : dafault.f_address }}</span>
|
|
79
|
+
</div>
|
|
80
|
+
<div class="row" :class="[config.f_open_date ? 'highlight' : '']">
|
|
81
|
+
<label class="col-sm-5">开户时间</label>
|
|
82
|
+
<span class="col-sm-7">{{ data ? data.f_open_date.substr(0, 10) : dafault.f_open_date }}</span>
|
|
83
|
+
</div>
|
|
84
|
+
<div class="row" :class="[config.f_input_date ? 'highlight' : '']">
|
|
85
|
+
<label class="col-sm-5">安装时间</label>
|
|
86
|
+
<span class="col-sm-7">{{ data ? data.f_install_date.substr(0, 10) : dafault.f_input_date }}</span>
|
|
87
|
+
</div>
|
|
88
|
+
<div class="row" :class="[config.f_people_num ? 'highlight' : '']">
|
|
89
|
+
<label class="col-sm-5"> 人 口 数</label>
|
|
90
|
+
<span class="col-sm-7"
|
|
91
|
+
style="word-break: break-all">{{ data ? data.f_people_num : dafault.f_people_num }}</span>
|
|
92
|
+
</div>
|
|
93
|
+
<!-- <div class="row">-->
|
|
94
|
+
<!-- <label class="col-sm-5">客户等级</label>-->
|
|
95
|
+
<!-- <span class="col-sm-7"-->
|
|
96
|
+
<!-- style="word-break: break-all">{{ data ? data.f_user_level : dafault.f_people_num }}</span>-->
|
|
97
|
+
<!-- </div>-->
|
|
98
|
+
<div class="row">
|
|
99
|
+
<label class="col-sm-5">旧客户编号</label>
|
|
100
|
+
<span class="col-sm-7">{{ data ? data.f_olduserinfo_code : dafault.f_userinfo_code }}</span>
|
|
101
|
+
</div>
|
|
102
|
+
<div class="row">
|
|
103
|
+
<label class="col-sm-5">合同编号</label>
|
|
104
|
+
<span class="col-sm-7">{{ data ? data.f_contract_id : dafault.f_contract_id }}</span>
|
|
105
|
+
</div>
|
|
106
|
+
<modal v-if="showselectncuserinfo" :show.sync="showselectncuserinfo" width="40%" title="修正客户电话号码"
|
|
107
|
+
v-ref:modal large backdrop="false">
|
|
108
|
+
<article slot="modal-body" class="modal-body">
|
|
109
|
+
<div class="form-horizontal">
|
|
110
|
+
<div class="row">
|
|
111
|
+
<div class="col-sm-12 form-group">
|
|
112
|
+
<label class="font_normal_body">旧客户电话</label>
|
|
113
|
+
<input disabled readonly type="text" style="width:80%" class="input_search"
|
|
114
|
+
v-model="data.f_user_phone" placeholder='旧客户电话'>
|
|
115
|
+
</div>
|
|
116
|
+
</div>
|
|
117
|
+
<div class="row">
|
|
118
|
+
<div class="col-sm-12 form-group">
|
|
119
|
+
<label class="font_normal_body">新客户电话</label>
|
|
120
|
+
<input type="text" style="width:80%" class="input_search" v-model="newuserphone"
|
|
121
|
+
placeholder='新客户电话'>
|
|
122
|
+
</div>
|
|
123
|
+
</div>
|
|
124
|
+
</div>
|
|
125
|
+
</article>
|
|
126
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
127
|
+
<button class="button_search" :disabled='!$m.valid ' @click="modifyUser">确定</button>
|
|
128
|
+
<button type="button" class="button_clear" @click='close'>取消</button>
|
|
129
|
+
</footer>
|
|
130
|
+
</modal>
|
|
131
|
+
<modal v-if="showselectncuserrent" :show.sync="showselectncuserrent" width="40%" title="修正客户备用电话"
|
|
132
|
+
v-ref:modal large backdrop="false">
|
|
133
|
+
<article slot="modal-body" class="modal-body">
|
|
134
|
+
<div class="form-horizontal">
|
|
135
|
+
<div class="row">
|
|
136
|
+
<div class="col-sm-12 form-group">
|
|
137
|
+
<label class="font_normal_body">旧客户备用电话</label>
|
|
138
|
+
<input disabled readonly type="text" style="width:80%" class="input_search"
|
|
139
|
+
v-model="data.f_rent_phone" placeholder='旧客户备用电话'>
|
|
140
|
+
</div>
|
|
141
|
+
</div>
|
|
142
|
+
<div class="row">
|
|
143
|
+
<div class="col-sm-12 form-group">
|
|
144
|
+
<label class="font_normal_body">新客户备用电话</label>
|
|
145
|
+
<input type="text" style="width:80%" class="input_search" v-model="newrentphone"
|
|
146
|
+
placeholder='新客户备用电话'>
|
|
147
|
+
</div>
|
|
148
|
+
</div>
|
|
149
|
+
</div>
|
|
150
|
+
</article>
|
|
151
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
152
|
+
<button class="button_search" :disabled='!$m.valid ' @click="modifyUserRent">确定</button>
|
|
153
|
+
<button type="button" class="button_clear" @click='close'>取消</button>
|
|
154
|
+
</footer>
|
|
155
|
+
</modal>
|
|
156
|
+
<modal v-if="reason_show" :show.sync="reason_show" width="40%" title="修改备注信息"
|
|
157
|
+
v-ref:modal large backdrop="false">
|
|
158
|
+
<article slot="modal-body" class="modal-body">
|
|
159
|
+
<div class="form-horizontal">
|
|
160
|
+
<div class="row">
|
|
161
|
+
<div class="col-sm-12 form-group">
|
|
162
|
+
<label class="font_normal_body">旧备注信息</label>
|
|
163
|
+
<input disabled readonly type="text" style="width:80%" class="input_search"
|
|
164
|
+
v-model="data.f_comments" placeholder='旧备注信息'>
|
|
165
|
+
</div>
|
|
166
|
+
</div>
|
|
167
|
+
<div class="row">
|
|
168
|
+
<div class="col-sm-12 form-group">
|
|
169
|
+
<label class="font_normal_body">新备注信息</label>
|
|
170
|
+
<input type="text" style="width:80%" class="input_search" v-model="new_reason"
|
|
171
|
+
placeholder='新备注信息'>
|
|
172
|
+
</div>
|
|
173
|
+
</div>
|
|
174
|
+
</div>
|
|
175
|
+
</article>
|
|
176
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
177
|
+
<button class="button_search" :disabled='!$m.valid ' @click="modifyUserSpecialReson">确定</button>
|
|
178
|
+
<button type="button" class="button_clear" @click='close'>取消</button>
|
|
179
|
+
</footer>
|
|
180
|
+
</modal>
|
|
181
|
+
<modal v-if="showselectncuseridnumber" :show.sync="showselectncuseridnumber" width="40%" title="修改证件号码"
|
|
182
|
+
v-ref:modal large backdrop="false">
|
|
183
|
+
<article slot="modal-body" class="modal-body">
|
|
184
|
+
<div class="form-horizontal">
|
|
185
|
+
<div class="row">
|
|
186
|
+
<div class="col-sm-12 form-group">
|
|
187
|
+
<label class="font_normal_body">旧证件号码</label>
|
|
188
|
+
<input readonly type="text" style="width:80%" class="input_search"
|
|
189
|
+
v-model="data.f_idnumber" placeholder='旧证件号码'>
|
|
190
|
+
</div>
|
|
191
|
+
</div>
|
|
192
|
+
<div class="row">
|
|
193
|
+
<div class="col-sm-12 form-group">
|
|
194
|
+
<label class="font_normal_body">新证件号码</label>
|
|
195
|
+
<input type="text" style="width:80%" class="input_search" v-model="newuseridnumber"
|
|
196
|
+
placeholder='新证件号码'>
|
|
197
|
+
</div>
|
|
198
|
+
</div>
|
|
199
|
+
</div>
|
|
200
|
+
</article>
|
|
201
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
202
|
+
<button class="button_search" :disabled='!newuseridnumber' @click="modifyUserIdNumberReason">确定</button>
|
|
203
|
+
<button type="button" class="button_clear" @click='close'>取消</button>
|
|
204
|
+
</footer>
|
|
205
|
+
</modal>
|
|
206
|
+
|
|
207
|
+
</div>
|
|
208
|
+
</div>
|
|
209
|
+
</partial-view>
|
|
210
|
+
</template>
|
|
211
|
+
|
|
212
|
+
<script>
|
|
213
|
+
/**
|
|
214
|
+
*用户档案相关信息组件
|
|
215
|
+
*/
|
|
216
|
+
|
|
217
|
+
export default {
|
|
218
|
+
ready () {
|
|
219
|
+
console.log('看看userinfo里面接收的data数据:', this.data)
|
|
220
|
+
this.$getConfig(this, 'getUserInfo')
|
|
221
|
+
},
|
|
222
|
+
title: '客户基本信息',
|
|
223
|
+
data () {
|
|
224
|
+
return {
|
|
225
|
+
dafault: {
|
|
226
|
+
f_user_name: '***',
|
|
227
|
+
f_userinfo_code: '********',
|
|
228
|
+
f_people_num: '**',
|
|
229
|
+
f_idnumber: '****',
|
|
230
|
+
f_user_phone: '************',
|
|
231
|
+
f_address: '*****',
|
|
232
|
+
f_user_type: '***',
|
|
233
|
+
f_open_date: '****年**月**日',
|
|
234
|
+
f_input_date: '****年**月**日',
|
|
235
|
+
f_hand_date: '****年**月**日',
|
|
236
|
+
f_rent_phone: '************',
|
|
237
|
+
f_comments: '**',
|
|
238
|
+
f_user_state: '****',
|
|
239
|
+
f_contract_id: '*************'
|
|
240
|
+
},
|
|
241
|
+
config: {
|
|
242
|
+
f_user_name: false,
|
|
243
|
+
f_userinfo_code: false,
|
|
244
|
+
f_people_num: false,
|
|
245
|
+
f_idnumber: false,
|
|
246
|
+
f_user_phone: false,
|
|
247
|
+
f_address: false,
|
|
248
|
+
f_user_type: false,
|
|
249
|
+
f_open_date: false,
|
|
250
|
+
f_input_date: false,
|
|
251
|
+
f_comments: false,
|
|
252
|
+
f_user_state: false
|
|
253
|
+
},
|
|
254
|
+
model: null,
|
|
255
|
+
showselectncuserinfo: false,
|
|
256
|
+
showselectncuserrent: false,
|
|
257
|
+
showselectncuseridnumber: false,
|
|
258
|
+
newuserphone: '',
|
|
259
|
+
newrentphone: '',
|
|
260
|
+
newuseridnumber: '',
|
|
261
|
+
reason_show: false,
|
|
262
|
+
new_reason: ''
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
props: ['data', 'warninginfo'],
|
|
266
|
+
methods: {
|
|
267
|
+
async modifyUserSpecialReson () {
|
|
268
|
+
let param = {
|
|
269
|
+
new_reason: this.new_reason,
|
|
270
|
+
f_userinfo_id: this.data.f_userinfo_id,
|
|
271
|
+
f_user_id: this.data.f_user_id,
|
|
272
|
+
f_operator: this.$login.f.name,
|
|
273
|
+
f_operatorid: this.$login.f.id,
|
|
274
|
+
f_orgid: this.$login.f.orgid,
|
|
275
|
+
f_orgname: this.$login.f.orgs,
|
|
276
|
+
f_depid: this.$login.f.depids,
|
|
277
|
+
f_depname: this.$login.f.deps
|
|
278
|
+
}
|
|
279
|
+
await this.$resetpost('/api/af-revenue/logic/changeuserinfo', {data: param}, {resolveMsg: '修正成功', rejectMsg: null})
|
|
280
|
+
this.data.f_comments = this.new_reason
|
|
281
|
+
this.$parent.$parent.close()
|
|
282
|
+
this.$parent.$parent.clean()
|
|
283
|
+
this.$parent.$parent.$refs.list.searchNoData()
|
|
284
|
+
this.close()
|
|
285
|
+
},
|
|
286
|
+
async modifyUserIdNumberReason () {
|
|
287
|
+
let param = {
|
|
288
|
+
new_idnumber: this.newuseridnumber,
|
|
289
|
+
f_userinfo_id: this.data.f_userinfo_id,
|
|
290
|
+
f_user_id: this.data.f_user_id,
|
|
291
|
+
f_operator: this.$login.f.name,
|
|
292
|
+
f_operatorid: this.$login.f.id,
|
|
293
|
+
f_orgid: this.$login.f.orgid,
|
|
294
|
+
f_orgname: this.$login.f.orgs,
|
|
295
|
+
f_depid: this.$login.f.depids,
|
|
296
|
+
f_depname: this.$login.f.deps
|
|
297
|
+
}
|
|
298
|
+
await this.$resetpost('/api/af-revenue/logic/changeuserinfo', {data: param}, {resolveMsg: '修正成功', rejectMsg: null})
|
|
299
|
+
this.data.f_idnumber = this.newuseridnumber
|
|
300
|
+
this.$parent.$parent.close()
|
|
301
|
+
this.$parent.$parent.clean()
|
|
302
|
+
this.$parent.$parent.$refs.list.searchNoData()
|
|
303
|
+
this.close()
|
|
304
|
+
},
|
|
305
|
+
change_reason () {
|
|
306
|
+
// 修正客户电话
|
|
307
|
+
this.reason_show = true
|
|
308
|
+
this.new_reason = ''
|
|
309
|
+
},
|
|
310
|
+
dealmsg (val) {
|
|
311
|
+
if (val.f_userinfo_code !== '********') {
|
|
312
|
+
this.$dispatch('deal-msg', val)
|
|
313
|
+
}
|
|
314
|
+
},
|
|
315
|
+
changeuserphone () {
|
|
316
|
+
// 修正客户电话
|
|
317
|
+
this.showselectncuserinfo = true
|
|
318
|
+
this.newuserphone = ''
|
|
319
|
+
},
|
|
320
|
+
changeuseridnumber () {
|
|
321
|
+
// 修正客户证件号码
|
|
322
|
+
this.showselectncuseridnumber = true
|
|
323
|
+
this.newuseridnumber = ''
|
|
324
|
+
},
|
|
325
|
+
changerentphone () {
|
|
326
|
+
// 修正客户电话
|
|
327
|
+
this.showselectncuserrent = true
|
|
328
|
+
this.newrentphone = ''
|
|
329
|
+
},
|
|
330
|
+
async modifyUser () {
|
|
331
|
+
let param = {
|
|
332
|
+
new_userphone: this.newuserphone,
|
|
333
|
+
f_userinfo_id: this.data.f_userinfo_id,
|
|
334
|
+
f_user_id: this.data.f_user_id,
|
|
335
|
+
f_operator: this.$login.f.name,
|
|
336
|
+
f_operatorid: this.$login.f.id,
|
|
337
|
+
f_orgid: this.$login.f.orgid,
|
|
338
|
+
f_orgname: this.$login.f.orgs,
|
|
339
|
+
f_depid: this.$login.f.depids,
|
|
340
|
+
f_depname: this.$login.f.deps
|
|
341
|
+
}
|
|
342
|
+
await this.$resetpost('/api/af-revenue/logic/changeuserinfo', {data: param}, {resolveMsg: '修正成功', rejectMsg: null})
|
|
343
|
+
this.data.f_user_phone = this.newuserphone
|
|
344
|
+
this.$parent.$parent.close()
|
|
345
|
+
this.$parent.$parent.clean()
|
|
346
|
+
this.$parent.$parent.$refs.list.searchNoData()
|
|
347
|
+
this.close()
|
|
348
|
+
},
|
|
349
|
+
async modifyUserRent () {
|
|
350
|
+
let param = {
|
|
351
|
+
new_rentphone: this.newrentphone,
|
|
352
|
+
f_userinfo_id: this.data.f_userinfo_id,
|
|
353
|
+
f_user_id: this.data.f_user_id,
|
|
354
|
+
f_operator: this.$login.f.name,
|
|
355
|
+
f_operatorid: this.$login.f.id,
|
|
356
|
+
f_orgid: this.$login.f.orgid,
|
|
357
|
+
f_orgname: this.$login.f.orgs,
|
|
358
|
+
f_depid: this.$login.f.depids,
|
|
359
|
+
f_depname: this.$login.f.deps
|
|
360
|
+
}
|
|
361
|
+
await this.$resetpost('/api/af-revenue/logic/changeuserinfo', {data: param}, {resolveMsg: '修正成功', rejectMsg: null})
|
|
362
|
+
this.data.f_rent_phone = this.newrentphone
|
|
363
|
+
this.$parent.$parent.close()
|
|
364
|
+
this.$parent.$parent.clean()
|
|
365
|
+
this.$parent.$parent.$refs.list.searchNoData()
|
|
366
|
+
this.close()
|
|
367
|
+
},
|
|
368
|
+
close () {
|
|
369
|
+
this.showselectncuserinfo = false
|
|
370
|
+
this.showselectncuserrent = false
|
|
371
|
+
this.reason_show = false
|
|
372
|
+
this.showselectncuseridnumber = false
|
|
373
|
+
this.newuserphone = ''
|
|
374
|
+
this.new_reason = ''
|
|
375
|
+
this.new_idnumber = ''
|
|
376
|
+
}
|
|
377
|
+
},
|
|
378
|
+
watch: {
|
|
379
|
+
'data' (val) {
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
</script>
|
|
384
|
+
<style scoped>
|
|
385
|
+
.clickchange:hover {
|
|
386
|
+
color: #3592ef;
|
|
387
|
+
cursor: pointer;
|
|
388
|
+
}
|
|
389
|
+
.highlight {
|
|
390
|
+
color: brown;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
</style>
|
|
@@ -0,0 +1,448 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<partial-view v-ref:pv>
|
|
3
|
+
<div class="panel panel-info auto" style="margin-top: auto">
|
|
4
|
+
<div class="panel-heading" style="height: 35px">
|
|
5
|
+
<h4 style="display:inline-block;margin-top: auto">表具信息</h4>
|
|
6
|
+
</div>
|
|
7
|
+
<div class="auto ">
|
|
8
|
+
<!-- <div class="row" v-if="data.f_customer">-->
|
|
9
|
+
<!-- <label class = "col-sm-5 " style="color: brown">团缴编号</label>-->
|
|
10
|
+
<!-- <span class = "col-sm-7" style="color: brown">{{data.f_customer?data.f_customer:'无'}}</span>-->
|
|
11
|
+
<!-- </div>-->
|
|
12
|
+
<div class="row">
|
|
13
|
+
<label class = "col-sm-5 " >气表表号</label>
|
|
14
|
+
<span class="col-sm-7" style="word-break: break-all;color: brown">{{data?data.f_meternumber:dafault.f_meternumber}}
|
|
15
|
+
</span>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="row" v-if="data.f_meter_type.includes('卡表') || (data.f_meter_type.includes('物联网表') && data.f_hascard==='是')">
|
|
18
|
+
<label class = "col-sm-5 " >卡  号</label>
|
|
19
|
+
<span class = "col-sm-7" style="word-break: break-all;color: brown">{{data?data.f_card_id:dafault.f_card_id}}</span>
|
|
20
|
+
</div>
|
|
21
|
+
<div class="row">
|
|
22
|
+
<label class = "col-sm-5 " >气表类型</label>
|
|
23
|
+
<span class = "col-sm-7">{{data?data.f_meter_type:dafault.f_meter_brand}}</span>
|
|
24
|
+
</div>
|
|
25
|
+
<div class="row">
|
|
26
|
+
<label class = "col-sm-5 " >气表品牌</label>
|
|
27
|
+
<span class = "col-sm-7">{{data?data.f_meter_brand:dafault.f_meter_brand}}</span>
|
|
28
|
+
</div>
|
|
29
|
+
<div class="row">
|
|
30
|
+
<label class = "col-sm-5 " >气表型号</label>
|
|
31
|
+
<span class = "col-sm-7">{{data?data.f_meter_style:dafault.f_meter_style}}</span>
|
|
32
|
+
</div>
|
|
33
|
+
<div class="row" v-if="data.f_meter_type.includes('物联网')">
|
|
34
|
+
<label class = "col-sm-5 " >计费终端</label>
|
|
35
|
+
<span class = "col-sm-7" >{{data?data.f_calculation:dafault.f_calculation}}</span>
|
|
36
|
+
</div>
|
|
37
|
+
<div class="row" v-if="data.f_meter_type.includes('物联网')">
|
|
38
|
+
<label class = "col-sm-5 " >结算方式</label>
|
|
39
|
+
<span class = "col-sm-7" >{{data?data.f_collection_type:dafault.f_collection_type}}</span>
|
|
40
|
+
</div>
|
|
41
|
+
<div class="row">
|
|
42
|
+
<label class="col-sm-5" style="color: brown">表具状态</label>
|
|
43
|
+
<span class="col-sm-7" style="color: brown">{{data?data.f_table_state:dafault.f_table_state}}</span>
|
|
44
|
+
</div>
|
|
45
|
+
<div class="row" v-if="!data.f_calculation.includes('表端结算') && data.f_meter_type.includes('物联网') && data.f_collection_type === '按金额'">
|
|
46
|
+
<label class = "col-sm-5 " style="color: brown">系统余额</label>
|
|
47
|
+
<span class = "col-sm-7" style="color: brown">{{data?data.f_balance_amount:dafault.f_balance_amount}}</span>
|
|
48
|
+
</div>
|
|
49
|
+
<div class="row" v-if="!data.f_calculation.includes('表端结算') && data.f_meter_type.includes('物联网') && data.f_collection_type === '按气量'">
|
|
50
|
+
<label class = "col-sm-5 " style="color: brown">系统余量</label>
|
|
51
|
+
<span class = "col-sm-7" style="color: brown">{{data?data.f_balance_gas:dafault.f_balance_gas}}</span>
|
|
52
|
+
</div>
|
|
53
|
+
<div class="row" v-if="data.f_calculation.includes('表端结算') && data.f_meter_type.includes('物联网')">
|
|
54
|
+
<label class = "col-sm-5 " style="color: brown">表端上报余额</label>
|
|
55
|
+
<span class = "col-sm-7" style="color: brown">{{data?data.f_jval:dafault.f_jval}}</span>
|
|
56
|
+
</div>
|
|
57
|
+
<div class="row">
|
|
58
|
+
<label class = "col-sm-5 " >欠费金额</label>
|
|
59
|
+
<span class = "col-sm-7">{{f_arrears_fee ? f_arrears_fee : 0}}</span>
|
|
60
|
+
</div>
|
|
61
|
+
<div class="row">
|
|
62
|
+
<label class = "col-sm-5 " >初始表底数</label>
|
|
63
|
+
<span class = "col-sm-7" >{{data?data.f_initial_base:dafault.f_initial_base}}</span>
|
|
64
|
+
</div>
|
|
65
|
+
<div class="row">
|
|
66
|
+
<label class = "col-sm-5 " >表当前底数</label>
|
|
67
|
+
<span class = "col-sm-7" >{{data?data.f_meter_base:dafault.f_meter_base}}</span>
|
|
68
|
+
</div>
|
|
69
|
+
<div class="row" v-show="data.f_times">
|
|
70
|
+
<label class = "col-sm-5 " >写卡次数</label>
|
|
71
|
+
<span class = "col-sm-7" >{{data?data.f_times:dafault.f_times}}</span>
|
|
72
|
+
</div>
|
|
73
|
+
<div class="row" v-if="data.f_meter_type.includes('物联网')">
|
|
74
|
+
<label class = "col-sm-5 ">指令上表次数</label>
|
|
75
|
+
<span class = "col-sm-7" >{{data?data.f_iot_times:dafault.f_iot_times}}</span>
|
|
76
|
+
</div>
|
|
77
|
+
<div class="row" v-if="data.f_meter_type.includes('物联网')">
|
|
78
|
+
<label class = "col-sm-5 ">表累购金额</label>
|
|
79
|
+
<span class = "col-sm-7" >{{data?data.f_total_fee:dafault.f_total_fee}}
|
|
80
|
+
<span v-if="data && this.$login.r.includes('收费页面修改累购')" @click.stop="changeMeterFee"
|
|
81
|
+
class="glyphicon glyphicon-pencil click-change" title="修改累购金额">
|
|
82
|
+
</span>
|
|
83
|
+
</span>
|
|
84
|
+
</div>
|
|
85
|
+
<div class="row" v-if="data.f_meter_type.includes('物联网')">
|
|
86
|
+
<label class = "col-sm-5 ">户累购金额</label>
|
|
87
|
+
<span class = "col-sm-7" >{{data?data.f_total_fee_all:dafault.f_total_fee_all}}</span>
|
|
88
|
+
</div>
|
|
89
|
+
<div class="row" v-if="(data.f_meter_type === '机表' || data.f_meter_type === '物联网表') && data.f_deduction_gas > 0">
|
|
90
|
+
<label class = "col-sm-5 " >剩余抵扣量</label>
|
|
91
|
+
<span class = "col-sm-7" >{{data?data.f_deduction_gas:dafault.f_deduction_gas}}</span>
|
|
92
|
+
</div>
|
|
93
|
+
<div class="row" v-if="data.f_meter_type.includes('卡表')">
|
|
94
|
+
<label class = "col-sm-5 " style="color: brown" >户累购气量</label>
|
|
95
|
+
<span class = "col-sm-7" style="color: brown">{{data?data.f_total_gas_all:dafault.f_total_gas_all}}</span>
|
|
96
|
+
</div>
|
|
97
|
+
<div class="row" v-if="(data.f_meter_brand.includes('数码表'))">
|
|
98
|
+
<label class = "col-sm-5 " style="color: brown" >累购气量</label>
|
|
99
|
+
<span class = "col-sm-7" style="color: brown">{{data?data.f_total_gas:dafault.f_total_gas}}</span>
|
|
100
|
+
</div>
|
|
101
|
+
<div class="row" v-if="data.f_meter_type.includes('卡表') && data.f_meter_type === '气量卡表'">
|
|
102
|
+
<label class = "col-sm-5 " style="color: brown" >累购气量</label>
|
|
103
|
+
<span class = "col-sm-7" style="color: brown">{{data?data.f_total_gas:dafault.f_total_gas}}
|
|
104
|
+
<span v-if="data && this.$login.r.includes('收费页面修改累购')" @click.stop="changeMeterGas"
|
|
105
|
+
class="glyphicon glyphicon-pencil click-change" title="修改累购气量">
|
|
106
|
+
</span>
|
|
107
|
+
</span>
|
|
108
|
+
</div>
|
|
109
|
+
<div class="row" v-if="data.f_meter_type.includes('卡表')">
|
|
110
|
+
<label class = "col-sm-5 " style="color: brown">累购金额</label>
|
|
111
|
+
<span class = "col-sm-7" style="color: brown">{{data?data.f_total_fee:dafault.f_total_fee}}
|
|
112
|
+
<span v-if="data && this.$login.r.includes('收费页面修改累购')" @click.stop="changeMeterFee"
|
|
113
|
+
class="glyphicon glyphicon-pencil click-change" title="修改累购金额">
|
|
114
|
+
</span>
|
|
115
|
+
</span>
|
|
116
|
+
</div>
|
|
117
|
+
<div class="row" v-if="data.f_meter_type.includes('卡表')">
|
|
118
|
+
<label class = "col-sm-5 " style="color: brown">累购写卡金额</label>
|
|
119
|
+
<span class = "col-sm-7" style="color: brown">{{data?data.f_write_totalfee:dafault.f_total_fee}}</span>
|
|
120
|
+
</div>
|
|
121
|
+
<div class="row">
|
|
122
|
+
<label class = "col-sm-5 " >表封号</label>
|
|
123
|
+
<span class="col-sm-7">{{data?data.f_metertitles:dafault.f_metertitles}}
|
|
124
|
+
<span v-if="data" @click.stop="changemetertitles"
|
|
125
|
+
class="glyphicon glyphicon-pencil click-change" title="修正表封号"></span>
|
|
126
|
+
</span>
|
|
127
|
+
</div>
|
|
128
|
+
<!-- <div class="row" v-if="data.f_meter_type.includes('卡表') || data.f_meter_type.includes('物联网表') && data.f_hascard==='是'">-->
|
|
129
|
+
<!-- <label class = "col-sm-5 " >写卡次数</label>-->
|
|
130
|
+
<!-- <span class = "col-sm-7">{{data?data.f_times:dafault.f_times}}</span>-->
|
|
131
|
+
<!-- </div>-->
|
|
132
|
+
<div class="row">
|
|
133
|
+
<label class = "col-sm-5 " >用气性质</label>
|
|
134
|
+
<span class = "col-sm-7">{{data?data.f_gasproperties:dafault.f_gasproperties}}</span>
|
|
135
|
+
</div>
|
|
136
|
+
<div class="row">
|
|
137
|
+
<label class = "col-sm-5 " >气价名称</label>
|
|
138
|
+
<span class = "col-sm-7">{{data?data.f_price_name:dafault.f_price_name}}</span>
|
|
139
|
+
</div>
|
|
140
|
+
<!--<div class="row" v-if="data.f_balance < 0">-->
|
|
141
|
+
<!--<label class = "col-sm-5 " >账户欠费</label>-->
|
|
142
|
+
<!--<span class = "col-sm-7" title="不包含违约金">{{data?0 - (data.f_balance - 0):dafault.f_balance}}</span>-->
|
|
143
|
+
<!--</div>-->
|
|
144
|
+
<!--<div class="row" v-else>-->
|
|
145
|
+
<!--<label class = "col-sm-5 " >账户余额</label>-->
|
|
146
|
+
<!--<span class = "col-sm-7">{{data?data.f_balance:dafault.f_balance}}</span>-->
|
|
147
|
+
<!--</div>-->
|
|
148
|
+
<div class="row" v-if="data.f_remanent_money > 0">
|
|
149
|
+
<label class = "col-sm-5 " >应补金额</label>
|
|
150
|
+
<span class = "col-sm-7">{{data?data.f_remanent_money:dafault.f_remanent_money}}</span>
|
|
151
|
+
</div>
|
|
152
|
+
<div class="row" v-if="data.f_remanent_gas > 0">
|
|
153
|
+
<label class = "col-sm-5 " >应补气量</label>
|
|
154
|
+
<span class = "col-sm-7">{{data?data.f_remanent_gas:dafault.f_remanent_gas}}</span>
|
|
155
|
+
</div>
|
|
156
|
+
<div class="row">
|
|
157
|
+
<label class = "col-sm-5 " >表  向</label>
|
|
158
|
+
<span class = "col-sm-7">{{data?data.f_aroundmeter:dafault.f_hand_date}}</span>
|
|
159
|
+
</div>
|
|
160
|
+
<div class="row" v-if="!data.f_meter_type.includes('物联网')">
|
|
161
|
+
<label class = "col-sm-5 " >抄表册名</label>
|
|
162
|
+
<span class = "col-sm-7">{{data?'['+data.f_book_code + '] '+ (data.f_book_name ? data.f_book_name:''):dafault.f_book_name}}</span>
|
|
163
|
+
</div>
|
|
164
|
+
<div class="row" v-if="!data.f_meter_type.includes('物联网')">
|
|
165
|
+
<label class = "col-sm-5 " >抄表册册序号</label>
|
|
166
|
+
<span class = "col-sm-7">{{data?data.f_meter_book_sort:dafault.f_meter_book_sort}}</span>
|
|
167
|
+
</div>
|
|
168
|
+
<div class="row">
|
|
169
|
+
<label class = "col-sm-5 " >安装位置</label>
|
|
170
|
+
<span class = "col-sm-7">{{data?data.f_position:dafault.f_position}}</span>
|
|
171
|
+
</div>
|
|
172
|
+
<div class="row">
|
|
173
|
+
<label class = "col-sm-5 " >置换人员</label>
|
|
174
|
+
<span class = "col-sm-7">{{data?data.f_gas_person:dafault.f_hand_date}}</span>
|
|
175
|
+
</div>
|
|
176
|
+
<div class="row">
|
|
177
|
+
<label class = "col-sm-5 " >置换时间</label>
|
|
178
|
+
<span class = "col-sm-7">{{data?data.f_gas_date.substring(0,7):dafault.f_hand_date}}</span>
|
|
179
|
+
</div>
|
|
180
|
+
<div class="row" v-if="!data.f_meter_type.includes('物联网')">
|
|
181
|
+
<label class = "col-sm-5 " >抄表员</label>
|
|
182
|
+
<span class = "col-sm-7">{{data?data.f_inputtor:dafault.f_inputtor}}</span>
|
|
183
|
+
</div>
|
|
184
|
+
<div class="row" v-if="!data.f_meter_type.includes('物联网')">
|
|
185
|
+
<label class = "col-sm-5 " >上次抄表日期</label>
|
|
186
|
+
<span class = "col-sm-7">{{data?data.f_hand_date.substring(0,7):dafault.f_hand_date}}</span>
|
|
187
|
+
</div>
|
|
188
|
+
<div class="row">
|
|
189
|
+
<label class = "col-sm-5 " >建档日期</label>
|
|
190
|
+
<span class = "col-sm-7">{{data?data.f_input_date.substring(0,7):dafault.f_input_date}}</span>
|
|
191
|
+
</div>
|
|
192
|
+
<div class="row">
|
|
193
|
+
<label class = "col-sm-5 " >备  注</label>
|
|
194
|
+
<span class = "col-sm-7">{{data?data.comments:dafault.comments}}</span>
|
|
195
|
+
</div>
|
|
196
|
+
<modal v-if="showselectncuserfile" :show.sync="showselectncuserfile" width="40%" title="修正表封号"
|
|
197
|
+
v-ref:modal large backdrop="false">
|
|
198
|
+
<article slot="modal-body" class="modal-body">
|
|
199
|
+
<div class="form-horizontal">
|
|
200
|
+
<div class="row">
|
|
201
|
+
<div class="col-sm-12 form-group">
|
|
202
|
+
<label class="font_normal_body">旧表封号</label>
|
|
203
|
+
<input disabled readonly type="text" style="width:80%" class="input_search"
|
|
204
|
+
v-model="data.f_metertitles" placeholder='旧表封号'>
|
|
205
|
+
</div>
|
|
206
|
+
</div>
|
|
207
|
+
<div class="row">
|
|
208
|
+
<div class="col-sm-12 form-group">
|
|
209
|
+
<label class="font_normal_body">新表封号</label>
|
|
210
|
+
<input type="text" style="width:80%" class="input_search" v-model="newmetertitles"
|
|
211
|
+
placeholder='新表封号'>
|
|
212
|
+
</div>
|
|
213
|
+
</div>
|
|
214
|
+
</div>
|
|
215
|
+
</article>
|
|
216
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
217
|
+
<button class="button_search" :disabled='!$m.valid ' @click="modifyUserFile('表封号')">确定</button>
|
|
218
|
+
<button type="button" class="button_clear" @click='close'>取消</button>
|
|
219
|
+
</footer>
|
|
220
|
+
</modal>
|
|
221
|
+
<modal v-if="showSelectUserFee" :show.sync="showSelectUserFee" width="40%" title="修正表累购金额"
|
|
222
|
+
v-ref:modal large backdrop="false">
|
|
223
|
+
<article slot="modal-body" class="modal-body">
|
|
224
|
+
<div class="form-horizontal">
|
|
225
|
+
<div class="row">
|
|
226
|
+
<div class="col-sm-12 form-group">
|
|
227
|
+
<label class="font_normal_body">旧表累购金额</label>
|
|
228
|
+
<input readonly type="text" style="width:80%" class="input_search"
|
|
229
|
+
v-model="data.f_total_fee" placeholder='旧表累购金额'>
|
|
230
|
+
</div>
|
|
231
|
+
</div>
|
|
232
|
+
<div class="row">
|
|
233
|
+
<div class="col-sm-12 form-group">
|
|
234
|
+
<label class="font_normal_body">旧表累购金额</label>
|
|
235
|
+
<input type="text" style="width:80%" class="input_search" v-model="newMeterFee"
|
|
236
|
+
placeholder='旧表累购金额'>
|
|
237
|
+
</div>
|
|
238
|
+
</div>
|
|
239
|
+
</div>
|
|
240
|
+
</article>
|
|
241
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
242
|
+
<button class="button_search" :disabled='!$m.valid ' @click="modifyUserFile('累购金额')">确定</button>
|
|
243
|
+
<button type="button" class="button_clear" @click='close'>取消</button>
|
|
244
|
+
</footer>
|
|
245
|
+
</modal>
|
|
246
|
+
<modal v-if="showSelectUserGas" :show.sync="showSelectUserGas" width="40%" title="修正表累购气量"
|
|
247
|
+
v-ref:modal large backdrop="false">
|
|
248
|
+
<article slot="modal-body" class="modal-body">
|
|
249
|
+
<div class="form-horizontal">
|
|
250
|
+
<div class="row">
|
|
251
|
+
<div class="col-sm-12 form-group">
|
|
252
|
+
<label class="font_normal_body">旧表累购气量</label>
|
|
253
|
+
<input readonly type="text" style="width:80%" class="input_search"
|
|
254
|
+
v-model="data.f_total_gas" placeholder='旧表累购气量'>
|
|
255
|
+
</div>
|
|
256
|
+
</div>
|
|
257
|
+
<div class="row">
|
|
258
|
+
<div class="col-sm-12 form-group">
|
|
259
|
+
<label class="font_normal_body">新表累购气量</label>
|
|
260
|
+
<input type="text" style="width:80%" class="input_search" v-model="newMeterGas"
|
|
261
|
+
placeholder='新表累购气量'>
|
|
262
|
+
</div>
|
|
263
|
+
</div>
|
|
264
|
+
</div>
|
|
265
|
+
</article>
|
|
266
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
267
|
+
<button class="button_search" :disabled='!$m.valid ' @click="modifyUserFile('累购气量')">确定</button>
|
|
268
|
+
<button type="button" class="button_clear" @click='close'>取消</button>
|
|
269
|
+
</footer>
|
|
270
|
+
</modal>
|
|
271
|
+
</div>
|
|
272
|
+
</div>
|
|
273
|
+
</partial-view>
|
|
274
|
+
</template>
|
|
275
|
+
|
|
276
|
+
import { HttpResetClass } from 'vue-client'
|
|
277
|
+
|
|
278
|
+
<script>
|
|
279
|
+
/* 用户档案相关信息组件 */
|
|
280
|
+
import {HttpResetClass} from 'vue-client'
|
|
281
|
+
|
|
282
|
+
export default {
|
|
283
|
+
ready () {
|
|
284
|
+
console.log('看看userinfo里面接收的data数据', this.data)
|
|
285
|
+
},
|
|
286
|
+
title: '客户基本信息',
|
|
287
|
+
data () {
|
|
288
|
+
return {
|
|
289
|
+
dafault: {
|
|
290
|
+
f_total_gas_all: 0,
|
|
291
|
+
f_total_fee_all: 0,
|
|
292
|
+
f_balance_amount: 0,
|
|
293
|
+
f_balance_gas: 0,
|
|
294
|
+
f_initial_base: 0,
|
|
295
|
+
f_meter_base: 0,
|
|
296
|
+
f_deduction_gas: 0,
|
|
297
|
+
f_total_gas: 0,
|
|
298
|
+
f_total_fee: 0,
|
|
299
|
+
f_card_id: '*****',
|
|
300
|
+
f_times: 0,
|
|
301
|
+
f_iot_times: 0,
|
|
302
|
+
f_meternumber: 0,
|
|
303
|
+
f_metertitles: '',
|
|
304
|
+
f_gasproperties: '****',
|
|
305
|
+
f_price_name: '****',
|
|
306
|
+
f_meter_brand: '****',
|
|
307
|
+
f_balance: 0,
|
|
308
|
+
f_user_type: '**',
|
|
309
|
+
f_remanent_gas: 0,
|
|
310
|
+
f_position: '****',
|
|
311
|
+
f_inputtor: '****',
|
|
312
|
+
f_jval: 0,
|
|
313
|
+
f_table_state: 0
|
|
314
|
+
},
|
|
315
|
+
f_arrears_fee: 0,
|
|
316
|
+
model: null,
|
|
317
|
+
f_arrears_fee: 0,
|
|
318
|
+
showselectncuserfile: false,
|
|
319
|
+
showSelectUserFee: false,
|
|
320
|
+
showSelectUserGas: false,
|
|
321
|
+
newmetertitles: '',
|
|
322
|
+
newMeterGas: 0,
|
|
323
|
+
newMeterFee: 0
|
|
324
|
+
}
|
|
325
|
+
},
|
|
326
|
+
props: ['data'],
|
|
327
|
+
methods: {
|
|
328
|
+
async getArrears () {
|
|
329
|
+
let http = new HttpResetClass()
|
|
330
|
+
let arrearsFee = 0
|
|
331
|
+
let res = await http.load('POST', 'api/af-revenue/logic/sale_getOwe', {
|
|
332
|
+
data: {
|
|
333
|
+
f_userinfo_id: this.data.f_userinfo_id
|
|
334
|
+
}
|
|
335
|
+
}, {resolveMsg: null, rejectMsg: '获取欠费出错!!'})
|
|
336
|
+
if (res.data.length > 0) {
|
|
337
|
+
const owes = res.data.flatMap(item => item.rows)
|
|
338
|
+
for (let i = 0; i < owes.length; i++) {
|
|
339
|
+
arrearsFee = arrearsFee + owes[i].f_oughtfee
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
this.list = res.data
|
|
343
|
+
if (this.data.f_meter_type == '物联网表') {
|
|
344
|
+
this.f_arrears_fee = (this.data.f_balance_amount - arrearsFee) > 0 ? 0 : 0 - (this.data.f_balance_amount - arrearsFee)
|
|
345
|
+
} else if (this.data.f_meter_type == '机表') {
|
|
346
|
+
this.f_arrears_fee = (this.data.f_balance - arrearsFee) > 0 ? 0 : 0 - (this.data.f_balance - arrearsFee)
|
|
347
|
+
} else {
|
|
348
|
+
this.f_arrears_fee = (this.data.f_balance - arrearsFee) > 0 ? 0 : 0 - (this.data.f_balance - arrearsFee)
|
|
349
|
+
}
|
|
350
|
+
this.f_arrears_fee = parseFloat(this.f_arrears_fee.toFixed(2))
|
|
351
|
+
},
|
|
352
|
+
dealmsg (val) {
|
|
353
|
+
this.$dispatch('deal-msg', val)
|
|
354
|
+
},
|
|
355
|
+
changemetertitles () {
|
|
356
|
+
// 修正表封号
|
|
357
|
+
this.showselectncuserfile = true
|
|
358
|
+
this.newmetertitles = 0
|
|
359
|
+
},
|
|
360
|
+
changeMeterGas () {
|
|
361
|
+
// 修改累购气量
|
|
362
|
+
this.showSelectUserGas = true
|
|
363
|
+
},
|
|
364
|
+
changeMeterFee () {
|
|
365
|
+
// 修改累购金额
|
|
366
|
+
this.showSelectUserFee = true
|
|
367
|
+
},
|
|
368
|
+
async modifyUserFile (type) {
|
|
369
|
+
let param = {
|
|
370
|
+
f_userinfo_id: this.data.f_userinfo_id,
|
|
371
|
+
f_user_id: this.data.f_user_id,
|
|
372
|
+
f_userfiles_id: this.data.f_userfiles_id,
|
|
373
|
+
f_operator: this.$login.f.name,
|
|
374
|
+
f_operatorid: this.$login.f.id,
|
|
375
|
+
f_orgid: this.$login.f.orgid,
|
|
376
|
+
f_orgname: this.$login.f.orgs,
|
|
377
|
+
f_depid: this.$login.f.depids,
|
|
378
|
+
f_depname: this.$login.f.deps
|
|
379
|
+
}
|
|
380
|
+
if (type == '表封号') {
|
|
381
|
+
param.new_metertitles = this.newmetertitles
|
|
382
|
+
} else if (type == '累购气量') {
|
|
383
|
+
param.new_metergas = this.newMeterGas
|
|
384
|
+
} else if (type == '累购金额') {
|
|
385
|
+
param.new_meterfee = this.newMeterFee
|
|
386
|
+
}
|
|
387
|
+
await this.$resetpost('/api/af-revenue/logic/changeuserfilesmetertitles', {data: param}, {resolveMsg: '修正成功', rejectMsg: null})
|
|
388
|
+
this.data.f_metertitles = this.newmetertitles
|
|
389
|
+
if (type == '表封号') {
|
|
390
|
+
this.data.f_metertitles = this.newmetertitles
|
|
391
|
+
} else if (type == '累购气量') {
|
|
392
|
+
this.data.f_total_gas = this.newMeterGas
|
|
393
|
+
} else if (type == '累购金额') {
|
|
394
|
+
this.data.f_total_fee = this.newMeterFee
|
|
395
|
+
}
|
|
396
|
+
this.$parent.$parent.close()
|
|
397
|
+
this.$parent.$parent.clean()
|
|
398
|
+
this.$parent.$parent.$refs.list.searchNoData()
|
|
399
|
+
this.close()
|
|
400
|
+
},
|
|
401
|
+
close () {
|
|
402
|
+
this.showselectncuserfile = false
|
|
403
|
+
this.showSelectUserGas = false
|
|
404
|
+
this.showSelectUserFee = false
|
|
405
|
+
this.newmetertitles = 0
|
|
406
|
+
this.newMeterGas = 0
|
|
407
|
+
this.newMeterFee = 0
|
|
408
|
+
}
|
|
409
|
+
},
|
|
410
|
+
watch: {
|
|
411
|
+
'data' (val) {
|
|
412
|
+
console.log('val========', val)
|
|
413
|
+
if (val) {
|
|
414
|
+
this.getArrears()
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
</script>
|
|
420
|
+
<style lang="less">
|
|
421
|
+
.row {
|
|
422
|
+
/*border-bottom:1px solid #F2F6FA;*/
|
|
423
|
+
margin-left: 0;
|
|
424
|
+
margin-right: 0;
|
|
425
|
+
}
|
|
426
|
+
.click-change:hover {
|
|
427
|
+
color: #3592ef;
|
|
428
|
+
cursor: pointer;
|
|
429
|
+
}
|
|
430
|
+
// . {
|
|
431
|
+
// height: 23px;
|
|
432
|
+
// border-right: 1px solid #F2F6FA;
|
|
433
|
+
// margin-bottom: 0;
|
|
434
|
+
// text-align: left;
|
|
435
|
+
// }
|
|
436
|
+
// #address {
|
|
437
|
+
// border-left: 1px solid #F2F6FA;
|
|
438
|
+
// }
|
|
439
|
+
// #user-info {
|
|
440
|
+
// padding:6px;
|
|
441
|
+
// span {
|
|
442
|
+
// padding-left: 5px;
|
|
443
|
+
// }
|
|
444
|
+
// }
|
|
445
|
+
// #address1 {
|
|
446
|
+
// border-right: 0;
|
|
447
|
+
// }
|
|
448
|
+
</style>
|
|
@@ -6,4 +6,8 @@ export default function () {
|
|
|
6
6
|
Vue.component('no-card-meter-center', (resolve) => { require(['./NoCardMeterCenter'], resolve) })
|
|
7
7
|
// 过户
|
|
8
8
|
Vue.component('transfer-manage', (resolve) => { require(['./TransferManage'], resolve) })
|
|
9
|
+
// 当前选择用户的用户基本信息
|
|
10
|
+
Vue.component('sale-userinfo', (resolve) => { require(['./Userinfo'], resolve) })
|
|
11
|
+
// 当前选择用户的表具基本信息
|
|
12
|
+
Vue.component('user-meterinfodetail', (resolve) => { require(['./meterinfodetail'], resolve) })
|
|
9
13
|
}
|
|
@@ -182,6 +182,14 @@
|
|
|
182
182
|
condition="f_total_gas <= {} " placeholder="">
|
|
183
183
|
</div>
|
|
184
184
|
</div>
|
|
185
|
+
<div class="col-sm-2 form-group">
|
|
186
|
+
<label class="font_normal_body">抄 表 册</label>
|
|
187
|
+
<v-select :value.sync="model.f_meter_book" v-model="model.f_meter_book"
|
|
188
|
+
:options='$parent.$parent.meterbooks' placeholder='抄表册'
|
|
189
|
+
style="width:60%"
|
|
190
|
+
:multiple="true"
|
|
191
|
+
condition="f_meter_book_num in {}"></v-select>
|
|
192
|
+
</div>
|
|
185
193
|
|
|
186
194
|
<res-select-group :initres="$parent.$parent.initres"
|
|
187
195
|
@re-res="$parent.$parent.getRes"
|
|
@@ -439,6 +447,8 @@ import {PagedList, HttpResetClass} from 'vue-client'
|
|
|
439
447
|
import Vue from 'vue'
|
|
440
448
|
let readySomething = async function (self) {
|
|
441
449
|
await self.$LoadParams.loadParam()
|
|
450
|
+
await self.$LoadParams.loadMeterBook(self.f_filialeid)
|
|
451
|
+
self.loadMeterBooks()
|
|
442
452
|
self.initParams()
|
|
443
453
|
}
|
|
444
454
|
let readyGen = async function (self) {
|
|
@@ -618,6 +628,9 @@ export default {
|
|
|
618
628
|
imgclose () {
|
|
619
629
|
this.imgshow = false
|
|
620
630
|
},
|
|
631
|
+
loadMeterBooks () {
|
|
632
|
+
this.meterbooks = this.$GetSaleParam.getMeterBooks()
|
|
633
|
+
},
|
|
621
634
|
imgShow (val) {
|
|
622
635
|
this.imgfilename = `api/af-revenue/file/image/` + val
|
|
623
636
|
this.imgshow = true
|
|
@@ -789,12 +802,12 @@ export default {
|
|
|
789
802
|
this.rowsdata = []
|
|
790
803
|
this.radio = []
|
|
791
804
|
this.checkAll = []
|
|
792
|
-
|
|
805
|
+
|
|
793
806
|
// 重置DataGrid的选择状态
|
|
794
807
|
if (this.$refs.paged && this.$refs.paged.$refs.grid && this.$refs.paged.$refs.grid.selectInit) {
|
|
795
808
|
this.$refs.paged.$refs.grid.selectInit()
|
|
796
809
|
}
|
|
797
|
-
|
|
810
|
+
|
|
798
811
|
this.$refs.paged.$refs.criteria.search()
|
|
799
812
|
},
|
|
800
813
|
selfSearch (args) {
|
|
@@ -1082,12 +1095,12 @@ export default {
|
|
|
1082
1095
|
|
|
1083
1096
|
await this.$resetpost('api/af-revenue/logic/runSQL', { sql: sql })
|
|
1084
1097
|
this.$showAlert(`成功删除 ${selectedRows.length} 条记录`, 'success', 2000)
|
|
1085
|
-
|
|
1098
|
+
|
|
1086
1099
|
// 重置DataGrid的选择状态
|
|
1087
1100
|
if (this.$refs.paged && this.$refs.paged.$refs.grid && this.$refs.paged.$refs.grid.selectInit) {
|
|
1088
1101
|
this.$refs.paged.$refs.grid.selectInit()
|
|
1089
1102
|
}
|
|
1090
|
-
|
|
1103
|
+
|
|
1091
1104
|
// 直接刷新数据,让界面状态完全重置
|
|
1092
1105
|
this.search()
|
|
1093
1106
|
} catch (error) {
|
package/src/main.js
CHANGED
|
@@ -2,7 +2,7 @@ import Vue from 'vue'
|
|
|
2
2
|
import all from 'vue-client/src/all'
|
|
3
3
|
import App from './App'
|
|
4
4
|
import system from 'system-clients/src/system'
|
|
5
|
-
import FilialeSale from './filiale/
|
|
5
|
+
import FilialeSale from './filiale/TaiYuan/sale'
|
|
6
6
|
import sale from './sale'
|
|
7
7
|
import address from 'address-client/src/address'
|
|
8
8
|
import ldap from 'ldap-clients/src/ldap'
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|