manage-client 3.2.23 → 3.2.24

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