manage-client 3.2.129 → 3.2.132

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 (39) hide show
  1. package/.gradle/3.5.1/file-changes/last-build.bin +0 -0
  2. package/.gradle/3.5.1/taskHistory/taskHistory.lock +0 -0
  3. package/.gradle/buildOutputCleanup/built.bin +0 -0
  4. package/.gradle/buildOutputCleanup/cache.properties.lock +1 -0
  5. package/build/webpack.prod.conf.js +143 -143
  6. package/package.json +1 -1
  7. package/src/ManageHome.js +270 -269
  8. package/src/components/SellReport/ManageMonthGas.vue +1 -1
  9. package/src/components/SellReport/ManageSellType.vue +1 -1
  10. package/src/components/SellReport/UserFillmoney.vue +420 -0
  11. package/src/components/sale/businessquery/ChangeMeterQuery.vue +2 -1
  12. package/src/components/sale/businessquery/ChargeQuery.vue +1 -1
  13. package/src/components/sale/businessquery/DisableQuery.vue +2 -1
  14. package/src/components/sale/businessquery/EnableQuery.vue +2 -1
  15. package/src/components/sale/businessquery/FillCardQuery.vue +1 -0
  16. package/src/components/sale/businessquery/FillGasQuery.vue +2 -1
  17. package/src/components/sale/businessquery/OtherChargeQuery.vue +1 -1
  18. package/src/components/sale/businessquery/ReverseQuery.vue +1 -1
  19. package/src/components/sale/businessquery/TransferQuery.vue +1 -1
  20. package/src/components/sale/report/aode/MonthByChargeType.vue +2 -1
  21. package/src/components/sale/report/aode/MonthByUserType.vue +2 -1
  22. package/src/components/sale/report/aode/YearByChargeTpye.vue +2 -1
  23. package/src/components/sale/report/aode/YearByUserType.vue +2 -1
  24. package/src/components/webmeter/gasAnalysis/GasAnalysisManage.vue +303 -303
  25. package/src/filiale/macheng/config/exportConfig.js +1 -1
  26. package/src/index.js +11 -11
  27. package/src/main.js +66 -66
  28. package/src/newmanage.js +533 -535
  29. package/src/plugins/GetLoginInfoService.js +505 -505
  30. package/src/reportManage.js +590 -584
  31. package/src/saleManage.js +598 -595
  32. package/src/stores/MagGetSaleParams.js +156 -156
  33. package/src/stores/MagLoadParams.js +63 -63
  34. package/src/webmeterManage.js +125 -121
  35. package/.gradle/4.4/fileContent/fileContent.lock +0 -0
  36. package/.gradle/4.4/taskHistory/taskHistory.bin +0 -0
  37. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  38. package/build/libs/ManageClient-3.1.0-17.jar +0 -0
  39. package/build/tmp/jar/MANIFEST.MF +0 -2
