sale-client 4.3.50 → 4.3.51

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.
File without changes
File without changes
@@ -0,0 +1,2 @@
1
+ #Fri May 08 17:34:18 CST 2026
2
+ gradle.version=5.2.1
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "4.3.50",
3
+ "version": "4.3.51",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -0,0 +1,424 @@
1
+ <template>
2
+ <partial-view v-ref:pv>
3
+ <validator name='m'>
4
+ <div class="panel panel-info auto" style="margin-top: auto">
5
+ <div class="panel-heading" style="height: 35px">
6
+ <h4 style="display:inline-block;margin-top: auto">档案信息</h4>
7
+ </div>
8
+ <div class="auto info-content">
9
+ <div class="row" v-if="warninginfo.data.insMsg">
10
+ <p align="center"><font color="red" style="font-weight: bold">{{ warninginfo.data.insMsg }}</font></p>
11
+ </div>
12
+
13
+ <div class="row" :class="[config.f_userinfo_code ? 'highlight' : '']">
14
+ <label class="col-sm-5">客户编号</label>
15
+ <span class="col-sm-7"><a
16
+ @click="dealmsg(data)">{{ data ? data.f_userinfo_code : dafault.f_userinfo_code }}</a></span>
17
+ </div>
18
+ <div class="row" :class="[config.f_user_name ? 'highlight' : '']">
19
+ <label class="col-sm-5">客户名称</label>
20
+ <span class="col-sm-7">{{ data ? data.f_user_name : dafault.f_user_name }}</span>
21
+ </div>
22
+ <div class="row" v-if="data.f_name_pinyin">
23
+ <label class="col-sm-5">名称首拼</label>
24
+ <span class="col-sm-7">{{ data ? data.f_name_pinyin : dafault.f_name_pinyin }}</span>
25
+ </div>
26
+ <div class="row" :class="[config.f_user_type ? 'highlight' : '']">
27
+ <label class="col-sm-5">客户类型</label>
28
+ <span class="col-sm-7">{{ data ? data.f_user_type : dafault.f_user_type }}</span>
29
+ </div>
30
+ <div class="row">
31
+ <label class="col-sm-5">账户余额</label>
32
+ <span class="col-sm-7">{{ data ? data.f_balance : dafault.f_user_type }}</span>
33
+ </div>
34
+ <div class="row" v-show="data.f_project_money && data.f_project_money > 0">
35
+ <label class="col-sm-5">未结金额</label>
36
+ <span class="col-sm-7">{{ data ?data.f_project_money: '' }} | {{ data ?data.f_gas_type: '' }}</span>
37
+ </div>
38
+ <div class="row" v-show="data && data.f_sys_balance !== 0">
39
+ <label class="col-sm-5">系统余额</label>
40
+ <span class="col-sm-7">{{ data.f_sys_balance ? data.f_sys_balance : dafault.f_user_type }}</span>
41
+ </div>
42
+ <div class="row" :class="[config.f_idnumber ? 'highlight' : '']">
43
+ <label class="col-sm-5" style="color: brown">证件号码</label>
44
+ <span class="col-sm-7" style="word-break: break-all;color: brown">{{ data ? data.f_idnumber : dafault.f_idnumber }}
45
+ <span v-if="data"
46
+ @click.stop="changeuseridnumber"
47
+ class="glyphicon glyphicon-pencil clickchange"
48
+ title="修正客户证件号码">
49
+ </span>
50
+ </span>
51
+ </div>
52
+ <div class="row" :class="[config.f_user_phone ? 'highlight' : '']">
53
+ <label class="col-sm-5" style="color: brown">客户电话</label>
54
+ <span class="col-sm-7" style="color: brown">{{ data ? data.f_user_phone : dafault.f_user_phone }}
55
+ <span v-if="data" @click.stop="changeuserphone"
56
+ class="glyphicon glyphicon-pencil clickchange" title="修正客户电话"></span>
57
+ </span>
58
+ </div>
59
+ <div class="row">
60
+ <label class="col-sm-5" style="color: brown">备用电话</label>
61
+ <span class="col-sm-7" style="color: brown">{{ data ? data.f_rent_phone : dafault.f_rent_phone }}
62
+ <span v-if="data" @click.stop="changerentphone"
63
+ class="glyphicon glyphicon-pencil clickchange" title="修正备用电话"></span>
64
+ </span>
65
+ </div>
66
+ <div class="row" :class="[config.f_user_state ? 'highlight' : '']">
67
+ <label class="col-sm-5">客户状态</label>
68
+ <span class="col-sm-7">{{ data ? data.f_user_state : dafault.f_user_state }}</span>
69
+ </div>
70
+ <div class="row" :class="[config.f_comments ? 'highlight' : '']">
71
+ <label class="col-sm-5" style="color: brown">备注信息</label>
72
+ <span class="col-sm-7" style="color: brown">{{ data ? data.f_comments : dafault.f_comments }}
73
+ <span v-if="data" @click.stop="change_reason"
74
+ class="glyphicon glyphicon-pencil clickchange" title="修改备注信息"></span>
75
+ </span>
76
+ </div>
77
+ <div class="row" :class="[config.f_address ? 'highlight' : '']">
78
+ <label class="col-sm-5">客户地址</label>
79
+ <span class="col-sm-7">{{ data ? data.f_address : dafault.f_address }}</span>
80
+ </div>
81
+ <div class="row" :class="[config.f_open_date ? 'highlight' : '']">
82
+ <label class="col-sm-5">开户时间</label>
83
+ <span class="col-sm-7">{{ data ? data.f_createfile_date.substr(0, 10) : dafault.f_open_date }}</span>
84
+ </div>
85
+ <div class="row" :class="[config.f_input_date ? 'highlight' : '']">
86
+ <label class="col-sm-5">安装时间</label>
87
+ <span class="col-sm-7">{{ data ? data.f_install_date.substr(0, 10) : dafault.f_input_date }}</span>
88
+ </div>
89
+ <div class="row" :class="[config.f_people_num ? 'highlight' : '']">
90
+ <label class="col-sm-5">&emsp;人&ensp;口&ensp;数</label>
91
+ <span class="col-sm-7"
92
+ style="word-break: break-all">{{ data ? data.f_people_num : dafault.f_people_num }}</span>
93
+ </div>
94
+ <div class="row">
95
+ <label class="col-sm-5">客户等级</label>
96
+ <span class="col-sm-7"
97
+ style="word-break: break-all">{{ data ? data.f_user_level : dafault.f_people_num }}</span>
98
+ </div>
99
+ <div class="row">
100
+ <label class="col-sm-5">旧客户编号</label>
101
+ <span class="col-sm-7">{{ data ? data.f_olduserinfo_code : dafault.f_userinfo_code }}</span>
102
+ </div>
103
+ <div class="row">
104
+ <label class="col-sm-5">合同编号</label>
105
+ <span class="col-sm-7">{{ data ? data.f_contract_id : dafault.f_contract_id }}</span>
106
+ </div>
107
+ <modal v-if="showselectncuserinfo" :show.sync="showselectncuserinfo" width="40%" title="修正客户电话号码"
108
+ v-ref:modal large backdrop="false">
109
+ <article slot="modal-body" class="modal-body">
110
+ <div class="form-horizontal">
111
+ <div class="row">
112
+ <div class="col-sm-12 form-group">
113
+ <label class="font_normal_body">旧客户电话</label>
114
+ <input disabled readonly type="text" style="width:80%" class="input_search"
115
+ v-model="data.f_user_phone" placeholder='旧客户电话'>
116
+ </div>
117
+ </div>
118
+ <div class="row">
119
+ <div class="col-sm-12 form-group">
120
+ <label class="font_normal_body">新客户电话</label>
121
+ <input type="text" style="width:80%" class="input_search" v-model="newuserphone"
122
+ v-validate:newuserphone='{ minlength: 11, maxlength: 11 }'
123
+ @blur="validatePhone('newuserphone')"
124
+ placeholder='新客户电话'>
125
+ </div>
126
+ </div>
127
+ </div>
128
+ </article>
129
+ <footer slot="modal-footer" class="modal-footer">
130
+ <button class="button_search" :disabled='!$m.valid' @click="modifyUser">确定</button>
131
+ <button type="button" class="button_clear" @click='close'>取消</button>
132
+ </footer>
133
+ </modal>
134
+ <modal v-if="showselectncuserrent" :show.sync="showselectncuserrent" width="40%" title="修正客户备用电话"
135
+ v-ref:modal large backdrop="false">
136
+ <article slot="modal-body" class="modal-body">
137
+ <div class="form-horizontal">
138
+ <div class="row">
139
+ <div class="col-sm-12 form-group">
140
+ <label class="font_normal_body">旧客户备用电话</label>
141
+ <input disabled readonly type="text" style="width:80%" class="input_search"
142
+ v-model="data.f_rent_phone" placeholder='旧客户备用电话'>
143
+ </div>
144
+ </div>
145
+ <div class="row">
146
+ <div class="col-sm-12 form-group">
147
+ <label class="font_normal_body">新客户备用电话</label>
148
+ <input type="text" style="width:80%" class="input_search" v-model="newrentphone"
149
+ v-validate:newrentphone='{ minlength: 11, maxlength: 11 }'
150
+ @blur="validatePhone('newrentphone')"
151
+ placeholder='新客户备用电话'>
152
+ </div>
153
+ </div>
154
+ </div>
155
+ </article>
156
+ <footer slot="modal-footer" class="modal-footer">
157
+ <button class="button_search" :disabled='!$m.valid' @click="modifyUserRent">确定</button>
158
+ <button type="button" class="button_clear" @click='close'>取消</button>
159
+ </footer>
160
+ </modal>
161
+ <modal v-if="reason_show" :show.sync="reason_show" width="40%" title="修改备注信息"
162
+ v-ref:modal large backdrop="false">
163
+ <article slot="modal-body" class="modal-body">
164
+ <div class="form-horizontal">
165
+ <div class="row">
166
+ <div class="col-sm-12 form-group">
167
+ <label class="font_normal_body">旧备注信息</label>
168
+ <input disabled readonly type="text" style="width:80%" class="input_search"
169
+ v-model="data.f_comments" placeholder='旧备注信息'>
170
+ </div>
171
+ </div>
172
+ <div class="row">
173
+ <div class="col-sm-12 form-group">
174
+ <label class="font_normal_body">新备注信息</label>
175
+ <input type="text" style="width:80%" class="input_search" v-model="new_reason"
176
+ placeholder='新备注信息'>
177
+ </div>
178
+ </div>
179
+ </div>
180
+ </article>
181
+ <footer slot="modal-footer" class="modal-footer">
182
+ <button class="button_search" :disabled='!$m.valid ' @click="modifyUserSpecialReson">确定</button>
183
+ <button type="button" class="button_clear" @click='close'>取消</button>
184
+ </footer>
185
+ </modal>
186
+ <modal v-if="showselectncuseridnumber" :show.sync="showselectncuseridnumber" width="40%" title="修改证件号码"
187
+ v-ref:modal large backdrop="false">
188
+ <article slot="modal-body" class="modal-body">
189
+ <div class="form-horizontal">
190
+ <div class="row">
191
+ <div class="col-sm-12 form-group">
192
+ <label class="font_normal_body">旧证件号码</label>
193
+ <input readonly type="text" style="width:80%" class="input_search"
194
+ v-model="data.f_idnumber" placeholder='旧证件号码'>
195
+ </div>
196
+ </div>
197
+ <div class="row">
198
+ <div class="col-sm-12 form-group">
199
+ <label class="font_normal_body">新证件号码</label>
200
+ <input type="text" style="width:80%" class="input_search" v-model="newuseridnumber"
201
+ v-validate:newuseridnumber='{identityCardValid: true}'
202
+ @blur="validateIdNumber"
203
+ placeholder='新证件号码'>
204
+ </div>
205
+ </div>
206
+ </div>
207
+ </article>
208
+ <footer slot="modal-footer" class="modal-footer">
209
+ <button class="button_search" :disabled='!$m.valid' @click="modifyUserIdNumberReason">确定</button>
210
+ <button type="button" class="button_clear" @click='close'>取消</button>
211
+ </footer>
212
+ </modal>
213
+
214
+ </div>
215
+ </div>
216
+ </validator>
217
+ </partial-view>
218
+ </template>
219
+
220
+ <script>
221
+ /**
222
+ *用户档案相关信息组件
223
+ */
224
+
225
+ export default {
226
+ ready () {
227
+ console.log('看看userinfo里面接收的data数据:', this.data)
228
+ this.$getConfig(this, 'getUserInfo')
229
+ },
230
+ title: '客户基本信息',
231
+ data () {
232
+ return {
233
+ dafault: {
234
+ f_user_name: '***',
235
+ f_userinfo_code: '********',
236
+ f_people_num: '**',
237
+ f_idnumber: '****',
238
+ f_user_phone: '************',
239
+ f_address: '*****',
240
+ f_user_type: '***',
241
+ f_open_date: '****年**月**日',
242
+ f_input_date: '****年**月**日',
243
+ f_hand_date: '****年**月**日',
244
+ f_rent_phone: '************',
245
+ f_comments: '**',
246
+ f_user_state: '****',
247
+ f_contract_id: '*************'
248
+ },
249
+ config: {
250
+ f_user_name: false,
251
+ f_userinfo_code: false,
252
+ f_people_num: false,
253
+ f_idnumber: false,
254
+ f_user_phone: false,
255
+ f_address: false,
256
+ f_user_type: false,
257
+ f_open_date: false,
258
+ f_input_date: false,
259
+ f_comments: false,
260
+ f_user_state: false
261
+ },
262
+ model: null,
263
+ showselectncuserinfo: false,
264
+ showselectncuserrent: false,
265
+ showselectncuseridnumber: false,
266
+ newuserphone: '',
267
+ newrentphone: '',
268
+ newuseridnumber: '',
269
+ reason_show: false,
270
+ new_reason: ''
271
+ }
272
+ },
273
+ props: ['data', 'warninginfo'],
274
+ methods: {
275
+ validatePhone (field) {
276
+ let phone = field === 'newuserphone' ? this.newuserphone : this.newrentphone
277
+ if (phone) {
278
+ let phoneRegex = /^1[3-9]\d{9}$/
279
+ if (!phoneRegex.test(phone)) {
280
+ this.$showAlert('请输入有效的电话号码(11位手机号码)', 'warning', 3000)
281
+ if (field === 'newuserphone') {
282
+ this.newuserphone = ''
283
+ } else {
284
+ this.newrentphone = ''
285
+ }
286
+ }
287
+ }
288
+ },
289
+ validateIdNumber () {
290
+ if (this.newuseridnumber) {
291
+ let idNumberRegex = /^[1-9]\d{5}(18|19|20)\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/
292
+ if (!idNumberRegex.test(this.newuseridnumber)) {
293
+ this.$showAlert('请输入有效的证件号码(18位身份证号码)', 'warning', 3000)
294
+ this.newuseridnumber = ''
295
+ }
296
+ }
297
+ },
298
+ async modifyUserSpecialReson () {
299
+ let param = {
300
+ new_reason: this.new_reason,
301
+ f_userinfo_id: this.data.f_userinfo_id,
302
+ f_user_id: this.data.f_user_id,
303
+ f_operator: this.$login.f.name,
304
+ f_operatorid: this.$login.f.id,
305
+ f_orgid: this.$login.f.orgid,
306
+ f_orgname: this.$login.f.orgs,
307
+ f_depid: this.$login.f.depids,
308
+ f_depname: this.$login.f.deps
309
+ }
310
+ await this.$resetpost('/api/af-revenue/logic/changeuserinfo', {data: param}, {resolveMsg: '修正成功', rejectMsg: null})
311
+ this.data.f_comments = this.new_reason
312
+ this.$parent.$parent.close()
313
+ this.$parent.$parent.clean()
314
+ this.$parent.$parent.$refs.list.searchNoData()
315
+ this.close()
316
+ },
317
+ async modifyUserIdNumberReason () {
318
+ let param = {
319
+ new_idnumber: this.newuseridnumber,
320
+ f_userinfo_id: this.data.f_userinfo_id,
321
+ f_user_id: this.data.f_user_id,
322
+ f_operator: this.$login.f.name,
323
+ f_operatorid: this.$login.f.id,
324
+ f_orgid: this.$login.f.orgid,
325
+ f_orgname: this.$login.f.orgs,
326
+ f_depid: this.$login.f.depids,
327
+ f_depname: this.$login.f.deps
328
+ }
329
+ await this.$resetpost('/api/af-revenue/logic/changeuserinfo', {data: param}, {resolveMsg: '修正成功', rejectMsg: null})
330
+ this.data.f_idnumber = this.newuseridnumber
331
+ this.$parent.$parent.close()
332
+ this.$parent.$parent.clean()
333
+ this.$parent.$parent.$refs.list.searchNoData()
334
+ this.close()
335
+ },
336
+ change_reason () {
337
+ // 修正客户电话
338
+ this.reason_show = true
339
+ this.new_reason = ''
340
+ },
341
+ dealmsg (val) {
342
+ if (val.f_userinfo_code !== '********') {
343
+ this.$dispatch('deal-msg', val)
344
+ }
345
+ },
346
+ changeuserphone () {
347
+ // 修正客户电话
348
+ this.showselectncuserinfo = true
349
+ this.newuserphone = ''
350
+ },
351
+ changeuseridnumber () {
352
+ // 修正客户证件号码
353
+ this.showselectncuseridnumber = true
354
+ this.newuseridnumber = ''
355
+ },
356
+ changerentphone () {
357
+ // 修正客户电话
358
+ this.showselectncuserrent = true
359
+ this.newrentphone = ''
360
+ },
361
+ async modifyUser () {
362
+ let param = {
363
+ new_userphone: this.newuserphone,
364
+ f_userinfo_id: this.data.f_userinfo_id,
365
+ f_user_id: this.data.f_user_id,
366
+ f_operator: this.$login.f.name,
367
+ f_operatorid: this.$login.f.id,
368
+ f_orgid: this.$login.f.orgid,
369
+ f_orgname: this.$login.f.orgs,
370
+ f_depid: this.$login.f.depids,
371
+ f_depname: this.$login.f.deps
372
+ }
373
+ await this.$resetpost('/api/af-revenue/logic/changeuserinfo', {data: param}, {resolveMsg: '修正成功', rejectMsg: null})
374
+ this.data.f_user_phone = this.newuserphone
375
+ this.$parent.$parent.close()
376
+ this.$parent.$parent.clean()
377
+ this.$parent.$parent.$refs.list.searchNoData()
378
+ this.close()
379
+ },
380
+ async modifyUserRent () {
381
+ let param = {
382
+ new_rentphone: this.newrentphone,
383
+ f_userinfo_id: this.data.f_userinfo_id,
384
+ f_user_id: this.data.f_user_id,
385
+ f_operator: this.$login.f.name,
386
+ f_operatorid: this.$login.f.id,
387
+ f_orgid: this.$login.f.orgid,
388
+ f_orgname: this.$login.f.orgs,
389
+ f_depid: this.$login.f.depids,
390
+ f_depname: this.$login.f.deps
391
+ }
392
+ await this.$resetpost('/api/af-revenue/logic/changeuserinfo', {data: param}, {resolveMsg: '修正成功', rejectMsg: null})
393
+ this.data.f_rent_phone = this.newrentphone
394
+ this.$parent.$parent.close()
395
+ this.$parent.$parent.clean()
396
+ this.$parent.$parent.$refs.list.searchNoData()
397
+ this.close()
398
+ },
399
+ close () {
400
+ this.showselectncuserinfo = false
401
+ this.showselectncuserrent = false
402
+ this.reason_show = false
403
+ this.showselectncuseridnumber = false
404
+ this.newuserphone = ''
405
+ this.new_reason = ''
406
+ this.new_idnumber = ''
407
+ }
408
+ },
409
+ watch: {
410
+ 'data' (val) {
411
+ }
412
+ }
413
+ }
414
+ </script>
415
+ <style scoped>
416
+ .clickchange:hover {
417
+ color: #3592ef;
418
+ cursor: pointer;
419
+ }
420
+ .highlight {
421
+ color: brown;
422
+ }
423
+
424
+ </style>
@@ -11,4 +11,6 @@ export default function () {
11
11
  Vue.component('change-meter', (resolve) => { require(['./ChangeMeter'], resolve) })
12
12
  Vue.component('charge-oper', (resolve) => { require(['./ChargeOper'], resolve) })
13
13
  Vue.component('charge-manage', (resolve) => { require(['./ChargeManage'], resolve) })
14
+ // 机表收费引导
15
+ Vue.component('sale-userinfo', (resolve) => { require(['./Userinfo.vue'], resolve) })
14
16
  }
@@ -448,7 +448,7 @@
448
448
  name = 'api/af-revenue/report/overuse_bill'
449
449
  } else if (type === '超用收费') {
450
450
  name = 'api/af-revenue/report/gascharge_bill'
451
- } else if (type === '其他收费' || type === '其他收费撤销') {
451
+ } else if (type === '其他收费' || type === '其他收费撤销' || type === '维修收费') {
452
452
  name = 'api/af-revenue/report/otherCharge_bill'
453
453
  } else if (type === '补卡') {
454
454
  name = 'api/af-revenue/report/replace_sell'
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/meihekou/sale'
5
+ import FilialeSale from './filiale/jinhuang/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'