sale-client 3.4.183 → 3.4.186
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/UserFireInfo.vue +5 -0
- package/src/components/FilesManage/UserGeneralInfoTest.vue +24 -20
- package/src/components/charge/ChargeList.vue +20 -6
- package/src/components/charge/gasloss/gasLossOperate.vue +1 -1
- package/src/components/revenue/HandManager/CardHand.vue +5 -0
- package/src/components/revenue/base/leftview/meterinfodetail.vue +225 -225
- package/src/components/revenue/comprehen/ComprehenOperation/OffGasAddGas/OffGasAddGas.vue +1 -1
- package/src/components/revenue/comprehen/Maintenance/otherRecords/OtherMaintenanceLists.vue +1 -0
- package/src/components/revenue/comprehen/StairPrice/GasPriceUser.vue +1 -0
- package/src/components/revenue/comprehen/common/ImportExcel.vue +139 -0
- package/src/filiale/jingwei/CardHand.vue +5 -0
- package/src/filiale/macheng/UserBaseInfoNew.vue +4 -4
- package/src/filiale/qianneng/ChangeMeter.vue +41 -31
- package/src/filiale/rongcheng/OrderLinkDetail.vue +17 -13
- package/src/plugins/ChangeMeterService.js +1 -1
- package/src/sale.js +2 -0
- package/yarn-error.log +9224 -0
package/package.json
CHANGED
|
@@ -340,6 +340,11 @@
|
|
|
340
340
|
<input type="text" class="input_search" style="width:60%" v-model="fireinfo.f_contact_method"
|
|
341
341
|
placeholder='通讯方式' >
|
|
342
342
|
</div>
|
|
343
|
+
<div class="col-sm-3 form-group" style="padding-right: 5px;">
|
|
344
|
+
<label class="font_normal_body">   管道表封</label>
|
|
345
|
+
<input type="text" class="input_search" style="width:60%" v-model="fireinfo.f_piple_number"
|
|
346
|
+
placeholder='管道表封' >
|
|
347
|
+
</div>
|
|
343
348
|
<div class="col-sm-3 form-group" style="padding-right: 5px;">
|
|
344
349
|
<label class="font_normal_body">   点火人员</label>
|
|
345
350
|
<input type="text" class="input_search" style="width:60%" v-model="fireinfo.f_lgniter"
|
|
@@ -82,9 +82,9 @@
|
|
|
82
82
|
<div class="row">
|
|
83
83
|
<div class="col-sm-12 form-group" >
|
|
84
84
|
<label for="f_paper_account" class="col-sm-2 font_normal_body " title="参数:变更原因">变更原因:</label>
|
|
85
|
-
<v-select v-model="reason" style="width:60%"
|
|
85
|
+
<v-select v-model="fileSaveData.reason" style="width:60%"
|
|
86
86
|
placeholder='变更原因'
|
|
87
|
-
:value.sync="reason"
|
|
87
|
+
:value.sync="fileSaveData.reason"
|
|
88
88
|
:options='reasons'
|
|
89
89
|
:value-single="true"
|
|
90
90
|
v-ref:reason
|
|
@@ -93,12 +93,12 @@
|
|
|
93
93
|
</div>
|
|
94
94
|
<div class="row">
|
|
95
95
|
<div class="col-sm-2"></div>
|
|
96
|
-
<input v-if="reason==='其他'" class="input_search" style="width:60%" placeholder='修改原因' v-model="fileSaveData.modifyReason"/>
|
|
96
|
+
<input v-if="fileSaveData.reason==='其他'" class="input_search" style="width:60%" placeholder='修改原因' v-model="fileSaveData.modifyReason"/>
|
|
97
97
|
</div>
|
|
98
98
|
</article>
|
|
99
99
|
<footer slot="modal-footer" class="modal-footer">
|
|
100
100
|
<button type="button" class="btn btn-default" @click='filechangeDetailsShow = false'>取消</button>
|
|
101
|
-
<button type="button" class="btn btn-success" :disabled="!fileSaveData.modifyReason" @click='confirmation()'>确认</button>
|
|
101
|
+
<button type="button" class="btn btn-success" :disabled="!fileSaveData.reason || (fileSaveData.reason === '其他' && !fileSaveData.modifyReason)" @click='confirmation()'>确认</button>
|
|
102
102
|
</footer>
|
|
103
103
|
</modal>
|
|
104
104
|
</div>
|
|
@@ -117,11 +117,11 @@ let getFileGen = async function (self, data) {
|
|
|
117
117
|
rejectMsg: '用户详细信息加载失败,请重新选择,如果多次失败,请检查系统是否正常!'
|
|
118
118
|
})
|
|
119
119
|
self.data = result.data
|
|
120
|
-
self.data.meterinfo.forEach((item)=>{
|
|
121
|
-
item.devicesinfo.forEach((item2)=>{
|
|
122
|
-
if(item2.img.content){
|
|
123
|
-
let URL = item2.img.content.substring(item2.img.content.lastIndexOf(':\\') +2)
|
|
124
|
-
item2.img.content = 'http://' + location.host + '/' +
|
|
120
|
+
self.data.meterinfo.forEach((item) => {
|
|
121
|
+
item.devicesinfo.forEach((item2) => {
|
|
122
|
+
if (item2.img.content) {
|
|
123
|
+
let URL = item2.img.content.substring(item2.img.content.lastIndexOf(':\\') + 2)
|
|
124
|
+
item2.img.content = 'http://' + location.host + '/' + URL
|
|
125
125
|
}
|
|
126
126
|
})
|
|
127
127
|
})
|
|
@@ -170,11 +170,11 @@ export default {
|
|
|
170
170
|
fireinfo: {}
|
|
171
171
|
}],
|
|
172
172
|
devicesinfo: [],
|
|
173
|
-
fireinfo:{},
|
|
173
|
+
fireinfo: {},
|
|
174
174
|
address: {
|
|
175
175
|
id: '',
|
|
176
176
|
f_address: '',
|
|
177
|
-
f_address_state:''
|
|
177
|
+
f_address_state: ''
|
|
178
178
|
}
|
|
179
179
|
},
|
|
180
180
|
show_userinfodevices: false,
|
|
@@ -202,7 +202,8 @@ export default {
|
|
|
202
202
|
defaultMeterInfo: '', // 默认的表具信息
|
|
203
203
|
fileSaveData: {
|
|
204
204
|
// 修改原因
|
|
205
|
-
modifyReason: ''
|
|
205
|
+
modifyReason: '',
|
|
206
|
+
reason: ''
|
|
206
207
|
},
|
|
207
208
|
// 档案变更明细
|
|
208
209
|
filechangeDetails: {rows: []},
|
|
@@ -243,7 +244,7 @@ export default {
|
|
|
243
244
|
},
|
|
244
245
|
methods: {
|
|
245
246
|
async getOvedueset () {
|
|
246
|
-
let overdueset= []
|
|
247
|
+
let overdueset = []
|
|
247
248
|
let res = await this.$resetpost('rs/sql/saleSingleTable', {
|
|
248
249
|
data: {
|
|
249
250
|
tablename: 't_overdue_set',
|
|
@@ -280,7 +281,7 @@ export default {
|
|
|
280
281
|
this.$resetpost('rs/logic/openBankAccount', {f_userinfo_code: this.data.baseinfo.base.f_userinfo_code, f_username: this.data.baseinfo.base.f_user_name},
|
|
281
282
|
{resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
282
283
|
this.$showMessage(res.data.resultmessage)
|
|
283
|
-
|
|
284
|
+
})
|
|
284
285
|
},
|
|
285
286
|
async confirm () {
|
|
286
287
|
this.data.addressinfo.f_address = this.$refs.useressential.addressinfo.f_address
|
|
@@ -297,7 +298,7 @@ export default {
|
|
|
297
298
|
this.data.baseinfo.base.version = this.row.version
|
|
298
299
|
}
|
|
299
300
|
console.log('档案保存之前,。。。', this.data)
|
|
300
|
-
if(this.data.meterinfo[0].f_gas_date != null){
|
|
301
|
+
if (this.data.meterinfo[0].f_gas_date != null) {
|
|
301
302
|
this.data.addressinfo.f_address_state = '已通气'
|
|
302
303
|
}
|
|
303
304
|
// 获取保存数据
|
|
@@ -325,6 +326,9 @@ export default {
|
|
|
325
326
|
// return
|
|
326
327
|
// }
|
|
327
328
|
// }
|
|
329
|
+
if (this.fileSaveData.reason && this.fileSaveData.reason !== '其他') {
|
|
330
|
+
this.fileSaveData.modifyReason = this.fileSaveData.reason
|
|
331
|
+
}
|
|
328
332
|
this.$FileManageService.fileSave(this.fileSaveData).then((res) => {
|
|
329
333
|
this.$parent.resdata = res.data.result[0].f_userinfo_code
|
|
330
334
|
if (!this.row) {
|
|
@@ -515,16 +519,16 @@ export default {
|
|
|
515
519
|
// 用户电话
|
|
516
520
|
f_user_phone: '',
|
|
517
521
|
f_people_num: 0,
|
|
518
|
-
f_packaging:'',
|
|
522
|
+
f_packaging: '',
|
|
519
523
|
// 备用电话
|
|
520
524
|
f_rent_phone: '',
|
|
521
525
|
f_credentials: '身份证',
|
|
522
526
|
f_cost_type: '',
|
|
523
|
-
f_bz_type:'',
|
|
527
|
+
f_bz_type: '',
|
|
524
528
|
f_address: '',
|
|
525
529
|
addressid: '',
|
|
526
530
|
f_idnumber: '',
|
|
527
|
-
f_meter_book_num:''
|
|
531
|
+
f_meter_book_num: ''
|
|
528
532
|
},
|
|
529
533
|
bank: {}
|
|
530
534
|
},
|
|
@@ -572,8 +576,8 @@ export default {
|
|
|
572
576
|
f_detailprice: '', // 价格详情显示
|
|
573
577
|
devicesinfo: [], // 设备信息
|
|
574
578
|
f_hand_month: '', // 抄表月份
|
|
575
|
-
fireinfo:{},
|
|
576
|
-
f_meter_book_num:''
|
|
579
|
+
fireinfo: {}, // 用气信息
|
|
580
|
+
f_meter_book_num: ''
|
|
577
581
|
}],
|
|
578
582
|
devicesinfo: []
|
|
579
583
|
}
|
|
@@ -455,7 +455,7 @@
|
|
|
455
455
|
getUser = await self.$resetpost('rs/sql/sale_getUser', {
|
|
456
456
|
data: {
|
|
457
457
|
condition: `f_meter_type in ('机表','物联网表') and u.f_card_id='${self.cardInfo.CardID}'
|
|
458
|
-
and u.f_filialeid = '${self.$login.f.orgid}' and f_whether_hairpin != '未发'`,
|
|
458
|
+
and u.f_filialeid = '${self.$login.f.orgid}' and f_whether_hairpin != '未发' `,
|
|
459
459
|
orderitem: `${self.orderitem} Desc`
|
|
460
460
|
}
|
|
461
461
|
}, {resolveMsg: '读卡成功', rejectMsg: '读卡失败'})
|
|
@@ -464,10 +464,17 @@
|
|
|
464
464
|
getUser = await self.$resetpost('rs/sql/sale_getUser', {
|
|
465
465
|
data: {
|
|
466
466
|
condition: `gb.f_meter_type in ('气量卡表', '金额卡表','物联网表') and u.f_card_id='${self.cardInfo.CardID}'
|
|
467
|
-
and u.f_filialeid = '${self.$login.f.orgid}' and f_alias='${self.cardInfo.Factory}'
|
|
467
|
+
and u.f_filialeid = '${self.$login.f.orgid}' and f_alias='${self.cardInfo.Factory}'
|
|
468
|
+
and f_whether_hairpin != '未发' and u.f_user_state != '销户'`,
|
|
468
469
|
orderitem: `${self.orderitem} Desc`
|
|
469
470
|
}
|
|
470
|
-
}, {resolveMsg:
|
|
471
|
+
}, {resolveMsg: null, rejectMsg: null})
|
|
472
|
+
if(getUser.data.length === 0){
|
|
473
|
+
self.$showAlert('该卡号用户已销户,不允许销户用户进行读卡!!', 'warning', 5000)
|
|
474
|
+
return
|
|
475
|
+
}else{
|
|
476
|
+
self.$showAlert('读卡成功', 'sucess',200)
|
|
477
|
+
}
|
|
471
478
|
}
|
|
472
479
|
self.model.rows = getUser.data
|
|
473
480
|
}
|
|
@@ -483,7 +490,7 @@
|
|
|
483
490
|
getUser = await self.$resetpost('rs/sql/sale_getUser', {
|
|
484
491
|
data: {
|
|
485
492
|
condition: `gb.f_meter_type in ('机表','物联网表') and u.f_card_id='${self.cardInfo.CardID}'
|
|
486
|
-
and u.f_filialeid = '${self.$login.f.orgid}' and f_whether_hairpin != '未发'`,
|
|
493
|
+
and u.f_filialeid = '${self.$login.f.orgid}' and f_whether_hairpin != '未发' `,
|
|
487
494
|
orderitem: `${self.orderitem} Desc`
|
|
488
495
|
}
|
|
489
496
|
}, {resolveMsg: '读卡成功', rejectMsg: '读卡失败'})
|
|
@@ -492,10 +499,17 @@
|
|
|
492
499
|
getUser = await self.$resetpost('rs/sql/sale_getUser', {
|
|
493
500
|
data: {
|
|
494
501
|
condition: `gb.f_meter_type in ('气量卡表', '金额卡表','物联网表') and u.f_card_id='${self.cardInfo.CardID}'
|
|
495
|
-
and u.f_filialeid = '${self.$login.f.orgid}' and f_alias='${self.cardInfo.Factory}' and
|
|
502
|
+
and u.f_filialeid = '${self.$login.f.orgid}' and f_alias='${self.cardInfo.Factory}' and
|
|
503
|
+
f_whether_hairpin != '未发' and u.f_user_state != '销户'`,
|
|
496
504
|
orderitem: `${self.orderitem} Desc`
|
|
497
505
|
}
|
|
498
|
-
}, {resolveMsg:
|
|
506
|
+
}, {resolveMsg: null, rejectMsg: null})
|
|
507
|
+
if(getUser.data.length === 0){
|
|
508
|
+
self.$showAlert('该卡号用户已销户,不允许销户用户进行读卡!!', 'warning', 5000)
|
|
509
|
+
return
|
|
510
|
+
}else{
|
|
511
|
+
self.$showAlert('读卡成功', 'sucess',200)
|
|
512
|
+
}
|
|
499
513
|
}
|
|
500
514
|
// 判断是否是旧卡
|
|
501
515
|
if (getUser.data.length > 0) {
|
|
@@ -796,6 +796,11 @@ import {HttpResetClass, PagedList} from 'vue-client'
|
|
|
796
796
|
endDate: this.$refs.paged.$refs.criteria.model.endDate,
|
|
797
797
|
filepath: res.f_downloadpath,
|
|
798
798
|
f_operator: this.$login.f.name,
|
|
799
|
+
f_operatorid: this.$login.f.id,
|
|
800
|
+
f_orgid: this.$login.f.orgid,
|
|
801
|
+
f_orgname: this.$login.f.orgs,
|
|
802
|
+
f_depid: this.$login.f.depids,
|
|
803
|
+
f_depname: this.$login.f.deps,
|
|
799
804
|
uuid: uuid
|
|
800
805
|
}
|
|
801
806
|
console.log('传入数据', data1)
|