@@ -0,0 +1,420 @@
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 for="startDate" class="font_normal_body">开始日期</label>
11
+ <datepicker id="startDate" placeholder="开始日期" style="width:60%"
12
+ v-model="model.startDate"
13
+ :value.sync="model.startDate"
14
+ :format="'yyyy-MM-dd 00:00:00'"
15
+ :show-reset-button="true">
16
+ </datepicker>
17
+ </div>
18
+ <div class="col-sm-2 form-group">
19
+ <label for="endDate" class="font_normal_body">结束日期</label>
20
+ <datepicker id="endDate" placeholder="结束日期" style="width:60%"
21
+ v-model="model.endDate"
22
+ :value.sync="model.endDate"
23
+ :format="'yyyy-MM-dd 23:59:59'"
24
+ :show-reset-button="true">
25
+ </datepicker>
26
+ </div>
27
+ <div class="col-sm-2 form-group">
28
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;公司&nbsp;&nbsp;&nbsp; </label>
29
+ <right-tree @re-res="$parent.$parent.getRes"></right-tree>
30
+ </div>
31
+ <div class="col-sm-2 form-group">
32
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;部门&nbsp;&nbsp;&nbsp; </label>
33
+ <res-select restype='department'
34
+ @res-select="$parent.$parent.getdep"
35
+ :parentresid="$parent.$parent.depresid"
36
+ :initresid='$parent.$parent.depid'>
37
+ </res-select>
38
+
39
+ </div>
40
+ <div class="col-sm-2 form-group">
41
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;人员&nbsp;&nbsp;&nbsp; </label>
42
+ <res-select restype='user'
43
+ is-mul="false"
44
+ @res-select="$parent.$parent.getuser"
45
+ :parentresid="$parent.$parent.userresid"
46
+ :initresid='$parent.$parent.operatorid'>
47
+ </res-select>
48
+ </div>
49
+ <div class="span" style="float:right;">
50
+ <button class="button_search button_spacing" @click="search()">查询</button>
51
+
52
+ <export-excel :data="$parent.$parent.getCondition"
53
+ :field="$parent.$parent.getfield"
54
+ :footer="$parent.$parent.footer"
55
+ :header="$parent.$parent.other"
56
+ sqlurl="rs/logic/exportfile"
57
+ sql-name="userGasFillCard"
58
+ template-name='营业厅明细导出'
59
+ :choose-col="true"></export-excel>
60
+ <print-data-self :model="$parent.model" :field="$parent.$parent.getfield"
61
+ :defaultfield="$parent.$parent.defaultfield" printName="营业厅明细"
62
+ :sumsmodel="$parent.$parent.sumsmodel" :sum-field="$parent.$parent.sumField" :page-sum="$parent.$parent.pageSum"
63
+ :start-date="$parent.$parent.startDate" :end-date="$parent.$parent.endDate"
64
+ ></print-data-self>
65
+ </div>
66
+ </div>
67
+ </div>
68
+ </criteria>
69
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid :classname="$parent.classname">
70
+ <template partial='head'>
71
+ <tr>
72
+ <th>
73
+ <nobr>序号</nobr>
74
+ </th>
75
+ <th>
76
+ <nobr>用户编号</nobr>
77
+ </th>
78
+ <th>
79
+ <nobr>用户名称</nobr>
80
+ </th>
81
+ <th>
82
+ <nobr>上期结余</nobr>
83
+ </th>
84
+ <th>
85
+ <nobr>实收金额</nobr>
86
+ </th>
87
+ <th>
88
+ <nobr>购气气量</nobr>
89
+ </th>
90
+ <th>
91
+ <nobr>应收金额</nobr>
92
+ </th>
93
+ <th>
94
+ <nobr>滞纳金</nobr>
95
+ </th>
96
+ <th>
97
+ <nobr>本期结余</nobr>
98
+ </th>
99
+ <th>
100
+ <nobr>差值金额</nobr>
101
+ </th>
102
+ <th>
103
+ <nobr>用户类型</nobr>
104
+ </th>
105
+ <th>
106
+ <nobr>收费类型</nobr>
107
+ </th>
108
+ <th>
109
+ <nobr>日期</nobr>
110
+ </th>
111
+ <th>
112
+ <nobr>操作员</nobr>
113
+ </th>
114
+
115
+ </th>
116
+ </tr>
117
+ </template>
118
+ <template partial='body'>
119
+ <td style="text-align:center">
120
+ <nobr>{{$index+1}}</nobr>
121
+ </td>
122
+ <td style="text-align: center;">
123
+ <nobr>{{row.f_userinfo_code}}</nobr>
124
+ </td>
125
+ <td style="text-align: center;">
126
+ <nobr>{{row.f_user_name}}</nobr>
127
+ </td>
128
+ <td style="text-align: center;">
129
+ <nobr>{{row.f_balance}}</nobr>
130
+ </td>
131
+ <td style="text-align: center;">
132
+ <nobr>{{row.f_collection}}</nobr>
133
+ </td>
134
+ <td style="text-align: center;">
135
+ <nobr>{{row.f_pregas}}</nobr>
136
+ </td>
137
+ <td style="text-align: center;">
138
+ <nobr>{{row.f_preamount}}</nobr>
139
+ </td>
140
+ <td style="text-align: center;">
141
+ <nobr>{{row.f_delaypay}}</nobr>
142
+ </td>
143
+ <td style="text-align: center;">
144
+ <nobr>{{row.f_curbalance}}</nobr>
145
+ </td>
146
+ <td style="text-align: center;">
147
+ <nobr>{{row.f_charmoney}}</nobr>
148
+ </td>
149
+ <td style="text-align: center;">
150
+ <nobr>{{row.f_user_type}}</nobr>
151
+ </td>
152
+ <td style="text-align: center;">
153
+ <nobr>{{row.f_type}}</nobr>
154
+ </td>
155
+ <td style="text-align: center;">
156
+ <nobr>{{row.f_delivery_date}}</nobr>
157
+ </td>
158
+ <td style="text-align: center;">
159
+ <nobr>{{row.f_operator}}</nobr>
160
+ </td>
161
+
162
+ </td>
163
+ </template>
164
+ <template partial='foot'></template>
165
+ </data-grid>
166
+ </criteria-paged>
167
+ <table class="table-hover">
168
+ <tr style="position: relative" class="table-bordered">
169
+ <td
170
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold" >
171
+ 报表统计时间
172
+ </td>
173
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold" v-if="startDate==endDate">
174
+ {{startDate}}
175
+ </td>
176
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold" v-else>
177
+ {{startDate+" 至 "+endDate}}
178
+ </td>
179
+ </tr>
180
+ <tr style="position: relative" class="table-bordered">
181
+ <td
182
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
183
+ 汇总信息
184
+ </td>
185
+
186
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
187
+ 差值金额:{{sumsmodel.f_charmoney.toFixed(2)}}
188
+ </td>
189
+ </tr>
190
+ </table>
191
+ </div>
192
+ </div>
193
+ </div>
194
+ </template>
195
+ <script>
196
+ import {PagedList, HttpResetClass} from 'vue-client'
197
+ import defaultPrint from '../sale/config/DefaultPrint'
198
+ import exportConfig from '../sale/config/exportConfig'
199
+ import PrintDataSelf from '../sale/common/PrintDataSelf'
200
+
201
+ let readySomething = async function (self) {
202
+ self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
203
+ self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
204
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
205
+ }
206
+ export default {
207
+ title: '收费记录不匹配查询',
208
+ props: ['data'],
209
+ data() {
210
+ return {
211
+ depresid: [],
212
+ userresid: [],
213
+ f_orgid: this.$login.f.orgid,
214
+ f_depid: this.$login.f.depids,
215
+ f_operatorid: this.$login.f.id,
216
+ operatorid: [],
217
+ depid: [],
218
+ orgname: '',
219
+ depname: [],
220
+ operatorname: '',
221
+ orgCondtionStr: '1=1',
222
+ data: {},
223
+ other:[],
224
+ footer:[],
225
+ model: new PagedList('rs/sql/userGasFillmoney', 20, {startDate: 'this.model.startDate', endDate: 'this.model.endDate', f_orgid: 'this.model.f_orgid'},{
226
+
227
+ f_charmoney:0,
228
+
229
+ }),
230
+ gasproperties:[],
231
+ show:false,
232
+ rowdata:{},
233
+ residentialArea: [],
234
+ modelval: [],
235
+ startDate:"",
236
+ endDate:"",
237
+ inputtouPerson: [],
238
+ printshow: false,
239
+ all: false,
240
+ fields: {},
241
+ thead: '',
242
+ tfoot: '',
243
+
244
+ // 下拉框
245
+
246
+ //合计数据
247
+ sumsmodel: {},
248
+ sumField: {
249
+ 'f_charmoney': '差值金额'
250
+ },
251
+ pageSum: {
252
+
253
+
254
+ 'f_charmoney': '0.00'
255
+ },
256
+ defaultfield: [],
257
+ config: {
258
+ defaultPrint: ['f_userinfo_code', 'f_user_name']
259
+ },
260
+ batchmoneyShow:false
261
+ }
262
+ },
263
+ ready() {
264
+ readySomething(this).then(() => {
265
+ this.$emit('ready')
266
+ }).catch((error) => {
267
+ this.$emit('error', error)
268
+ })
269
+ },
270
+ methods: {
271
+ getotherfooter(){
272
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
273
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
274
+ this.other=[];
275
+ this.footer=[];
276
+ let exportdata = this.getCondition;
277
+ let otherInData=[];
278
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
279
+ let footerData=[],exportfield=this.getfield;
280
+ footerData.push("合计");
281
+ let self =this;
282
+ for(var field in self.sumsmodel){
283
+ footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
284
+ }
285
+ this.footer.push(footerData);
286
+ this.other.push(otherInData);
287
+ },
288
+ search(){
289
+ this.$refs.paged.$refs.cri.search()
290
+ },
291
+ selfSearch(args) {
292
+ let orgcondition = ' s.f_orgid in (' + this.f_orgid + ')'
293
+ if (this.f_depid[0]) {
294
+ orgcondition += " and s.f_depid in("+this.f_depid.toString()+')'
295
+ }
296
+ if(this.f_operatorid[0]) {
297
+ orgcondition += ' and s.f_operatorid in (' + this.f_operatorid + ')'
298
+ }
299
+ this.startDate=this.$refs.paged.$refs.cri.model.startDate.substring(0,10)
300
+ this.endDate=this.$refs.paged.$refs.cri.model.endDate.substring(0,10)
301
+ this.orgCondtionStr=orgcondition
302
+ this.$refs.paged.$refs.cri.model.f_orgid = orgcondition
303
+ this.model.search(args.f_orgid, args.model)
304
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
305
+ },
306
+ getRes (obj) {
307
+ this.orgname = obj.res[0]
308
+ this.depresid = obj.resids
309
+ this.f_orgid = obj.resids
310
+ },
311
+ getdep (obj, val) {
312
+ this.depname = val
313
+ this.userresid = obj
314
+ this.f_depid = obj
315
+ },
316
+ getuser ( obj, val) {
317
+ this.operatorname = val[0]
318
+ this.f_operatorid = 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
+ dealmsg(val) {
343
+ console.log('---------------dealmsg')
344
+ this.rowdata=val
345
+ this.show=true
346
+ val.model = this.model.model
347
+ this.$dispatch('deal-msg', val)
348
+ },
349
+ close() {
350
+ this.printshow = false
351
+ this.all = false
352
+ },
353
+ // 对选择的列进行排序
354
+ sortModelval() {
355
+ let sortModel = []
356
+ Object.keys(this.fields).forEach((key) => {
357
+ if (this.modelval.includes(key)) {
358
+ sortModel.push(key)
359
+ }
360
+ })
361
+ this.modelval = sortModel
362
+ console.log('选择的打印的字段', this.modelval)
363
+ },
364
+ userTypeChange () {
365
+ this.gasproperties=[]
366
+ if(this.$refs.paged.$refs.criteria.model !==null) {
367
+ this.$refs.paged.$refs.criteria.model.f_gasproperties=''
368
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.criteria.model.f_user_type[0])
369
+ }
370
+ else{
371
+ this.gasproperties =[{label: '全部', value: ''}]
372
+ }
373
+ },
374
+ },
375
+ watch: {
376
+ 'all'(val) {
377
+ if (val) {
378
+ this.modelval = this.bodyData
379
+ } else {
380
+ this.modelval = defaultPrint.config
381
+ this.put()
382
+ }
383
+ },
384
+ 'modelval.length'() {
385
+ this.put()
386
+ },
387
+ sumsmodel:{
388
+ handler: function(val) {
389
+ this.getotherfooter();
390
+ },
391
+ deep: true
392
+ }
393
+ },
394
+ computed: {
395
+ getCondition() {
396
+ return {
397
+ startDate: this.$refs.paged.$refs.cri.model.startDate,
398
+ endDate: this.$refs.paged.$refs.cri.model.endDate,
399
+ f_orgid: this.orgCondtionStr
400
+
401
+ }
402
+
403
+ },
404
+ getfield() {
405
+ return exportConfig.UserGasFillCardConfig
406
+ },
407
+ whetherpaies () {
408
+ return [
409
+ {label: '全部', value: ''},
410
+ {label: '已缴费', value: '是'},
411
+ {label: '未缴费', value: '否'}
412
+ ]
413
+ },
414
+ usertypes() {
415
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
416
+ }
417
+
418
+ }
419
+ }
420
+ </script>
@@ -60,7 +60,7 @@
60
60
  </div>
