manage-client 3.2.80 → 3.2.83

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 (52) hide show
  1. package/build/dev-server.js +6 -6
  2. package/package.json +1 -1
  3. package/src/components/SellReport/NonResidentGas.vue +13 -0
  4. package/src/components/SellReport/ReportComponrnt/TieAnAccount.vue +36 -30
  5. package/src/components/SellReport/SellDepReport.vue +269 -266
  6. package/src/components/sale/businessquery/AreaChargeQuery.vue +22 -22
  7. package/src/components/sale/businessquery/AreaGeneralQuery.vue +35 -40
  8. package/src/components/sale/businessquery/BalanceTable.vue +29 -31
  9. package/src/components/sale/businessquery/BusinesQuery.vue +56 -17
  10. package/src/components/sale/businessquery/BusinessManage.vue +3 -1
  11. package/src/components/sale/businessquery/CollectManage.vue +9 -3
  12. package/src/components/sale/businessquery/CommunityPaymen.vue +24 -24
  13. package/src/components/sale/businessquery/DepositDetail.vue +16 -17
  14. package/src/components/sale/businessquery/DisableQuery.vue +1 -3
  15. package/src/components/sale/businessquery/EnableQuery.vue +26 -28
  16. package/src/components/sale/businessquery/FMYGasQuery.vue +26 -26
  17. package/src/components/sale/businessquery/FillGasQuery.vue +8 -1
  18. package/src/components/sale/businessquery/GasLossQuery.vue +1 -1
  19. package/src/components/sale/businessquery/HandBookQuery.vue +37 -38
  20. package/src/components/sale/businessquery/HandGasPropertiesQuery.vue +38 -37
  21. package/src/components/sale/businessquery/HandPeopleQuery.vue +22 -22
  22. package/src/components/sale/businessquery/Handgasquery.vue +30 -33
  23. package/src/components/sale/businessquery/HandplanQuery.vue +1330 -1327
  24. package/src/components/sale/businessquery/InfoOperateRecord.vue +13 -1
  25. package/src/components/sale/businessquery/MonthGasQuery.vue +2 -1
  26. package/src/components/sale/businessquery/MoveMeterQuery.vue +1 -1
  27. package/src/components/sale/businessquery/NoBusinessQuery.vue +23 -26
  28. package/src/components/sale/businessquery/PlotSummaryQuery.vue +22 -21
  29. package/src/components/sale/businessquery/PrickBillQuery.vue +15 -13
  30. package/src/components/sale/businessquery/PrivilegeQuery.vue +1 -1
  31. package/src/components/sale/businessquery/ProceedsOper.vue +4 -10
  32. package/src/components/sale/businessquery/ResidentialArrearsQuery.vue +23 -24
  33. package/src/components/sale/businessquery/ResidentialQuery.vue +21 -28
  34. package/src/components/sale/businessquery/SellOrgnameQuery.vue +29 -27
  35. package/src/components/sale/businessquery/SellPeopleQuery.vue +29 -30
  36. package/src/components/sale/businessquery/SuspiciousUserQuery.vue +27 -26
  37. package/src/components/sale/businessquery/TransferQuery.vue +18 -17
  38. package/src/components/sale/businessquery/UnhandBusiness.vue +324 -0
  39. package/src/components/sale/businessquery/UserSellHeadDetail.vue +30 -33
  40. package/src/components/sale/businessquery/YingShouMingXi.vue +10 -15
  41. package/src/components/sale/businessquery/YonghuJieyu.vue +4 -2
  42. package/src/components/sale/businessquery/gasPriceQuery.vue +1 -2
  43. package/src/components/sale/businessquery/handplan-info.vue +405 -0
  44. package/src/components/sale/businessquery/overDueQuery.vue +22 -23
  45. package/src/components/sale/businessquery/sellingChargePrice.vue +667 -0
  46. package/src/components/sale/config/exportConfig.js +20 -1
  47. package/src/filiale/qianneng/ChargeQuery.vue +1289 -0
  48. package/src/filiale/qianneng/HandplanQuery.vue +1344 -0
  49. package/src/filiale/qianneng/OtherChargeQuery.vue +13 -1
  50. package/src/filiale/qianneng/exportConfig.js +34 -0
  51. package/src/filiale/qianneng/sale.js +3 -1
  52. package/src/saleManage.js +10 -2
