manage-client 1.22.4-ca → 1.22.5-ca
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.
- package/build/dev-server.js +99 -93
- package/package.json +1 -1
- package/src/components/MeterManage/ChargeQuery.vue +228 -228
- package/src/components/MeterManage/LiushuiQuery.vue +169 -169
- package/src/components/SellReport/BonSummary.vue +233 -233
- package/src/components/SellReport/BusSummary.vue +238 -238
- package/src/components/SellReport/ChanganDaySellGAs.vue +242 -242
- package/src/components/SellReport/ChanganSellMsg.vue +232 -232
- package/src/components/SellReport/ChanganSellMsg_Month.vue +240 -240
- package/src/components/SellReport/FenxiangSell.vue +182 -182
- package/src/components/SellReport/GasCollect.vue +174 -174
- package/src/components/SellReport/ManageBusSummary.vue +229 -229
- package/src/components/SellReport/ManageGasPrice.vue +221 -221
- package/src/components/SellReport/ManageSellType.vue +229 -229
- package/src/components/SellReport/UserStatistics.vue +154 -0
- package/src/components/sale/businessquery/BusinessManage.vue +108 -108
- package/src/components/sale/businessquery/ChangeUserQuery.vue +330 -330
- package/src/components/sale/businessquery/ChargeQuery.vue +569 -569
- package/src/components/sale/businessquery/DisableQuery.vue +286 -286
- package/src/components/sale/businessquery/EnableQuery.vue +258 -258
- package/src/components/sale/businessquery/FillCardQuery.vue +373 -373
- package/src/components/sale/businessquery/FillGasQuery.vue +311 -311
- package/src/components/sale/businessquery/HandplanQuery.vue +296 -296
- package/src/components/sale/businessquery/LiuShuiQuery.vue +356 -356
- package/src/components/sale/businessquery/OtherChargeQuery.vue +308 -308
- package/src/components/sale/businessquery/ReverseQuery.vue +305 -305
- package/src/components/sale/businessquery/RfCardReadBack.vue +412 -412
- package/src/components/sale/businessquery/SellGasGroupPrice.vue +211 -211
- package/src/components/sale/businessquery/SellgasQuerybyDay.vue +185 -185
- package/src/components/sale/businessquery/SellgasQuerybyDep.vue +186 -186
- package/src/components/sale/businessquery/SellgasQuerybySpot.vue +191 -191
- package/src/components/sale/businessquery/SellingHand.vue +267 -267
- package/src/components/sale/businessquery/TransferQuery.vue +291 -291
- package/src/components/sale/businessquery/TreaDownQuery.vue +439 -439
- package/src/components/sale/businessquery/ValveQuery.vue +275 -275
- package/src/components/sale/config/exportConfig.js +136 -136
- package/src/components/sale/filesquery/ArchivesManage.vue +60 -60
- package/src/components/sale/filesquery/DeviceCount.vue +333 -333
- package/src/components/sale/filesquery/DeviceQuery.vue +361 -361
- package/src/components/sale/filesquery/FilesRecord.vue +160 -160
- package/src/components/sale/filesquery/MeterQuery.vue +499 -499
- package/src/components/sale/filesquery/NoSaleQuery.vue +412 -412
- package/src/components/webmeter/DrillData/UserGasAll.vue +490 -490
- package/src/plugins/Table.js +194 -194
- package/src/reportManage.js +208 -204
- package/src/saleManage.js +134 -134
- package/src/stores/MagLoadParams.js +71 -71
- package/.npmignore +0 -10
- package/build/.npmignore +0 -1
- package/yarn.lock +0 -7516
|
@@ -1,228 +1,228 @@
|
|
|
1
|
-
<template >
|
|
2
|
-
<div id="stand-work-list" class="flex bg-white p-10" style="overflow:hidden;">
|
|
3
|
-
<criteria-paged :model="model" v-ref:paged >
|
|
4
|
-
<criteria partial='criteria' v-ref:criteria @condition-changed='$parent.search'>
|
|
5
|
-
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
6
|
-
<div class="row" width="100%">
|
|
7
|
-
<div class="col-sm-4" >
|
|
8
|
-
<label class="font_normal_body" style="width: 40%;" >开始时间</label>
|
|
9
|
-
<datepicker placeholder="起始时间" style="width:60%"
|
|
10
|
-
:value.sync="model.f_start_date"
|
|
11
|
-
v-model="model.f_start_date"
|
|
12
|
-
:format="'yyyy-MM-dd'"
|
|
13
|
-
condition="f_operate_date >= to_date('{} 00:00:00','yyyy-mm-dd hh24:mi:ss')"
|
|
14
|
-
></datepicker>
|
|
15
|
-
</div>
|
|
16
|
-
<div class="col-sm-4" >
|
|
17
|
-
<label class="font_normal_body" style="width: 40%;" >结束时间</label>
|
|
18
|
-
<datepicker placeholder="结束时间" style="width:60%"
|
|
19
|
-
:value.sync="model.f_end_date"
|
|
20
|
-
v-model="model.f_end_date"
|
|
21
|
-
:format="'yyyy-MM-dd'"
|
|
22
|
-
condition="f_operate_date <= to_date('{} 23:59:59','yyyy-mm-dd hh24:mi:ss')"
|
|
23
|
-
></datepicker>
|
|
24
|
-
</div>
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
<div class="col-sm-4" >
|
|
28
|
-
<label class="font_normal_body" style="width: 40%;">状态</label>
|
|
29
|
-
<v-select :value.sync="model.f_state"
|
|
30
|
-
v-model="model.f_state"
|
|
31
|
-
style="width:60%"
|
|
32
|
-
:options='$parent.$parent.charge_state' placeholder='请选择'
|
|
33
|
-
condition="f_state = '{}'"
|
|
34
|
-
close-on-select></v-select>
|
|
35
|
-
</div>
|
|
36
|
-
<div class="form-group col-sm-4">
|
|
37
|
-
<label class="font_normal_body " style="width: 40%;" >售气公司</label>
|
|
38
|
-
<v-select :value.sync="model.f_filiale"
|
|
39
|
-
v-model="model.f_filiale"
|
|
40
|
-
style="width:60%"
|
|
41
|
-
:options='$parent.$parent.f_filiale' placeholder='请选择'
|
|
42
|
-
condition="f_filiale = '{}'"
|
|
43
|
-
close-on-select></v-select>
|
|
44
|
-
<!--<input-->
|
|
45
|
-
<!--type="text"-->
|
|
46
|
-
<!--class="form-control" style="width: 60%"-->
|
|
47
|
-
<!--v-model="model.f_filiale"-->
|
|
48
|
-
<!--condition="f_filiale like '%{}%'"-->
|
|
49
|
-
<!--placeholder="售气公司"-->
|
|
50
|
-
<!--/>-->
|
|
51
|
-
</div>
|
|
52
|
-
<div class="form-group col-sm-4">
|
|
53
|
-
<label class="font_normal_body " style="width: 40%;">售气部门</label>
|
|
54
|
-
<v-select :value.sync="model.f_outlets"
|
|
55
|
-
v-model="model.f_outlets"
|
|
56
|
-
style="width:60%"
|
|
57
|
-
:options='$parent.$parent.selldep' placeholder='请选择'
|
|
58
|
-
condition="f_outlets = '{}'"
|
|
59
|
-
close-on-select></v-select>
|
|
60
|
-
<!--<input-->
|
|
61
|
-
<!--type="text"-->
|
|
62
|
-
<!--class="form-control" style="width: 60%"-->
|
|
63
|
-
<!--v-model="model.f_outlets"-->
|
|
64
|
-
<!--condition="f_outlets like '%{}%'"-->
|
|
65
|
-
<!--placeholder="售气部门"-->
|
|
66
|
-
<!--/>-->
|
|
67
|
-
</div>
|
|
68
|
-
<div class="form-group col-sm-4" >
|
|
69
|
-
<label class="font_normal_body" style="width: 40%;" >写卡状态</label>
|
|
70
|
-
<v-select :value.sync="model.f_write_card"
|
|
71
|
-
v-model="model.f_write_card"
|
|
72
|
-
style="width:60%" :value-single="true"
|
|
73
|
-
:options='$parent.$parent.writeCard' placeholder='请选择'
|
|
74
|
-
close-on-select></v-select>
|
|
75
|
-
</div>
|
|
76
|
-
<div class="form-group col-sm-4" >
|
|
77
|
-
<label class="font_normal_body" style="width: 40%;">指令状态</label>
|
|
78
|
-
<v-select :value.sync="model.f_instruct_state"
|
|
79
|
-
v-model="model.f_instruct_state"
|
|
80
|
-
style="width:60%"
|
|
81
|
-
:options='$parent.$parent.f_instruct_state' placeholder='请选择'
|
|
82
|
-
condition="f_instruct_state = '{}'"
|
|
83
|
-
close-on-select></v-select>
|
|
84
|
-
</div>
|
|
85
|
-
<div class="form-group col-sm-4" >
|
|
86
|
-
<label class="font_normal_body" style="width: 40%;">收费类型</label>
|
|
87
|
-
<v-select :value.sync="model.f_type"
|
|
88
|
-
v-model="model.f_type"
|
|
89
|
-
style="width:60%" multiple
|
|
90
|
-
:options='$parent.$parent.f_type' placeholder='请选择'
|
|
91
|
-
condition="f_type in {}"
|
|
92
|
-
close-on-select></v-select>
|
|
93
|
-
</div>
|
|
94
|
-
<div class="span" style="float:right;">
|
|
95
|
-
<button class="btn btn-success" @click="search()" v-el:cba>查询</button>
|
|
96
|
-
</div>
|
|
97
|
-
</div>
|
|
98
|
-
</div>
|
|
99
|
-
</criteria>
|
|
100
|
-
<data-grid :model="model" partial='list' v-ref:grid>
|
|
101
|
-
<template partial='head'>
|
|
102
|
-
<tr>
|
|
103
|
-
<th><nobr>流水号</nobr></th>
|
|
104
|
-
<th><nobr>购气量</nobr></th>
|
|
105
|
-
<th><nobr>购气金额</nobr></th>
|
|
106
|
-
<!-- <th><nobr>购气次数</nobr></th>-->
|
|
107
|
-
<th><nobr>收费状态</nobr></th>
|
|
108
|
-
<th><nobr>收费类型</nobr></th>
|
|
109
|
-
<th><nobr>收费日期</nobr></th>
|
|
110
|
-
<th><nobr>写卡日期</nobr></th>
|
|
111
|
-
<th><nobr>操作员</nobr></th>
|
|
112
|
-
<th><nobr>售气站点</nobr></th>
|
|
113
|
-
<th><nobr>售气公司</nobr></th>
|
|
114
|
-
<th><nobr>售气部门</nobr></th>
|
|
115
|
-
|
|
116
|
-
<th><nobr>写卡状态</nobr></th>
|
|
117
|
-
<th><nobr>执行结果</nobr></th>
|
|
118
|
-
|
|
119
|
-
<th><nobr>操作员编号</nobr></th>
|
|
120
|
-
</tr>
|
|
121
|
-
</template>
|
|
122
|
-
<template partial='body' partial='list' v-ref:grid>
|
|
123
|
-
<tr >
|
|
124
|
-
<td style="text-align:center">{{row.f_serial_id}}</td>
|
|
125
|
-
<td style="text-align:center">{{row.f_pregas}}</td>
|
|
126
|
-
<td style="text-align:center">{{row.f_preamount}}</td>
|
|
127
|
-
<!-- <td style="text-align:center">{{row.f_times}}</td>-->
|
|
128
|
-
<td style="text-align:center">{{row.f_state}}</td>
|
|
129
|
-
<td style="text-align:center">{{row.f_type}}</td>
|
|
130
|
-
<td style="text-align:center"><nobr>{{row.f_operate_date}}</nobr></td>
|
|
131
|
-
<td style="text-align:center"><nobr>{{row.f_write_date}}</nobr></td>
|
|
132
|
-
<td style="text-align:center">{{row.f_operator}}</td>
|
|
133
|
-
<td style="text-align:center">{{row.op_spot}}</td>
|
|
134
|
-
<td style="text-align:center"><nobr>{{row.f_filiale}}</nobr></td>
|
|
135
|
-
<td style="text-align:center"><nobr>{{row.f_outlets}}</nobr></td>
|
|
136
|
-
<td style="text-align:center">{{row.f_write_card}}</td>
|
|
137
|
-
<td style="text-align:center">{{row.f_instruct_state}}</td>
|
|
138
|
-
<td style="text-align:center">{{row.op_id}}</td>
|
|
139
|
-
</tr>
|
|
140
|
-
</template>
|
|
141
|
-
<template partial='foot'></template>
|
|
142
|
-
</data-grid>
|
|
143
|
-
</criteria-paged>
|
|
144
|
-
<table class="table-hover">
|
|
145
|
-
<tr class="table-bordered">
|
|
146
|
-
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">汇总信息</td>
|
|
147
|
-
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">气量合计: {{sumsmodel.f_pregas}}</td>
|
|
148
|
-
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">金额合计: {{sumsmodel.f_preamount}}</td>
|
|
149
|
-
</tr>
|
|
150
|
-
</table>
|
|
151
|
-
</div>
|
|
152
|
-
</template>
|
|
153
|
-
|
|
154
|
-
<script>
|
|
155
|
-
import {PagedList} from 'vue-client'
|
|
156
|
-
|
|
157
|
-
export default {
|
|
158
|
-
title: '收费',
|
|
159
|
-
data () {
|
|
160
|
-
return {
|
|
161
|
-
condition: '1=1',
|
|
162
|
-
model: new PagedList('rs/sql/sellQuery', 15, {items: '`*`', tablename: '`t_sellinggas`', orderitem: '`f_operate_date DESC`'},{f_pregas: 0,f_preamount: 0}),
|
|
163
|
-
charge_state: this.$appdata.getParam('收费状态') ? [{label: '全部', value: ''},...this.$appdata.getParam('收费状态')] : [],
|
|
164
|
-
writeCard: this.$appdata.getParam('写卡状态') ? [{label: '全部', value: ''},...this.$appdata.getParam('写卡状态')] : [],
|
|
165
|
-
f_instruct_state: this.$appdata.getParam('指令状态') ? [{label: '全部', value: ''},...this.$appdata.getParam('指令状态')] : [],
|
|
166
|
-
f_filiale: this.$appdata.getParam('售气单位') ? [{label: '全部', value: ''},...this.$appdata.getParam('售气单位')] : [],
|
|
167
|
-
f_outlets: this.$appdata.getParam('售气部门') ? [{label: '全部', value: ''},...this.$appdata.getParam('售气部门')] : [],
|
|
168
|
-
f_type: this.$appdata.getParam('收费类型') ? [{label: '全部', value: ''},...this.$appdata.getParam('收费类型')] : [],
|
|
169
|
-
row: null,
|
|
170
|
-
isdeal: true,
|
|
171
|
-
show: false,
|
|
172
|
-
sumsmodel: {}
|
|
173
|
-
}
|
|
174
|
-
},
|
|
175
|
-
props:
|
|
176
|
-
{
|
|
177
|
-
searchdata: {},
|
|
178
|
-
isdeal: {},
|
|
179
|
-
args:{}
|
|
180
|
-
},
|
|
181
|
-
ready () {
|
|
182
|
-
this.$refs.paged.$refs.criteria.model.f_state = ['有效']
|
|
183
|
-
this.$refs.paged.$refs.criteria.search()
|
|
184
|
-
},
|
|
185
|
-
methods: {
|
|
186
|
-
search(args){
|
|
187
|
-
if(this.args && this.args.model) {
|
|
188
|
-
if(this.searchdata.f_user_id) {
|
|
189
|
-
this.condition = `${this.$refs.paged.$refs.criteria.condition} and f_user_id = '${this.searchdata.f_user_id}'`
|
|
190
|
-
} else if(this.searchdata.f_card_id){
|
|
191
|
-
this.condition = `${this.$refs.paged.$refs.criteria.condition} and f_card_id = '${this.searchdata.f_card_id}'`
|
|
192
|
-
}else if(this.searchdata.f_userinfo_id) {
|
|
193
|
-
this.condition = `${this.$refs.paged.$refs.criteria.condition} and f_userinfo_id = '${this.searchdata.f_userinfo_id}'`
|
|
194
|
-
}else {
|
|
195
|
-
return
|
|
196
|
-
}
|
|
197
|
-
if(this.$refs.paged.$refs.criteria.model.f_write_card){
|
|
198
|
-
if(this.$refs.paged.$refs.criteria.model.f_write_card==='无'){
|
|
199
|
-
this.condition = `${this.condition} and f_write_card is null`
|
|
200
|
-
}else {
|
|
201
|
-
this.condition = `${this.condition} and f_write_card = '${this.$refs.paged.$refs.criteria.model.f_write_card}'`
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
this.model.search(this.condition, this.args.model)
|
|
205
|
-
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
},
|
|
209
|
-
computed:{
|
|
210
|
-
selldep () {
|
|
211
|
-
let rs = []
|
|
212
|
-
if(this.$refs.paged.$refs.criteria.model.f_filiale){
|
|
213
|
-
this.$refs.paged.$refs.criteria.model.f_outlets = ''
|
|
214
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam(this.$refs.paged.$refs.criteria.model.f_filiale) ]
|
|
215
|
-
}
|
|
216
|
-
else {
|
|
217
|
-
return [{label: '全部', value: ''}]
|
|
218
|
-
}
|
|
219
|
-
},
|
|
220
|
-
},
|
|
221
|
-
watch:{
|
|
222
|
-
args(val){
|
|
223
|
-
this.search()
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
</script>
|
|
228
|
-
|
|
1
|
+
<template >
|
|
2
|
+
<div id="stand-work-list" class="flex bg-white p-10" style="overflow:hidden;">
|
|
3
|
+
<criteria-paged :model="model" v-ref:paged >
|
|
4
|
+
<criteria partial='criteria' v-ref:criteria @condition-changed='$parent.search'>
|
|
5
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
6
|
+
<div class="row" width="100%">
|
|
7
|
+
<div class="col-sm-4" >
|
|
8
|
+
<label class="font_normal_body" style="width: 40%;" >开始时间</label>
|
|
9
|
+
<datepicker placeholder="起始时间" style="width:60%"
|
|
10
|
+
:value.sync="model.f_start_date"
|
|
11
|
+
v-model="model.f_start_date"
|
|
12
|
+
:format="'yyyy-MM-dd'"
|
|
13
|
+
condition="f_operate_date >= to_date('{} 00:00:00','yyyy-mm-dd hh24:mi:ss')"
|
|
14
|
+
></datepicker>
|
|
15
|
+
</div>
|
|
16
|
+
<div class="col-sm-4" >
|
|
17
|
+
<label class="font_normal_body" style="width: 40%;" >结束时间</label>
|
|
18
|
+
<datepicker placeholder="结束时间" style="width:60%"
|
|
19
|
+
:value.sync="model.f_end_date"
|
|
20
|
+
v-model="model.f_end_date"
|
|
21
|
+
:format="'yyyy-MM-dd'"
|
|
22
|
+
condition="f_operate_date <= to_date('{} 23:59:59','yyyy-mm-dd hh24:mi:ss')"
|
|
23
|
+
></datepicker>
|
|
24
|
+
</div>
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
<div class="col-sm-4" >
|
|
28
|
+
<label class="font_normal_body" style="width: 40%;">状态</label>
|
|
29
|
+
<v-select :value.sync="model.f_state"
|
|
30
|
+
v-model="model.f_state"
|
|
31
|
+
style="width:60%"
|
|
32
|
+
:options='$parent.$parent.charge_state' placeholder='请选择'
|
|
33
|
+
condition="f_state = '{}'"
|
|
34
|
+
close-on-select></v-select>
|
|
35
|
+
</div>
|
|
36
|
+
<div class="form-group col-sm-4">
|
|
37
|
+
<label class="font_normal_body " style="width: 40%;" >售气公司</label>
|
|
38
|
+
<v-select :value.sync="model.f_filiale"
|
|
39
|
+
v-model="model.f_filiale"
|
|
40
|
+
style="width:60%"
|
|
41
|
+
:options='$parent.$parent.f_filiale' placeholder='请选择'
|
|
42
|
+
condition="f_filiale = '{}'"
|
|
43
|
+
close-on-select></v-select>
|
|
44
|
+
<!--<input-->
|
|
45
|
+
<!--type="text"-->
|
|
46
|
+
<!--class="form-control" style="width: 60%"-->
|
|
47
|
+
<!--v-model="model.f_filiale"-->
|
|
48
|
+
<!--condition="f_filiale like '%{}%'"-->
|
|
49
|
+
<!--placeholder="售气公司"-->
|
|
50
|
+
<!--/>-->
|
|
51
|
+
</div>
|
|
52
|
+
<div class="form-group col-sm-4">
|
|
53
|
+
<label class="font_normal_body " style="width: 40%;">售气部门</label>
|
|
54
|
+
<v-select :value.sync="model.f_outlets"
|
|
55
|
+
v-model="model.f_outlets"
|
|
56
|
+
style="width:60%"
|
|
57
|
+
:options='$parent.$parent.selldep' placeholder='请选择'
|
|
58
|
+
condition="f_outlets = '{}'"
|
|
59
|
+
close-on-select></v-select>
|
|
60
|
+
<!--<input-->
|
|
61
|
+
<!--type="text"-->
|
|
62
|
+
<!--class="form-control" style="width: 60%"-->
|
|
63
|
+
<!--v-model="model.f_outlets"-->
|
|
64
|
+
<!--condition="f_outlets like '%{}%'"-->
|
|
65
|
+
<!--placeholder="售气部门"-->
|
|
66
|
+
<!--/>-->
|
|
67
|
+
</div>
|
|
68
|
+
<div class="form-group col-sm-4" >
|
|
69
|
+
<label class="font_normal_body" style="width: 40%;" >写卡状态</label>
|
|
70
|
+
<v-select :value.sync="model.f_write_card"
|
|
71
|
+
v-model="model.f_write_card"
|
|
72
|
+
style="width:60%" :value-single="true"
|
|
73
|
+
:options='$parent.$parent.writeCard' placeholder='请选择'
|
|
74
|
+
close-on-select></v-select>
|
|
75
|
+
</div>
|
|
76
|
+
<div class="form-group col-sm-4" >
|
|
77
|
+
<label class="font_normal_body" style="width: 40%;">指令状态</label>
|
|
78
|
+
<v-select :value.sync="model.f_instruct_state"
|
|
79
|
+
v-model="model.f_instruct_state"
|
|
80
|
+
style="width:60%"
|
|
81
|
+
:options='$parent.$parent.f_instruct_state' placeholder='请选择'
|
|
82
|
+
condition="f_instruct_state = '{}'"
|
|
83
|
+
close-on-select></v-select>
|
|
84
|
+
</div>
|
|
85
|
+
<div class="form-group col-sm-4" >
|
|
86
|
+
<label class="font_normal_body" style="width: 40%;">收费类型</label>
|
|
87
|
+
<v-select :value.sync="model.f_type"
|
|
88
|
+
v-model="model.f_type"
|
|
89
|
+
style="width:60%" multiple
|
|
90
|
+
:options='$parent.$parent.f_type' placeholder='请选择'
|
|
91
|
+
condition="f_type in {}"
|
|
92
|
+
close-on-select></v-select>
|
|
93
|
+
</div>
|
|
94
|
+
<div class="span" style="float:right;">
|
|
95
|
+
<button class="btn btn-success" @click="search()" v-el:cba>查询</button>
|
|
96
|
+
</div>
|
|
97
|
+
</div>
|
|
98
|
+
</div>
|
|
99
|
+
</criteria>
|
|
100
|
+
<data-grid :model="model" partial='list' v-ref:grid>
|
|
101
|
+
<template partial='head'>
|
|
102
|
+
<tr>
|
|
103
|
+
<th><nobr>流水号</nobr></th>
|
|
104
|
+
<th><nobr>购气量</nobr></th>
|
|
105
|
+
<th><nobr>购气金额</nobr></th>
|
|
106
|
+
<!-- <th><nobr>购气次数</nobr></th>-->
|
|
107
|
+
<th><nobr>收费状态</nobr></th>
|
|
108
|
+
<th><nobr>收费类型</nobr></th>
|
|
109
|
+
<th><nobr>收费日期</nobr></th>
|
|
110
|
+
<th><nobr>写卡日期</nobr></th>
|
|
111
|
+
<th><nobr>操作员</nobr></th>
|
|
112
|
+
<th><nobr>售气站点</nobr></th>
|
|
113
|
+
<th><nobr>售气公司</nobr></th>
|
|
114
|
+
<th><nobr>售气部门</nobr></th>
|
|
115
|
+
|
|
116
|
+
<th><nobr>写卡状态</nobr></th>
|
|
117
|
+
<th><nobr>执行结果</nobr></th>
|
|
118
|
+
|
|
119
|
+
<th><nobr>操作员编号</nobr></th>
|
|
120
|
+
</tr>
|
|
121
|
+
</template>
|
|
122
|
+
<template partial='body' partial='list' v-ref:grid>
|
|
123
|
+
<tr >
|
|
124
|
+
<td style="text-align:center">{{row.f_serial_id}}</td>
|
|
125
|
+
<td style="text-align:center">{{row.f_pregas}}</td>
|
|
126
|
+
<td style="text-align:center">{{row.f_preamount}}</td>
|
|
127
|
+
<!-- <td style="text-align:center">{{row.f_times}}</td>-->
|
|
128
|
+
<td style="text-align:center">{{row.f_state}}</td>
|
|
129
|
+
<td style="text-align:center">{{row.f_type}}</td>
|
|
130
|
+
<td style="text-align:center"><nobr>{{row.f_operate_date}}</nobr></td>
|
|
131
|
+
<td style="text-align:center"><nobr>{{row.f_write_date}}</nobr></td>
|
|
132
|
+
<td style="text-align:center">{{row.f_operator}}</td>
|
|
133
|
+
<td style="text-align:center">{{row.op_spot}}</td>
|
|
134
|
+
<td style="text-align:center"><nobr>{{row.f_filiale}}</nobr></td>
|
|
135
|
+
<td style="text-align:center"><nobr>{{row.f_outlets}}</nobr></td>
|
|
136
|
+
<td style="text-align:center">{{row.f_write_card}}</td>
|
|
137
|
+
<td style="text-align:center">{{row.f_instruct_state}}</td>
|
|
138
|
+
<td style="text-align:center">{{row.op_id}}</td>
|
|
139
|
+
</tr>
|
|
140
|
+
</template>
|
|
141
|
+
<template partial='foot'></template>
|
|
142
|
+
</data-grid>
|
|
143
|
+
</criteria-paged>
|
|
144
|
+
<table class="table-hover">
|
|
145
|
+
<tr class="table-bordered">
|
|
146
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">汇总信息</td>
|
|
147
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">气量合计: {{sumsmodel.f_pregas}}</td>
|
|
148
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">金额合计: {{sumsmodel.f_preamount}}</td>
|
|
149
|
+
</tr>
|
|
150
|
+
</table>
|
|
151
|
+
</div>
|
|
152
|
+
</template>
|
|
153
|
+
|
|
154
|
+
<script>
|
|
155
|
+
import {PagedList} from 'vue-client'
|
|
156
|
+
|
|
157
|
+
export default {
|
|
158
|
+
title: '收费',
|
|
159
|
+
data () {
|
|
160
|
+
return {
|
|
161
|
+
condition: '1=1',
|
|
162
|
+
model: new PagedList('rs/sql/sellQuery', 15, {items: '`*`', tablename: '`t_sellinggas`', orderitem: '`f_operate_date DESC`'},{f_pregas: 0,f_preamount: 0}),
|
|
163
|
+
charge_state: this.$appdata.getParam('收费状态') ? [{label: '全部', value: ''},...this.$appdata.getParam('收费状态')] : [],
|
|
164
|
+
writeCard: this.$appdata.getParam('写卡状态') ? [{label: '全部', value: ''},...this.$appdata.getParam('写卡状态')] : [],
|
|
165
|
+
f_instruct_state: this.$appdata.getParam('指令状态') ? [{label: '全部', value: ''},...this.$appdata.getParam('指令状态')] : [],
|
|
166
|
+
f_filiale: this.$appdata.getParam('售气单位') ? [{label: '全部', value: ''},...this.$appdata.getParam('售气单位')] : [],
|
|
167
|
+
f_outlets: this.$appdata.getParam('售气部门') ? [{label: '全部', value: ''},...this.$appdata.getParam('售气部门')] : [],
|
|
168
|
+
f_type: this.$appdata.getParam('收费类型') ? [{label: '全部', value: ''},...this.$appdata.getParam('收费类型')] : [],
|
|
169
|
+
row: null,
|
|
170
|
+
isdeal: true,
|
|
171
|
+
show: false,
|
|
172
|
+
sumsmodel: {}
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
props:
|
|
176
|
+
{
|
|
177
|
+
searchdata: {},
|
|
178
|
+
isdeal: {},
|
|
179
|
+
args:{}
|
|
180
|
+
},
|
|
181
|
+
ready () {
|
|
182
|
+
this.$refs.paged.$refs.criteria.model.f_state = ['有效']
|
|
183
|
+
this.$refs.paged.$refs.criteria.search()
|
|
184
|
+
},
|
|
185
|
+
methods: {
|
|
186
|
+
search(args){
|
|
187
|
+
if(this.args && this.args.model) {
|
|
188
|
+
if(this.searchdata.f_user_id) {
|
|
189
|
+
this.condition = `${this.$refs.paged.$refs.criteria.condition} and f_user_id = '${this.searchdata.f_user_id}'`
|
|
190
|
+
} else if(this.searchdata.f_card_id){
|
|
191
|
+
this.condition = `${this.$refs.paged.$refs.criteria.condition} and f_card_id = '${this.searchdata.f_card_id}'`
|
|
192
|
+
}else if(this.searchdata.f_userinfo_id) {
|
|
193
|
+
this.condition = `${this.$refs.paged.$refs.criteria.condition} and f_userinfo_id = '${this.searchdata.f_userinfo_id}'`
|
|
194
|
+
}else {
|
|
195
|
+
return
|
|
196
|
+
}
|
|
197
|
+
if(this.$refs.paged.$refs.criteria.model.f_write_card){
|
|
198
|
+
if(this.$refs.paged.$refs.criteria.model.f_write_card==='无'){
|
|
199
|
+
this.condition = `${this.condition} and f_write_card is null`
|
|
200
|
+
}else {
|
|
201
|
+
this.condition = `${this.condition} and f_write_card = '${this.$refs.paged.$refs.criteria.model.f_write_card}'`
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
this.model.search(this.condition, this.args.model)
|
|
205
|
+
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
computed:{
|
|
210
|
+
selldep () {
|
|
211
|
+
let rs = []
|
|
212
|
+
if(this.$refs.paged.$refs.criteria.model.f_filiale){
|
|
213
|
+
this.$refs.paged.$refs.criteria.model.f_outlets = ''
|
|
214
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam(this.$refs.paged.$refs.criteria.model.f_filiale) ]
|
|
215
|
+
}
|
|
216
|
+
else {
|
|
217
|
+
return [{label: '全部', value: ''}]
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
},
|
|
221
|
+
watch:{
|
|
222
|
+
args(val){
|
|
223
|
+
this.search()
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
</script>
|
|
228
|
+
|