manage-client 3.2.79-aode → 3.2.80-aode

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 (75) hide show
  1. package/build/dev-server.js +193 -193
  2. package/build/webpack.base.conf.js +79 -79
  3. package/gradle/wrapper/gradle-wrapper.jar +0 -0
  4. package/gradle/wrapper/gradle-wrapper.properties +5 -0
  5. package/gradlew +234 -0
  6. package/gradlew.bat +89 -0
  7. package/package.json +1 -1
  8. package/src/Util.js +383 -383
  9. package/src/components/MeterManage/MeterList.vue +336 -336
  10. package/src/components/WebReport/UserGasAll.vue +214 -214
  11. package/src/components/sale/businessquery/CancelChargeQuery.vue +650 -650
  12. package/src/components/sale/businessquery/ChangeMeterQuery.vue +667 -667
  13. package/src/components/sale/businessquery/ChargeQuery.vue +663 -663
  14. package/src/components/sale/businessquery/DeductionGas.vue +149 -149
  15. package/src/components/sale/businessquery/DisableQuery.vue +315 -315
  16. package/src/components/sale/businessquery/EnableQuery.vue +315 -315
  17. package/src/components/sale/businessquery/FillCardQuery.vue +436 -436
  18. package/src/components/sale/businessquery/FillGasQuery.vue +435 -435
  19. package/src/components/sale/businessquery/HandplanQuery.vue +705 -705
  20. package/src/components/sale/businessquery/InspectListGas.vue +456 -456
  21. package/src/components/sale/businessquery/InspectManage.vue +37 -37
  22. package/src/components/sale/businessquery/NewAccountQuery.vue +512 -506
  23. package/src/components/sale/businessquery/OtherChargeQuery.vue +406 -406
  24. package/src/components/sale/businessquery/QueryUserState.vue +313 -313
  25. package/src/components/sale/businessquery/ReverseQuery.vue +347 -347
  26. package/src/components/sale/businessquery/TransferQuery.vue +363 -363
  27. package/src/components/sale/businessquery/toolCardMakeQuery.vue +340 -340
  28. package/src/components/sale/config/exportConfig.js +271 -271
  29. package/src/components/sale/filesquery/ChangeUserQuery.vue +396 -396
  30. package/src/components/sale/filesquery/DeviceQuery.vue +329 -329
  31. package/src/components/sale/filesquery/MeterQuery.vue +593 -593
  32. package/src/components/sale/filesquery/UserQuery.vue +556 -556
  33. package/src/components/sale/filesquery/filequerydetail/BlackListQueryDetail.vue +219 -219
  34. package/src/components/sale/filesquery/filequerydetail/DisableQueryDetail.vue +272 -272
  35. package/src/components/sale/filesquery/filequerydetail/EnableQueryDetail.vue +274 -274
  36. package/src/components/sale/ncpush/ncUserLoad.vue +176 -176
  37. package/src/components/sale/ncpush/ncpushmanage/NCpushList.vue +497 -497
  38. package/src/components/sale/ncpush/ncrecord/pushdaydatalist.vue +298 -298
  39. package/src/components/sale/ncpush/pushconfirmlist.vue +414 -414
  40. package/src/components/sale/ncpush/pushconfirmmergelist.vue +480 -480
  41. package/src/components/sale/report/aode/MonthByChargeType.vue +526 -526
  42. package/src/components/sale/report/aode/MonthByUserType.vue +562 -562
  43. package/src/components/sale/report/aode/YearByChargeTpye.vue +254 -254
  44. package/src/components/sale/report/aode/YearByUserType.vue +351 -342
  45. package/src/components/sale/report/aode/iot/FarawayQuery.vue +401 -401
  46. package/src/components/sale/report/aode/userbuyQuery.vue +477 -477
  47. package/src/components/valueaddinfo/ValueAddinfoQuery.vue +425 -425
  48. package/src/components/valueaddinfo/renewalvalueAddUserQuery.vue +371 -371
  49. package/src/components/valueaddinfo/valueAddCountQuery.vue +315 -315
  50. package/src/components/valueaddinfo/valueAddUserQuery.vue +404 -404
  51. package/src/components/webmeter/ArreasuserQuery.vue +193 -193
  52. package/src/components/webmeter/DrillData/LostContactAnalysis.vue +531 -531
  53. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +548 -548
  54. package/src/components/webmeter/DrillData/NewUserGasAll.vue +596 -588
  55. package/src/components/webmeter/DrillData/UserGasAll.vue +24 -0
  56. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +507 -507
  57. package/src/components/webmeter/EasyExcelExportCk.vue +396 -396
  58. package/src/components/webmeter/IOTArrears/arrears.vue +324 -324
  59. package/src/components/webmeter/IOTArrears/iotRechargeAudit.vue +377 -377
  60. package/src/components/webmeter/NewWebmeterHandplanQuery.vue +605 -605
  61. package/src/components/webmeter/WebmeterHandplanQuery.vue +640 -640
  62. package/src/components/webmeter/dataCollection/DataCollection.vue +630 -630
  63. package/src/components/webmeter/gasAnalysis/GasAnalysisManage.vue +303 -303
  64. package/src/components/webmeter/handplan/NewWebMeterHandPlan.vue +745 -745
  65. package/src/components/webmeter/newwebmeter/NewException/NewMeterException.vue +449 -449
  66. package/src/components/webmeter/newwebmeter/NewWebUserHand.vue +325 -325
  67. package/src/components/webmeter/newwebmeter/ReportDataQuery.vue +283 -283
  68. package/src/components/webmeter/newwebmeter/UserGasList.vue +295 -295
  69. package/src/components/webmeter/newwebmeter/UserInstructList.vue +311 -311
  70. package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +386 -386
  71. package/src/components/webmeter/report/ReportList.vue +211 -211
  72. package/src/main.js +56 -56
  73. package/src/saleManage.js +263 -263
  74. package/src/webmeterManage.js +99 -99
  75. package/client.iml +0 -15
