sale-client 4.2.70 → 4.2.71
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/build/dev-server.js +36 -58
- package/index.html +2 -7
- package/package.json +1 -1
- package/src/App.vue +1 -1
- package/src/components/FilesManage/addressts/FileUserFilests.vue +671 -0
- package/src/components/FilesManage/ncUserinfoList.vue +315 -0
- package/src/components/SellGasCharge/MeterCharge/CardDataRewrite.vue +107 -0
- package/src/components/SendCard/SendCardData.vue +208 -0
- package/src/components/accounts/accountAdd.vue +276 -0
- package/src/components/accounts/accountsList.vue +183 -0
- package/src/components/accounts/accountsManage.vue +87 -0
- package/src/components/common/chargeinfo/chargeinfo.vue +55 -0
- package/src/components/common/userinfo_detail/config/exportConfig.js +85 -0
- package/src/components/ncarchives/ncArchivesAdd.vue +468 -0
- package/src/components/ncarchives/ncArchivesList.vue +159 -0
- package/src/components/ncarchives/ncUserfilesList.vue +373 -0
- package/src/components/ncarchives/ncarchivesmanage.vue +80 -0
- package/src/components/revenue/HandManager/MeterBookUser.vue +726 -726
- package/src/components/revenue/IOTArrears/arrears.vue +323 -0
- package/src/components/revenue/IOTArrears/iotRechargeAudit.vue +369 -0
- package/src/components/revenue/base/rightview/carddetail/cardiotfeeChangeDetail.vue +59 -0
- package/src/components/revenue/base/rightview/carddetail/reduceChangeDetail.vue +59 -0
- package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/BatchCancellationts.vue +73 -0
- package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/BatchEnablets.vue +73 -0
- package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/ReduceAddGas.vue +199 -0
- package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icdeductionManage.vue +24 -0
- package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icdeductionYSManage.vue +24 -0
- package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icfeeDeduction.vue +185 -0
- package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icfeeYSDeduction.vue +185 -0
- package/src/components/revenue/comprehen/ComprehenOperation/QrPay/QrPaymentDetailed.vue +423 -423
- package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/ChangeFlowMeter.vue +356 -0
- package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/CorrectionMeter.vue +148 -0
- package/src/components/revenue/comprehen/Maintenance/hand/handOperate.vue +469 -469
- package/src/components/revenue/comprehen/SpecialUser/BlackList/BlackUserList.vue +136 -0
- package/src/components/revenue/machineHandManage/ArrearsQuery.vue +938 -938
- package/src/components/revenue/recordMainten/sellinggas/AddWarehousemain.vue +65 -0
- package/src/components/revenue/recordMainten/sellinggas/MeterOperateAdd.vue +483 -0
- package/src/components/revenue/recordMainten/sellinggas/MeterOperatemain.vue +279 -0
- package/src/components/revenue/recordMainten/sellinggas/MeterOperatemainImport.vue +265 -0
- package/src/components/thirdapply/thirdAdd.vue +289 -0
- package/src/components/thirdapply/thirdList.vue +162 -0
- package/src/components/thirdapply/thirdManage.vue +74 -0
- package/src/components/webMeter/InstructQuery.vue +414 -0
- package/src/components/webMeter/MeterManage/WebMeterBatchOperationValve.vue +970 -970
- package/src/components/webMeter/ParamSet/ParamSet.vue +556 -0
- package/src/components/webMeter/ParamSet/ParamSetForm.vue +296 -0
- package/src/components/webMeter/WebUserHand.vue +483 -0
- package/src/components/webMeter/instructionView/NewQueryInstruct.vue +509 -0
- package/src/components/webMeter/instructionView/NewQueryInstructMain.vue +48 -0
- package/src/components/webMeter/webManage/NewMeterList.vue +461 -0
- package/src/filiale/alashan/eticket/EticketRecordList.vue +428 -428
- package/src/filiale/bayan/ChargeList.vue +1010 -1010
- package/src/filiale/bayan/StockListmain.vue +543 -543
- package/src/filiale/bazhong/UserInfoDetailManageNew.vue +245 -245
- package/src/filiale/bazhong/ic_detail/ChangeMeterQueryUser.vue +370 -370
- package/src/filiale/bazhong/sale.js +8 -8
- package/src/filiale/beifangshiye/OtherChargeNew.vue +625 -625
- package/src/filiale/jinhuang/WebHand.vue +1026 -1026
- package/src/filiale/lixianV3/ArrearsQuery.vue +938 -938
- package/src/filiale/lixianV3/InsuranceChargesDetails.vue +425 -425
- package/src/filiale/meihekou/common/userinfo_detail/ic_detail/MachineRecordQuery.vue +281 -281
- package/src/filiale/qianneng/revenue/sms/AccountMessageList.vue +508 -508
- package/src/filiale/ronghao/ArrearsQuery.vue +974 -974
- package/src/filiale/ronghao/CardService.js +2144 -2144
- package/src/filiale/ronghao/InsuranceManage.vue +58 -58
- package/src/filiale/ronghao/MachineChargeService.js +149 -149
- package/src/filiale/ronghao/NoCardMeterCenter.vue +534 -534
- package/src/filiale/ronghao/PaymentCode.vue +174 -174
- package/src/filiale/ronghao/PriceChangeCompensation/CompensationManage.vue +26 -26
- package/src/filiale/ronghao/PriceChangeCompensation/IotCompensation.vue +318 -318
- package/src/filiale/ronghao/PriceChangeCompensation/JbCompensation.vue +343 -343
- package/src/filiale/ronghao/PriceChangeCompensation/SurplusRecordDetail.vue +74 -74
- package/src/filiale/ronghao/ReplaceCardManage.vue +415 -415
- package/src/filiale/ronghao/Upload.vue +654 -654
- package/src/filiale/ronghao/cardDown.vue +1141 -1141
- package/src/filiale/ronghao/changemeterOperate.vue +315 -315
- package/src/filiale/ronghao/fillgasSpecific.vue +313 -313
- package/src/filiale/ronghao/ic_detail/ChargeRecordQuery.vue +106 -106
- package/src/filiale/ronghao/ic_detail/WatchCollection.vue +115 -115
- package/src/filiale/ronghao/ic_detail/WebHandQueryUser.vue +411 -411
- package/src/filiale/ronghao/machineDown.vue +1176 -1176
- package/src/filiale/ronghao/replacementSingleInfoOperation.vue +315 -315
- package/src/filiale/ronghao/specificInformation.vue +537 -537
- package/src/filiale/yangchun/ChargeList.vue +954 -954
- package/src/filiale/yuncheng/FileManageService.js +469 -469
- package/src/filiale/yuncheng/IndustryCommerceHand.vue +5 -0
- package/src/filiale/yuncheng/IndustryCommerceHandAudit.vue +38 -0
- package/src/filiale/yuncheng/changemeterListMaintain.vue +504 -504
- package/src/filiale/zhongsheng/BlackListList.vue +293 -293
- package/src/filiale/zhongyi/HandQueryUser.vue +389 -389
- package/src/plugins/FileManageServicets.js +214 -0
- package/src/plugins/GetImg.js +53 -0
|
@@ -0,0 +1,369 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div id="unit" class="flex-row">
|
|
3
|
+
<div class="basic-main">
|
|
4
|
+
<div class="flex" v-if="!listpage">
|
|
5
|
+
<criteria-paged :model="model" v-ref:paged>
|
|
6
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
7
|
+
<!-- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>-->
|
|
8
|
+
<div class="form-horizontal select-overspread container-fluid auto" novalidate partial>
|
|
9
|
+
<div class="row">
|
|
10
|
+
<div class="col-sm-2 form-group">
|
|
11
|
+
<label class="font_normal_body" >组织机构</label>
|
|
12
|
+
<res-select
|
|
13
|
+
:initresid='$parent.$parent.curorgid'
|
|
14
|
+
@res-select="$parent.$parent.getorg"
|
|
15
|
+
is-mul="false"
|
|
16
|
+
restype='organization'>
|
|
17
|
+
</res-select>
|
|
18
|
+
</div>
|
|
19
|
+
<div class="col-sm-2 form-group">
|
|
20
|
+
<label class="font_normal_body">客户编号</label>
|
|
21
|
+
<input type="text" class="input_search" style="width:60%" v-model="model.f_userinfo_code" style="width:60%"
|
|
22
|
+
condition="f_userinfo_code like '{}%'" placeholder="客户编号"
|
|
23
|
+
/>
|
|
24
|
+
</div>
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
<div class="col-sm-4 form-group">
|
|
28
|
+
<label class="font_normal_body">客户地址</label>
|
|
29
|
+
<input type="text" class="input_search"
|
|
30
|
+
v-model="model.f_name" style="width:80%"
|
|
31
|
+
condition="f_address like '%{}%'" placeholder="客户地址"
|
|
32
|
+
/>
|
|
33
|
+
</div>
|
|
34
|
+
|
|
35
|
+
<div style="float:right">
|
|
36
|
+
<button class="button_search button_spacing" @click="search()" >查询</button>
|
|
37
|
+
<button class="button_search button_spacing" @click="clear()" >清空</button>
|
|
38
|
+
<!-- <button class="button_search button_spacing" @click="$parent.$parent.SaveAsFileAll('daochu')" >导出</button>-->
|
|
39
|
+
<export-excel :data="$parent.$parent.getcondition" :defaultselect="$parent.$parent.defaultfield"
|
|
40
|
+
:field="$parent.$parent.getfield"
|
|
41
|
+
sqlurl="rs/logic/saleExport" sql-name="iotArrearsInfo" template-name='物联网表欠费用户信息'
|
|
42
|
+
:choose-col="true"></export-excel>
|
|
43
|
+
<!-- <button class="button_export" @click="$parent.$parent.importFile()">导入</button>-->
|
|
44
|
+
<div
|
|
45
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
46
|
+
@click="$parent.$parent.hidden()" class="button_spacing" style="float: right"></div>
|
|
47
|
+
</div>
|
|
48
|
+
</div>
|
|
49
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
50
|
+
<div class="col-sm-2 form-group">
|
|
51
|
+
<label class="font_normal_body">客户名称</label>
|
|
52
|
+
<input type="text" class="input_search" style="width:60%" v-model="model.f_user_name" style="width:60%"
|
|
53
|
+
condition="f_user_name like '%{}%'" placeholder="客户名称"
|
|
54
|
+
/>
|
|
55
|
+
</div>
|
|
56
|
+
<div class="col-sm-2 form-group">
|
|
57
|
+
<label class="font_normal_body">气表品牌</label>
|
|
58
|
+
<v-select :value.sync="model.f_meter_brand"
|
|
59
|
+
v-model="model.f_meter_brand"
|
|
60
|
+
:options='$parent.$parent.meterbrands' placeholder='请选择'
|
|
61
|
+
condition="f_meter_brand = '{}'"
|
|
62
|
+
close-on-select></v-select>
|
|
63
|
+
</div>
|
|
64
|
+
<div class="col-sm-2 form-group">
|
|
65
|
+
<label class="font_normal_body">客户类型</label>
|
|
66
|
+
<v-select :options='$parent.$parent.usertypes'
|
|
67
|
+
@change="$parent.$parent.userTypeChange"
|
|
68
|
+
:value.sync="model.f_user_type"
|
|
69
|
+
close-on-select condition="f_user_type = '{}'"
|
|
70
|
+
placeholder='用户类型'
|
|
71
|
+
style="width: 60%" v-model="model.f_user_type"></v-select>
|
|
72
|
+
</div>
|
|
73
|
+
<div class="col-sm-2 form-group">
|
|
74
|
+
<label class="font_normal_body">用气性质</label>
|
|
75
|
+
<v-select :options='$parent.$parent.gasproperties'
|
|
76
|
+
:value.sync="model.f_gasproperties"
|
|
77
|
+
close-on-select
|
|
78
|
+
condition="f_gasproperties = '{}'"
|
|
79
|
+
placeholder='用气性质'
|
|
80
|
+
style="width: 60%"
|
|
81
|
+
v-model="model.f_gasproperties">
|
|
82
|
+
</v-select>
|
|
83
|
+
</div>
|
|
84
|
+
<div class="col-sm-3 form-group">
|
|
85
|
+
<label class="font_normal_body">表累购金额</label>
|
|
86
|
+
<v-select :options='$parent.$parent.totalmoneystate'
|
|
87
|
+
:value.sync="model.f_total_state"
|
|
88
|
+
close-on-select condition="f_total_fee {} allmoney"
|
|
89
|
+
placeholder='全部' :width="'20%'"
|
|
90
|
+
@change="$parent.$parent.changecolor(1,model.f_total_state)"
|
|
91
|
+
style="margin-right: 8px;" v-model="model.f_total_state"></v-select>
|
|
92
|
+
<label class="font_normal_body">表累购金额(记录合计)</label>
|
|
93
|
+
</div>
|
|
94
|
+
<div class="col-sm-3 form-group">
|
|
95
|
+
<label class="font_normal_body">表累购金额</label>
|
|
96
|
+
<v-select :options='$parent.$parent.totalmoneystate'
|
|
97
|
+
:value.sync="model.f_totaluse_state"
|
|
98
|
+
close-on-select condition="f_total_fee {} f_balance_amount+f_total_usegas_amount"
|
|
99
|
+
placeholder='全部'
|
|
100
|
+
:width="'20%'"
|
|
101
|
+
@change="$parent.$parent.changecolor(2,model.f_totaluse_state)"
|
|
102
|
+
style="margin-right: 8px;" v-model="model.f_totaluse_state"></v-select>
|
|
103
|
+
<label class="font_normal_body">剩余金额+累用金额</label>
|
|
104
|
+
</div>
|
|
105
|
+
<div class="col-sm-4 form-group">
|
|
106
|
+
<label class="font_normal_body">表累购金额</label>
|
|
107
|
+
<v-select :options='$parent.$parent.totalmoneystate'
|
|
108
|
+
:value.sync="model.f_totalsy_state"
|
|
109
|
+
close-on-select condition="f_total_fee {} fillmoney+allmoney"
|
|
110
|
+
placeholder='全部'
|
|
111
|
+
:width="'20%'"
|
|
112
|
+
@change="$parent.$parent.changecolor(3,model.f_totalsy_state)"
|
|
113
|
+
style="margin-right: 8px;" v-model="model.f_totalsy_state"></v-select>
|
|
114
|
+
<label class="font_normal_body">补气金额(旧表)+表累购金额(记录合计)</label>
|
|
115
|
+
</div>
|
|
116
|
+
<div class="col-sm-5 form-group">
|
|
117
|
+
<p style="font-weight:bold;font-size: 14px; color:darkred;margin-top: 19px;">说明:由于旧表存在老系统换表补费,补气金额(旧表)需要和表累购金额(记录合计)的和才能等于表累购金额</p>
|
|
118
|
+
</div>
|
|
119
|
+
|
|
120
|
+
</div>
|
|
121
|
+
</div>
|
|
122
|
+
</criteria>
|
|
123
|
+
<data-grid id="daochu" :model="model" partial='list' class="list_area table_sy" v-ref:grid>
|
|
124
|
+
<template partial='head'>
|
|
125
|
+
<tr>
|
|
126
|
+
<th><nobr>客户编号</nobr></th>
|
|
127
|
+
<th><nobr>客户姓名</nobr></th>
|
|
128
|
+
<th><nobr>客户状态</nobr></th>
|
|
129
|
+
<th><nobr>表号</nobr></th>
|
|
130
|
+
<th><nobr>客户类型</nobr></th>
|
|
131
|
+
<th><nobr>用气性质</nobr></th>
|
|
132
|
+
<th><nobr>气表品牌</nobr></th>
|
|
133
|
+
<th><nobr>客户地址</nobr></th>
|
|
134
|
+
<th><nobr>气表类型</nobr></th>
|
|
135
|
+
<th><nobr>气表状态</nobr></th>
|
|
136
|
+
<th><nobr>气表读数</nobr></th>
|
|
137
|
+
<th :style="{background:($parent.$parent.$parent.showcolorstate=='1' || $parent.$parent.$parent.showcolorstate=='2' || $parent.$parent.$parent.showcolorstate=='3' ? '#ffc7ce!important':'')}">
|
|
138
|
+
<nobr>当前表累购金额</nobr></th>
|
|
139
|
+
<th :style="{background:($parent.$parent.$parent.showcolorstate=='3'? '#f1dec2!important':'')}">
|
|
140
|
+
<nobr>补气金额(旧表)</nobr>
|
|
141
|
+
</th>
|
|
142
|
+
<th :style="{background:($parent.$parent.$parent.showcolorstate=='1' || $parent.$parent.$parent.showcolorstate=='3' ? '#f1dec2!important':'')}">
|
|
143
|
+
<nobr>当前表累购金额(记录合计)</nobr></th>
|
|
144
|
+
<th :style="{background:($parent.$parent.$parent.showcolorstate=='2'? '#c6efce!important':'')}">
|
|
145
|
+
<nobr>累用金额</nobr></th>
|
|
146
|
+
<th :style="{background:($parent.$parent.$parent.showcolorstate=='2'? '#c6efce!important':'')}">
|
|
147
|
+
<nobr>剩余金额</nobr></th>
|
|
148
|
+
<th><nobr>最后上报时间</nobr></th>
|
|
149
|
+
<th><nobr>最后结算时间</nobr></th>
|
|
150
|
+
<th><nobr>所属组织</nobr></th>
|
|
151
|
+
</tr>
|
|
152
|
+
</template>
|
|
153
|
+
<template partial='body'>
|
|
154
|
+
<tr>
|
|
155
|
+
<td style="text-align:center">
|
|
156
|
+
<span @click="$parent.$parent.$parent.dealmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
|
|
157
|
+
</td>
|
|
158
|
+
<td style="text-align:center"><nobr>{{row.f_user_name}}</nobr></td>
|
|
159
|
+
<td style="text-align:center"><nobr>{{row.f_user_state}}</nobr>
|
|
160
|
+
<td style="text-align:center"><nobr>{{row.f_meternumber}}</nobr></td>
|
|
161
|
+
<td style="text-align:center"><nobr>{{row.f_user_type}}</nobr></td>
|
|
162
|
+
<td style="text-align:center"><nobr>{{row.f_gasproperties}}</nobr></td>
|
|
163
|
+
<td style="text-align:center"><nobr>{{row.f_meter_brand}}</nobr></td>
|
|
164
|
+
<td style="text-align:center"><nobr>{{row.f_address}}</nobr></td>
|
|
165
|
+
<td style="text-align:center"><nobr>{{row.f_meter_classify}}</nobr></td>
|
|
166
|
+
<td style="text-align:center"><nobr>{{row.f_table_state}}</nobr></td>
|
|
167
|
+
<td style="text-align:center"><nobr>{{row.f_meter_base}}</nobr></td>
|
|
168
|
+
<td style="text-align:center" :style="{background:($parent.$parent.$parent.showcolorstate=='1' || $parent.$parent.$parent.showcolorstate=='2' || $parent.$parent.$parent.showcolorstate=='3' ? '#ffc7ce!important':'')}" >
|
|
169
|
+
<nobr>{{row.f_total_fee}}</nobr></td>
|
|
170
|
+
<td style="text-align:center" :style="{background:($parent.$parent.$parent.showcolorstate=='3'? '#f1dec2!important':'')}">
|
|
171
|
+
<nobr>{{row.fillmoney}}</nobr></td>
|
|
172
|
+
<td style="text-align:center" :style="{background:($parent.$parent.$parent.showcolorstate=='1' || $parent.$parent.$parent.showcolorstate=='3' ? '#f1dec2!important':'')}">
|
|
173
|
+
<nobr>{{row.allmoney}}</nobr></td>
|
|
174
|
+
<td style="text-align:center" :style="{background:($parent.$parent.$parent.showcolorstate=='2'? '#c6efce!important':'')}" >
|
|
175
|
+
<nobr>{{row.f_total_usegas_amount}}</nobr></td>
|
|
176
|
+
<td style="text-align:center" :style="{background:($parent.$parent.$parent.showcolorstate=='2'? '#c6efce!important':'')}" >
|
|
177
|
+
<nobr>{{row.f_balance_amount}}</nobr></td>
|
|
178
|
+
<td style="text-align:center"><nobr>{{row.f_meteread_date}}</nobr></td>
|
|
179
|
+
<td style="text-align:center"><nobr>{{row.f_hand_date}}</nobr></td>
|
|
180
|
+
<td style="text-align:center"><nobr>{{row.name}}</nobr></td>
|
|
181
|
+
</tr>
|
|
182
|
+
</template>
|
|
183
|
+
<template partial='foot'></template>
|
|
184
|
+
</data-grid>
|
|
185
|
+
</criteria-paged>
|
|
186
|
+
</div>
|
|
187
|
+
<div v-if="listpage">
|
|
188
|
+
<user-info-detail-manage :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage>
|
|
189
|
+
</div>
|
|
190
|
+
</div>
|
|
191
|
+
</div>
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
<modal :show.sync="fileshow" width="500px" title="文件导入" v-ref:modal large backdrop="false">
|
|
195
|
+
<article slot="modal-body" class="modal-body">
|
|
196
|
+
<file-upload class="my-file-uploader " name="UploadFile" class="btn btn-success" style="border-radius: 2px;"
|
|
197
|
+
action="rs/file/uploadFile" tagname="导入发票" v-ref:file :headers="headers"></file-upload>
|
|
198
|
+
</article>
|
|
199
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
200
|
+
</footer>
|
|
201
|
+
</modal>
|
|
202
|
+
|
|
203
|
+
</template>
|
|
204
|
+
|
|
205
|
+
<script>
|
|
206
|
+
import { PagedList } from 'vue-client'
|
|
207
|
+
import {HttpResetClass} from 'vue-client'
|
|
208
|
+
import Vue from "vue";
|
|
209
|
+
import getLodop from "../../../plugins/LodopFuncs";
|
|
210
|
+
import exportConfig from "../../common/userinfo_detail/config/exportConfig"
|
|
211
|
+
let getGasbrandGen = async function (self) {
|
|
212
|
+
await self.$LoadParams.loadParam()
|
|
213
|
+
self.initQueryParam()
|
|
214
|
+
}
|
|
215
|
+
// self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
|
|
216
|
+
export default {
|
|
217
|
+
data () {
|
|
218
|
+
return {
|
|
219
|
+
defaultfield: [],
|
|
220
|
+
config: {
|
|
221
|
+
defaultPrint: ['f_user_name','f_meter_brand','f_user_type']
|
|
222
|
+
},
|
|
223
|
+
model: new PagedList('rs/sql/iotrechargeaudit',20),
|
|
224
|
+
fileshow: false,
|
|
225
|
+
condition: '1=1',
|
|
226
|
+
moneystate: [{label: '欠费', value: '<'}, {label: '正常', value: '>='}],
|
|
227
|
+
totalmoneystate: [{label:'全部',value:''},{label: '相等', value: '='}, {label: '不等', value: '!='}],
|
|
228
|
+
// f_usertype:[{label:'民用',value:'民用'},{label:'非民用',value:'非民用'}],
|
|
229
|
+
// gasproperties:[],
|
|
230
|
+
meterBrand:[],
|
|
231
|
+
meterbrands: [],
|
|
232
|
+
curorgid: [this.$login.f.orgid],
|
|
233
|
+
radio: [],
|
|
234
|
+
//选中的页
|
|
235
|
+
all: [],
|
|
236
|
+
//row数据
|
|
237
|
+
rowsdata: [],
|
|
238
|
+
printModel: {
|
|
239
|
+
rows: []
|
|
240
|
+
},
|
|
241
|
+
listpage:false,
|
|
242
|
+
criteriaShow:false,
|
|
243
|
+
iscomplanAllInfo:false,
|
|
244
|
+
rowdata:[],
|
|
245
|
+
gasproperties: this.$appdata.getParam('用气性质') ? [{
|
|
246
|
+
label: '全部',
|
|
247
|
+
value: ''
|
|
248
|
+
}, ...this.$appdata.getParam('用气性质')] : [],
|
|
249
|
+
showcolorstate:0
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
title: '物联网金额监控',
|
|
253
|
+
ready(){
|
|
254
|
+
this.search()
|
|
255
|
+
for(var item in exportConfig.iotrechargeaudit){
|
|
256
|
+
this.defaultfield.push(item)
|
|
257
|
+
}
|
|
258
|
+
getGasbrandGen(this)
|
|
259
|
+
},
|
|
260
|
+
computed : {
|
|
261
|
+
getcondition(){
|
|
262
|
+
return {
|
|
263
|
+
condition: `${this.$refs.paged.$refs.cri.condition}`
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
getfield() {
|
|
267
|
+
return exportConfig.iotrechargeaudit
|
|
268
|
+
},
|
|
269
|
+
usertypes() {
|
|
270
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('客户类型')]
|
|
271
|
+
},
|
|
272
|
+
metertypes() {
|
|
273
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
|
|
274
|
+
},
|
|
275
|
+
tableState () {
|
|
276
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('表具状态')]
|
|
277
|
+
}
|
|
278
|
+
},
|
|
279
|
+
events : {
|
|
280
|
+
|
|
281
|
+
},
|
|
282
|
+
methods: {
|
|
283
|
+
changecolor(number,val){
|
|
284
|
+
if(number != this.showcolorstate && (val == null || val == '')){
|
|
285
|
+
return;
|
|
286
|
+
}
|
|
287
|
+
if(number == 3){
|
|
288
|
+
this.$refs.paged.$refs.cri.model.f_total_state = ''
|
|
289
|
+
this.$refs.paged.$refs.cri.model.f_totaluse_state = ''
|
|
290
|
+
}
|
|
291
|
+
if(number == 2){
|
|
292
|
+
this.$refs.paged.$refs.cri.model.f_totalsy_state=''
|
|
293
|
+
this.$refs.paged.$refs.cri.model.f_total_state = ''
|
|
294
|
+
}
|
|
295
|
+
if(number == 1){
|
|
296
|
+
this.$refs.paged.$refs.cri.model.f_totaluse_state = ''
|
|
297
|
+
this.$refs.paged.$refs.cri.model.f_totalsy_state = ''
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
this.showcolorstate = 0;
|
|
301
|
+
if(val == null || val =='' ){
|
|
302
|
+
this.showcolorstate = 0
|
|
303
|
+
}else{
|
|
304
|
+
this.showcolorstate = number
|
|
305
|
+
}
|
|
306
|
+
},
|
|
307
|
+
hidden(){
|
|
308
|
+
this.criteriaShow = !this.criteriaShow
|
|
309
|
+
},
|
|
310
|
+
cancel(){
|
|
311
|
+
this.listpage=false
|
|
312
|
+
},
|
|
313
|
+
dealmsg(val) {
|
|
314
|
+
console.log("=---------------dealmsg--------------")
|
|
315
|
+
this.listpage=true
|
|
316
|
+
this.rowdata=val
|
|
317
|
+
console.log(this.rowdata.f_userinfo_id)
|
|
318
|
+
val.model = this.model.model
|
|
319
|
+
// this('deal-msg', val)
|
|
320
|
+
},
|
|
321
|
+
search () {
|
|
322
|
+
this.$refs.paged.$refs.cri.search()
|
|
323
|
+
},
|
|
324
|
+
userTypeChange () {
|
|
325
|
+
this.gasproperties=[]
|
|
326
|
+
if(this.$refs.paged.model.model !== null ) {
|
|
327
|
+
this.$refs.paged.model.model.f_gasproperties=''
|
|
328
|
+
|
|
329
|
+
console.log(this.$refs.paged.model.model.f_user_type[0])
|
|
330
|
+
this.gasproperties = this.$appdata.getParam(this.$refs.paged.model.model.f_user_type[0])
|
|
331
|
+
// this.gasproperties.push({label: '全部', value: ''})
|
|
332
|
+
}
|
|
333
|
+
else{
|
|
334
|
+
this.gasproperties =[{label: '全部', value: ''}]
|
|
335
|
+
}
|
|
336
|
+
},
|
|
337
|
+
async selfSearch (args) {
|
|
338
|
+
if (!this.f_orgid) {
|
|
339
|
+
this.getorg([this.$login.f.orgid])
|
|
340
|
+
}
|
|
341
|
+
console.log('查询。。。', this.f_orgid)
|
|
342
|
+
args.condition = `${args.condition} and f_filialeid in ${this.f_orgid}`
|
|
343
|
+
this.model.search(args.condition, args.model)
|
|
344
|
+
},
|
|
345
|
+
//清空
|
|
346
|
+
clear(){
|
|
347
|
+
this.$refs.paged.$refs.cri.model = {}
|
|
348
|
+
},
|
|
349
|
+
getorg (val) {
|
|
350
|
+
this.f_orgid = this.$login.convertToIn(val)
|
|
351
|
+
this.f_filialeids = val[0]
|
|
352
|
+
},
|
|
353
|
+
initQueryParam () {
|
|
354
|
+
let arr = []
|
|
355
|
+
this.$GetSaleParam.getGasbrand().forEach((item) => {
|
|
356
|
+
let temp = {}
|
|
357
|
+
if(item.value.f_meter_type==='物联网表'){
|
|
358
|
+
temp.label = item.label
|
|
359
|
+
temp.value = item.value.f_meter_brand
|
|
360
|
+
arr.push(temp )
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
})
|
|
364
|
+
this.meterbrands = [{label: '全部', value: ''}, ...arr]
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
}
|
|
369
|
+
</script>
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="auto">
|
|
3
|
+
<partial-view v-ref:pv>
|
|
4
|
+
<div class="row">
|
|
5
|
+
<label class = "col-sm-4">客户名称:</label>
|
|
6
|
+
<span class = "col-sm-6">{{model.f_user_name}}</span>
|
|
7
|
+
</div>
|
|
8
|
+
<div class="row">
|
|
9
|
+
<label class = "col-sm-4">补费金额:</label>
|
|
10
|
+
<span class = "col-sm-2" style="text-align:left">{{model.f_preamount}}</span>
|
|
11
|
+
</div>
|
|
12
|
+
<div class="row">
|
|
13
|
+
<label class = "col-sm-4">备注:</label>
|
|
14
|
+
<span class = "col-sm-8" style="text-align:left">{{model.f_comments}}</span>
|
|
15
|
+
</div>
|
|
16
|
+
<div class="row">
|
|
17
|
+
<label class = "col-sm-4">操作人:</label>
|
|
18
|
+
<span class = "col-sm-8" style="text-align:left">{{model.f_operator}}</span>
|
|
19
|
+
</div>
|
|
20
|
+
<div class="row">
|
|
21
|
+
<label class = "col-sm-4">操作时间:</label>
|
|
22
|
+
<span class = "col-sm-8" style="text-align:left">{{data.f_operate_date}}</span>
|
|
23
|
+
</div>
|
|
24
|
+
</partial-view>
|
|
25
|
+
</div>
|
|
26
|
+
</template>
|
|
27
|
+
|
|
28
|
+
<script>
|
|
29
|
+
export default {
|
|
30
|
+
title: '超用收费详情',
|
|
31
|
+
props: ['data'],
|
|
32
|
+
data () {
|
|
33
|
+
return {
|
|
34
|
+
model: {}
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
ready () {
|
|
38
|
+
let sql = 'singleTable_OrderBy'
|
|
39
|
+
let params = {
|
|
40
|
+
items: 'f_user_name, f_pregas, f_preamount, f_comments, f_operator, f_operate_date',
|
|
41
|
+
tablename: 't_sellinggas',
|
|
42
|
+
condition: 'id = ' + this.data.id,
|
|
43
|
+
orderitem: 'id'
|
|
44
|
+
}
|
|
45
|
+
this.$info(`加载数据中..., sql:${sql}`)
|
|
46
|
+
console.log("我走的这里啊")
|
|
47
|
+
this.$refs.pv.load('rs/logic/getOneData', {data: {sql: sql, params: params}}).then((a) => {
|
|
48
|
+
this.$info(`成功获取到数据!, data:${JSON.stringify(a.data)}`)
|
|
49
|
+
this.model = a.data
|
|
50
|
+
}).catch((error) => {
|
|
51
|
+
if (error.status) {
|
|
52
|
+
this.$warn(`加载数据出错, ${JSON.stringify(error)}`)
|
|
53
|
+
return
|
|
54
|
+
}
|
|
55
|
+
throw error
|
|
56
|
+
})
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
</script>
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="auto">
|
|
3
|
+
<partial-view v-ref:pv>
|
|
4
|
+
<div class="row">
|
|
5
|
+
<label class = "col-sm-4">客户名称:</label>
|
|
6
|
+
<span class = "col-sm-6">{{model.f_user_name}}</span>
|
|
7
|
+
</div>
|
|
8
|
+
<div class="row">
|
|
9
|
+
<label class = "col-sm-4">补气量</label>
|
|
10
|
+
<span class = "col-sm-2" style="text-align:left">{{model.f_pregas}}</span>
|
|
11
|
+
</div>
|
|
12
|
+
<div class="row">
|
|
13
|
+
<label class = "col-sm-4">备注:</label>
|
|
14
|
+
<span class = "col-sm-8" style="text-align:left">{{model.f_comments}}</span>
|
|
15
|
+
</div>
|
|
16
|
+
<div class="row">
|
|
17
|
+
<label class = "col-sm-4">操作人:</label>
|
|
18
|
+
<span class = "col-sm-8" style="text-align:left">{{model.f_operator}}</span>
|
|
19
|
+
</div>
|
|
20
|
+
<div class="row">
|
|
21
|
+
<label class = "col-sm-4">操作时间:</label>
|
|
22
|
+
<span class = "col-sm-8" style="text-align:left">{{data.f_operate_date}}</span>
|
|
23
|
+
</div>
|
|
24
|
+
</partial-view>
|
|
25
|
+
</div>
|
|
26
|
+
</template>
|
|
27
|
+
|
|
28
|
+
<script>
|
|
29
|
+
export default {
|
|
30
|
+
title: '超用收费详情',
|
|
31
|
+
props: ['data'],
|
|
32
|
+
data () {
|
|
33
|
+
return {
|
|
34
|
+
model: {}
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
ready () {
|
|
38
|
+
let sql = 'singleTable_OrderBy'
|
|
39
|
+
let params = {
|
|
40
|
+
items: 'f_user_name, f_pregas, f_preamount, f_comments, f_operator, f_operate_date',
|
|
41
|
+
tablename: 't_sellinggas',
|
|
42
|
+
condition: 'id = ' + this.data.id,
|
|
43
|
+
orderitem: 'id'
|
|
44
|
+
}
|
|
45
|
+
this.$info(`加载数据中..., sql:${sql}`)
|
|
46
|
+
console.log("我走的这里啊")
|
|
47
|
+
this.$refs.pv.load('rs/logic/getOneData', {data: {sql: sql, params: params}}).then((a) => {
|
|
48
|
+
this.$info(`成功获取到数据!, data:${JSON.stringify(a.data)}`)
|
|
49
|
+
this.model = a.data
|
|
50
|
+
}).catch((error) => {
|
|
51
|
+
if (error.status) {
|
|
52
|
+
this.$warn(`加载数据出错, ${JSON.stringify(error)}`)
|
|
53
|
+
return
|
|
54
|
+
}
|
|
55
|
+
throw error
|
|
56
|
+
})
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
</script>
|
package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/BatchCancellationts.vue
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="auto">
|
|
3
|
+
<validator name='v'>
|
|
4
|
+
<form class="form-horizontal">
|
|
5
|
+
<p class="bg-info text-center" style="padding: 8px;">销户信息</p>
|
|
6
|
+
<div class="row" style="margin-top:10px;">
|
|
7
|
+
<span class="col-sm-2 col-sm-offset-1"><strong>已选中户数: {{model.count}}</strong></span>
|
|
8
|
+
</div>
|
|
9
|
+
<div class="row" style="margin-top:10px;">
|
|
10
|
+
<div :class="[$v.f_reason.required ? 'has-error' : 'has-success']">
|
|
11
|
+
<label for="f_reason" class=" font_normal_body">销户原因</label>
|
|
12
|
+
<input class="input_search" style="width:80%" v-model="model.f_reason" v-validate:f_reason='{required: true }' rows="3" placeholder="请填写原因">
|
|
13
|
+
</div>
|
|
14
|
+
</div>
|
|
15
|
+
</form>
|
|
16
|
+
<div style="text-align:right;height:auto;margin-top:30px;margin-right:50px;">
|
|
17
|
+
<button class="button_search" @click="confirm()" :disabled='!$v.valid'>确认</button>
|
|
18
|
+
<button class="button_clear" @click="clean()">取消</button>
|
|
19
|
+
</div>
|
|
20
|
+
</validator>
|
|
21
|
+
</div>
|
|
22
|
+
</template>
|
|
23
|
+
<script>
|
|
24
|
+
/**
|
|
25
|
+
*综合业务
|
|
26
|
+
表具停用组件
|
|
27
|
+
*/
|
|
28
|
+
export default {
|
|
29
|
+
title: '批量销户',
|
|
30
|
+
data () {
|
|
31
|
+
return {
|
|
32
|
+
model: {
|
|
33
|
+
count: 0,
|
|
34
|
+
discount: 0,
|
|
35
|
+
f_reason: '',
|
|
36
|
+
userinfo: {}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
props: ['useraccount'],
|
|
41
|
+
ready () {
|
|
42
|
+
this.useraccount.forEach((item) => {
|
|
43
|
+
if (item.f_user_state === '正常') {
|
|
44
|
+
this.model.count = this.model.count + 1
|
|
45
|
+
this.model.userinfo = item
|
|
46
|
+
} else if (item.f_user_state = '销户') {
|
|
47
|
+
this.model.discount = this.model.discount + 1
|
|
48
|
+
}
|
|
49
|
+
})
|
|
50
|
+
},
|
|
51
|
+
methods: {
|
|
52
|
+
confirm () {
|
|
53
|
+
this.model.f_reality_count = this.model.count
|
|
54
|
+
this.$FileService.batchOperatets(this.model, '销户').then((res) => {
|
|
55
|
+
this.$dispatch('success')
|
|
56
|
+
}).catch((error) => {
|
|
57
|
+
if (error.state === 603) {
|
|
58
|
+
this.$error('重复提交')
|
|
59
|
+
return
|
|
60
|
+
}
|
|
61
|
+
this.$dispatch('error', '批量销户', this.row, error)
|
|
62
|
+
})
|
|
63
|
+
},
|
|
64
|
+
clean () {
|
|
65
|
+
this.$info('取消操作')
|
|
66
|
+
this.$dispatch('clean', '批量销户', this.row)
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
</script>
|
|
71
|
+
|
|
72
|
+
<style>
|
|
73
|
+
</style>
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="auto">
|
|
3
|
+
<validator name='v'>
|
|
4
|
+
<form class="form-horizontal">
|
|
5
|
+
<p class="bg-info text-center" style="padding: 8px;">启用信息</p>
|
|
6
|
+
<div class="row" style="margin-top:10px;">
|
|
7
|
+
<span class="col-sm-2 col-sm-offset-1"><strong>已选中户数: {{model.discount}}</strong></span>
|
|
8
|
+
</div>
|
|
9
|
+
<div class="row" style="margin-top:10px;">
|
|
10
|
+
<div :class="[$v.f_reason.required ? 'has-error' : 'has-success']">
|
|
11
|
+
<label for="f_reason" class=" font_normal_body">启用原因:</label>
|
|
12
|
+
<input class="input_search" style="width:80%" v-model="model.f_reason" v-validate:f_reason='{required: true }' rows="3" placeholder="请填写原因">
|
|
13
|
+
</div>
|
|
14
|
+
</div>
|
|
15
|
+
</form>
|
|
16
|
+
<div style="text-align:right;height:auto;margin-top:30px;margin-right:50px;">
|
|
17
|
+
<button class="button_search" @click="confirm()" :disabled='!$v.valid'>确认</button>
|
|
18
|
+
<button class="button_clear" @click="clean()">取消</button>
|
|
19
|
+
</div>
|
|
20
|
+
</validator>
|
|
21
|
+
</div>
|
|
22
|
+
</template>
|
|
23
|
+
<script>
|
|
24
|
+
/**
|
|
25
|
+
*综合业务
|
|
26
|
+
表具停用组件
|
|
27
|
+
*/
|
|
28
|
+
export default {
|
|
29
|
+
title: '批量启用',
|
|
30
|
+
data () {
|
|
31
|
+
return {
|
|
32
|
+
model: {
|
|
33
|
+
count: 0,
|
|
34
|
+
discount: 0,
|
|
35
|
+
f_reason: '',
|
|
36
|
+
userinfo: {}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
props: ['useraccount'],
|
|
41
|
+
ready () {
|
|
42
|
+
this.useraccount.forEach((item) => {
|
|
43
|
+
if (item.f_user_state === '正常') {
|
|
44
|
+
this.model.count = this.model.count + 1
|
|
45
|
+
} else if (item.f_user_state = '销户') {
|
|
46
|
+
this.model.discount = this.model.discount + 1
|
|
47
|
+
this.model.userinfo = item
|
|
48
|
+
}
|
|
49
|
+
})
|
|
50
|
+
},
|
|
51
|
+
methods: {
|
|
52
|
+
confirm () {
|
|
53
|
+
this.model.f_reality_count = this.model.discount
|
|
54
|
+
this.$FileService.batchOperatets(this.model, '启用').then((res) => {
|
|
55
|
+
this.$dispatch('success')
|
|
56
|
+
}).catch((error) => {
|
|
57
|
+
if (error.state === 603) {
|
|
58
|
+
this.$error('重复提交')
|
|
59
|
+
return
|
|
60
|
+
}
|
|
61
|
+
this.$dispatch('error', '批量启用', this.useraccount, error)
|
|
62
|
+
})
|
|
63
|
+
},
|
|
64
|
+
clean () {
|
|
65
|
+
this.$info('取消操作')
|
|
66
|
+
this.$dispatch('clean', '批量启用', this.row)
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
</script>
|
|
71
|
+
|
|
72
|
+
<style>
|
|
73
|
+
</style>
|