61
61
  </div>
62
62
  <div class="row" v-show="$parent.$parent.criteriaShow">
63
- <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
63
+ <res-select-group :initres="$parent.$parent.initres" :cascade =true @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
64
64
  <div class="col-sm-2 form-group">
65
65
  <label class="font_normal_body">客户名称</label>
66
66
  <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
@@ -530,6 +530,7 @@
530
530
  this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
531
531
  }
532
532
  args.condition = `${args.condition}` + this.orgCondtionStr
533
+ args.condition = args.condition.replace(/f_zones/, "f_slice_area")
533
534
  await this.model.search(args.condition, args.model)
534
535
  this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
535
536
 
@@ -59,7 +59,7 @@
59
59
  </div>
60
60
  </div>
61
61
  <div class="row" v-show="$parent.$parent.criteriaShow">
62
- <res-select-group :show-component="$parent.$parent.resshow" :selectin="true" :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
62
+ <res-select-group :show-component="$parent.$parent.resshow" :selectin="true" :initres="$parent.$parent.initres" :cascade =true @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
63
63
  <div class="col-sm-2 form-group">
64
64
  <label class="font_normal_body">客户名称</label>
65
65
  <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
@@ -132,7 +132,7 @@
132
132
  condition="f_meter_brand = '{}'"