@@ -0,0 +1,405 @@
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main" @keyup.enter="search">
4
+ <div class="flex" v-if="!show">
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="row">
9
+ <div class="col-sm-2 form-group">
10
+ <label class="font_normal_body">财务月度</label>
11
+ <datepicker id="aaa" placeholder="开始日期" style="width:60%"
12
+ v-model="model.accountingStartDate"
13
+ :value.sync="model.accountingStartDate"
14
+ format="yyyy-MM-dd HH:mm:ss"
15
+ :show-reset-button="true"
16
+ condition="f_accounting_date >= '{}'">
17
+ </datepicker>
18
+ </div>
19
+ <div class="col-sm-2 form-group">
20
+ <label class="font_normal_body">财务月度</label>
21
+ <datepicker id="aaa" placeholder="结束日期" style="width:60%"
22
+ v-model="model.accountingEndDate"
23
+ :value.sync="model.accountingEndDate"
24
+ format="yyyy-MM-dd HH:mm:ss"
25
+ :show-reset-button="true"
26
+ condition="f_accounting_date <= '{}'">
27
+
28
+ </datepicker>
29
+ </div>
30
+ <div class="col-sm-2 form-group">
31
+ <label class="font_normal_body">自然月度</label>
32
+ <datepicker id="startDate" placeholder="开始日期" style="width:60%"
33
+ v-model="model.handStartDate"
34
+ :value.sync="model.handStartDate"
35
+ format="yyyy-MM-dd HH:mm:ss"
36
+ :show-reset-button="true"
37
+ condition="f_hand_date >= '{}'">
38
+ </datepicker>
39
+ </div>
40
+ <div class="col-sm-2 form-group">
41
+ <label class="font_normal_body">自然月度</label>
42
+ <datepicker id="startDate" placeholder="结束日期" style="width:60%"
43
+ v-model="model.handEndDate"
44
+ :value.sync="model.handEndDate"
45
+ format="yyyy-MM-dd HH:mm:ss"
46
+ :show-reset-button="true"
47
+ condition="f_hand_date <= '{}'">
48
+ </datepicker>
49
+ </div>
50
+ <div class="span" style="float:right;">
51
+ <button class="button_search button_spacing" @click="search()">查询</button>
52
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
53
+
54
+ <export-excel :data="$parent.$parent.getCondition"
55
+ :field="$parent.$parent.getfield"
56
+ :footer="$parent.$parent.footer"
57
+ :header="$parent.$parent.other"
58
+ sqlurl="rs/logic/exportfile"
59
+ sql-name="HandPlanCollection"
60
+ template-name='抄表情况记录表'
61
+ :choose-col="true"></export-excel>
62
+ <print-data :model="$parent.model"
63
+ :field="$parent.$parent.getfield"
64
+ :sum-field="$parent.$parent.getfield"
65
+ titletable="抄表情况记录表"
66
+ :sumsmodel="$parent.$parent.sumsmodel"></print-data>
67
+ <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>
68
+ </div>
69
+
70
+ </div>
71
+
72
+ <div class="row" v-show="$parent.$parent.criteriaShow">
73
+ <div class="col-sm-2 form-group ">
74
+ <label for="f_gasproperties"class="font_normal_body">用气性质</label>
75
+ <v-select id="f_gasproperties"
76
+ style="width:60%"
77
+ v-model="model.f_gasproperties"
78
+ placeholder='用气性质'
79
+ :value.sync="model.f_gasproperties"
80
+ :options='$parent.$parent.gasproperties'
81
+ condition="f_gasproperties = '{}'"
82
+ close-on-select >
83
+ </v-select>
84
+ </div>
85
+ </div>
86
+ </div>
87
+ </criteria>
88
+
89
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
90
+ <template partial='head'>
91
+ <tr>
92
+ <th rowspan="2">
93
+ <nobr>用户号</nobr>
94
+ </th>
95
+ <th rowspan="2">
96
+ <nobr>小区</nobr>
97
+ </th>
98
+ <th rowspan="2">
99
+ <nobr>地址</nobr>
100
+ </th>
101
+ <th rowspan="2">
102
+ <nobr>用户名</nobr>
103
+ </th>
104
+ <th rowspan="2">
105
+ <nobr>表钢号</nobr>
106
+ </th>
107
+ <th rowspan="2">
108
+ <nobr>客户类型</nobr>
109
+ </th>
110
+ <th rowspan="2">
111
+ <nobr>用气性质</nobr>
112
+ </th>
113
+ <th colspan="12">
114
+ <nobr>月份</nobr>
115
+ </th>
116
+ </tr>
117
+ <tr>
118
+ <th>
119
+ <nobr>一月</nobr>
120
+ </th>
121
+ <th>
122
+ <nobr>二月</nobr>
123
+ </th>
124
+ <th>
125
+ <nobr>三月</nobr>
126
+ </th>
127
+ <th>
128
+ <nobr>四月</nobr>
129
+ </th>
130
+ <th>
131
+ <nobr>五月</nobr>
132
+ </th>
133
+ <th>
134
+ <nobr>六月</nobr>
135
+ </th>
136
+ <th>
137
+ <nobr>七月</nobr>
138
+ </th>
139
+ <th>
140
+ <nobr>八月</nobr>
141
+ </th>
142
+ <th>
143
+ <nobr>九月</nobr>
144
+ </th>
145
+ <th>
146
+ <nobr>十月</nobr>
147
+ </th>
148
+ <th>
149
+ <nobr>十一月</nobr>
150
+ </th>
151
+ <th>
152
+ <nobr>十二月</nobr>
153
+ </th>
154
+ </tr>
155
+
156
+
157
+
158
+ </template>
159
+ <template partial='body'>
160
+ <td style="text-align: center;">{{row.f_userinfo_code}}</td>
161
+ <td style="text-align: center;">{{row.f_residential_area}}</td>
162
+ <td style="text-align: center;">{{row.f_address}}</td>
163
+ <th style="text-align: center;">{{row.f_user_name}}</th>
164
+ <th style="text-align: center;">{{row.f_meternumber}}</th>
165
+ <th style="text-align: center;">{{row.f_user_type}}</th>
166
+ <th style="text-align: center;">{{row.f_gasproperties}}</th>
167
+ <th style="text-align: center;">{{row.f_month1}}</th>
168
+ <th style="text-align: center;">{{row.f_month2}}</th>
169
+ <th style="text-align: center;">{{row.f_month3}}</th>
170
+ <th style="text-align: center;">{{row.f_month4}}</th>
171
+ <th style="text-align: center;">{{row.f_month5}}</th>
172
+ <th style="text-align: center;">{{row.f_month6}}</th>
173
+ <th style="text-align: center;">{{row.f_month7}}</th>
174
+ <th style="text-align: center;">{{row.f_month8}}</th>
175
+ <th style="text-align: center;">{{row.f_month9}}</th>
176
+ <th style="text-align: center;">{{row.f_month10}}</th>
177
+ <th style="text-align: center;">{{row.f_month11}}</th>
178
+ <th style="text-align: center;">{{row.f_month12}}</th>
179
+ </template>
180
+ </data-grid>
181
+ </criteria-paged>
182
+ </div>
183
+ </div>
184
+ </div>
185
+
186
+ </template>
187
+ <script>
188
+ /**
189
+ *用户档案查询列表以及添加操作组件
190
+ */
191
+ import {PagedList} from 'vue-client'
192
+ import defaultPrint from '../config/DefaultPrint'
193
+ import exportConfig from '../config/exportConfig'
194
+
195
+ let readySomething = async function (self) {
196
+ self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
197
+ self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
198
+ // await self.$refs.paged.$refs.cri.search()
199
+ // await self.$getConfig(self, 'SellingHand')
200
+ // self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
201
+
202
+ await self.$MagLoadParams.loadParam()
203
+
204
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
205
+ console.log('self.sumsmodel', self.sumsmodel)
206
+ }
207
+
208
+
209
+ export default {
210
+ title: '抄表情况记录',
211
+ data() {
212
+ return {
213
+ rows: null,
214
+ other: [],
215
+ footer: [],
216
+ criteriaShow: false,
217
+ model: new PagedList('rs/sql/HandPlanCollection', 50,
218
+ {startDate: 'this.model.startDate', endDate: 'this.model.endDate'},
219
+ {
220
+ f_month1:0,
221
+ f_month2:0,
222
+ f_month3:0,
223
+ f_month4:0,
224
+ f_month5:0,
225
+ f_month6:0,
226
+ f_month7:0,
227
+ f_month8:0,
228
+ f_month9:0,
229
+ f_month10:0,
230
+ f_month11:0,
231
+ f_month12:0
232
+
233
+ }),
234
+ orgCondtionStr: '',
235
+
236
+ getfield: '',
237
+ show:false,
238
+ rowdata:{},
239
+ // config: {
240
+ // defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_last_balance', 'f_balance']
241
+ // },
242
+ initres: {
243
+ org:[this.$login.f.orgid],
244
+ dep:[],
245
+ user:[],
246
+ },
247
+ defaultfield: [],
248
+ sumsmodel: {}
249
+ }
250
+ },
251
+ ready() {
252
+ readySomething(this).then(() => {
253
+ this.$emit('ready')
254
+ }).catch((error) => {
255
+ this.$emit('error', error)
256
+ })
257
+ },
258
+ methods: {
259
+ getotherfooter() {
260
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
261
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
262
+ this.other = [];
263
+ this.footer = [];
264
+ // let exportdata = this.getCondition;
265
+ let otherInData = [];
266
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
267
+ let footerData = [], exportfield = this.getfield;
268
+ footerData.push("合计");
269
+ let self = this;
270
+ for (var field in self.sumsmodel) {
271
+ footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
272
+ }
273
+ this.footer.push(footerData);
274
+ this.other.push(otherInData);
275
+ },
276
+ search(){
277
+ this.$refs.paged.$refs.cri.search()
278
+ },
279
+ selfSearch(args) {
280
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
281
+ args.condition = `${args.condition}` + this.orgCondtionStr
282
+ this.model.search(args.condition, args.model)
283
+ },
284
+ userTypeChange () {
285
+ this.gasproperties=[]
286
+ if(this.$refs.paged.$refs.cri.model !==null) {
287
+ this.$refs.paged.$refs.cri.model.f_gasproperties=''
288
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
289
+ }
290
+ else{
291
+ this.gasproperties =[{label: '全部', value: ''}]
292
+ }
293
+ },
294
+ show() {
295
+ this.criteriaShow = true
296
+ },
297
+ cancel() {
298
+ this.show = false
299
+ },
300
+ showmsg(obj){
301
+ this.rowdata=obj
302
+ this.show=true
303
+ },
304
+ dealmsg(val) {
305
+ console.log('---------------dealmsg')
306
+ val.model = this.model.model
307
+ this.$dispatch('deal-msg', val)
308
+ },
309
+ hidden() {
310
+ this.criteriaShow = !this.criteriaShow
311
+ },
312
+ clear() {
313
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
314
+ this.$refs.paged.$refs.cri.model[key] = []
315
+ })
316
+ },
317
+ getRes(obj) {
318
+ this.orgCondtionStr = obj
319
+ },
320
+ stamp() {
321
+ this.all = false
322
+ //默认选择要打印的列
323
+ this.modelval = defaultPrint.config
324
+ this.fields = this.getfield
325
+ console.log('所有打印字段', this.fields)
326
+ this.printshow = true
327
+ this.put()
328
+ },
329
+ put() {
330
+ // 对Modelval进行排序
331
+ this.sortModelval()
332
+ this.thead = `<tr><th colspan=${this.modelval.length}>抄表收费统计报表</th></tr><tr>`
333
+ for (let key of this.modelval) {
334
+ this.thead += '<th>' + this.fields[key] + '</th>'
335
+ }
336
+ this.thead += '</tr>'
337
+ },
338
+ print() {
339
+ this.$refs.print.PrintAsFile()
340
+ this.printshow = false
341
+ },
342
+ close() {
343
+ this.printshow = false
344
+ this.all = false
345
+ },
346
+ // 对选择的列进行排序
347
+ sortModelval() {
348
+ let sortModel = []
349
+ Object.keys(this.fields).forEach((key) => {
350
+ if (this.modelval.includes(key)) {
351
+ sortModel.push(key)
352
+ }
353
+ })
354
+ this.modelval = sortModel
355
+ console.log('选择的打印的字段', this.modelval)
356
+ }
357
+ },
358
+ watch: {
359
+ 'all'(val) {
360
+ if (val) {
361
+ this.modelval = this.bodyData
362
+ } else {
363
+ this.modelval = defaultPrint.config
364
+ this.put()
365
+ }
366
+ },
367
+ 'modelval.length'() {
368
+ this.put()
369
+ },
370
+ sumsmodel: {
371
+ handler: function (val) {
372
+ this.getotherfooter();
373
+ },
374
+ deep: true
375
+ }
376
+ },
377
+ computed: {
378
+ getCondition() {
379
+ let result = {
380
+ condition: this.$refs.paged.$refs.cri.condition + this.orgCondtionStr,
381
+ startDate: this.$refs.paged.$refs.cri.model.startDate,
382
+ endDate: this.$refs.paged.$refs.cri.model.endDate
383
+ }
384
+ return result
385
+ },
386
+ getfield() {
387
+ return exportConfig.handplanInfoConfig
388
+ },
389
+ gasproperties() {
390
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用气性质')]
391
+ },
392
+ // payment() {
393
+ // return [...this.$appdata.getParam('付款方式查询')]
394
+ // }
395
+ }
396
+ }
397
+ </script>
398
+ <style media="screen">
399
+ .divtext {
400
+ min-width: 50px;
401
+ max-width: 200px;
402
+ border: 1px solid green;
403
+ display: inline-block;
404
+ }
405
+ </style>
@@ -7,28 +7,6 @@
7
7
  <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
