manage-client 3.2.27 → 3.2.28

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.
Files changed (70) hide show
  1. package/.gradle/6.1.1/fileContent/fileContent.lock +0 -0
  2. package/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
  3. package/.gradle/7.1/dependencies-accessors/gc.properties +0 -0
  4. package/.gradle/7.1/executionHistory/executionHistory.bin +0 -0
  5. package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
  6. package/.gradle/7.1/fileChanges/last-build.bin +0 -0
  7. package/.gradle/7.1/fileHashes/fileHashes.bin +0 -0
  8. package/.gradle/7.1/fileHashes/fileHashes.lock +0 -0
  9. package/.gradle/7.1/gc.properties +0 -0
  10. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  11. package/build/dev-server.js +174 -174
  12. package/build/libs/ManageClient-3.1.0-17.jar +0 -0
  13. package/build/tmp/jar/MANIFEST.MF +2 -0
  14. package/package.json +1 -1
  15. package/src/components/SellReport/AmountGas.vue +257 -257
  16. package/src/components/SellReport/BusinessClassify.vue +268 -317
  17. package/src/components/SellReport/BusinessMoneyReport.vue +268 -268
  18. package/src/components/SellReport/BusinessReport.vue +256 -256
  19. package/src/components/SellReport/ChSellReport.vue +251 -251
  20. package/src/components/SellReport/ChargeBill.vue +244 -244
  21. package/src/components/SellReport/ChargeDayTable.vue +258 -258
  22. package/src/components/SellReport/ChargeMonthTable.vue +257 -257
  23. package/src/components/SellReport/ChargeYearTable.vue +252 -252
  24. package/src/components/SellReport/DepartmentPrick.vue +243 -288
  25. package/src/components/SellReport/DeptHomePage.vue +299 -299
  26. package/src/components/SellReport/FinanceSellType.vue +254 -254
  27. package/src/components/SellReport/GasMeterBrand.vue +228 -228
  28. package/src/components/SellReport/GasMoneyPublicReport.vue +263 -263
  29. package/src/components/SellReport/GasMoneyReport.vue +252 -254
  30. package/src/components/SellReport/GasPriceGroup.vue +228 -228
  31. package/src/components/SellReport/GasSummary.vue +257 -257
  32. package/src/components/SellReport/Gasc.vue +257 -257
  33. package/src/components/SellReport/GetUserNum.vue +240 -240
  34. package/src/components/SellReport/HandplanBili.vue +241 -241
  35. package/src/components/SellReport/HandplanUserCount.vue +227 -227
  36. package/src/components/SellReport/ManageGasSumChange.vue +265 -265
  37. package/src/components/SellReport/ManageGasSumChangeTwo.vue +271 -271
  38. package/src/components/SellReport/ManageGasSumOtherCharge.vue +244 -244
  39. package/src/components/SellReport/MarketMonth.vue +251 -297
  40. package/src/components/SellReport/MeterPrice.vue +244 -244
  41. package/src/components/SellReport/MeterReader.vue +231 -231
  42. package/src/components/SellReport/OperatorCheckoutTwo.vue +263 -263
  43. package/src/components/SellReport/OperatorSellReport.vue +268 -268
  44. package/src/components/SellReport/OtherChargePublicReport.vue +262 -262
  45. package/src/components/SellReport/PaymentDistribute.vue +228 -228
  46. package/src/components/SellReport/PaymentMethod.vue +274 -274
  47. package/src/components/SellReport/QTXManageBusSummary.vue +236 -236
  48. package/src/components/SellReport/SellDepReport.vue +264 -266
  49. package/src/components/SellReport/UserClassify.vue +222 -271
  50. package/src/components/SellReport/UserGasFillCard.vue +441 -441
  51. package/src/components/SellReport/WeiNanYuShou.vue +246 -246
  52. package/src/components/SellReport/YuShouTable.vue +298 -298
  53. package/src/components/SellReport/chargeSchedule.vue +410 -410
  54. package/src/components/SellReport/pengan/ManageBusPeng.vue +280 -280
  55. package/src/components/SellReport/userholds.vue +257 -257
  56. package/src/components/sale/config/exportConfig.js +898 -898
  57. package/src/components/sale/filesquery/ArchivesManage.vue +3 -0
  58. package/src/components/sale/filesquery/FireQuery.vue +473 -0
  59. package/src/components/webmeter/gasStatistics/GasStatistics.vue +467 -467
  60. package/src/components/webmeter/newwebmeter/ArrearageQuery.vue +307 -307
  61. package/src/components/webmeter/recharge/RechargeList.vue +343 -343
  62. package/src/components/webmeter/report/ReportList.vue +420 -420
  63. package/src/filiale/WEINAN/BankManager.vue +139 -0
  64. package/src/filiale/WEINAN/config/exportConfig.js +833 -833
  65. package/src/filiale/WEINAN/reportManage.js +13 -12
  66. package/src/filiale/macheng/ArrearsQuery.vue +823 -823
  67. package/src/main.js +66 -66
  68. package/src/reportManage.js +498 -498
  69. package/src/saleManage.js +5 -0
  70. package/src/webmeterManage.js +117 -117
