sale-client 3.5.30 → 3.5.33
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/charge/ChargeManage.vue +13 -13
- package/src/components/chargeBatch/ChargeManageBatch.vue +1 -1
- package/src/components/chargeBatch/ChargeManageGroup.vue +1 -1
- package/src/components/chargeNew/ChargeManageNew.vue +1 -1
- package/src/components/revenue/Common/Movemeter.vue +1 -1
- package/src/components/revenue/comprehen/ComprehenOperation/OverCharge/OverUseCharge.vue +6 -0
- package/src/components/revenue/comprehen/StairPrice/GasPriceUser.vue +73 -40
- package/src/components/webMeter/paramSave/ParamSetForm.vue +1 -0
- package/src/filiale/dongguan/components/FilesManage/FileUserFiles.vue +26 -15
- package/src/filiale/gaomi/components/charge/ChargeManage.vue +5 -5
- package/src/filiale/gongyi/charge/ChargeManage.vue +1 -1
- package/src/filiale/guangxi/ChangeSendCard.vue +23 -0
- package/src/filiale/guangxi/sale.js +3 -3
- package/src/filiale/jinjiang/ChargeManage.vue +1 -1
- package/src/filiale/konggang/UserGeneralInfoTest.vue +661 -0
- package/src/filiale/konggang/sale.js +3 -1
- package/src/filiale/liaoyuan/ChargeManage.vue +13 -13
- package/src/filiale/macheng/ChargeManage.vue +1 -1
- package/src/filiale/meihekou/ChargeManage.vue +2 -2
- package/src/filiale/qianneng/HandManager.vue +7 -7
- package/src/filiale/qianneng/revenue/ChargeManage.vue +1 -1
- package/src/filiale/rongcheng/ChargeManage.vue +2 -2
- package/src/filiale/shaoguan/charge/ChargeManage.vue +1 -1
- package/src/filiale/tongchuan/ChargeManage.vue +3 -4
- package/src/filiale/tongchuan/StairPrice/GasPriceUser.vue +71 -38
- package/src/filiale/wuan/charge/ChargeManage.vue +2 -2
package/package.json
CHANGED
|
@@ -56,14 +56,14 @@ export default {
|
|
|
56
56
|
f_orgid: '',
|
|
57
57
|
row: null,
|
|
58
58
|
cardInfo: null,
|
|
59
|
-
warningInfo:null,
|
|
59
|
+
warningInfo: null,
|
|
60
60
|
modalrow: null,
|
|
61
61
|
showModal: false,
|
|
62
62
|
rowData: {},
|
|
63
63
|
dibao_remind: this.$appdata.getSingleValue('低保快到期提醒') ? this.$appdata.getSingleValue('低保快到期提醒') : 0,
|
|
64
64
|
show: [true],
|
|
65
|
-
selectFiled:'其他信息',
|
|
66
|
-
worktype:'其他信息'
|
|
65
|
+
selectFiled: '其他信息',
|
|
66
|
+
worktype: '其他信息'
|
|
67
67
|
}
|
|
68
68
|
},
|
|
69
69
|
ready () {
|
|
@@ -73,8 +73,8 @@ export default {
|
|
|
73
73
|
setsustainMoney () {
|
|
74
74
|
this.sustainMoney = window.localStorage.getItem('sustainMoney')
|
|
75
75
|
},
|
|
76
|
-
setField(type){
|
|
77
|
-
this.selectFiled=type
|
|
76
|
+
setField (type) {
|
|
77
|
+
this.selectFiled = type
|
|
78
78
|
this.worktype = type
|
|
79
79
|
},
|
|
80
80
|
async toBusiness (obj) {
|
|
@@ -83,7 +83,7 @@ export default {
|
|
|
83
83
|
// 对此数据进行验证
|
|
84
84
|
if (await this.validateRow(obj)) {
|
|
85
85
|
// 获取未写卡或者写卡失败记录
|
|
86
|
-
let getUnWriteSell = await this.$SqlService.singleTable('t_sellinggas', `f_state = '有效' and f_write_card
|
|
86
|
+
let getUnWriteSell = await this.$SqlService.singleTable('t_sellinggas', `f_state = '有效' and f_write_card in ('未写卡','写卡失败') and f_userfiles_id = '${obj.f_userfiles_id}'`)
|
|
87
87
|
console.log('获取未写卡记录', getUnWriteSell)
|
|
88
88
|
if (getUnWriteSell.data.length > 1) {
|
|
89
89
|
this.$showAlert('此卡已缴费多次未写卡。请核实后处理!!', 'warning', 5000)
|
|
@@ -109,13 +109,13 @@ export default {
|
|
|
109
109
|
console.log('查看传进来的参数:', obj)
|
|
110
110
|
this.warningInfo = await this.$resetpost('rs/logic/getWarningMsg',
|
|
111
111
|
{data: {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
112
|
+
f_userfiles_id: obj.f_userfiles_id,
|
|
113
|
+
f_userinfo_code: obj.f_userinfo_code,
|
|
114
|
+
f_userinfo_id: obj.f_userinfo_id
|
|
115
|
+
}
|
|
116
116
|
}
|
|
117
117
|
, {resolveMsg: '', rejectMsg: '获取提示失败'})
|
|
118
|
-
if (this.warningInfo.data.warningNum>0 && obj.f_user_state !== '预备') {
|
|
118
|
+
if (this.warningInfo.data.warningNum > 0 && obj.f_user_state !== '预备') {
|
|
119
119
|
this.modalrow = obj
|
|
120
120
|
this.showModal = true
|
|
121
121
|
return false
|
|
@@ -190,8 +190,8 @@ export default {
|
|
|
190
190
|
this.$refs.list.searchNoData()
|
|
191
191
|
this.$refs.card.search()
|
|
192
192
|
},
|
|
193
|
-
'resflushvalue'(){
|
|
194
|
-
this.$refs.info.$refs.valueaddinfo.reflush()
|
|
193
|
+
'resflushvalue' () {
|
|
194
|
+
this.$refs.info.$refs.valueaddinfo.reflush()
|
|
195
195
|
},
|
|
196
196
|
'refreshrow' (val) {
|
|
197
197
|
console.log(val)
|
|
@@ -56,7 +56,7 @@ export default {
|
|
|
56
56
|
// 对此数据进行验证
|
|
57
57
|
if (await this.validateRow(obj)) {
|
|
58
58
|
// 获取未写卡或者写卡失败记录
|
|
59
|
-
let getUnWriteSell = await this.$SqlService.singleTable('t_sellinggas', `f_state = '有效' and f_write_card
|
|
59
|
+
let getUnWriteSell = await this.$SqlService.singleTable('t_sellinggas', `f_state = '有效' and f_write_card in ('未写卡','写卡失败') and f_userfiles_id = '${obj.f_userfiles_id}'`)
|
|
60
60
|
console.log('获取未写卡记录', getUnWriteSell)
|
|
61
61
|
if (getUnWriteSell.data.length > 1) {
|
|
62
62
|
this.$showAlert('此卡已缴费多次未写卡。请核实后处理!!', 'warning', 5000)
|
|
@@ -56,7 +56,7 @@ export default {
|
|
|
56
56
|
// 对此数据进行验证
|
|
57
57
|
if (await this.validateRow(obj)) {
|
|
58
58
|
// 获取未写卡或者写卡失败记录
|
|
59
|
-
let getUnWriteSell = await this.$SqlService.singleTable('t_sellinggas', `f_state = '有效' and f_write_card
|
|
59
|
+
let getUnWriteSell = await this.$SqlService.singleTable('t_sellinggas', `f_state = '有效' and f_write_card in ('未写卡','写卡失败') and f_userfiles_id = '${obj.f_userfiles_id}'`)
|
|
60
60
|
console.log('获取未写卡记录', getUnWriteSell)
|
|
61
61
|
if (getUnWriteSell.data.length > 1) {
|
|
62
62
|
this.$showAlert('此卡已缴费多次未写卡。请核实后处理!!', 'warning', 5000)
|
|
@@ -70,7 +70,7 @@ export default {
|
|
|
70
70
|
// 对此数据进行验证
|
|
71
71
|
if (await this.validateRow(obj)) {
|
|
72
72
|
// 获取未写卡或者写卡失败记录
|
|
73
|
-
let getUnWriteSell = await this.$SqlService.singleTable('t_sellinggas', `f_state = '有效' and f_write_card
|
|
73
|
+
let getUnWriteSell = await this.$SqlService.singleTable('t_sellinggas', `f_state = '有效' and f_write_card in ('未写卡','写卡失败') and f_userfiles_id = '${obj.f_userfiles_id}'`)
|
|
74
74
|
console.log('获取未写卡记录', getUnWriteSell)
|
|
75
75
|
if (getUnWriteSell.data.length > 1) {
|
|
76
76
|
this.$showAlert('此卡已缴费多次未写卡。请核实后处理!!', 'warning', 5000)
|
|
@@ -373,7 +373,7 @@
|
|
|
373
373
|
let res = await this.$resetpost('rs/sql/singleTable_OrderBy', {data: {orderitem: 'f_userinfo_id',
|
|
374
374
|
items: '*',
|
|
375
375
|
tablename: 't_user_address',
|
|
376
|
-
condition: 'f_userinfo_id = ' + this.row.f_userinfo_id}})
|
|
376
|
+
condition: 'f_userinfo_id = ' + this.row.f_userinfo_id}},{resolveMsg: null,rejectMsg: null})
|
|
377
377
|
console.log('=============', res.data[0])
|
|
378
378
|
let data = {
|
|
379
379
|
f_pcd: res.data[0].f_pcd,
|
|
@@ -244,6 +244,12 @@ let overChargeGen = async function (self) {
|
|
|
244
244
|
self.$dispatch('success')
|
|
245
245
|
}
|
|
246
246
|
} catch (error) {
|
|
247
|
+
console.log('捕获到异常', error)
|
|
248
|
+
if (error instanceof Object) {
|
|
249
|
+
self.$showAlert(error.data, 'danger', 0)
|
|
250
|
+
} else {
|
|
251
|
+
self.$showAlert(error, 'danger', 0)
|
|
252
|
+
}
|
|
247
253
|
self.$showAlert(error, 'danger', 0)
|
|
248
254
|
self.$dispatch('refresh')
|
|
249
255
|
}
|
|
@@ -74,6 +74,16 @@
|
|
|
74
74
|
>
|
|
75
75
|
</v-select>
|
|
76
76
|
</div>
|
|
77
|
+
<div class="form-group col-sm-3">
|
|
78
|
+
<label class="font_normal_body">小区名称</label>
|
|
79
|
+
<v-select :value.sync="model.f_residential_area_id" v-model="model.f_residential_area_id"
|
|
80
|
+
:options='$parent.$parent.areaList' placeholder='小区名称'
|
|
81
|
+
close-on-select @select-search="$parent.$parent.getAreaList"
|
|
82
|
+
condition="f_residential_area_id = '{}'"
|
|
83
|
+
style="width: 60%"
|
|
84
|
+
>
|
|
85
|
+
</v-select>
|
|
86
|
+
</div>
|
|
77
87
|
</div>
|
|
78
88
|
</div>
|
|
79
89
|
</criteria>
|
|
@@ -216,7 +226,7 @@
|
|
|
216
226
|
model: new PagedList('rs/sql/getGasUser', 20, {}),
|
|
217
227
|
condition: '',
|
|
218
228
|
criteriaShow2: false,
|
|
219
|
-
gasproperties1:[],
|
|
229
|
+
gasproperties1: [],
|
|
220
230
|
getfield: {},
|
|
221
231
|
show: false,
|
|
222
232
|
gasproperties: [],
|
|
@@ -228,18 +238,19 @@
|
|
|
228
238
|
pricename: '',
|
|
229
239
|
f_comments: ''
|
|
230
240
|
},
|
|
231
|
-
oldinfo:{
|
|
232
|
-
f_user_type:'',
|
|
233
|
-
f_gasproperties:'',
|
|
234
|
-
f_price_type:'',
|
|
235
|
-
f_price_name:'',
|
|
236
|
-
f_price_id:'',
|
|
237
|
-
f_stairprice_id:''
|
|
241
|
+
oldinfo: {
|
|
242
|
+
f_user_type: '',
|
|
243
|
+
f_gasproperties: '',
|
|
244
|
+
f_price_type: '',
|
|
245
|
+
f_price_name: '',
|
|
246
|
+
f_price_id: '',
|
|
247
|
+
f_stairprice_id: ''
|
|
238
248
|
},
|
|
239
|
-
|
|
249
|
+
areaList: [],
|
|
250
|
+
gongyetype: this.$appdata.getParam('用气类别') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('用气类别')] : [],
|
|
240
251
|
usertypes: this.$appdata.getParam('用户类型') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')] : [],
|
|
241
252
|
pricetypes: this.$appdata.getParam('气价类型') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')] : [],
|
|
242
|
-
meters: this.$appdata.getParam('气表类型') ? [{label: '全部',value: ''}, ...this.$appdata.getParam('气表类型')] : [],
|
|
253
|
+
meters: this.$appdata.getParam('气表类型') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')] : [],
|
|
243
254
|
adjustpricereasons: this.$appdata.getParam('批量调价原因'),
|
|
244
255
|
config: {
|
|
245
256
|
excelHeaders: {
|
|
@@ -258,8 +269,33 @@
|
|
|
258
269
|
this.search()
|
|
259
270
|
this.getfield = this.config.excelHeaders
|
|
260
271
|
loadParamGem(this)
|
|
272
|
+
this.getAreaList()
|
|
261
273
|
},
|
|
262
274
|
methods: {
|
|
275
|
+
getAreaList (searchText) {
|
|
276
|
+
let condition = ' 1 = 1 '
|
|
277
|
+
if (searchText) {
|
|
278
|
+
condition = ` f_residential_area like '%${searchText}%' `
|
|
279
|
+
}
|
|
280
|
+
let HttpReset = new HttpResetClass()
|
|
281
|
+
HttpReset.load('POST', 'rs/sql/saleSingleTable?pageNo=1&pageSize=100', {
|
|
282
|
+
data: {
|
|
283
|
+
items: 'f_residential_area, id',
|
|
284
|
+
tablename: 't_area',
|
|
285
|
+
orderitem: 'id desc',
|
|
286
|
+
condition: condition
|
|
287
|
+
}
|
|
288
|
+
}, {resolveMsg: null, rejectMsg: '获取小区信息失败!'}).then((req) => {
|
|
289
|
+
let redata = []
|
|
290
|
+
req.data.forEach((row, n) => {
|
|
291
|
+
redata[n] = {
|
|
292
|
+
label: row.f_residential_area,
|
|
293
|
+
value: row.id
|
|
294
|
+
}
|
|
295
|
+
})
|
|
296
|
+
this.areaList = [{label: '全部', value: ''}, ...redata]
|
|
297
|
+
})
|
|
298
|
+
},
|
|
263
299
|
userTypeChange1 () {
|
|
264
300
|
this.gasproperties1 = []
|
|
265
301
|
if (this.$refs.paged.$refs.criteria.model !== null) {
|
|
@@ -304,7 +340,7 @@
|
|
|
304
340
|
condition: condition,
|
|
305
341
|
fileuploadid: fileuploadid
|
|
306
342
|
}
|
|
307
|
-
if(this.priceid){
|
|
343
|
+
if (this.priceid) {
|
|
308
344
|
if (this.newinfo.pricename[0].f_price_id == this.model.rows[0].f_price_id) {
|
|
309
345
|
this.$showMessage('选择的气价和当前气价相同, 请重新选择')
|
|
310
346
|
return
|
|
@@ -318,9 +354,8 @@
|
|
|
318
354
|
param.f_stairprice_id_old = this.model.rows[0].f_stairprice_id
|
|
319
355
|
let res = await this.$resetpost('rs/logic/pricechangeall', {data: param}, {resolveMsg: '更新成功', rejectMsg: '更新失败'})
|
|
320
356
|
this.$showMessage(`成功批量修改了${res.data}位用户的气价`)
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
param.oldinfo=this.param
|
|
357
|
+
} else {
|
|
358
|
+
param.oldinfo = this.param
|
|
324
359
|
let res = await this.$resetpost('rs/logic/pricechangebatch', {data: param}, {resolveMsg: '更新成功', rejectMsg: '更新失败'})
|
|
325
360
|
this.$showMessage(`成功批量修改了${res.data}位用户的气价`)
|
|
326
361
|
}
|
|
@@ -338,47 +373,45 @@
|
|
|
338
373
|
this.$refs.paged.$refs.criteria.search()
|
|
339
374
|
},
|
|
340
375
|
changeprice () {
|
|
341
|
-
let rowdata = this.$refs.paged.$refs.grid.getRowData().length>0? this.$refs.paged.$refs.grid.getRowData():this.model.rows
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
{
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
if (rowdata[i].f_user_type !== rowdata[i-1].f_user_type) {
|
|
376
|
+
let rowdata = this.$refs.paged.$refs.grid.getRowData().length > 0 ? this.$refs.paged.$refs.grid.getRowData() : this.model.rows
|
|
377
|
+
if (this.priceid && this.model.rows.length > 0) {
|
|
378
|
+
this.oldinfo = {
|
|
379
|
+
f_user_type: this.model.rows[0].f_user_type,
|
|
380
|
+
f_gasproperties: this.model.rows[0].f_gasproperties,
|
|
381
|
+
f_price_type: this.model.rows[0].f_price_type,
|
|
382
|
+
f_price_name: this.model.rows[0].f_price_name,
|
|
383
|
+
f_price_id: this.model.rows[0].f_price_id,
|
|
384
|
+
f_stairprice_id: this.model.rows[0].f_stairprice_id
|
|
385
|
+
}
|
|
386
|
+
} else {
|
|
387
|
+
this.oldinfo = {
|
|
388
|
+
f_user_type: rowdata[0].f_user_type,
|
|
389
|
+
f_gasproperties: rowdata[0].f_gasproperties,
|
|
390
|
+
f_price_type: rowdata[0].f_price_type,
|
|
391
|
+
f_price_name: rowdata[0].f_price_name
|
|
392
|
+
}
|
|
393
|
+
for (var i = 1; i < rowdata.length; i++) {
|
|
394
|
+
if (rowdata[i].f_user_type !== rowdata[i - 1].f_user_type) {
|
|
361
395
|
this.oldinfo.f_user_type = ''
|
|
362
396
|
}
|
|
363
|
-
if (rowdata[i].f_gasproperties !== rowdata[i-1].f_gasproperties) {
|
|
397
|
+
if (rowdata[i].f_gasproperties !== rowdata[i - 1].f_gasproperties) {
|
|
364
398
|
this.oldinfo.f_gasproperties = ''
|
|
365
399
|
}
|
|
366
|
-
if (rowdata[i].f_price_type !== rowdata[i-1].f_price_type) {
|
|
400
|
+
if (rowdata[i].f_price_type !== rowdata[i - 1].f_price_type) {
|
|
367
401
|
this.oldinfo.f_price_type = ''
|
|
368
402
|
}
|
|
369
|
-
if (rowdata[i].f_price_name != rowdata[i-1].f_price_name) {
|
|
403
|
+
if (rowdata[i].f_price_name != rowdata[i - 1].f_price_name) {
|
|
370
404
|
this.oldinfo.f_price_name = ''
|
|
371
405
|
}
|
|
372
406
|
}
|
|
373
|
-
|
|
374
407
|
}
|
|
375
408
|
this.show = true
|
|
376
409
|
},
|
|
377
410
|
selfSearch (args) {
|
|
378
411
|
this.$refs.paged.$refs.grid.selectInit()
|
|
379
|
-
if(this.priceid){
|
|
412
|
+
if (this.priceid) {
|
|
380
413
|
args.condition = `${args.condition} and f_price_id = '${this.priceid}'`
|
|
381
|
-
}else{
|
|
414
|
+
} else {
|
|
382
415
|
args.condition = `${args.condition} and f_orgid = '${this.$login.f.orgid}'`
|
|
383
416
|
}
|
|
384
417
|
this.condition = args.condition
|
|
@@ -237,6 +237,7 @@ export default {
|
|
|
237
237
|
let data = {}
|
|
238
238
|
data.param_group = this.newmeterinfo[i].name
|
|
239
239
|
data.param_name = this.newmeterinfo[i].params[j].name
|
|
240
|
+
data.tag = this.newmeterinfo[i].params[j].tag
|
|
240
241
|
data.param_value = this.row[key] ? (this.row[key].code ? this.row[key].code : this.row[key]) : null
|
|
241
242
|
data.param_content = this.row[key] ? (this.row[key].content ? this.row[key].content : this.row[key]) : null
|
|
242
243
|
data.param_lname = this.newmeterinfo[i].params[j].title
|
|
@@ -7,7 +7,14 @@
|
|
|
7
7
|
<criteria @condition-changed="$parent.selfSearch" partial='criteria' v-ref:criteria>
|
|
8
8
|
<div class="form-horizontal select-overspread container-fluid auto" novalidate partial>
|
|
9
9
|
<div class="row">
|
|
10
|
-
|
|
10
|
+
<div
|
|
11
|
+
:class="{'col-sm-2':!$parent.$parent.createFile,'col-sm-4':$parent.$parent.createFile}"
|
|
12
|
+
class="form-group">
|
|
13
|
+
<label class="font_normal_body">客户电话</label>
|
|
14
|
+
<input class="input_search" condition="f_user_phone = '{}'" placeholder='客户电话' style="width:60%"
|
|
15
|
+
type="text"
|
|
16
|
+
v-model="model.f_user_phone">
|
|
17
|
+
</div>
|
|
11
18
|
<div
|
|
12
19
|
:class="{'col-sm-2':!$parent.$parent.createFile,'col-sm-4':$parent.$parent.createFile}"
|
|
13
20
|
class="form-group"
|
|
@@ -17,8 +24,6 @@
|
|
|
17
24
|
placeholder='客户编号'
|
|
18
25
|
style="width:60%" type="text" v-model="model.f_userinfo_code">
|
|
19
26
|
</div>
|
|
20
|
-
<res-select-group v-if="$parent.$parent.clientWidth<1600&&!$parent.$parent.createFile" :style="$parent.$parent.createFile?'col-sm-4':'col-sm-2'" :initres="$parent.$parent.initres" :show-component="['company','department','operator']" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
21
|
-
|
|
22
27
|
<div
|
|
23
28
|
:class="{'col-sm-2':!$parent.$parent.createFile,'col-sm-4':$parent.$parent.createFile}"
|
|
24
29
|
class="form-group"
|
|
@@ -28,7 +33,6 @@
|
|
|
28
33
|
placeholder='客户编号'
|
|
29
34
|
style="width:60%" type="text" v-model="model.f_userinfo_code">
|
|
30
35
|
</div>
|
|
31
|
-
|
|
32
36
|
<div
|
|
33
37
|
:class="{'col-sm-2':!$parent.$parent.createFile,'col-sm-4':$parent.$parent.createFile}"
|
|
34
38
|
class="form-group" v-if="!$parent.$parent.createFile">
|
|
@@ -86,7 +90,6 @@
|
|
|
86
90
|
</div>
|
|
87
91
|
</div>
|
|
88
92
|
<div class="row" v-if="$parent.$parent.criteriaShow">
|
|
89
|
-
|
|
90
93
|
<div
|
|
91
94
|
:class="{'col-sm-2':!$parent.$parent.createFile,'col-sm-4':$parent.$parent.createFile}"
|
|
92
95
|
class="form-group"
|
|
@@ -96,8 +99,19 @@
|
|
|
96
99
|
placeholder='客户编号'
|
|
97
100
|
style="width:60%" type="text" v-model="model.f_userinfo_code">
|
|
98
101
|
</div>
|
|
99
|
-
|
|
100
|
-
<
|
|
102
|
+
<!-- 身份证号-->
|
|
103
|
+
<div
|
|
104
|
+
:class="{'col-sm-2':!$parent.$parent.createFile,'col-sm-4':$parent.$parent.createFile}"
|
|
105
|
+
class="form-group">
|
|
106
|
+
<label class="font_normal_body">身份证号</label>
|
|
107
|
+
<input class="input_search" condition="f_idnumber = '{}'" placeholder='身份证号'
|
|
108
|
+
style="width:60%"
|
|
109
|
+
type="text"
|
|
110
|
+
v-model="model.f_idnumber">
|
|
111
|
+
</div>
|
|
112
|
+
<!-- <res-select-group v-if="$parent.$parent.clientWidth<1600&&!$parent.$parent.createFile" :style="$parent.$parent.createFile?'col-sm-4':'col-sm-2'" :initres="$parent.$parent.initres" :show-component="['company','department','operator']" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>-->
|
|
113
|
+
<!-- <res-select-group v-if="$parent.$parent.clientWidth<1600&&$parent.$parent.createFile" :style="$parent.$parent.createFile?'col-sm-4':'col-sm-2'" :initres="$parent.$parent.initres" :show-component="['company','department','operator']" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>-->
|
|
114
|
+
<res-select-group :style="$parent.$parent.createFile?'col-sm-4':'col-sm-2'" :initres="$parent.$parent.initres" :show-component="['company','department','operator']" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
101
115
|
|
|
102
116
|
<div
|
|
103
117
|
:class="{'col-sm-2':!$parent.$parent.createFile,'col-sm-4':$parent.$parent.createFile}"
|
|
@@ -156,14 +170,6 @@
|
|
|
156
170
|
<!-- close-on-select condition="f_meter_brand='{}'"-->
|
|
157
171
|
<!-- placeholder='气表品牌' v-model="model.f_meter_brand"></v-select>-->
|
|
158
172
|
<!-- </div>-->
|
|
159
|
-
<div
|
|
160
|
-
:class="{'col-sm-2':!$parent.$parent.createFile,'col-sm-4':$parent.$parent.createFile}"
|
|
161
|
-
class="form-group">
|
|
162
|
-
<label class="font_normal_body">客户电话</label>
|
|
163
|
-
<input class="input_search" condition="f_user_phone = '{}'" placeholder='客户电话' style="width:60%"
|
|
164
|
-
type="text"
|
|
165
|
-
v-model="model.f_user_phone">
|
|
166
|
-
</div>
|
|
167
173
|
<div
|
|
168
174
|
:class="{'col-sm-2':!$parent.$parent.createFile,'col-sm-4':$parent.$parent.createFile}"
|
|
169
175
|
class="form-group">
|
|
@@ -298,6 +304,9 @@
|
|
|
298
304
|
<th>
|
|
299
305
|
<nobr>客户名称</nobr>
|
|
300
306
|
</th>
|
|
307
|
+
<th>
|
|
308
|
+
<nobr>身份证号</nobr>
|
|
309
|
+
</th>
|
|
301
310
|
<th>
|
|
302
311
|
<nobr>表号</nobr>
|
|
303
312
|
</th>
|
|
@@ -349,6 +358,8 @@
|
|
|
349
358
|
<td style="text-align: center;">
|
|
350
359
|
<span @click="$parent.$parent.$parent.dealmsg(row)"><a><b>{{row.f_user_name}}</b></a></span>
|
|
351
360
|
</td>
|
|
361
|
+
<!-- 身份证号-->
|
|
362
|
+
<td style="text-align: center;">{{row.f_idnumber}}</td>
|
|
352
363
|
<td style="text-align: center;">{{row.f_meternumber}}</td>
|
|
353
364
|
<td style="text-align: center;">{{row.f_card_id}}</td>
|
|
354
365
|
<td style="text-align: center;">{{row.f_user_phone}}</td>
|
|
@@ -53,7 +53,7 @@ export default {
|
|
|
53
53
|
listpage: true,
|
|
54
54
|
f_orgid: '',
|
|
55
55
|
row: null,
|
|
56
|
-
state:'已领',
|
|
56
|
+
state: '已领',
|
|
57
57
|
cardInfo: null,
|
|
58
58
|
modaldata: null,
|
|
59
59
|
modaldata2: null,
|
|
@@ -77,7 +77,7 @@ export default {
|
|
|
77
77
|
this.$showMessage(msg, ['confirm', 'cancel']).then((res) => {
|
|
78
78
|
if (res === 'confirm') {
|
|
79
79
|
// 获取未写卡或者写卡失败记录
|
|
80
|
-
this.$SqlService.singleTable('t_sellinggas', `f_state = '有效' and f_write_card
|
|
80
|
+
this.$SqlService.singleTable('t_sellinggas', `f_state = '有效' and f_write_card in ('未写卡','写卡失败') and f_userfiles_id = '${obj.f_userfiles_id}'`).then((getUnWriteSell) => {
|
|
81
81
|
console.log('获取未写卡记录', getUnWriteSell)
|
|
82
82
|
if (getUnWriteSell.data.length > 1) {
|
|
83
83
|
this.$showAlert('此卡已缴费多次未写卡。请核实后处理!!', 'warning', 5000)
|
|
@@ -94,7 +94,7 @@ export default {
|
|
|
94
94
|
})
|
|
95
95
|
} else {
|
|
96
96
|
// 获取未写卡或者写卡失败记录
|
|
97
|
-
let getUnWriteSell = await this.$SqlService.singleTable('t_sellinggas', `f_state = '有效' and f_write_card
|
|
97
|
+
let getUnWriteSell = await this.$SqlService.singleTable('t_sellinggas', `f_state = '有效' and f_write_card in ('未写卡','写卡失败') and f_userfiles_id = '${obj.f_userfiles_id}'`)
|
|
98
98
|
console.log('获取未写卡记录', getUnWriteSell)
|
|
99
99
|
if (getUnWriteSell.data.length > 1) {
|
|
100
100
|
this.$showAlert('此卡已缴费多次未写卡。请核实后处理!!', 'warning', 5000)
|
|
@@ -120,9 +120,9 @@ export default {
|
|
|
120
120
|
this.$refs.list.search()
|
|
121
121
|
// this.$refs.card.search()
|
|
122
122
|
},
|
|
123
|
-
setstate(state){
|
|
123
|
+
setstate (state) {
|
|
124
124
|
console.log('-----------state----')
|
|
125
|
-
this.state=state?'已领':'未领'
|
|
125
|
+
this.state = state ? '已领' : '未领'
|
|
126
126
|
},
|
|
127
127
|
async validateRow (obj) {
|
|
128
128
|
console.log('查看传进来的参数:', obj)
|
|
@@ -67,7 +67,7 @@ export default {
|
|
|
67
67
|
// 对此数据进行验证
|
|
68
68
|
if (await this.validateRow(obj)) {
|
|
69
69
|
// 获取未写卡或者写卡失败记录
|
|
70
|
-
let getUnWriteSell = await this.$SqlService.singleTable('t_sellinggas', `f_state = '有效' and f_write_card
|
|
70
|
+
let getUnWriteSell = await this.$SqlService.singleTable('t_sellinggas', `f_state = '有效' and f_write_card in ('未写卡','写卡失败') and f_userfiles_id = '${obj.f_userfiles_id}'`)
|
|
71
71
|
console.log('获取未写卡记录', getUnWriteSell)
|
|
72
72
|
if (getUnWriteSell.data.length > 1) {
|
|
73
73
|
this.$showAlert('此卡已缴费多次未写卡。请核实后处理!!', 'warning', 5000)
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="auto">
|
|
3
|
+
<card-change-fill v-if="row.f_meter_type.includes('卡表')||(row.f_meter_type.includes('物联网表') && row.f_open_type ==='发卡开户')" :row.sync="row"></card-change-fill>
|
|
4
|
+
<iot-change-fill v-if="row.f_meter_type.includes('物联网表')&& row.f_open_type !=='发卡开户'" :row.sync="row"></iot-change-fill>
|
|
5
|
+
<machine-change-fill v-if="row.f_meter_type.includes('机表')" :row.sync="row"></machine-change-fill>
|
|
6
|
+
</div>
|
|
7
|
+
</template>
|
|
8
|
+
<script>
|
|
9
|
+
import IotChangeFill from '../../components/charge/business/IOT/IotChangeFill'
|
|
10
|
+
import CardChangeFill from './CardChangeFill'
|
|
11
|
+
import MachineChangeFill from '../../components/charge/business/machine/MachineChangeFill'
|
|
12
|
+
|
|
13
|
+
export default {
|
|
14
|
+
components: {CardChangeFill, IotChangeFill, MachineChangeFill},
|
|
15
|
+
title: '换表补气',
|
|
16
|
+
data () {
|
|
17
|
+
return {
|
|
18
|
+
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
props: ['row']
|
|
22
|
+
}
|
|
23
|
+
</script>
|
|
@@ -7,9 +7,9 @@ let specialComp = {
|
|
|
7
7
|
'card-meter-charge-cancel': (resolve) => { require(['./CardMeterChargeCancel'], resolve) },
|
|
8
8
|
// 线下写卡操作
|
|
9
9
|
'un-write-card-center': (resolve) => { require(['./UnWriteCardCenter'], resolve) },
|
|
10
|
-
// 补气购气
|
|
11
|
-
'change_fill_sendcard': (resolve) => { require(['./CardChangeFill'], resolve) },
|
|
12
10
|
// 其它补气
|
|
13
|
-
'other-gas': (resolve) => { require(['./OtherGas'], resolve) }
|
|
11
|
+
'other-gas': (resolve) => { require(['./OtherGas'], resolve) },
|
|
12
|
+
// 其它补气
|
|
13
|
+
'change_fill_sendcard': (resolve) => { require(['./ChangeSendCard'], resolve) }
|
|
14
14
|
}
|
|
15
15
|
exports.specialComp = specialComp
|
|
@@ -70,7 +70,7 @@ export default {
|
|
|
70
70
|
// 对此数据进行验证
|
|
71
71
|
if (await this.validateRow(obj)) {
|
|
72
72
|
// 获取未写卡或者写卡失败记录
|
|
73
|
-
let getUnWriteSell = await this.$SqlService.singleTable('t_sellinggas', `f_state = '有效' and f_write_card
|
|
73
|
+
let getUnWriteSell = await this.$SqlService.singleTable('t_sellinggas', `f_state = '有效' and f_write_card in ('未写卡','写卡失败') and f_userfiles_id = '${obj.f_userfiles_id}'`)
|
|
74
74
|
console.log('获取未写卡记录', getUnWriteSell)
|
|
75
75
|
if (getUnWriteSell.data.length > 1) {
|
|
76
76
|
this.$showAlert('此卡已缴费多次未写卡。请核实后处理!!', 'warning', 5000)
|