manage-client 3.3.179 → 3.3.181

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 (53) hide show
  1. package/build/dev-server.js +11 -7
  2. package/gradle/wrapper/gradle-wrapper.properties +5 -5
  3. package/gradlew +234 -234
  4. package/gradlew.bat +89 -89
  5. package/package.json +1 -1
  6. package/src/components/SellReport/BusinessClassify.vue +292 -292
  7. package/src/components/SellReport/GasMoneyPublicConReport.vue +258 -258
  8. package/src/components/handReport/WebGastypeMonthReport.vue +190 -190
  9. package/src/components/sale/businessquery/BusinessManage.vue +212 -212
  10. package/src/components/sale/businessquery/CardHandplanQuery.vue +546 -546
  11. package/src/components/sale/businessquery/ChargeQuery.vue +6 -0
  12. package/src/components/sale/businessquery/FMYGasQuery.vue +813 -813
  13. package/src/components/sale/businessquery/TransferQuery.vue +502 -502
  14. package/src/components/sale/businessquery/WebMeterMonthUserGasQuery.vue +471 -471
  15. package/src/components/sale/config/exportConfig.js +1245 -1245
  16. package/src/components/sale/filesquery/RecordInfoQuery.vue +1443 -1443
  17. package/src/components/webmeter/gasStatistics/GasStatistics.vue +525 -525
  18. package/src/components/webmeter/gasStatistics/NewGasStatistics.vue +541 -541
  19. package/src/components/webmeter/newwebmeter/NewException/MeterExceptionList.vue +3 -1
  20. package/src/filiale/WEINAN/InspectListGas.vue +616 -616
  21. package/src/filiale/jingyang/RechargeList.vue +346 -346
  22. package/src/filiale/jingyang/sale.js +6 -6
  23. package/src/filiale/kelai/GasStatistics.vue +536 -536
  24. package/src/filiale/liaoyuan/HandplanQuery.vue +1289 -1289
  25. package/src/filiale/lixianV3/RecordInfoQuery.vue +22 -1
  26. package/src/filiale/meihekou/AreaGeneralQuery.vue +206 -0
  27. package/src/filiale/meihekou/CardHandplanQuery.vue +664 -664
  28. package/src/filiale/meihekou/ChargeQuery.vue +1274 -1274
  29. package/src/filiale/meihekou/CollectManage.vue +3 -3
  30. package/src/filiale/meihekou/HandplanQuery.vue +1248 -1248
  31. package/src/filiale/meihekou/OtherChargeQuery.vue +4 -5
  32. package/src/filiale/meihekou/UserSellHeadDetail.vue +492 -0
  33. package/src/filiale/meihekou/config/exportConfig.js +1 -2
  34. package/src/filiale/meihekou/sale.js +5 -0
  35. package/src/filiale/ningjin/UserLostContactAnalysis.vue +623 -623
  36. package/src/filiale/qianneng/exportConfig.js +232 -232
  37. package/src/filiale/shaoguan/errorHandplanQuery.vue +386 -386
  38. package/src/filiale/taizhoukesi/ChangeMeterQuery.vue +683 -683
  39. package/src/filiale/taizhoukesi/config/exportConfig.js +2379 -2379
  40. package/src/filiale/taizhoukesi/sale.js +11 -11
  41. package/src/filiale/tongchuan/InspectListGas.vue +700 -700
  42. package/src/filiale/tongchuan/ResSelectGroupNew.vue +188 -188
  43. package/src/filiale/yangchun/ManageBusSummaryNew.vue +239 -239
  44. package/src/filiale/yangchun/RecordInfoQuery.vue +1477 -0
  45. package/src/filiale/yangchun/UserQuery.vue +980 -980
  46. package/src/filiale/yangchun/config/DefaultPrint.js +6 -6
  47. package/src/filiale/yangchun/config/exportConfig.js +1230 -1231
  48. package/src/filiale/yangchun/config/tableConfig.js +58 -58
  49. package/src/filiale/yangchun/reportManage.js +6 -6
  50. package/src/filiale/yangchun/sale.js +12 -8
  51. package/src/filiale/yangchun/webmeterManage.js +5 -5
  52. package/src/reportManage.js +768 -768
  53. package/src/saleManage.js +689 -689