8
8
  <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
9
9
  <div class="row">
10
- <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
11
-
12
-
13
- <div class="span" style="float:right;">
14
- <button class="button_search button_spacing" @click="search()">查询</button>
15
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
16
- <!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
17
-
18
- <export-excel :data="$parent.$parent.getCondition"
19
- :field="$parent.$parent.getfield"
20
- :footer="$parent.$parent.footer"
21
- :header="$parent.$parent.other"
22
- sqlurl="rs/logic/exportfile" sql-name="overDueQuery" template-name='减免查询导出'
23
- :choose-col="true"></export-excel>
24
- <print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
25
- :defaultfield="$parent.$parent.defaultfield"
26
- titletable="减免记录"
27
- :sumsmodel="$parent.$parent.sumsmodel"></print-data>
28
- <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>
29
- </div>
30
- </div>
31
- <div class="row" v-show="$parent.$parent.criteriaShow">
32
10
  <div class="col-sm-2 form-group">
33
11
  <label for="startDate" class="font_normal_body" title="减免开始时间">开始日期</label>
34
12
  <datepicker id="startDate" placeholder="开始日期" style="width:60%"
@@ -59,7 +37,28 @@
59
37
  <input type="text" style="width:60%" class="input_search" v-model="model.f_olduserinfo_code"
60
38
  condition="f_olduserinfo_code = '{}' " placeholder="档案编号">
61
39
  </div>
62
- <div class="col-sm-2 form-group">
40
+ <div class="span" style="float:right;">
41
+ <button class="button_search button_spacing" @click="search()">查询</button>
42
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
43
+ <!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
44
+
45
+ <export-excel :data="$parent.$parent.getCondition"
46
+ :field="$parent.$parent.getfield"
47
+ :footer="$parent.$parent.footer"
48
+ :header="$parent.$parent.other"
49
+ sqlurl="rs/logic/exportfile" sql-name="overDueQuery" template-name='减免查询导出'
50
+ :choose-col="true"></export-excel>
51
+ <print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
52
+ :defaultfield="$parent.$parent.defaultfield"
53
+ titletable="减免记录"
54
+ :sumsmodel="$parent.$parent.sumsmodel"></print-data>
55
+ <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>
56
+ </div>
57
+ </div>
58
+ <div class="row" v-show="$parent.$parent.criteriaShow">
59
+ <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
60
+
61
+ <div class="col-sm-2 form-group">
63
62
  <label class="font_normal_body">客户名称</label>
64
63
  <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
65
64
  condition="f_user_name like '%{}%'" placeholder="客户名称">