@@ -1,307 +1,307 @@
1
- <template>
2
- <div id="unit" class="flex-row">
3
- <div class="basic-main">
4
- <div class="flex" v-if="!show">
5
- <criteria-paged :model="model" v-ref:paged>
6
- <criteria partial='criteria' v-ref:criteria @condition-changed='$parent.search'>
7
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
8
- <div class="row" >
9
- <div class="col-sm-2">
10
- <label class="font_normal_body">组织机构</label>
11
- <res-select :initresid="$parent.$parent.org"
12
- style="width:60%"
13
- @res-select="$parent.$parent.getorg"
14
- :is-mul=false
15
- restype='organization'>
16
- </res-select>
17
- </div>
18
- <div class="col-sm-2">
19
- <label class="font_normal_body">表&nbsp;钢&nbsp;号&nbsp;</label>
20
- <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_meternumber" placeholder='表钢号'
21
- condition="s.f_meternumber like '%{}%'" v-next-el='meternumber' v-el:meternumber
22
- >
23
- </div>
24
- <div class="col-sm-2">
25
- <label class="font_normal_body">客户编号</label>
26
- <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_userinfo_code" placeholder='客户编号'
27
- condition="s.f_userinfo_code like '%{}%'" v-next-el='f_userinfo_code' v-el:meternumber
28
- >
29
- </div>
30
- <div class="col-sm-2">
31
- <label class="font_normal_body">客户名称</label>
32
- <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_username" placeholder='客户名称'
33
- condition="s.f_user_name like '%{}%'" v-next-el='userid' v-el:username>
34
- </div>
35
-
36
- <div class="span" style="float:right;margin-top:10px">
37
- <button class="button_search button_spacing" @click="search()">查询</button>
38
- <button class="button_clear button_spacing" @click="$parent.$parent.clearmsg">清空</button>
39
- <export-excel :data="$parent.$parent.getCondition" class="button_export button_spacing"
40
- :field="$parent.$parent.getfield"
41
- sqlurl="rs/logic/exportfile" sql-name="rechargeInstruct" template-name='欠费查询'
42
- :choose-col="true"></export-excel>
43
- <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
44
- </div>
45
- </div>
46
- <div class="row" v-show="$parent.$parent.criteriaShow">
47
- <div class="col-sm-2">
48
- <label class="font_normal_body">客户地址</label>
49
- <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_address" placeholder='客户地址'
50
- condition="s.f_address like '%{}%'" v-next-el='userid' v-el:username>
51
- </div>
52
- <div class="col-sm-2 form-group">
53
- <label class="font_normal_body">客户类型</label>
54
- <v-select :value.sync="model.f_user_type"
55
- @change="$parent.$parent.userTypeChange()"
56
- :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
57
- condition="s.f_user_type = '{}'"
58
- close-on-select></v-select>
59
- </div>
60
- <div class="col-sm-2 form-group">
61
- <label class="font_normal_body">用气性质</label>
62
- <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
63
- :options='$parent.$parent.gasproperties' placeholder='请选择'
64
- condition="s.f_gasproperties = '{}'"
65
- closfe-on-select></v-select>
66
- </div>
67
- <div class="col-sm-2 form-group">
68
- <label class="font_normal_body">气表品牌</label>
69
- <v-select :value.sync="model.f_meter_brand"
70
- v-model="model.f_meter_brand"
71
- :options="$parent.$parent.meterbrands"
72
- condition="s.f_meter_brand = '{}'"
73
- close-on-select></v-select>
74
- </div>
75
- <div class="col-sm-2 form-group" >
76
- <label class="font_normal_body" for="startDate">开始时间</label>
77
- <datepicker id="startDate" placeholder="开始日期" style="width: 60%"
78
- v-model="model.startDate"
79
- :value.sync="model.startDate"
80
- :disabled-days-of-Week="[]"
81
- :format="'yyyy-MM-dd 00:00:00'"
82
- :show-reset-button="reset">
83
- </datepicker>
84
- </div>
85
- <div class="col-sm-2 form-group" >
86
- <label class="font_normal_body" for="endDate">结束时间</label>
87
- <datepicker id="endDate" placeholder="结束日期" style="width: 60%"
88
- v-model="model.endDate"
89
- :value.sync="model.endDate"
90
- :disabled-days-of-Week="[]"
91
- :format="'yyyy-MM-dd 23:59:59'"
92
- :show-reset-button="reset">
93
- </datepicker>
94
- </div>
95
- </div>
96
- </div>
97
- </criteria>
98
- <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
99
- <template partial='head'>
100
- <tr>
101
- <th><nobr>客户编号</nobr></th>
102
- <th><nobr>表号</nobr></th>
103
- <th><nobr>客户姓名</nobr></th>
104
- <th><nobr>客户地址</nobr></th>
105
-
106
- <th><nobr>用户类型</nobr></th>
107
- <th><nobr>用气性质</nobr></th>
108
- <th><nobr>欠费金额</nobr></th>
109
- <th><nobr>欠费气量</nobr></th>
110
- </tr>
111
- </template>
112
- <template partial='body' partial='list'>
113
- <tr >
114
- <td style="text-align: left;"><nobr> <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span></nobr></td>
115
- <td style="text-align: left;"><nobr>{{row.f_meternumber}}</nobr></td>
116
- <td style="text-align: left;"><nobr>{{row.f_user_name}}</nobr></td>
117
- <td style="text-align: center;"><nobr>{{row.f_address}}</nobr></td>
118
-
119
- <td style="text-align:center"><nobr>{{row.f_user_type}}</nobr></td>
120
- <td style="text-align:center"><nobr>{{row.f_gasproperties}}</nobr></td>
121
- <th style="text-align:center"><nobr>{{row.f_curbalance}}</nobr></th>
122
- <th style="text-align:center"><nobr>{{row.f_oughtamount}}</nobr></th>
123
- </tr>
124
- </template>
125
- <template partial='foot'></template>
126
- </data-grid>
127
- </criteria-paged>
128
- </div>
129
- </div>
130
- </div>
131
- </template>
132
-
133
- <script>
134
- import {HttpResetClass, PagedList} from 'vue-client'
135
- import exportConfig from '../../sale/config/exportConfig'
136
- import plugins from '../../../plugins/GetLoginInfoService'
137
- import defaultPrint from "../../sale/config/DefaultPrint";
138
- import * as Util from '../../../Util'
139
-
140
- let readySomething = async function (self) {
141
- await self.$MagLoadParams.loadParam()
142
- self.initParams()
143
- // self.sumsmodel = self.$refs.paged.$refs.grid.model.sums;
144
- }
145
- export default {
146
- title: '欠费查询',
147
- data () {
148
- return {
149
- show:false,
150
- org:[this.$login.f.orgid],
151
- orgcondition: ' and s.f_orgid = ' + this.$login.f.orgid,
152
- //f_filialeid: this.$login.f.f_orgid,
153
- detaillist: [],
154
- meterbrands: [],
155
- prices: [],
156
- gasproperties:[],
157
- condition:'',
158
- rowdata:{},
159
- sumsmodel: {},
160
- orgid:[this.$login.f.orgid],
161
- criteriaShow:false,
162
- orgCondtionStr: '',
163
- model: new PagedList('rs/sql/arrearageQuery', 50,{
164
- startDate: 'this.model.startDate',
165
- endDate: 'this.model.endDate'
166
- })
167
- }
168
- },
169
- ready () {
170
- readySomething(this).then(() => {
171
- this.$emit('ready')
172
- }).catch((error) => {
173
- this.$emit('error', error)
174
- })
175
- this.$refs.paged.$refs.criteria.model.startDate = Util.addDate(new Date(),-1).substring(0,10) + ' 00:00:00'
176
- this.$refs.paged.$refs.criteria.model.endDate = Util.addDate(new Date(),-1).substring(0,10) + ' 23:59:59'
177
- this.$refs.paged.$refs.criteria.search()
178
- },
179
- methods: {
180
- initParams() {
181
- // 初始化气表品牌
182
- let brandArr = []
183
- this.$MagGetSaleParam.getGasbrand().forEach((item) => {
184
- let temp = {}
185
- temp.label = item.label
186
- temp.value = item.value.f_meter_brand
187
- brandArr.push(temp)
188
- })
189
- this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
190
- //初始化气表价格
191
- this.prices = this.$MagGetSaleParam.getPrices();
192
- },
193
- async updateParams() {
194
- await this.$MagLoadParams.loadParam(this.f_filialeid)
195
- this.initParams()
196
- },
197
- getorg(obj) {
198
- if(plugins.convertToIn(obj)!==null&&plugins.convertToIn(obj)!==''){
199
- this.orgcondition = " and s.f_orgid in " + plugins.convertToIn(obj)
200
- }else{
201
- this.orgcondition = " and s.f_orgid = " + this.$login.f.orgid
202
- }
203
- },
204
- userTypeChange () {
205
- this.gasproperties=[]
206
- if(this.$refs.paged.$refs.criteria.model !==null) {
207
- this.$refs.paged.$refs.criteria.model.f_gasproperties=''
208
- this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.criteria.model.f_user_type[0])
209
- }
210
- else{
211
- this.gasproperties =[{label: '全部', value: ''}]
212
- }
213
- },
214
- showdetail(val) {
215
- console.log('24detail==', val)
216
- if(val){
217
- let detail = eval("("+val+")")
218
- this.detaillist = detail
219
- this.detail24 = true
220
- }else{
221
- console.log('无数据')
222
- }
223
- },
224
- close() {
225
- this.detail24 = false
226
- },
227
- hidden(){
228
- this.criteriaShow = !this.criteriaShow
229
- },
230
- cancel() {
231
- this.show = false
232
- },
233
- clearmsg () {
234
- Object.keys(this.$refs.paged.$refs.criteria.model).forEach((key) => {
235
- this.$refs.paged.$refs.criteria.model[key] = []
236
- })
237
- },
238
- getRes (obj) {
239
- this.orgCondtionStr = condition
240
- this.orgname = obj.orgnames[0]
241
- this.depname = obj.depnames[0]
242
- },
243
- showmsg(obj){
244
- this.rowdata=obj
245
- this.show=true
246
- },
247
-
248
- search (args) {
249
- args.condition = `${args.condition}`+this.orgcondition
250
- console.log(args.condition+"args.condition")
251
- this.condition = args.condition
252
- this.model.search(args.condition, args.model)
253
- // console.log(this.$refs.paged.$refs.grid.model.sums+"--this.$refs.paged.$refs.grid.model.sums")
254
- // this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
255
- // args.condition = `${args.condition}`
256
- // if (this.orgcondition)
257
- // args.condition = `${args.condition}` + this.orgcondition
258
- // else
259
- // args.condition = `${args.condition}` + 'and m.f_orgid in ' + '(' + this.$login.f.orgid + ')'
260
- // this.model.search(args.condition, args.model)
261
- }
262
- },
263
- watch: {
264
- 'orgCondtionStr'(val) {
265
- let res = val.match(/'(.*?)'/)
266
- console.log('正则提取:',res && res[1])
267
- if (res) {
268
- this.f_filialeid = res[1]
269
- // this.updateParams()
270
- }
271
- }
272
- },
273
- computed: {
274
- getfield () {
275
- return exportConfig.ArrearageConfig
276
- },
277
- usertypes() {
278
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
279
- },
280
- getCondition () {
281
- var con = ""
282
- if (this.orgCondtionStr) {
283
- con = `${this.$refs.paged.$refs.criteria.condition} and s.f_orgid in (${this.orgCondtionStr})`
284
- }
285
- else {
286
- con = `${this.$refs.paged.$refs.criteria.condition}and s.f_orgid in ('${this.$login.f.orgid}' )`
287
- }
288
- return {
289
- condition: con
290
- }
291
- }
292
- }
293
- }
294
- </script>
295
-
296
- <style>
297
- .mystyle{
298
- margin-left:80px;
299
- }
300
- .datapanel {
301
- color: #333;
302
- background-color: white;
303
- box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px ;
304
- padding: 10px 10px 10px 10px;
305
- border-radius:15px;
306
- }
307
- </style>
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main">
4
+ <div class="flex" v-if="!show">
5
+ <criteria-paged :model="model" v-ref:paged>
6
+ <criteria partial='criteria' v-ref:criteria @condition-changed='$parent.search'>
7
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
8
+ <div class="row" >
9
+ <div class="col-sm-2">
10
+ <label class="font_normal_body">组织机构</label>
11
+ <res-select :initresid="$parent.$parent.org"
12
+ style="width:60%"
13
+ @res-select="$parent.$parent.getorg"
14
+ :is-mul=false
15
+ restype='organization'>
16
+ </res-select>
17
+ </div>
18
+ <div class="col-sm-2">
19
+ <label class="font_normal_body">表&nbsp;钢&nbsp;号&nbsp;</label>
20
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_meternumber" placeholder='表钢号'
21
+ condition="s.f_meternumber like '%{}%'" v-next-el='meternumber' v-el:meternumber
22
+ >
23
+ </div>
24
+ <div class="col-sm-2">
25
+ <label class="font_normal_body">客户编号</label>
26
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_userinfo_code" placeholder='客户编号'
27
+ condition="s.f_userinfo_code like '%{}%'" v-next-el='f_userinfo_code' v-el:meternumber
28
+ >
29
+ </div>
30
+ <div class="col-sm-2">
31
+ <label class="font_normal_body">客户名称</label>
32
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_username" placeholder='客户名称'
33
+ condition="s.f_user_name like '%{}%'" v-next-el='userid' v-el:username>
34
+ </div>
35
+
36
+ <div class="span" style="float:right;margin-top:10px">
37
+ <button class="button_search button_spacing" @click="search()">查询</button>
38
+ <button class="button_clear button_spacing" @click="$parent.$parent.clearmsg">清空</button>
39
+ <export-excel :data="$parent.$parent.getCondition" class="button_export button_spacing"
40
+ :field="$parent.$parent.getfield"
41
+ sqlurl="rs/logic/exportfile" sql-name="rechargeInstruct" template-name='欠费查询'
42
+ :choose-col="true"></export-excel>
43
+ <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
44
+ </div>
45
+ </div>
46
+ <div class="row" v-show="$parent.$parent.criteriaShow">
47
+ <div class="col-sm-2">
48
+ <label class="font_normal_body">客户地址</label>
49
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_address" placeholder='客户地址'
50
+ condition="s.f_address like '%{}%'" v-next-el='userid' v-el:username>
51
+ </div>
52
+ <div class="col-sm-2 form-group">
53
+ <label class="font_normal_body">客户类型</label>
54
+ <v-select :value.sync="model.f_user_type"
55
+ @change="$parent.$parent.userTypeChange()"
56
+ :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
57
+ condition="s.f_user_type = '{}'"
58
+ close-on-select></v-select>
59
+ </div>
60
+ <div class="col-sm-2 form-group">
61
+ <label class="font_normal_body">用气性质</label>
62
+ <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
63
+ :options='$parent.$parent.gasproperties' placeholder='请选择'
64
+ condition="s.f_gasproperties = '{}'"
65
+ closfe-on-select></v-select>
66
+ </div>
67
+ <div class="col-sm-2 form-group">
68
+ <label class="font_normal_body">气表品牌</label>
69
+ <v-select :value.sync="model.f_meter_brand"
70
+ v-model="model.f_meter_brand"
71
+ :options="$parent.$parent.meterbrands"
72
+ condition="s.f_meter_brand = '{}'"
73
+ close-on-select></v-select>
74
+ </div>
75
+ <div class="col-sm-2 form-group" >
76
+ <label class="font_normal_body" for="startDate">开始时间</label>
77
+ <datepicker id="startDate" placeholder="开始日期" style="width: 60%"
78
+ v-model="model.startDate"
79
+ :value.sync="model.startDate"
80
+ :disabled-days-of-Week="[]"
81
+ :format="'yyyy-MM-dd 00:00:00'"
82
+ :show-reset-button="reset">
83
+ </datepicker>
84
+ </div>
85
+ <div class="col-sm-2 form-group" >
86
+ <label class="font_normal_body" for="endDate">结束时间</label>
87
+ <datepicker id="endDate" placeholder="结束日期" style="width: 60%"
88
+ v-model="model.endDate"
89
+ :value.sync="model.endDate"
90
+ :disabled-days-of-Week="[]"
91
+ :format="'yyyy-MM-dd 23:59:59'"
92
+ :show-reset-button="reset">
93
+ </datepicker>
94
+ </div>
95
+ </div>
96
+ </div>
97
+ </criteria>
98
+ <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
99
+ <template partial='head'>
100
+ <tr>
101
+ <th><nobr>客户编号</nobr></th>
102
+ <th><nobr>表号</nobr></th>
103
+ <th><nobr>客户姓名</nobr></th>
104
+ <th><nobr>客户地址</nobr></th>
105
+
106
+ <th><nobr>用户类型</nobr></th>
107
+ <th><nobr>用气性质</nobr></th>
108
+ <th><nobr>欠费金额</nobr></th>
109
+ <th><nobr>欠费气量</nobr></th>
110
+ </tr>
111
+ </template>
112
+ <template partial='body' partial='list'>
113
+ <tr >
114
+ <td style="text-align: left;"><nobr> <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span></nobr></td>
115
+ <td style="text-align: left;"><nobr>{{row.f_meternumber}}</nobr></td>
116
+ <td style="text-align: left;"><nobr>{{row.f_user_name}}</nobr></td>
117
+ <td style="text-align: center;"><nobr>{{row.f_address}}</nobr></td>
118
+
119
+ <td style="text-align:center"><nobr>{{row.f_user_type}}</nobr></td>
120
+ <td style="text-align:center"><nobr>{{row.f_gasproperties}}</nobr></td>
121
+ <th style="text-align:center"><nobr>{{row.f_curbalance}}</nobr></th>
122
+ <th style="text-align:center"><nobr>{{row.f_oughtamount}}</nobr></th>
123
+ </tr>
124
+ </template>
125
+ <template partial='foot'></template>
126
+ </data-grid>
127
+ </criteria-paged>
128
+ </div>
129
+ </div>
130
+ </div>
131
+ </template>
132
+
133
+ <script>
134
+ import {HttpResetClass, PagedList} from 'vue-client'
135
+ import exportConfig from '../../sale/config/exportConfig'
136
+ import plugins from '../../../plugins/GetLoginInfoService'
137
+ import defaultPrint from "../../sale/config/DefaultPrint";
138
+ import * as Util from '../../../Util'
139
+
140
+ let readySomething = async function (self) {
141
+ await self.$MagLoadParams.loadParam()
142
+ self.initParams()
143
+ // self.sumsmodel = self.$refs.paged.$refs.grid.model.sums;
144
+ }
145
+ export default {
146
+ title: '欠费查询',
147
+ data () {
148
+ return {
149
+ show:false,
150
+ org:[this.$login.f.orgid],
151
+ orgcondition: ' and s.f_orgid = ' + this.$login.f.orgid,
152
+ //f_filialeid: this.$login.f.f_orgid,
153
+ detaillist: [],
154
+ meterbrands: [],
155
+ prices: [],
156
+ gasproperties:[],
157
+ condition:'',
158
+ rowdata:{},
159
+ sumsmodel: {},
160
+ orgid:[this.$login.f.orgid],
161
+ criteriaShow:false,
162
+ orgCondtionStr: '',
163
+ model: new PagedList('rs/sql/arrearageQuery', 50,{
164
+ startDate: 'this.model.startDate',
165
+ endDate: 'this.model.endDate'
166
+ })
167
+ }
168
+ },
169
+ ready () {
170
+ readySomething(this).then(() => {
171
+ this.$emit('ready')
172
+ }).catch((error) => {
173
+ this.$emit('error', error)
174
+ })
175
+ this.$refs.paged.$refs.criteria.model.startDate = Util.addDate(new Date(),-1).substring(0,10) + ' 00:00:00'
176
+ this.$refs.paged.$refs.criteria.model.endDate = Util.addDate(new Date(),-1).substring(0,10) + ' 23:59:59'
177
+ this.$refs.paged.$refs.criteria.search()
178
+ },
179
+ methods: {
180
+ initParams() {
181
+ // 初始化气表品牌
182
+ let brandArr = []
183
+ this.$MagGetSaleParam.getGasbrand().forEach((item) => {
184
+ let temp = {}
185
+ temp.label = item.label
186
+ temp.value = item.value.f_meter_brand
187
+ brandArr.push(temp)
188
+ })
189
+ this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
190
+ //初始化气表价格
191
+ this.prices = this.$MagGetSaleParam.getPrices();
192
+ },
193
+ async updateParams() {
194
+ await this.$MagLoadParams.loadParam(this.f_filialeid)
195
+ this.initParams()
196
+ },
197
+ getorg(obj) {
198
+ if(plugins.convertToIn(obj)!==null&&plugins.convertToIn(obj)!==''){
199
+ this.orgcondition = " and s.f_orgid in " + plugins.convertToIn(obj)
200
+ }else{
201
+ this.orgcondition = " and s.f_orgid = " + this.$login.f.orgid
202
+ }
203
+ },
204
+ userTypeChange () {
205
+ this.gasproperties=[]
206
+ if(this.$refs.paged.$refs.criteria.model !==null) {
207
+ this.$refs.paged.$refs.criteria.model.f_gasproperties=''
208
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.criteria.model.f_user_type[0])
209
+ }
210
+ else{
211
+ this.gasproperties =[{label: '全部', value: ''}]
212
+ }
213
+ },
214
+ showdetail(val) {
215
+ console.log('24detail==', val)
216
+ if(val){
217
+ let detail = eval("("+val+")")
218
+ this.detaillist = detail
219
+ this.detail24 = true
220
+ }else{
221
+ console.log('无数据')
222
+ }
223
+ },
224
+ close() {
225
+ this.detail24 = false
226
+ },
227
+ hidden(){
228
+ this.criteriaShow = !this.criteriaShow
229
+ },
230
+ cancel() {
231
+ this.show = false
232
+ },
233
+ clearmsg () {
234
+ Object.keys(this.$refs.paged.$refs.criteria.model).forEach((key) => {
235
+ this.$refs.paged.$refs.criteria.model[key] = []
236
+ })
237
+ },
238
+ getRes (obj) {
239
+ this.orgCondtionStr = condition
240
+ this.orgname = obj.orgnames[0]
241
+ this.depname = obj.depnames[0]
242
+ },
243
+ showmsg(obj){
244
+ this.rowdata=obj
245
+ this.show=true
246
+ },
247
+
248
+ search (args) {
249
+ args.condition = `${args.condition}`+this.orgcondition
250
+ console.log(args.condition+"args.condition")
251
+ this.condition = args.condition
252
+ this.model.search(args.condition, args.model)
253
+ // console.log(this.$refs.paged.$refs.grid.model.sums+"--this.$refs.paged.$refs.grid.model.sums")
254
+ // this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
255
+ // args.condition = `${args.condition}`
256
+ // if (this.orgcondition)
257
+ // args.condition = `${args.condition}` + this.orgcondition
258
+ // else
259
+ // args.condition = `${args.condition}` + 'and m.f_orgid in ' + '(' + this.$login.f.orgid + ')'
260
+ // this.model.search(args.condition, args.model)
261
+ }
262
+ },
263
+ watch: {
264
+ 'orgCondtionStr'(val) {
265
+ let res = val.match(/'(.*?)'/)
266
+ console.log('正则提取:',res && res[1])
267
+ if (res) {
268
+ this.f_filialeid = res[1]
269
+ // this.updateParams()
270
+ }
271
+ }
272
+ },
273
+ computed: {
274
+ getfield () {
275
+ return exportConfig.ArrearageConfig
276
+ },
277
+ usertypes() {
278
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
279
+ },
280
+ getCondition () {
281
+ var con = ""
282
+ if (this.orgCondtionStr) {
283
+ con = `${this.$refs.paged.$refs.criteria.condition} and s.f_orgid in (${this.orgCondtionStr})`
284
+ }
285
+ else {
286
+ con = `${this.$refs.paged.$refs.criteria.condition}and s.f_orgid in ('${this.$login.f.orgid}' )`
287
+ }
288
+ return {
289
+ condition: con
290
+ }
291
+ }
292
+ }
293
+ }
294
+ </script>
295
+
296
+ <style>
297
+ .mystyle{
298
+ margin-left:80px;
299
+ }
300
+ .datapanel {
301
+ color: #333;
302
+ background-color: white;
303
+ box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px ;
304
+ padding: 10px 10px 10px 10px;
305
+ border-radius:15px;
306
+ }
307
+ </style>