@@ -1,346 +1,346 @@
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="api/af-revenue/logic/openapi/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="s.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 class="flex" style="width:99%;height:98%;margin-bottom:0px" v-if="show">
169
- <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
170
- </div>
171
- </div>
172
- </template>
173
-
174
- <script>
175
- import {HttpResetClass, PagedList} from 'vue-client'
176
- import exportConfig from '../../components/sale/config/exportConfig'
177
- import plugins from '../../plugins/GetLoginInfoService'
178
- import defaultPrint from "../../components/sale/config/DefaultPrint";
179
- import * as Util from '../../Util'
180
-
181
- let readySomething = async function (self) {
182
- await self.$MagLoadParams.loadParam()
183
- self.initParams()
184
- }
185
- export default {
186
- title: '充值指令查询',
187
- data () {
188
- return {
189
- show:false,
190
- detail24: false,
191
- org:[this.$login.f.orgid],
192
- orgcondition: ' and u.f_orgid = ' + this.$login.f.orgid,
193
- //f_filialeid: this.$login.f.f_orgid,
194
- detaillist: [],
195
- meterbrands: [],
196
- prices: [],
197
- gasproperties:[],
198
- condition:'',
199
- rowdata:{},
200
- sumsmodel: {},
201
- orgid:[this.$login.f.orgid],
202
- criteriaShow:false,
203
- orgCondtionStr: '',
204
- model: new PagedList('api/af-revenue/sql/rechargeInstruct', 50,{})
205
- }
206
- },
207
- ready () {
208
- readySomething(this).then(() => {
209
- this.$emit('ready')
210
- }).catch((error) => {
211
- this.$emit('error', error)
212
- })
213
- this.$refs.paged.$refs.criteria.model.f_start_date = Util.addDate(new Date(),-1).substring(0,10) + ' 00:00:00'
214
- this.$refs.paged.$refs.criteria.model.f_end_date = Util.addDate(new Date(),-1).substring(0,10) + ' 23:59:59'
215
- },
216
- methods: {
217
- initParams() {
218
- // 初始化气表品牌
219
- let brandArr = []
220
- this.$MagGetSaleParam.getGasbrand().forEach((item) => {
221
- let temp = {}
222
- if(item.value.f_meter_type==='物联网表'){
223
- temp.label = item.label
224
- temp.value = item.value.f_meter_brand
225
- brandArr.push(temp )
226
- }
227
- })
228
- this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
229
- //初始化气表价格
230
- this.prices = this.$MagGetSaleParam.getPrices();
231
- },
232
- async updateParams() {
233
- await this.$MagLoadParams.loadParam(this.f_filialeid)
234
- this.initParams()
235
- },
236
- getorg(obj) {
237
- if(plugins.convertToIn(obj)!==null&&plugins.convertToIn(obj)!==''){
238
- this.orgcondition = " and u.f_orgid in " + plugins.convertToIn(obj)
239
- }else{
240
- this.orgcondition = " and u.f_orgid = " + this.$login.f.orgid
241
- }
242
- },
243
- userTypeChange () {
244
- this.gasproperties=[]
245
- if(this.$refs.paged.$refs.criteria.model !==null) {
246
- this.$refs.paged.$refs.criteria.model.f_gasproperties=''
247
- this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.criteria.model.f_user_type[0])
248
- }
249
- else{
250
- this.gasproperties =[{label: '全部', value: ''}]
251
- }
252
- },
253
- showdetail(val) {
254
- console.log('24detail==', val)
255
- if(val){
256
- let detail = eval("("+val+")")
257
- this.detaillist = detail
258
- this.detail24 = true
259
- }else{
260
- console.log('无数据')
261
- }
262
- },
263
- close() {
264
- this.detail24 = false
265
- },
266
- hidden(){
267
- this.criteriaShow = !this.criteriaShow
268
- },
269
- cancel() {
270
- this.show = false
271
- },
272
- clearmsg () {
273
- Object.keys(this.$refs.paged.$refs.criteria.model).forEach((key) => {
274
- this.$refs.paged.$refs.criteria.model[key] = []
275
- })
276
- },
277
- getRes (obj) {
278
- this.orgCondtionStr = condition
279
- this.orgname = obj.orgnames[0]
280
- this.depname = obj.depnames[0]
281
- },
282
- showmsg(obj){
283
- this.rowdata=obj
284
- this.show=true
285
- },
286
-
287
- search (args) {
288
- args.condition = `${args.condition}`+this.orgcondition
289
- console.log(args.condition+"args.condition")
290
- this.condition = args.condition
291
- this.model.search(args.condition, args.model)
292
- // console.log(this.$refs.paged.$refs.grid.model.sums+"--this.$refs.paged.$refs.grid.model.sums")
293
- // this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
294
- // args.condition = `${args.condition}`
295
- // if (this.orgcondition)
296
- // args.condition = `${args.condition}` + this.orgcondition
297
- // else
298
- // args.condition = `${args.condition}` + 'and m.f_orgid in ' + '(' + this.$login.f.orgid + ')'
299
- // this.model.search(args.condition, args.model)
300
- }
301
- },
302
- watch: {
303
- 'orgCondtionStr'(val) {
304
- let res = val.match(/'(.*?)'/)
305
- console.log('正则提取:',res && res[1])
306
- if (res) {
307
- this.f_filialeid = res[1]
308
- // this.updateParams()
309
- }
310
- }
311
- },
312
- computed: {
313
- getfield () {
314
- return exportConfig.RechargeInstruct
315
- },
316
- usertypes() {
317
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
318
- },
319
- getCondition () {
320
- var con = ""
321
- if (this.orgCondtionStr) {
322
- con = `${this.$refs.paged.$refs.criteria.condition} and u.f_orgid in (${this.orgCondtionStr})`
323
- }
324
- else {
325
- con = `${this.$refs.paged.$refs.criteria.condition}and u.f_orgid in ('${this.$login.f.orgid}' )`
326
- }
327
- return {
328
- condition: con
329
- }
330
- }
331
- }
332
- }
333
- </script>
334
-
335
- <style>
336
- .mystyle{
337
- margin-left:80px;
338
- }
339
- .datapanel {
340
- color: #333;
341
- background-color: white;
342
- box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px ;
343
- padding: 10px 10px 10px 10px;
344
- border-radius:15px;
345
- }
346
- </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="api/af-revenue/logic/openapi/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="s.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 class="flex" style="width:99%;height:98%;margin-bottom:0px" v-if="show">
169
+ <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
170
+ </div>
171
+ </div>
172
+ </template>
173
+
174
+ <script>
175
+ import {HttpResetClass, PagedList} from 'vue-client'
176
+ import exportConfig from '../../components/sale/config/exportConfig'
177
+ import plugins from '../../plugins/GetLoginInfoService'
178
+ import defaultPrint from "../../components/sale/config/DefaultPrint";
179
+ import * as Util from '../../Util'
180
+
181
+ let readySomething = async function (self) {
182
+ await self.$MagLoadParams.loadParam()
183
+ self.initParams()
184
+ }
185
+ export default {
186
+ title: '充值指令查询',
187
+ data () {
188
+ return {
189
+ show:false,
190
+ detail24: false,
191
+ org:[this.$login.f.orgid],
192
+ orgcondition: ' and u.f_orgid = ' + this.$login.f.orgid,
193
+ //f_filialeid: this.$login.f.f_orgid,
194
+ detaillist: [],
195
+ meterbrands: [],
196
+ prices: [],
197
+ gasproperties:[],
198
+ condition:'',
199
+ rowdata:{},
200
+ sumsmodel: {},
201
+ orgid:[this.$login.f.orgid],
202
+ criteriaShow:false,
203
+ orgCondtionStr: '',
204
+ model: new PagedList('api/af-revenue/sql/rechargeInstruct', 50,{})
205
+ }
206
+ },
207
+ ready () {
208
+ readySomething(this).then(() => {
209
+ this.$emit('ready')
210
+ }).catch((error) => {
211
+ this.$emit('error', error)
212
+ })
213
+ this.$refs.paged.$refs.criteria.model.f_start_date = Util.addDate(new Date(),-1).substring(0,10) + ' 00:00:00'
214
+ this.$refs.paged.$refs.criteria.model.f_end_date = Util.addDate(new Date(),-1).substring(0,10) + ' 23:59:59'
215
+ },
216
+ methods: {
217
+ initParams() {
218
+ // 初始化气表品牌
219
+ let brandArr = []
220
+ this.$MagGetSaleParam.getGasbrand().forEach((item) => {
221
+ let temp = {}
222
+ if(item.value.f_meter_type==='物联网表'){
223
+ temp.label = item.label
224
+ temp.value = item.value.f_meter_brand
225
+ brandArr.push(temp )
226
+ }
227
+ })
228
+ this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
229
+ //初始化气表价格
230
+ this.prices = this.$MagGetSaleParam.getPrices();
231
+ },
232
+ async updateParams() {
233
+ await this.$MagLoadParams.loadParam(this.f_filialeid)
234
+ this.initParams()
235
+ },
236
+ getorg(obj) {
237
+ if(plugins.convertToIn(obj)!==null&&plugins.convertToIn(obj)!==''){
238
+ this.orgcondition = " and u.f_orgid in " + plugins.convertToIn(obj)
239
+ }else{
240
+ this.orgcondition = " and u.f_orgid = " + this.$login.f.orgid
241
+ }
242
+ },
243
+ userTypeChange () {
244
+ this.gasproperties=[]
245
+ if(this.$refs.paged.$refs.criteria.model !==null) {
246
+ this.$refs.paged.$refs.criteria.model.f_gasproperties=''
247
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.criteria.model.f_user_type[0])
248
+ }
249
+ else{
250
+ this.gasproperties =[{label: '全部', value: ''}]
251
+ }
252
+ },
253
+ showdetail(val) {
254
+ console.log('24detail==', val)
255
+ if(val){
256
+ let detail = eval("("+val+")")
257
+ this.detaillist = detail
258
+ this.detail24 = true
259
+ }else{
260
+ console.log('无数据')
261
+ }
262
+ },
263
+ close() {
264
+ this.detail24 = false
265
+ },
266
+ hidden(){
267
+ this.criteriaShow = !this.criteriaShow
268
+ },
269
+ cancel() {
270
+ this.show = false
271
+ },
272
+ clearmsg () {
273
+ Object.keys(this.$refs.paged.$refs.criteria.model).forEach((key) => {
274
+ this.$refs.paged.$refs.criteria.model[key] = []
275
+ })
276
+ },
277
+ getRes (obj) {
278
+ this.orgCondtionStr = condition
279
+ this.orgname = obj.orgnames[0]
280
+ this.depname = obj.depnames[0]
281
+ },
282
+ showmsg(obj){
283
+ this.rowdata=obj
284
+ this.show=true
285
+ },
286
+
287
+ search (args) {
288
+ args.condition = `${args.condition}`+this.orgcondition
289
+ console.log(args.condition+"args.condition")
290
+ this.condition = args.condition
291
+ this.model.search(args.condition, args.model)
292
+ // console.log(this.$refs.paged.$refs.grid.model.sums+"--this.$refs.paged.$refs.grid.model.sums")
293
+ // this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
294
+ // args.condition = `${args.condition}`
295
+ // if (this.orgcondition)
296
+ // args.condition = `${args.condition}` + this.orgcondition
297
+ // else
298
+ // args.condition = `${args.condition}` + 'and m.f_orgid in ' + '(' + this.$login.f.orgid + ')'
299
+ // this.model.search(args.condition, args.model)
300
+ }
301
+ },
302
+ watch: {
303
+ 'orgCondtionStr'(val) {
304
+ let res = val.match(/'(.*?)'/)
305
+ console.log('正则提取:',res && res[1])
306
+ if (res) {
307
+ this.f_filialeid = res[1]
308
+ // this.updateParams()
309
+ }
310
+ }
311
+ },
312
+ computed: {
313
+ getfield () {
314
+ return exportConfig.RechargeInstruct
315
+ },
316
+ usertypes() {
317
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
318
+ },
319
+ getCondition () {
320
+ var con = ""
321
+ if (this.orgCondtionStr) {
322
+ con = `${this.$refs.paged.$refs.criteria.condition} and u.f_orgid in (${this.orgCondtionStr})`
323
+ }
324
+ else {
325
+ con = `${this.$refs.paged.$refs.criteria.condition}and u.f_orgid in ('${this.$login.f.orgid}' )`
326
+ }
327
+ return {
328
+ condition: con
329
+ }
330
+ }
331
+ }
332
+ }
333
+ </script>
334
+
335
+ <style>
336
+ .mystyle{
337
+ margin-left:80px;
338
+ }
339
+ .datapanel {
340
+ color: #333;
341
+ background-color: white;
342
+ box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px ;
343
+ padding: 10px 10px 10px 10px;
344
+ border-radius:15px;
345
+ }
346
+ </style>