sale-client 3.6.377 → 3.6.378
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/fileChanges/last-build.bin +0 -0
- package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/5.2.1/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/.gradle/vcs-1/gc.properties +0 -0
- package/package.json +1 -1
- package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/ChangeMeter.vue +1 -1
- package/src/components/webMeter/MeterManage/WebMeterBatchOperationValve.vue +49 -51
- package/src/filiale/jingwei/meterinfodetail.vue +411 -0
- package/src/filiale/jingwei/sale.js +2 -0
- package/src/filiale/qianneng/components/common/userinfo_detail/UserBaseInfoNew.vue +1 -1
- package/src/filiale/qingjian/UserInfoDetailManageNew.vue +224 -0
- package/src/filiale/qingjian/WebHandQueryUser.vue +370 -0
- package/src/filiale/qingjian/sale.js +1 -0
- package/src/filiale/rongchuang/FilesManage/UserGeneralInfoTest.vue +824 -0
- package/src/filiale/rongchuang/FilesManage/UserPaperInfoTest.vue +76 -0
- package/src/filiale/rongchuang/FilesManageNew/UserGeneralInfoTest.vue +704 -0
- package/src/filiale/rongchuang/FilesManageNew/UserPaperInfoTest.vue +59 -0
- package/src/filiale/rongchuang/sale.js +4 -0
- package/src/plugins/FileManageService.js +1 -0
- package/src/plugins/FileService.js +1 -0
- package/src/components/revenue/comprehen/Maintenance/otherRecords/otherChargeAudit.vue +0 -839
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -224,7 +224,7 @@
|
|
|
224
224
|
</div>
|
|
225
225
|
<div class="col-sm-4"
|
|
226
226
|
:class="[$v.f_stair_use.required || $v.f_stair_use.dctest ? 'has-error' : 'has-success']"
|
|
227
|
-
v-if="
|
|
227
|
+
v-if=" model.metermessage.gasbrand[0].f_meter_type ==='物联网表'&& model.f_ladder_sync !=='不同步'">
|
|
228
228
|
<label class=" font_normal_body">阶梯用量</label>
|
|
229
229
|
<input class="input_search" style="width:60%" type="number"
|
|
230
230
|
v-validate:f_stair_use='{required: true, dctest: [0, ">=" ] }'
|
|
@@ -564,65 +564,63 @@ import axios from 'axios'
|
|
|
564
564
|
const adjustedBeijingTime = new Date(adjustedTime.getTime() + 8 * 60 * 60 * 1000)
|
|
565
565
|
const formattedAdjustedBeijingTime = adjustedBeijingTime.toISOString().slice(0, 19).replace('T', ' ')
|
|
566
566
|
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
nowDate: new Date(),
|
|
596
|
-
f_apply_value: msg,
|
|
597
|
-
f_apply_beizhu: this.operateReason,
|
|
598
|
-
f_apply_operator: Vue.$login.f.name,
|
|
599
|
-
},
|
|
600
|
-
data2
|
|
601
|
-
}
|
|
602
|
-
},{warnMsg: null, resolveMsg: 'null'})
|
|
603
|
-
this.$showAlert(`正在批量修改操作中,请稍后...`, 'warning',5000)
|
|
567
|
+
// 准备批量操作的数据
|
|
568
|
+
const batchData = {
|
|
569
|
+
data1: {
|
|
570
|
+
f_apply_type: '阀门控制',
|
|
571
|
+
userid: array,
|
|
572
|
+
nowDate: new Date(),
|
|
573
|
+
f_apply_value: msg,
|
|
574
|
+
f_apply_beizhu: this.operateReason,
|
|
575
|
+
f_apply_operator: Vue.$login.f.name,
|
|
576
|
+
},
|
|
577
|
+
data2: {
|
|
578
|
+
userid: array,
|
|
579
|
+
instructtype: '阀门控制',
|
|
580
|
+
isOpen: msg,
|
|
581
|
+
reasonInfo: this.operateReason,
|
|
582
|
+
f_instruct_state: '待发送',
|
|
583
|
+
inputtor: Vue.$login.f.name,
|
|
584
|
+
instructType: '阀门控制',
|
|
585
|
+
instructTitle: `手动${msg}`,
|
|
586
|
+
meterBrandName: array[0].f_alias,
|
|
587
|
+
inputtorid: Vue.$login.f.id,
|
|
588
|
+
meternumberf: array[0].f_meternumber,
|
|
589
|
+
contentData: { isOpen: oper ? 1 : 0 },
|
|
590
|
+
auto_adjust_option: this.selectedOption,
|
|
591
|
+
delaySeconds,
|
|
592
|
+
f_current_timestamp: formattedAdjustedBeijingTime,
|
|
593
|
+
executeDelayedOperation: true,
|
|
594
|
+
f_timestamp: formattedBeijingTime,
|
|
604
595
|
}
|
|
596
|
+
}
|
|
605
597
|
|
|
606
|
-
|
|
607
|
-
|
|
598
|
+
const load = new HttpResetClass()
|
|
599
|
+
await load.load('POST', 'rs/logic/iot_instructUpdateAndDelect', {
|
|
600
|
+
data: batchData
|
|
601
|
+
}, {warnMsg: null, resolveMsg: 'null'})
|
|
608
602
|
|
|
609
|
-
|
|
610
|
-
const autoMsg = this.selectedOption !== '自动'
|
|
611
|
-
? `阀控状态将在${this.selectedOption}后自动调整为【自动】`
|
|
612
|
-
: `阀控状态自动调整为 【自动】`
|
|
603
|
+
this.$showAlert(`正在批量修改操作中,请稍后...`, 'warning', 5000)
|
|
613
604
|
|
|
614
|
-
|
|
605
|
+
this.valve = false
|
|
606
|
+
this.operateReason = ''
|
|
615
607
|
|
|
616
|
-
|
|
608
|
+
if (this.selectedOption !== '手动') {
|
|
609
|
+
const autoMsg = this.selectedOption !== '自动'
|
|
610
|
+
? `阀控状态将在${this.selectedOption}后自动调整为【自动】`
|
|
611
|
+
: `阀控状态自动调整为 【自动】`
|
|
617
612
|
|
|
618
|
-
|
|
619
|
-
console.log('延时操作逻辑已执行')
|
|
620
|
-
} else {
|
|
621
|
-
this.$emit('refresh')
|
|
622
|
-
}
|
|
613
|
+
this.$showAlert(autoMsg, 'info', 3000)
|
|
623
614
|
|
|
624
|
-
this.$
|
|
615
|
+
await this.$resetpost('rs/logic/iot_processDelayedOperations', { data: batchData.data2 })
|
|
616
|
+
|
|
617
|
+
this.$emit('refresh')
|
|
618
|
+
console.log('延时操作逻辑已执行')
|
|
619
|
+
} else {
|
|
620
|
+
this.$emit('refresh')
|
|
621
|
+
}
|
|
625
622
|
|
|
623
|
+
this.$showMessage(`执行完成,总共执行了${array.length}户的申请操作`)
|
|
626
624
|
},
|
|
627
625
|
close () {
|
|
628
626
|
this.valve = false
|
|
@@ -0,0 +1,411 @@
|
|
|
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">{{data?data.f_meter_type:dafault.f_meter_brand}}</span>
|
|
15
|
+
</div>
|
|
16
|
+
<div class="row">
|
|
17
|
+
<label class = "col-sm-5 " >气表品牌</label>
|
|
18
|
+
<span class = "col-sm-7">{{data?data.f_meter_brand:dafault.f_meter_brand}}</span>
|
|
19
|
+
</div>
|
|
20
|
+
<div class="row">
|
|
21
|
+
<label class = "col-sm-5 " >气表型号</label>
|
|
22
|
+
<span class = "col-sm-7">{{data?data.f_meter_style:dafault.f_meter_style}}</span>
|
|
23
|
+
</div>
|
|
24
|
+
<div class="row" v-if="data.f_meter_type.includes('物联网')">
|
|
25
|
+
<label class = "col-sm-5 " >计费终端</label>
|
|
26
|
+
<span class = "col-sm-7" >{{data?data.f_calculation:dafault.f_calculation}}</span>
|
|
27
|
+
</div>
|
|
28
|
+
<div class="row" v-if="data.f_meter_type.includes('物联网')">
|
|
29
|
+
<label class = "col-sm-5 " >结算方式</label>
|
|
30
|
+
<span class = "col-sm-7" >{{data?data.f_collection_type:dafault.f_collection_type}}</span>
|
|
31
|
+
</div>
|
|
32
|
+
<div class="row">
|
|
33
|
+
<label class="col-sm-5" style="color: brown">表具状态</label>
|
|
34
|
+
<span class="col-sm-7" style="color: brown">{{data?data.f_table_state:dafault.f_table_state}}</span>
|
|
35
|
+
</div>
|
|
36
|
+
<div class="row" v-if="!data.f_calculation.includes('表端结算') && data.f_meter_type.includes('物联网') && data.f_collection_type === '按金额'">
|
|
37
|
+
<label class = "col-sm-5 " style="color: brown">系统余额</label>
|
|
38
|
+
<span class = "col-sm-7" style="color: brown">{{data?data.f_balance_amount:dafault.f_balance_amount}}</span>
|
|
39
|
+
</div>
|
|
40
|
+
<div class="row" v-if="!data.f_calculation.includes('表端结算') && data.f_meter_type.includes('物联网') && data.f_collection_type === '按气量'">
|
|
41
|
+
<label class = "col-sm-5 " style="color: brown">系统余量</label>
|
|
42
|
+
<span class = "col-sm-7" style="color: brown">{{data?data.f_balance_gas:dafault.f_balance_gas}}</span>
|
|
43
|
+
</div>
|
|
44
|
+
<div class="row" v-if="data.f_calculation.includes('表端结算') && data.f_meter_type.includes('物联网')">
|
|
45
|
+
<label class = "col-sm-5 " style="color: brown">表端上报余额</label>
|
|
46
|
+
<span class = "col-sm-7" style="color: brown">{{data?data.f_jval:dafault.f_jval}}</span>
|
|
47
|
+
</div>
|
|
48
|
+
<div class="row">
|
|
49
|
+
<label class = "col-sm-5 " >初始表底数</label>
|
|
50
|
+
<span class = "col-sm-7" >{{data?data.f_initial_base:dafault.f_initial_base}}</span>
|
|
51
|
+
</div>
|
|
52
|
+
<div class="row">
|
|
53
|
+
<label class = "col-sm-5 " >表当前底数</label>
|
|
54
|
+
<span class = "col-sm-7" >{{data?data.f_meter_base:dafault.f_meter_base}}</span>
|
|
55
|
+
</div>
|
|
56
|
+
<div class="row" v-show="data.f_times">
|
|
57
|
+
<label class = "col-sm-5 " >写卡次数</label>
|
|
58
|
+
<span class = "col-sm-7" >{{data?data.f_times:dafault.f_times}}</span>
|
|
59
|
+
</div>
|
|
60
|
+
<div class="row" v-if="data.f_meter_type.includes('物联网')">
|
|
61
|
+
<label class = "col-sm-5 ">指令上表次数</label>
|
|
62
|
+
<span class = "col-sm-7" >{{data?data.f_iot_times:dafault.f_iot_times}}</span>
|
|
63
|
+
</div>
|
|
64
|
+
<div class="row" v-if="data.f_meter_type.includes('物联网')">
|
|
65
|
+
<label class = "col-sm-5 ">表累购金额</label>
|
|
66
|
+
<span class = "col-sm-7" >{{data?data.f_total_fee:dafault.f_total_fee}}
|
|
67
|
+
<span v-if="data && this.$login.r.includes('收费页面修改累购')" @click.stop="changeMeterFee"
|
|
68
|
+
class="glyphicon glyphicon-pencil click-change" title="修改累购金额">
|
|
69
|
+
</span>
|
|
70
|
+
</span>
|
|
71
|
+
</div>
|
|
72
|
+
<div class="row" v-if="data.f_meter_type.includes('物联网')">
|
|
73
|
+
<label class = "col-sm-5 ">户累购金额</label>
|
|
74
|
+
<span class = "col-sm-7" >{{data?data.f_total_fee_all:dafault.f_total_fee_all}}</span>
|
|
75
|
+
</div>
|
|
76
|
+
<div class="row" v-if="(data.f_meter_type === '机表' || data.f_meter_type === '物联网表') && data.f_deduction_gas > 0">
|
|
77
|
+
<label class = "col-sm-5 " >剩余抵扣量</label>
|
|
78
|
+
<span class = "col-sm-7" >{{data?data.f_deduction_gas:dafault.f_deduction_gas}}</span>
|
|
79
|
+
</div>
|
|
80
|
+
<div class="row" v-if="data.f_meter_type.includes('卡表')">
|
|
81
|
+
<label class = "col-sm-5 " style="color: brown" >户累购气量</label>
|
|
82
|
+
<span class = "col-sm-7" style="color: brown">{{data?data.f_total_gas_all:dafault.f_total_gas_all}}</span>
|
|
83
|
+
</div>
|
|
84
|
+
<div class="row" v-if="(data.f_meter_brand.includes('数码表'))">
|
|
85
|
+
<label class = "col-sm-5 " style="color: brown" >累购气量</label>
|
|
86
|
+
<span class = "col-sm-7" style="color: brown">{{data?data.f_total_gas:dafault.f_total_gas}}</span>
|
|
87
|
+
</div>
|
|
88
|
+
<div class="row" v-if="data.f_meter_type.includes('卡表') && data.f_meter_type === '气量卡表'">
|
|
89
|
+
<label class = "col-sm-5 " style="color: brown" >累购气量</label>
|
|
90
|
+
<span class = "col-sm-7" style="color: brown">{{data?data.f_total_gas:dafault.f_total_gas}}
|
|
91
|
+
<span v-if="data && this.$login.r.includes('收费页面修改累购')" @click.stop="changeMeterGas"
|
|
92
|
+
class="glyphicon glyphicon-pencil click-change" title="修改累购气量">
|
|
93
|
+
</span>
|
|
94
|
+
</span>
|
|
95
|
+
</div>
|
|
96
|
+
<div class="row" v-if="data.f_meter_type.includes('卡表')">
|
|
97
|
+
<label class = "col-sm-5 " style="color: brown">累购金额</label>
|
|
98
|
+
<span class = "col-sm-7" style="color: brown">{{data?data.f_total_fee:dafault.f_total_fee}}
|
|
99
|
+
<span v-if="data && this.$login.r.includes('收费页面修改累购')" @click.stop="changeMeterFee"
|
|
100
|
+
class="glyphicon glyphicon-pencil click-change" title="修改累购金额">
|
|
101
|
+
</span>
|
|
102
|
+
</span>
|
|
103
|
+
</div>
|
|
104
|
+
<div class="row" v-if="data.f_meter_type.includes('卡表')">
|
|
105
|
+
<label class = "col-sm-5 " style="color: brown">累购写卡金额</label>
|
|
106
|
+
<span class = "col-sm-7" style="color: brown">{{data?data.f_write_totalfee:dafault.f_total_fee}}</span>
|
|
107
|
+
</div>
|
|
108
|
+
<div class="row">
|
|
109
|
+
<label class = "col-sm-5 " >气表表号</label>
|
|
110
|
+
<span class = "col-sm-7">{{data?data.f_meternumber:dafault.f_meternumber}}</span>
|
|
111
|
+
</div>
|
|
112
|
+
<div class="row" v-if="data.f_meter_type.includes('卡表') || (data.f_meter_type.includes('物联网表') && data.f_hascard==='是')">
|
|
113
|
+
<label class = "col-sm-5 " >卡  号</label>
|
|
114
|
+
<span class = "col-sm-7">{{data?data.f_card_id:dafault.f_card_id}}</span>
|
|
115
|
+
</div>
|
|
116
|
+
<div class="row">
|
|
117
|
+
<label class = "col-sm-5 " >表封号</label>
|
|
118
|
+
<span class="col-sm-7">{{data?data.f_metertitles:dafault.f_metertitles}}
|
|
119
|
+
<span v-if="data" @click.stop="changemetertitles"
|
|
120
|
+
class="glyphicon glyphicon-pencil click-change" title="修正表封号"></span>
|
|
121
|
+
</span>
|
|
122
|
+
</div>
|
|
123
|
+
<!-- <div class="row" v-if="data.f_meter_type.includes('卡表') || data.f_meter_type.includes('物联网表') && data.f_hascard==='是'">-->
|
|
124
|
+
<!-- <label class = "col-sm-5 " >写卡次数</label>-->
|
|
125
|
+
<!-- <span class = "col-sm-7">{{data?data.f_times:dafault.f_times}}</span>-->
|
|
126
|
+
<!-- </div>-->
|
|
127
|
+
<div class="row">
|
|
128
|
+
<label class = "col-sm-5 " >用气性质</label>
|
|
129
|
+
<span class = "col-sm-7">{{data?data.f_gasproperties:dafault.f_gasproperties}}</span>
|
|
130
|
+
</div>
|
|
131
|
+
<div class="row">
|
|
132
|
+
<label class = "col-sm-5 " >气价名称</label>
|
|
133
|
+
<span class = "col-sm-7">{{data?data.f_price_name:dafault.f_price_name}}</span>
|
|
134
|
+
</div>
|
|
135
|
+
<!--<div class="row" v-if="data.f_balance < 0">-->
|
|
136
|
+
<!--<label class = "col-sm-5 " >账户欠费</label>-->
|
|
137
|
+
<!--<span class = "col-sm-7" title="不包含违约金">{{data?0 - (data.f_balance - 0):dafault.f_balance}}</span>-->
|
|
138
|
+
<!--</div>-->
|
|
139
|
+
<!--<div class="row" v-else>-->
|
|
140
|
+
<!--<label class = "col-sm-5 " >账户余额</label>-->
|
|
141
|
+
<!--<span class = "col-sm-7">{{data?data.f_balance:dafault.f_balance}}</span>-->
|
|
142
|
+
<!--</div>-->
|
|
143
|
+
<div class="row" v-if="data.f_remanent_money > 0">
|
|
144
|
+
<label class = "col-sm-5 " >应补金额</label>
|
|
145
|
+
<span class = "col-sm-7">{{data?data.f_remanent_money:dafault.f_remanent_money}}</span>
|
|
146
|
+
</div>
|
|
147
|
+
<div class="row" v-if="data.f_remanent_gas > 0">
|
|
148
|
+
<label class = "col-sm-5 " >应补气量</label>
|
|
149
|
+
<span class = "col-sm-7">{{data?data.f_remanent_gas:dafault.f_remanent_gas}}</span>
|
|
150
|
+
</div>
|
|
151
|
+
<div class="row">
|
|
152
|
+
<label class = "col-sm-5 " >表  向</label>
|
|
153
|
+
<span class = "col-sm-7">{{data?data.f_aroundmeter:dafault.f_hand_date}}</span>
|
|
154
|
+
</div>
|
|
155
|
+
<div class="row" v-if="!data.f_meter_type.includes('物联网')">
|
|
156
|
+
<label class = "col-sm-5 " >抄表册名</label>
|
|
157
|
+
<span class = "col-sm-7">{{data?'['+data.f_book_code + '] '+ (data.f_book_name ? data.f_book_name:''):dafault.f_book_name}}</span>
|
|
158
|
+
</div>
|
|
159
|
+
<div class="row" v-if="!data.f_meter_type.includes('物联网')">
|
|
160
|
+
<label class = "col-sm-5 " >抄表册册序号</label>
|
|
161
|
+
<span class = "col-sm-7">{{data?data.f_meter_book_sort:dafault.f_meter_book_sort}}</span>
|
|
162
|
+
</div>
|
|
163
|
+
<div class="row">
|
|
164
|
+
<label class = "col-sm-5 " >安装位置</label>
|
|
165
|
+
<span class = "col-sm-7">{{data?data.f_position:dafault.f_position}}</span>
|
|
166
|
+
</div>
|
|
167
|
+
<div class="row">
|
|
168
|
+
<label class = "col-sm-5 " >置换人员</label>
|
|
169
|
+
<span class = "col-sm-7">{{data?data.f_gas_person:dafault.f_hand_date}}</span>
|
|
170
|
+
</div>
|
|
171
|
+
<div class="row">
|
|
172
|
+
<label class = "col-sm-5 " >置换时间</label>
|
|
173
|
+
<span class = "col-sm-7">{{data?data.f_gas_date.substring(0,7):dafault.f_hand_date}}</span>
|
|
174
|
+
</div>
|
|
175
|
+
<div class="row" >
|
|
176
|
+
<label class = "col-sm-5 " >抄表员</label>
|
|
177
|
+
<span class = "col-sm-7">{{data?data.f_inputtor:dafault.f_inputtor}}</span>
|
|
178
|
+
</div>
|
|
179
|
+
<div class="row" v-if="!data.f_meter_type.includes('物联网')">
|
|
180
|
+
<label class = "col-sm-5 " >上次抄表日</label>
|
|
181
|
+
<span class = "col-sm-7">{{data?data.f_hand_date.substring(0,7):dafault.f_hand_date}}</span>
|
|
182
|
+
</div>
|
|
183
|
+
<div class="row">
|
|
184
|
+
<label class = "col-sm-5 " >建档日期</label>
|
|
185
|
+
<span class = "col-sm-7">{{data?data.f_input_date.substring(0,7):dafault.f_input_date}}</span>
|
|
186
|
+
</div>
|
|
187
|
+
<div class="row">
|
|
188
|
+
<label class = "col-sm-5 " >备  注</label>
|
|
189
|
+
<span class = "col-sm-7">{{data?data.comments:dafault.comments}}</span>
|
|
190
|
+
</div>
|
|
191
|
+
<modal v-if="showselectncuserfile" :show.sync="showselectncuserfile" width="40%" title="修正表封号"
|
|
192
|
+
v-ref:modal large backdrop="false">
|
|
193
|
+
<article slot="modal-body" class="modal-body">
|
|
194
|
+
<div class="form-horizontal">
|
|
195
|
+
<div class="row">
|
|
196
|
+
<div class="col-sm-12 form-group">
|
|
197
|
+
<label class="font_normal_body">旧表封号</label>
|
|
198
|
+
<input disabled readonly type="text" style="width:80%" class="input_search"
|
|
199
|
+
v-model="data.f_metertitles" placeholder='旧表封号'>
|
|
200
|
+
</div>
|
|
201
|
+
</div>
|
|
202
|
+
<div class="row">
|
|
203
|
+
<div class="col-sm-12 form-group">
|
|
204
|
+
<label class="font_normal_body">新表封号</label>
|
|
205
|
+
<input type="text" style="width:80%" class="input_search" v-model="newmetertitles"
|
|
206
|
+
placeholder='新表封号'>
|
|
207
|
+
</div>
|
|
208
|
+
</div>
|
|
209
|
+
</div>
|
|
210
|
+
</article>
|
|
211
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
212
|
+
<button class="button_search" :disabled='!$m.valid ' @click="modifyUserFile('表封号')">确定</button>
|
|
213
|
+
<button type="button" class="button_clear" @click='close'>取消</button>
|
|
214
|
+
</footer>
|
|
215
|
+
</modal>
|
|
216
|
+
<modal v-if="showSelectUserFee" :show.sync="showSelectUserFee" width="40%" title="修正表累购金额"
|
|
217
|
+
v-ref:modal large backdrop="false">
|
|
218
|
+
<article slot="modal-body" class="modal-body">
|
|
219
|
+
<div class="form-horizontal">
|
|
220
|
+
<div class="row">
|
|
221
|
+
<div class="col-sm-12 form-group">
|
|
222
|
+
<label class="font_normal_body">旧表累购金额</label>
|
|
223
|
+
<input readonly type="text" style="width:80%" class="input_search"
|
|
224
|
+
v-model="data.f_total_fee" placeholder='旧表累购金额'>
|
|
225
|
+
</div>
|
|
226
|
+
</div>
|
|
227
|
+
<div class="row">
|
|
228
|
+
<div class="col-sm-12 form-group">
|
|
229
|
+
<label class="font_normal_body">旧表累购金额</label>
|
|
230
|
+
<input type="text" style="width:80%" class="input_search" v-model="newMeterFee"
|
|
231
|
+
placeholder='旧表累购金额'>
|
|
232
|
+
</div>
|
|
233
|
+
</div>
|
|
234
|
+
</div>
|
|
235
|
+
</article>
|
|
236
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
237
|
+
<button class="button_search" :disabled='!$m.valid ' @click="modifyUserFile('累购金额')">确定</button>
|
|
238
|
+
<button type="button" class="button_clear" @click='close'>取消</button>
|
|
239
|
+
</footer>
|
|
240
|
+
</modal>
|
|
241
|
+
<modal v-if="showSelectUserGas" :show.sync="showSelectUserGas" width="40%" title="修正表累购气量"
|
|
242
|
+
v-ref:modal large backdrop="false">
|
|
243
|
+
<article slot="modal-body" class="modal-body">
|
|
244
|
+
<div class="form-horizontal">
|
|
245
|
+
<div class="row">
|
|
246
|
+
<div class="col-sm-12 form-group">
|
|
247
|
+
<label class="font_normal_body">旧表累购气量</label>
|
|
248
|
+
<input readonly type="text" style="width:80%" class="input_search"
|
|
249
|
+
v-model="data.f_total_gas" placeholder='旧表累购气量'>
|
|
250
|
+
</div>
|
|
251
|
+
</div>
|
|
252
|
+
<div class="row">
|
|
253
|
+
<div class="col-sm-12 form-group">
|
|
254
|
+
<label class="font_normal_body">新表累购气量</label>
|
|
255
|
+
<input type="text" style="width:80%" class="input_search" v-model="newMeterGas"
|
|
256
|
+
placeholder='新表累购气量'>
|
|
257
|
+
</div>
|
|
258
|
+
</div>
|
|
259
|
+
</div>
|
|
260
|
+
</article>
|
|
261
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
262
|
+
<button class="button_search" :disabled='!$m.valid ' @click="modifyUserFile('累购气量')">确定</button>
|
|
263
|
+
<button type="button" class="button_clear" @click='close'>取消</button>
|
|
264
|
+
</footer>
|
|
265
|
+
</modal>
|
|
266
|
+
</div>
|
|
267
|
+
</div>
|
|
268
|
+
</partial-view>
|
|
269
|
+
</template>
|
|
270
|
+
|
|
271
|
+
<script>
|
|
272
|
+
/* 用户档案相关信息组件 */
|
|
273
|
+
export default {
|
|
274
|
+
ready () {
|
|
275
|
+
console.log('看看userinfo里面接收的data数据', this.data)
|
|
276
|
+
},
|
|
277
|
+
title: '客户基本信息',
|
|
278
|
+
data () {
|
|
279
|
+
return {
|
|
280
|
+
dafault: {
|
|
281
|
+
f_total_gas_all: 0,
|
|
282
|
+
f_total_fee_all: 0,
|
|
283
|
+
f_balance_amount: 0,
|
|
284
|
+
f_balance_gas: 0,
|
|
285
|
+
f_initial_base: 0,
|
|
286
|
+
f_meter_base: 0,
|
|
287
|
+
f_deduction_gas: 0,
|
|
288
|
+
f_total_gas: 0,
|
|
289
|
+
f_total_fee: 0,
|
|
290
|
+
f_card_id: '*****',
|
|
291
|
+
f_times: 0,
|
|
292
|
+
f_iot_times: 0,
|
|
293
|
+
f_meternumber: 0,
|
|
294
|
+
f_metertitles: '',
|
|
295
|
+
f_gasproperties: '****',
|
|
296
|
+
f_price_name: '****',
|
|
297
|
+
f_meter_brand: '****',
|
|
298
|
+
f_balance: 0,
|
|
299
|
+
f_user_type: '**',
|
|
300
|
+
f_remanent_gas: 0,
|
|
301
|
+
f_position: '****',
|
|
302
|
+
f_inputtor: '****',
|
|
303
|
+
f_jval: 0,
|
|
304
|
+
f_table_state: 0
|
|
305
|
+
},
|
|
306
|
+
model: null,
|
|
307
|
+
showselectncuserfile: false,
|
|
308
|
+
showSelectUserFee: false,
|
|
309
|
+
showSelectUserGas: false,
|
|
310
|
+
newmetertitles: '',
|
|
311
|
+
newMeterGas: 0,
|
|
312
|
+
newMeterFee: 0
|
|
313
|
+
}
|
|
314
|
+
},
|
|
315
|
+
props: ['data'],
|
|
316
|
+
methods: {
|
|
317
|
+
dealmsg (val) {
|
|
318
|
+
this.$dispatch('deal-msg', val)
|
|
319
|
+
},
|
|
320
|
+
changemetertitles () {
|
|
321
|
+
// 修正表封号
|
|
322
|
+
this.showselectncuserfile = true
|
|
323
|
+
this.newmetertitles = 0
|
|
324
|
+
},
|
|
325
|
+
changeMeterGas () {
|
|
326
|
+
// 修改累购气量
|
|
327
|
+
this.showSelectUserGas = true
|
|
328
|
+
},
|
|
329
|
+
changeMeterFee () {
|
|
330
|
+
// 修改累购金额
|
|
331
|
+
this.showSelectUserFee = true
|
|
332
|
+
},
|
|
333
|
+
async modifyUserFile (type) {
|
|
334
|
+
let param = {
|
|
335
|
+
f_userinfo_id: this.data.f_userinfo_id,
|
|
336
|
+
f_user_id: this.data.f_user_id,
|
|
337
|
+
f_userfiles_id: this.data.f_userfiles_id,
|
|
338
|
+
f_operator: this.$login.f.name,
|
|
339
|
+
f_operatorid: this.$login.f.id,
|
|
340
|
+
f_orgid: this.$login.f.orgid,
|
|
341
|
+
f_orgname: this.$login.f.orgs,
|
|
342
|
+
f_depid: this.$login.f.depids,
|
|
343
|
+
f_depname: this.$login.f.deps
|
|
344
|
+
}
|
|
345
|
+
if (type == '表封号') {
|
|
346
|
+
param.new_metertitles = this.newmetertitles
|
|
347
|
+
} else if (type == '累购气量') {
|
|
348
|
+
param.new_metergas = this.newMeterGas
|
|
349
|
+
} else if (type == '累购金额') {
|
|
350
|
+
param.new_meterfee = this.newMeterFee
|
|
351
|
+
}
|
|
352
|
+
await this.$resetpost('/rs/logic/changeuserfilesmetertitles', {data: param}, {resolveMsg: '修正成功', rejectMsg: null})
|
|
353
|
+
this.data.f_metertitles = this.newmetertitles
|
|
354
|
+
if (type == '表封号') {
|
|
355
|
+
this.data.f_metertitles = this.newmetertitles
|
|
356
|
+
} else if (type == '累购气量') {
|
|
357
|
+
this.data.f_total_gas = this.newMeterGas
|
|
358
|
+
} else if (type == '累购金额') {
|
|
359
|
+
this.data.f_total_fee = this.newMeterFee
|
|
360
|
+
}
|
|
361
|
+
this.$parent.$parent.close()
|
|
362
|
+
this.$parent.$parent.clean()
|
|
363
|
+
this.$parent.$parent.$refs.list.searchNoData()
|
|
364
|
+
this.close()
|
|
365
|
+
},
|
|
366
|
+
close () {
|
|
367
|
+
this.showselectncuserfile = false
|
|
368
|
+
this.showSelectUserGas = false
|
|
369
|
+
this.showSelectUserFee = false
|
|
370
|
+
this.newmetertitles = 0
|
|
371
|
+
this.newMeterGas = 0
|
|
372
|
+
this.newMeterFee = 0
|
|
373
|
+
}
|
|
374
|
+
},
|
|
375
|
+
watch: {
|
|
376
|
+
'data' (val) {
|
|
377
|
+
console.log('val========', val)
|
|
378
|
+
}
|
|
379
|
+
},
|
|
380
|
+
|
|
381
|
+
}
|
|
382
|
+
</script>
|
|
383
|
+
<style lang="less">
|
|
384
|
+
.row {
|
|
385
|
+
/*border-bottom:1px solid #F2F6FA;*/
|
|
386
|
+
margin-left: 0;
|
|
387
|
+
margin-right: 0;
|
|
388
|
+
}
|
|
389
|
+
.click-change:hover {
|
|
390
|
+
color: #3592ef;
|
|
391
|
+
cursor: pointer;
|
|
392
|
+
}
|
|
393
|
+
// . {
|
|
394
|
+
// height: 23px;
|
|
395
|
+
// border-right: 1px solid #F2F6FA;
|
|
396
|
+
// margin-bottom: 0;
|
|
397
|
+
// text-align: left;
|
|
398
|
+
// }
|
|
399
|
+
// #address {
|
|
400
|
+
// border-left: 1px solid #F2F6FA;
|
|
401
|
+
// }
|
|
402
|
+
// #user-info {
|
|
403
|
+
// padding:6px;
|
|
404
|
+
// span {
|
|
405
|
+
// padding-left: 5px;
|
|
406
|
+
// }
|
|
407
|
+
// }
|
|
408
|
+
// #address1 {
|
|
409
|
+
// border-right: 0;
|
|
410
|
+
// }
|
|
411
|
+
</style>
|
|
@@ -14,4 +14,6 @@ export default function () {
|
|
|
14
14
|
Vue.component('file-user-address', (resolve) => { require(['./FileUserAddress'], resolve) })
|
|
15
15
|
// 单个表具信息test
|
|
16
16
|
Vue.component('file-meter-info', (resolve) => { require(['./MeterinfoTest'], resolve) })
|
|
17
|
+
// 当前选择用户的表具基本信息
|
|
18
|
+
Vue.component('user-meterinfodetail', (resolve) => { require(['./meterinfodetail'], resolve) })
|
|
17
19
|
}
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
</div>
|
|
124
124
|
<div class="col-sm-4">
|
|
125
125
|
<label class="font_normal_body_new">是否自动阀控</label>
|
|
126
|
-
<input class="input-underline" style="width:45%" :value="row.f_network_valve == '1' ? '
|
|
126
|
+
<input class="input-underline" style="width:45%" :value="row.f_network_valve == '1' ? '手动' : '自动'" readonly>
|
|
127
127
|
</div>
|
|
128
128
|
</div>
|
|
129
129
|
<div v-if="row.f_collection_type == '按气量'" >
|