sale-client 3.5.8 → 3.5.11
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/.babelrc +5 -5
- package/build/dev-server.js +2 -8
- package/package.json +2 -2
- package/src/components/FilesManage/FileUserFiles.vue +5 -0
- package/src/components/FilesManage/UserGeneralInfoTest.vue +1 -0
- package/src/components/common/userinfo_detail/ic_detail/ChargeRecordQuery.vue +1 -1
- package/src/components/revenue/base/rightview/CardList.vue +12 -10
- package/src/components/revenue/machineHandManage/machineHandAudit.vue +22 -10
- package/src/filiale/dongguan/components/HighMeterCard.vue +1068 -0
- package/src/filiale/dongguan/sale.js +8 -0
- package/src/filiale/shaoguan/FilesManageNew/UserGeneralInfoTest.vue +3 -1
- package/src/filiale/shaoguan/UserEssentialInfoTest.vue +3 -2
- package/src/filiale/{WEINAN → weinan}/AutomaticPurse.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/CardList.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/CardMeterCenter.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/CardMeterChargeCancel.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/ChangeMeter.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/ChargeList.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/ChargeManageNew.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/ChargeQueryUser.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/ChargeRecordQuery.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/DisableManage.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/EnableManage.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/FileAddressManage.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/FileUserAddress.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/HighMeter.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/IOTMeterCenter.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/MachineMeterCenter.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/MeterMessage.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/MeterinfoTest.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/OffGasAddGas.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/OtherGas.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/OverUseCharge.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/RecordCancel.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/RecordQueryUser.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/ReplaceCardManage.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/ShowCardSellGas.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/Stairinfo.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/TransferManage.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/UserBaseInfoNew.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/UserEssentialInfoTest.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/UserGeneralInfoTest.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/UserInfoDetailManageNew.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/Userinfo.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/gasmove.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/meterinfodetail.vue +0 -0
- package/src/filiale/{WEINAN → weinan}/plugins/FileManageService.js +0 -0
- package/src/filiale/{WEINAN → weinan}/plugins/getTimeService.js +0 -0
- package/src/filiale/{WEINAN → weinan}/sale.js +0 -0
- package/src/filiale/{WEINAN → weinan}/sale.js~Stashed changes +0 -0
- package/src/filiale/{WEINAN → weinan}/static/mainicon//347/237/251/345/275/2421828.png +0 -0
- package/src/filiale/xinkang/MeterinfoTest.vue +952 -0
- package/src/filiale/xinkang/sale.js +3 -1
- package/src/plugins/FileManageService.js +2 -2
- package/src/plugins/LogicService.js +6 -0
- package/src/sale.js +2 -1
- package/.gradle/3.5.1/file-changes/last-build.bin +0 -0
- package/.gradle/3.5.1/taskHistory/taskHistory.lock +0 -0
- package/.gradle/buildOutputCleanup/built.bin +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +0 -2
- package/.gradle/buildOutputCleanup/cache.properties.lock +0 -1
package/.babelrc
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
{
|
|
2
|
-
"presets": ["es2015", "stage-2"],
|
|
3
|
-
"plugins": ["transform-runtime"],
|
|
4
|
-
"comments": false
|
|
5
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"presets": ["es2015", "stage-2"],
|
|
3
|
+
"plugins": ["transform-runtime"],
|
|
4
|
+
"comments": false
|
|
5
|
+
}
|
package/build/dev-server.js
CHANGED
|
@@ -10,16 +10,10 @@ var compiler = webpack(config)
|
|
|
10
10
|
|
|
11
11
|
// Define HTTP proxies to your custom API backend
|
|
12
12
|
// https://github.com/chimurai/http-proxy-middleware
|
|
13
|
-
var bendi = 'http://127.0.0.1:
|
|
14
|
-
// var bendi = 'http://192.168.50.4:8300/',bendi1 = 'http://121.36.106.17:8400/'
|
|
15
|
-
// var bendi = 'http://192.168.50.4:8400/',bendi1 = 'http://121.36.106.17:8400/'
|
|
16
|
-
// var bendi = 'http://139.214.92.34:8301/',bendi1 = 'http://121.36.106.17:8400/'
|
|
13
|
+
var bendi = 'http://127.0.0.1:8072',bendi1 = 'http://121.36.106.17:8400/'
|
|
17
14
|
// 公司测试服务
|
|
18
|
-
|
|
15
|
+
var fuwu = 'http://192.168.50.4:8400'
|
|
19
16
|
// var fuwu = 'http://121.36.106.17:8400/'
|
|
20
|
-
var fuwu = 'http://192.168.50.4:8400/'
|
|
21
|
-
// var fuwu = 'http://192.168.50.4:8300/'
|
|
22
|
-
// var fuwu = 'http://139.214.92.34:8301/'
|
|
23
17
|
//铜川正式
|
|
24
18
|
// var fuwu = 'http://61.134.55.234:9999/'
|
|
25
19
|
//铜川测试
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sale-client",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.11",
|
|
4
4
|
"description": "收费模块前台组件",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"yarn": "^1.22.10"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"address-client": "3.2.
|
|
28
|
+
"address-client": "3.2.29",
|
|
29
29
|
"axios": "0.15.3",
|
|
30
30
|
"babel-core": "^6.0.0",
|
|
31
31
|
"babel-loader": "^6.0.0",
|
|
@@ -66,6 +66,7 @@
|
|
|
66
66
|
v-if="$parent.$parent.rows && $parent.$parent.rows.length > 1 && this.$login.r.includes('批量销户')">
|
|
67
67
|
批量销户
|
|
68
68
|
</button>
|
|
69
|
+
<import-excel template-btn-name= "销户模板" template-name= "销户模板" btn-name="导入销户" logic-name="batchpinusers" import-json="pinuser.json"></import-excel>
|
|
69
70
|
<button @click="$parent.$parent.bulkOperations('批量销户', 'batch-cancellation')"
|
|
70
71
|
class="button_delete button_spacing"
|
|
71
72
|
style="float: right"
|
|
@@ -581,6 +582,7 @@ let loadParamGem = async function (self) {
|
|
|
581
582
|
newdata: {},
|
|
582
583
|
resdata: '',
|
|
583
584
|
resshow: false,
|
|
585
|
+
batchpinshow: false, // 导入销户
|
|
584
586
|
titleShow: true, //是否显示部分档案信息类的筛选框
|
|
585
587
|
useoptions: this.$appdata.getParam('使用类型'),
|
|
586
588
|
|
|
@@ -848,6 +850,9 @@ let loadParamGem = async function (self) {
|
|
|
848
850
|
importFile () {
|
|
849
851
|
this.show = true
|
|
850
852
|
},
|
|
853
|
+
pin () {
|
|
854
|
+
this.batchpinshow = true
|
|
855
|
+
},
|
|
851
856
|
clear () {
|
|
852
857
|
Object.keys(this.$refs.paged.$refs.criteria.model).forEach((key) => {
|
|
853
858
|
this.$refs.paged.$refs.criteria.model[key] = []
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
<td style="text-align:center;white-space:nowrap;">{{row.f_collection}}</td>
|
|
29
29
|
<td style="text-align:center;white-space:nowrap;">{{row.f_curbalance}}</td>
|
|
30
30
|
<td style="text-align:center;white-space:nowrap;">{{row.type}}</td>
|
|
31
|
-
<td style="text-align:center;white-space:nowrap;">{{row.
|
|
31
|
+
<td style="text-align:center;white-space:nowrap;">{{row.operate_date}}</td>
|
|
32
32
|
<td style="text-align:center;white-space:nowrap;">{{row.f_operator}}</td>
|
|
33
33
|
<td style="text-align:left;white-space:nowrap;">{{row.note}}{{row.f_write_card}}</td>
|
|
34
34
|
</tr>
|
|
@@ -50,10 +50,10 @@
|
|
|
50
50
|
style="cursor: pointer;">
|
|
51
51
|
<div class="col-sm-11">
|
|
52
52
|
<!-- <div class="row" v-if="row.f_state==='冲正' " style="color: red">-->
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
53
|
+
<!-- <strong :title="row.f_userinfo_code" class="col-sm-4" show-overflow-tooltip="true">{{row.f_userinfo_code.length>9?''+row.f_userinfo_code.substring(0,9)+'...':row.f_userinfo_code}}</strong>-->
|
|
54
|
+
<!-- <span class="col-sm-4">{{$parent.$parent.$parent.dateDes(row.f_operate_date)}}</span>-->
|
|
55
|
+
<!-- <span class="col-sm-4">{{row.type}}</span>-->
|
|
56
|
+
<!-- </div>-->
|
|
57
57
|
<div class="row">
|
|
58
58
|
<strong :title="row.f_userinfo_code" class="col-sm-4" show-overflow-tooltip="true">{{row.f_userinfo_code.length>9?''+row.f_userinfo_code.substring(0,9)+'...':row.f_userinfo_code}}</strong>
|
|
59
59
|
<span class="col-sm-4">{{$parent.$parent.$parent.dateDes(row.f_operate_date)}}</span>
|
|
@@ -62,19 +62,21 @@
|
|
|
62
62
|
</div>
|
|
63
63
|
<div class="col-sm-1" v-if="$parent.$parent.$parent.isOperate" title="涉及权限:冲正权限">
|
|
64
64
|
<dropdown class="auto"
|
|
65
|
-
v-if="(row.type ==='机表收费撤销' || row.type ==='卡表收费撤销' || row.type ==='物联网收费撤销' || row.type ==='其他收费撤销'
|
|
66
|
-
|
|
65
|
+
v-if="(row.type ==='机表收费撤销' || row.type ==='卡表收费撤销' || row.type ==='物联网收费撤销' || row.type ==='其他收费撤销'
|
|
66
|
+
|| row.type ==='气损收费撤销' || row.type ==='预存缴费' || row.type === '补卡' || row.type === '物联网收费' ||
|
|
67
|
+
row.type === '用户退费' || row.type === '机表收费' || row.type === '数码表收费' ||
|
|
67
68
|
row.type === '卡表收费' || row.type === '超用收费' || row.type === '发卡售气' || row.type === '其他收费' ||
|
|
68
69
|
row.type === '换表' || row.state === 1 || row.type==='调价补费' || row.type==='卡表赠气' ||
|
|
69
70
|
row.type==='物联网赠气'|| row.type==='物联网赠费'|| row.type==='卡表赠费'|| row.type==='卡表赠气'||
|
|
70
71
|
row.type==='卡表收费撤销'||row.type==='物联网补费' || row.type==='物联网扣费'||row.type==='机表补费'||
|
|
71
72
|
row.type==='机表扣费'||row.type==='物联网补气'||row.type==='物联网扣气'||row.type==='气损收费' ||
|
|
72
|
-
row.type === '气表清零' || row.type === '掉气补气' || row.type === '其他补气' || row.type === '清零补气' ||
|
|
73
|
-
) && row.type!=='新增户档案' && row.type!=='转气转出' && row.type!=='转气转入'
|
|
74
|
-
<button data-toggle="dropdown" style="border: 0px;background: none;" type="button"
|
|
73
|
+
row.type === '气表清零' || row.type === '掉气补气' || row.type === '其他补气' || row.type === '清零补气' ||
|
|
74
|
+
row.type === '换表补气') && row.type!=='新增户档案' && row.type!=='转气转出' && row.type!=='转气转入'">
|
|
75
|
+
<button data-toggle="dropdown" style="border: 0px;background: none;" type="button"
|
|
76
|
+
v-if="row.f_user_state==='正常'||row.f_user_state==='预备'||row.type==='气损收费' ">
|
|
75
77
|
<span class="glyphicon glyphicon-th-list"></span>
|
|
76
78
|
</button>
|
|
77
|
-
<ul class="dropdown-menu dropdown-menu-right" slot="dropdown-menu" style=" min-width: 60px;" v-if="row.f_user_state==='正常'||row.f_user_state==='预备'||row.type==='气损收费'
|
|
79
|
+
<ul class="dropdown-menu dropdown-menu-right" slot="dropdown-menu" style=" min-width: 60px;" v-if="row.f_user_state==='正常'||row.f_user_state==='预备'||row.type==='气损收费' ">
|
|
78
80
|
<!-- <li-->
|
|
79
81
|
<!-- v-if="row.type === '换新表' || row.type === '气表清零' || row.type === '掉气补气' || row.type === '其他补气' || row.type === '清零补气' || row.type === '换表补气'-->
|
|
80
82
|
<!-- || row.type === '补卡' || row.type === '物联网开户' || row.type === '物联网收费' || row.type === '用户退费' || row.type === '机表收费' || row.type === '数码表收费' || row.type === '卡表收费' || row.type === '超用收费' || row.type === '发卡售气' || row.type === '其他收费' || row.type === '换表' || row.type === '过户'|| row.type==='预存缴费'|| row.type==='退费'|| row.type==='调价补费' ||row.type==='卡表收费撤销'||row.type==='物联网补费' || row.type==='物联网扣费'||row.type==='机表补费'||row.type==='机表扣费'||row.type==='物联网补气'||row.type==='物联网扣气'||row.type==='气损收费' ">-->
|
|
@@ -394,7 +394,7 @@
|
|
|
394
394
|
import * as Util from '../../../Util'
|
|
395
395
|
|
|
396
396
|
let readyGen = async function (self) {
|
|
397
|
-
self.$refs.paged.$refs.cri.model.startDate =
|
|
397
|
+
self.$refs.paged.$refs.cri.model.startDate = self.$login.toStartAndEndDateString()[0]
|
|
398
398
|
self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
|
|
399
399
|
await self.$LoadParams.loadMeterBook(self.f_filialeid)
|
|
400
400
|
self.loadMeterBooks()
|
|
@@ -414,14 +414,15 @@
|
|
|
414
414
|
dep: [],
|
|
415
415
|
user: []
|
|
416
416
|
},
|
|
417
|
-
config:{
|
|
418
|
-
examine: false
|
|
417
|
+
config: {
|
|
418
|
+
examine: false
|
|
419
419
|
},
|
|
420
420
|
imgfilename: '',
|
|
421
421
|
// 小区
|
|
422
422
|
residentialArea: [],
|
|
423
|
+
inputtouPerson: [],
|
|
423
424
|
imgshow: false,
|
|
424
|
-
criteriaShow:false,
|
|
425
|
+
criteriaShow: false,
|
|
425
426
|
orgCondtionStr: '',
|
|
426
427
|
excelCondition: '',
|
|
427
428
|
fields: {
|
|
@@ -444,8 +445,8 @@
|
|
|
444
445
|
'f_adjustable_name': '调压箱名称',
|
|
445
446
|
'f_inputtor': '抄表员'
|
|
446
447
|
},
|
|
447
|
-
auditState:[{label: '全部', value: ''}, {label: '已审核', value: '已抄表'}, {label: '未审核', value: '待审核'}],
|
|
448
|
-
auditState1:[{label: '全部', value: ''}, {label: '审核失败', value: '审核失败'}],
|
|
448
|
+
auditState: [{label: '全部', value: ''}, {label: '已审核', value: '已抄表'}, {label: '未审核', value: '待审核'}],
|
|
449
|
+
auditState1: [{label: '全部', value: ''}, {label: '审核失败', value: '审核失败'}],
|
|
449
450
|
meters: [{label: '全部', value: ''}, {label: '机表', value: '机表'}, {label: '物联网表', value: '物联网表'}],
|
|
450
451
|
resultstate: this.$appdata.getParam('抄表结果状态'),
|
|
451
452
|
meterstates: this.$appdata.getParam('抄表状态') ? [{
|
|
@@ -475,7 +476,7 @@
|
|
|
475
476
|
methods: {
|
|
476
477
|
// 修正本期底数
|
|
477
478
|
amend (row) {
|
|
478
|
-
let tablebase = window.prompt('请输入你要修正的底数值,上期底数:'+ row.f_meter_base)
|
|
479
|
+
let tablebase = window.prompt('请输入你要修正的底数值,上期底数:' + row.f_meter_base)
|
|
479
480
|
if (!tablebase) return
|
|
480
481
|
if (tablebase < 0) {
|
|
481
482
|
this.$showAlert(`底数不能小于0,请注意!`, 'warning', 2000)
|
|
@@ -596,9 +597,9 @@
|
|
|
596
597
|
this.imgshow = false
|
|
597
598
|
},
|
|
598
599
|
imgShow (val) {
|
|
599
|
-
console.log(
|
|
600
|
+
console.log('-----------val2:', val)
|
|
600
601
|
this.imgfilename = `rs/image/file/` + val
|
|
601
|
-
console.log(
|
|
602
|
+
console.log('-----------imgfilename2:', this.imgfilename)
|
|
602
603
|
this.imgshow = true
|
|
603
604
|
},
|
|
604
605
|
async getaddress () {
|
|
@@ -632,6 +633,17 @@
|
|
|
632
633
|
} else {
|
|
633
634
|
args.condition = `${args.condition}` + this.orgCondtionStr
|
|
634
635
|
}
|
|
636
|
+
// 抄表员查询条件
|
|
637
|
+
this.inputtouPerson = this.$refs.paged.$refs.cri.model.f_inputtor
|
|
638
|
+
if (this.inputtouPerson.length !== 0) {
|
|
639
|
+
let str = JSON.stringify(this.inputtouPerson)
|
|
640
|
+
str = str.replace(/"/g, `'`)
|
|
641
|
+
str = str.replace(/\[/g, ``)
|
|
642
|
+
str = str.replace(/\]/g, ``)
|
|
643
|
+
console.log('=====抄表员model22222222222绑定====', str)
|
|
644
|
+
// 查询多个抄表员时条件
|
|
645
|
+
args.condition += ` and f_inputtor in ( ${str} )`
|
|
646
|
+
}
|
|
635
647
|
this.excelCondition = args.condition
|
|
636
648
|
this.$refs.paged.$refs.grid.selectInit()
|
|
637
649
|
this.model.search(args.condition, args.model)
|
|
@@ -696,7 +708,7 @@
|
|
|
696
708
|
},
|
|
697
709
|
loadMeterBooks () {
|
|
698
710
|
this.meterbooks = this.$GetSaleParam.getMeterBooks()
|
|
699
|
-
}
|
|
711
|
+
}
|
|
700
712
|
|
|
701
713
|
},
|
|
702
714
|
computed: {
|