@@ -1,298 +1,298 @@
1
- <template>
2
- <div @keyup.enter="search">
3
- <criteria-paged :model="model" v-ref:paged @sort="sort">
4
- <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
5
- <div style="padding: 0px 24px;" novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
- <div class="row">
7
- <div class="col-sm-2 form-group">
8
- <label class="font_normal_body">客户类型</label>
9
- <v-select :value.sync="model.f_user_type"
10
- @change="$parent.$parent.userTypeChange()"
11
- :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
12
- condition="f_user_type = '{}'"
13
- close-on-select></v-select>
14
- </div>
15
- <div class="col-sm-2 form-group">
16
- <label class="font_normal_body">用气性质</label>
17
- <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
18
- :options='$parent.$parent.gasproperties' placeholder='请选择'
19
- condition="f_gasproperties = '{}'"
20
- close-on-select></v-select>
21
- </div>
22
- <div class="col-sm-2 form-group">
23
- <label class="font_normal_body">其他类型</label>
24
- <v-select :value.sync="model.f_other_pay" v-model="model.f_other_pay"
25
- :options='$parent.$parent.otherpayoptions' placeholder='请选择'
26
- condition="f_other_pay = '{}'"
27
- close-on-select></v-select>
28
- </div>
29
- <div class="button-range" style="float:right;margin-top:10px">
30
- <button class="button_search button_spacing" @click="search()">查询</button>
31
- </div>
32
- </div>
33
- </div>
34
- </criteria>
35
- <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid >
36
- <template partial='head'>
37
- <tr>
38
- <th>
39
- <data-order field="f_userinfo_code" name="客户编号"></data-order>
40
- <!--<nobr>客户编号</nobr>-->
41
- </th>
42
- <th><data-order field="f_user_name" name="客户姓名"></data-order>
43
- <!--<nobr>客户姓名</nobr>-->
44
- </th>
45
- <th><nobr>地址</nobr></th>
46
- <th>
47
- <data-order field="f_meter_brand" name="气表厂家"></data-order>
48
- </th>
49
- <th><data-order field="f_operate_date" name="操作时间"></data-order>
50
- <!--<nobr>操作时间</nobr>-->
51
- </th>
52
- <th><data-order field="f_operate_date" name="操作状态"></data-order>
53
- <!--<nobr>操作时间</nobr>-->
54
- </th>
55
- <th>
56
- <data-order field="f_stair1price" name="1单价"></data-order>
57
- </th>
58
- <th>
59
- <data-order field="f_stair1amount" name="1气量"></data-order>
60
- </th>
61
- <th>
62
- <data-order field="f_stair2price" name="2单价"></data-order>
63
- </th>
64
- <th>
65
- <data-order field="f_stair2amount" name="2气量"></data-order>
66
- </th>
67
- <th>
68
- <data-order field="f_stair3price" name="3单价"></data-order>
69
- </th>
70
- <th>
71
- <data-order field="f_stair3amount" name="3气量"></data-order>
72
- </th>
73
- <th>
74
- <data-order field="f_pregas" name="气量"></data-order>
75
- </th>
76
- <th>
77
- <data-order field="f_preamount" name="应收金额"></data-order>
78
- </th>
79
- <th>
80
- <data-order field="f_collection" name="实收金额"></data-order>
81
-
82
- </th>
83
- <th><nobr>上期余额</nobr></th>
84
- <th><nobr>本期余额</nobr></th>
85
- <th>
86
- <data-order field="f_payment" name="付款方式"></data-order>
87
- <!--<nobr>付款方式</nobr>-->
88
- </th>
89
- <th>
90
- <data-order field="f_type" name="收费类型"></data-order>
91
- <!--<nobr>收费类型</nobr>-->
92
- </th>
93
- <th>
94
- <data-order field="f_operator" name="操作员"></data-order>
95
- </th>
96
- <th>
97
- <data-order field="f_user_type" name="客户类型"></data-order>
98
- <!--<nobr>客户类型</nobr>-->
99
- </th>
100
- <th><nobr>备注</nobr></th>
101
-
102
- </tr>
103
- </template>
104
- <template partial='body' >
105
- <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}" ><nobr>
106
- <span >{{row.f_userinfo_code}}</span>
107
- </nobr> </td>
108
- <td style="text-align: left;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_user_name}}</nobr></td>
109
- <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_address}}</nobr></td>
110
- <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_meter_brand}}</nobr></td>
111
- <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_operate_date}}</nobr></td>
112
- <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_state}}</nobr></td>
113
- <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_stair1price}}</nobr></td>
114
- <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_stair1amount}}</nobr></td>
115
- <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_stair2price}}</nobr></td>
116
- <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_stair2amount}}</nobr></td>
117
- <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_stair3price}}</nobr></td>
118
- <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_stair3amount}}</nobr></td>
119
- <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_pregas}}</nobr></td>
120
- <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_preamount}}</nobr></td>
121
- <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_collection}}</nobr></td>
122
- <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_balance}}</nobr></td>
123
- <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_curbalance}}</nobr></td>
124
- <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_payment}}</nobr></td>
125
- <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_type}}</nobr></td>
126
- <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_operator}}</nobr></td>
127
- <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_user_type}}</nobr></td>
128
- <td style="text-align: left;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_comments}}</nobr></td>
129
- </template>
130
- </data-grid>
131
- </criteria-paged>
132
- <!-- <table class="table-hover">-->
133
- <!-- <tr style="position: relative" class="table-bordered">-->
134
- <!-- <td-->
135
- <!-- style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">-->
136
- <!-- 汇总信息-->
137
- <!-- </td>-->
138
- <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">-->
139
- <!-- 业务气量:&emsp;{{sumsmodel.f_shouru_gas}}-->
140
- <!-- </td>-->
141
- <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">-->
142
- <!-- 实收金额:&emsp;{{sumsmodel.f_shouru_fee}}-->
143
- <!-- </td>-->
144
- <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">-->
145
- <!-- 应收金额:&emsp;{{sumsmodel.f_yingshou_fee}}-->
146
- <!-- </td>-->
147
- <!-- </tr>-->
148
- <!-- </table>-->
149
- </div>
150
- </template>
151
-
152
- <script>
153
- import { PagedList } from 'vue-client'
154
-
155
- let readySomething = async function (self) {
156
- self.searchcondition.f_condition = self.searchcondition.f_condition.replaceAll('~','\'');
157
- self.newsearchCondition = JSON.parse(self.searchcondition.f_condition);
158
- // self.$refs.paged.$refs.cri.model.endDate =self.newsearchCondition.endDate;
159
- // self.$refs.paged.$refs.cri.model.startDate =self.newsearchCondition.startDate;
160
- self.sumsmodel = self.$refs.paged.$refs.grid.model.sums;
161
- }
162
-
163
- export default {
164
- title: '交账详细记录',
165
- data() {
166
- return {
167
- gasproperties:[],
168
- orderDefault: "'f_operate_date'",
169
- orderFields: {
170
- f_userinfo_code: 'no'
171
- },
172
- initres: {
173
- org:[this.$login.f.orgid],
174
- dep:[this.$login.f.depids],
175
- user:[this.$login.f.id]
176
- },
177
- model: new PagedList('rs/sql/ncPushedListQuery', 30, {},),
178
- listpage:false,
179
- rowdata: {},
180
- orgCondtionStr: '',
181
- userTypes: [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')],
182
- count: 0,
183
- printshow: false,
184
- all: false,
185
- orgname: '',
186
- depname: '',
187
- criteriaShow: false,
188
- otherpayoptions: [{label:'全部',value:''},{label:'是',value:'1'},{label:'否',value:'0'}],
189
- operates: [{label: '全部', value: ''}, {label: '发卡售气', value: "发卡售气"},{label: '卡表收费', value: "卡表收费"},{label: '补气', value: "补气"},{label: '补卡', value: "补卡"},{label: '换表', value: "换表"},{label: '冲正', value: "冲正"}],
190
- stateoptions:[{label: '全部', value: ''}, {label: '有效', value: "有效"},{label: '撤销', value: "撤销"},{label: '无效', value: "无效"},{label: '冲正', value: "冲正"}],
191
- hasapps: [{label: '包含APP', value: ''}, {label: '不包含APP', value: "!= '悦生活'"}],
192
- useroptions:[{label: ' 全部 ', value: ''},...this.$appdata.getParam('用气性质')],
193
- selectfields:[],
194
- pushncshow:false,
195
- pushncshow2:false,
196
- newsearchCondition:{},
197
- sumsmodel: {},
198
- }
199
- },
200
- props:['searchcondition'],
201
- ready() {
202
- readySomething(this);
203
- //this.search();
204
- //数据转化
205
- },
206
- methods: {
207
- userTypeChange () {
208
- this.gasproperties=[]
209
- if(this.$refs.paged.$refs.cri.model !==null) {
210
- this.$refs.paged.$refs.cri.model.f_gasproperties=''
211
-
212
- console.log(this.$refs.paged.$refs.cri.model.f_user_type[0])
213
- this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
214
- // this.gasproperties.push({label: '全部', value: ''})
215
- }
216
- else{
217
- this.gasproperties =[{label: '全部', value: ''}]
218
- }
219
- },
220
- showmsg(obj){
221
- this.criteriaShow = false
222
- this.$emit('close')
223
- this.rowdata=obj
224
- this.listpage=true
225
- },
226
- cancel() {
227
- this.listpage = false
228
- },
229
- search() {
230
- this.$refs.paged.$refs.cri.search()
231
- },
232
- async selfSearch(args) {
233
- if(this.searchcondition.f_push_state !=null && this.searchcondition.f_push_state == '交账成功'){
234
- this.model.url='rs/sql/ncPushedListQuery';
235
- args.condition = `${args.condition} and f_push_flag='${this.searchcondition.id}' `;
236
- }else{
237
- this.model.url='rs/sql/ncPushedListErrorQuery';
238
- args.condition = `${args.condition} and ${this.newsearchCondition.condition}`;
239
- }
240
- this.model.params={othercondition:` 1=1 and f_push_flag='${this.searchcondition.id}'`};
241
- await this.model.search(args.condition,args.model)
242
-
243
- },
244
- close() {
245
- this.printshow = false
246
- },
247
- show() {
248
- this.pushncshow2 = !this.pushncshow2;
249
- this.criteriaShow = !this.criteriaShow
250
- if (this.criteriaShow) {
251
- this.$emit('show')
252
- } else {
253
- this.$emit('close')
254
- }
255
- },
256
- /*sort(field, rule) {
257
- console.log('sort...')
258
-
259
- },*/
260
- sort (field, rule) {
261
- // 将所有排序方式设为不排序,实现相互排斥
262
- for (let key in this.orderFields) {
263
- if (key === field) {
264
- this.orderFields[key] = rule
265
- } else {
266
- this.orderFields[key] = 'no'
267
- }
268
- }
269
- // 如果新规则不排序,还原为默认排序
270
- if (rule === 'no') {
271
- this.model.paramSource.orderitem = `'${this.orderDefault}'`
272
- } else {
273
- this.model.paramSource.orderitem = `'${field} ${rule}'`
274
- }
275
-
276
- this.search()
277
- }
278
- },
279
- computed:{
280
- usertypes() {
281
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
282
- },
283
- }
284
- }
285
-
286
- </script>
287
-
288
- <style scoped>
289
-
290
- .col {
291
- width: 300px;
292
- overflow: hidden;
293
- text-overflow: ellipsis;
294
- white-space: nowrap;
295
- }
296
-
297
- </style>
298
-
1
+ <template>
2
+ <div @keyup.enter="search">
3
+ <criteria-paged :model="model" v-ref:paged @sort="sort">
4
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
5
+ <div style="padding: 0px 24px;" novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
+ <div class="row">
7
+ <div class="col-sm-2 form-group">
8
+ <label class="font_normal_body">客户类型</label>
9
+ <v-select :value.sync="model.f_user_type"
10
+ @change="$parent.$parent.userTypeChange()"
11
+ :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
12
+ condition="f_user_type = '{}'"
13
+ close-on-select></v-select>
14
+ </div>
15
+ <div class="col-sm-2 form-group">
16
+ <label class="font_normal_body">用气性质</label>
17
+ <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
18
+ :options='$parent.$parent.gasproperties' placeholder='请选择'
19
+ condition="f_gasproperties = '{}'"
20
+ close-on-select></v-select>
21
+ </div>
22
+ <div class="col-sm-2 form-group">
23
+ <label class="font_normal_body">其他类型</label>
24
+ <v-select :value.sync="model.f_other_pay" v-model="model.f_other_pay"
25
+ :options='$parent.$parent.otherpayoptions' placeholder='请选择'
26
+ condition="f_other_pay = '{}'"
27
+ close-on-select></v-select>
28
+ </div>
29
+ <div class="button-range" style="float:right;margin-top:10px">
30
+ <button class="button_search button_spacing" @click="search()">查询</button>
31
+ </div>
32
+ </div>
33
+ </div>
34
+ </criteria>
35
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid >
36
+ <template partial='head'>
37
+ <tr>
38
+ <th>
39
+ <data-order field="f_userinfo_code" name="客户编号"></data-order>
40
+ <!--<nobr>客户编号</nobr>-->
41
+ </th>
42
+ <th><data-order field="f_user_name" name="客户姓名"></data-order>
43
+ <!--<nobr>客户姓名</nobr>-->
44
+ </th>
45
+ <th><nobr>地址</nobr></th>
46
+ <th>
47
+ <data-order field="f_meter_brand" name="气表厂家"></data-order>
48
+ </th>
49
+ <th><data-order field="f_operate_date" name="操作时间"></data-order>
50
+ <!--<nobr>操作时间</nobr>-->
51
+ </th>
52
+ <th><data-order field="f_operate_date" name="操作状态"></data-order>
53
+ <!--<nobr>操作时间</nobr>-->
54
+ </th>
55
+ <th>
56
+ <data-order field="f_stair1price" name="1单价"></data-order>
57
+ </th>
58
+ <th>
59
+ <data-order field="f_stair1amount" name="1气量"></data-order>
60
+ </th>
61
+ <th>
62
+ <data-order field="f_stair2price" name="2单价"></data-order>
63
+ </th>
64
+ <th>
65
+ <data-order field="f_stair2amount" name="2气量"></data-order>
66
+ </th>
67
+ <th>
68
+ <data-order field="f_stair3price" name="3单价"></data-order>
69
+ </th>
70
+ <th>
71
+ <data-order field="f_stair3amount" name="3气量"></data-order>
72
+ </th>
73
+ <th>
74
+ <data-order field="f_pregas" name="气量"></data-order>
75
+ </th>
76
+ <th>
77
+ <data-order field="f_preamount" name="应收金额"></data-order>
78
+ </th>
79
+ <th>
80
+ <data-order field="f_collection" name="实收金额"></data-order>
81
+
82
+ </th>
83
+ <th><nobr>上期余额</nobr></th>
84
+ <th><nobr>本期余额</nobr></th>
85
+ <th>
86
+ <data-order field="f_payment" name="付款方式"></data-order>
87
+ <!--<nobr>付款方式</nobr>-->
88
+ </th>
89
+ <th>
90
+ <data-order field="f_type" name="收费类型"></data-order>
91
+ <!--<nobr>收费类型</nobr>-->
92
+ </th>
93
+ <th>
94
+ <data-order field="f_operator" name="操作员"></data-order>
95
+ </th>
96
+ <th>
97
+ <data-order field="f_user_type" name="客户类型"></data-order>
98
+ <!--<nobr>客户类型</nobr>-->
99
+ </th>
100
+ <th><nobr>备注</nobr></th>
101
+
102
+ </tr>
103
+ </template>
104
+ <template partial='body' >
105
+ <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}" ><nobr>
106
+ <span >{{row.f_userinfo_code}}</span>
107
+ </nobr> </td>
108
+ <td style="text-align: left;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_user_name}}</nobr></td>
109
+ <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_address}}</nobr></td>
110
+ <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_meter_brand}}</nobr></td>
111
+ <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_operate_date}}</nobr></td>
112
+ <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_state}}</nobr></td>
113
+ <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_stair1price}}</nobr></td>
114
+ <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_stair1amount}}</nobr></td>
115
+ <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_stair2price}}</nobr></td>
116
+ <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_stair2amount}}</nobr></td>
117
+ <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_stair3price}}</nobr></td>
118
+ <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_stair3amount}}</nobr></td>
119
+ <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_pregas}}</nobr></td>
120
+ <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_preamount}}</nobr></td>
121
+ <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_collection}}</nobr></td>
122
+ <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_balance}}</nobr></td>
123
+ <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_curbalance}}</nobr></td>
124
+ <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_payment}}</nobr></td>
125
+ <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_type}}</nobr></td>
126
+ <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_operator}}</nobr></td>
127
+ <td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_user_type}}</nobr></td>
128
+ <td style="text-align: left;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_comments}}</nobr></td>
129
+ </template>
130
+ </data-grid>
131
+ </criteria-paged>
132
+ <!-- <table class="table-hover">-->
133
+ <!-- <tr style="position: relative" class="table-bordered">-->
134
+ <!-- <td-->
135
+ <!-- style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">-->
136
+ <!-- 汇总信息-->
137
+ <!-- </td>-->
138
+ <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">-->
139
+ <!-- 业务气量:&emsp;{{sumsmodel.f_shouru_gas}}-->
140
+ <!-- </td>-->
141
+ <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">-->
142
+ <!-- 实收金额:&emsp;{{sumsmodel.f_shouru_fee}}-->
143
+ <!-- </td>-->
144
+ <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">-->
145
+ <!-- 应收金额:&emsp;{{sumsmodel.f_yingshou_fee}}-->
146
+ <!-- </td>-->
147
+ <!-- </tr>-->
148
+ <!-- </table>-->
149
+ </div>
150
+ </template>
151
+
152
+ <script>
153
+ import { PagedList } from 'vue-client'
154
+
155
+ let readySomething = async function (self) {
156
+ self.searchcondition.f_condition = self.searchcondition.f_condition.replaceAll('~','\'');
157
+ self.newsearchCondition = JSON.parse(self.searchcondition.f_condition);
158
+ // self.$refs.paged.$refs.cri.model.endDate =self.newsearchCondition.endDate;
159
+ // self.$refs.paged.$refs.cri.model.startDate =self.newsearchCondition.startDate;
160
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums;
161
+ }
162
+
163
+ export default {
164
+ title: '交账详细记录',
165
+ data() {
166
+ return {
167
+ gasproperties:[],
168
+ orderDefault: "'f_operate_date'",
169
+ orderFields: {
170
+ f_userinfo_code: 'no'
171
+ },
172
+ initres: {
173
+ org:[this.$login.f.orgid],
174
+ dep:[this.$login.f.depids],
175
+ user:[this.$login.f.id]
176
+ },
177
+ model: new PagedList('rs/sql/ncPushedListQuery', 30, {},),
178
+ listpage:false,
179
+ rowdata: {},
180
+ orgCondtionStr: '',
181
+ userTypes: [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')],
182
+ count: 0,
183
+ printshow: false,
184
+ all: false,
185
+ orgname: '',
186
+ depname: '',
187
+ criteriaShow: false,
188
+ otherpayoptions: [{label:'全部',value:''},{label:'是',value:'1'},{label:'否',value:'0'}],
189
+ operates: [{label: '全部', value: ''}, {label: '发卡售气', value: "发卡售气"},{label: '卡表收费', value: "卡表收费"},{label: '补气', value: "补气"},{label: '补卡', value: "补卡"},{label: '换表', value: "换表"},{label: '冲正', value: "冲正"}],
190
+ stateoptions:[{label: '全部', value: ''}, {label: '有效', value: "有效"},{label: '撤销', value: "撤销"},{label: '无效', value: "无效"},{label: '冲正', value: "冲正"}],
191
+ hasapps: [{label: '包含APP', value: ''}, {label: '不包含APP', value: "!= '悦生活'"}],
192
+ useroptions:[{label: ' 全部 ', value: ''},...this.$appdata.getParam('用气性质')],
193
+ selectfields:[],
194
+ pushncshow:false,
195
+ pushncshow2:false,
196
+ newsearchCondition:{},
197
+ sumsmodel: {},
198
+ }
199
+ },
200
+ props:['searchcondition'],
201
+ ready() {
202
+ readySomething(this);
203
+ //this.search();
204
+ //数据转化
205
+ },
206
+ methods: {
207
+ userTypeChange () {
208
+ this.gasproperties=[]
209
+ if(this.$refs.paged.$refs.cri.model !==null) {
210
+ this.$refs.paged.$refs.cri.model.f_gasproperties=''
211
+
212
+ console.log(this.$refs.paged.$refs.cri.model.f_user_type[0])
213
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
214
+ // this.gasproperties.push({label: '全部', value: ''})
215
+ }
216
+ else{
217
+ this.gasproperties =[{label: '全部', value: ''}]
218
+ }
219
+ },
220
+ showmsg(obj){
221
+ this.criteriaShow = false
222
+ this.$emit('close')
223
+ this.rowdata=obj
224
+ this.listpage=true
225
+ },
226
+ cancel() {
227
+ this.listpage = false
228
+ },
229
+ search() {
230
+ this.$refs.paged.$refs.cri.search()
231
+ },
232
+ async selfSearch(args) {
233
+ if(this.searchcondition.f_push_state !=null && this.searchcondition.f_push_state == '交账成功'){
234
+ this.model.url='rs/sql/ncPushedListQuery';
235
+ args.condition = `${args.condition} and f_push_flag='${this.searchcondition.id}' `;
236
+ }else{
237
+ this.model.url='rs/sql/ncPushedListErrorQuery';
238
+ args.condition = `${args.condition} and ${this.newsearchCondition.condition}`;
239
+ }
240
+ this.model.params={othercondition:` 1=1 and f_push_flag='${this.searchcondition.id}'`};
241
+ await this.model.search(args.condition,args.model)
242
+
243
+ },
244
+ close() {
245
+ this.printshow = false
246
+ },
247
+ show() {
248
+ this.pushncshow2 = !this.pushncshow2;
249
+ this.criteriaShow = !this.criteriaShow
250
+ if (this.criteriaShow) {
251
+ this.$emit('show')
252
+ } else {
253
+ this.$emit('close')
254
+ }
255
+ },
256
+ /*sort(field, rule) {
257
+ console.log('sort...')
258
+
259
+ },*/
260
+ sort (field, rule) {
261
+ // 将所有排序方式设为不排序,实现相互排斥
262
+ for (let key in this.orderFields) {
263
+ if (key === field) {
264
+ this.orderFields[key] = rule
265
+ } else {
266
+ this.orderFields[key] = 'no'
267
+ }
268
+ }
269
+ // 如果新规则不排序,还原为默认排序
270
+ if (rule === 'no') {
271
+ this.model.paramSource.orderitem = `'${this.orderDefault}'`
272
+ } else {
273
+ this.model.paramSource.orderitem = `'${field} ${rule}'`
274
+ }
275
+
276
+ this.search()
277
+ }
278
+ },
279
+ computed:{
280
+ usertypes() {
281
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
282
+ },
283
+ }
284
+ }
285
+
286
+ </script>
287
+
288
+ <style scoped>
289
+
290
+ .col {
291
+ width: 300px;
292
+ overflow: hidden;
293
+ text-overflow: ellipsis;
294
+ white-space: nowrap;
295
+ }
296
+
297
+ </style>
298
+