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