133
133
  close-on-select></v-select>
134
134
  </div>
135
- <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
135
+ <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" :cascade =true v-ref:sel></res-select-group>
136
136
  </div>
137
137
  </div>
138
138
  </criteria>
@@ -388,6 +388,7 @@
388
388
  this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
389
389
  }
390
390
  args.condition = `${args.condition}` + this.orgCondtionStr
391
+ args.condition = args.condition.replace(/f_zones/, "f_slice_area")
391
392
  this.model.search(args.condition, args.model)
392
393
  this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
393
394
  },
@@ -106,7 +106,7 @@
106
106
  condition="f_operat_type = '{}'"
107
107
  close-on-select></v-select>
108
108
  </div>
109
- <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
109
+ <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" :cascade =true v-ref:sel></res-select-group>
110
110
  </div>
111
111
  </div>
112
112
  </criteria>
@@ -339,6 +339,7 @@
339
339
  this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
340
340
  }
341
341
  args.condition = `${args.condition} ` + this.orgCondtionStr
342
+ args.condition = args.condition.replace(/f_zones/, "f_slice_area")
342
343
  this.model.search(args.condition, args.model)
343
344
  this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
344
345
  },
@@ -397,6 +397,7 @@
397
397
  this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
398
398
  }
399
399
  args.condition = `${args.condition}` + this.orgCondtionStr
400
+ args.condition = args.condition.replace(/f_zones/, "f_slice_area")
400
401
  await this.model.search(args.condition, args.model)
401
402
  this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
402
403
  },
@@ -58,7 +58,7 @@
58
58
  </div>
59
59
 
60
60
  <div class="row" v-show="$parent.$parent.criteriaShow">
61
- <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
61
+ <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" :cascade =true v-ref:sel></res-select-group>
62
62
  <div class="col-sm-2 form-group">
63
63
  <label class="font_normal_body">客户名称</label>
64
64
  <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
@@ -451,6 +451,7 @@
451
451
  this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
452
452
  }
453
453
  args.condition = `${args.condition}` + this.orgCondtionStr
454
+ args.condition = args.condition.replace(/f_zones/, "f_slice_area")
454
455
  this.model.search(args.condition, args.model)
455
456
  this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
456
457
  this.sumsmodel.hushu=[...new Set(this.$refs.paged.$refs.grid.model.rows.map(item => item.f_userinfo_code))].length
@@ -56,7 +56,7 @@
56
56
  </div>
57
57
 
58
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>
59
+ <res-select-group :initres="$parent.$parent.initres" :cascade =true @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
60
60
  <div class="col-sm-2 form-group">
61
61
  <label class="font_normal_body">客户名称</label>
62
62
  <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
@@ -55,7 +55,7 @@
55
55
  </div>
56
56
 
57
57
  <div class="row" v-show="$parent.$parent.criteriaShow">
58
- <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
58
+ <res-select-group :initres="$parent.$parent.initres" :cascade =true @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
59
59
  <div class="col-sm-2 form-group">
60
60
  <label class="font_normal_body">客户名称</label>
61
61
  <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
@@ -53,7 +53,7 @@
53
53
  </div>
54
54
  </div>
55
55
  <div class="row" v-show="$parent.$parent.criteriaShow">
56
- <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
56
+ <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" :cascade =true v-ref:sel></res-select-group>
57
57
 
58
58
  <div class="col-sm-2 form-group">
59
59
  <label class="font_normal_body">客户地址</label>
@@ -6,7 +6,7 @@
6
6
  <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri v-show="$parent.criteriaShow">
7
7
  <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
8
8
  <div class="row">
9
- <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" :mul="false" v-ref:sel></res-select-group>
9
+ <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" :cascade =true :mul="false" v-ref:sel></res-select-group>
10
10
  <div class="col-sm-2 form-group">
11
11
  <label class="font_normal_body">时间类型</label>
12
12
  <v-select
@@ -313,6 +313,7 @@
313
313
  f_orgstr = 'and f_orgid = ' + this.$login.f.orgid
314
314
  }
315
315
  args.condition = `${args.condition} ` + f_orgstr
316
+ args.condition = args.condition.replace(/f_zones/, "f_slice_area")
316
317
  await this.model.search(args.condition, args.model)
317
318
 
318
319
  this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
@@ -6,7 +6,7 @@
6
6
  <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri v-show="$parent.criteriaShow">
7
7
  <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
8
8
  <div class="row">
9
- <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" :mul="false" v-ref:sel></res-select-group>
9
+ <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" :cascade =true :mul="false" v-ref:sel></res-select-group>
10
10
 
11
11
  <div class="col-sm-2 form-group">
12
12
  <label class="font_normal_body">时间类型</label>
@@ -323,6 +323,7 @@
323
323
  }
324
324
  //由于此处底层组件默认前面加了个and,所以此处前面硬补位一个1=1 等后面加condition了可以替换
325
325
  this.condition = `${args.condition} ` + f_orgstr
326
+ this.condition = this.condition.replace(/f_zones/, "f_slice_area")
326
327
  await this.model.search(this.condition, args.model)
327
328
 
328
329
  this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
@@ -6,7 +6,7 @@
6
6
  <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri v-show="$parent.criteriaShow">
7
7
  <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
8
8
  <div class="row">
9
- <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" :mul="false" v-ref:sel></res-select-group>
9
+ <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" :cascade =true :mul="false" v-ref:sel></res-select-group>
10
10
  <div class="col-sm-2" >
11
11
  <label for="YeadDate" class="font_normal_body">统计年份</label>
12
12
  <datepicker placeholder="结束日期" style="width:60%"
@@ -144,6 +144,7 @@
144
144
  f_orgstr = 'and f_orgid = ' + this.$login.f.orgid
145
145
  }
146
146
  args.condition = `${args.condition} ` + f_orgstr
147
+ args.condition = args.condition.replace(/f_zones/, "f_slice_area")
147
148
  await this.model.search(args.condition, args.model)
148
149
  this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
149
150
  console.log('计算合计。', this.sumsmodel)
@@ -6,7 +6,7 @@
6
6
  <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri v-show="$parent.criteriaShow">
7
7
  <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
8
8
  <div class="row">
9
- <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" :mul="false" v-ref:sel></res-select-group>
9
+ <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" :cascade =true :mul="false" v-ref:sel></res-select-group>
10
10
  <div class="col-sm-2" >
11
11
  <label for="YeadDate" class="font_normal_body">统计年份</label>
12
12
  <datepicker placeholder="结束日期" style="width:60%"
@@ -200,6 +200,7 @@
200
200
  f_orgstr = 'and f_orgid = ' + this.$login.f.orgid
201
201
  }
202
202
  args.condition = `${args.condition} ` + f_orgstr
203
+ args.condition = args.condition.replace(/f_zones/, "f_slice_area")
203
204
  await this.model.search(args.condition, args.model)
204
205
 
205
206
  this.sumsmodel = this.$refs.paged.$refs.grid.model.sums