manage-client 3.2.119 → 3.2.122
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/.gradle/4.4/fileContent/fileContent.lock +0 -0
- package/.gradle/4.4/taskHistory/taskHistory.bin +0 -0
- package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/build/dev-server.js +3 -3
- package/build/libs/ManageClient-3.1.0-17.jar +0 -0
- package/build/tmp/jar/MANIFEST.MF +2 -0
- package/package.json +1 -1
- package/src/components/SellReport/UserGasFillCard.vue +6 -6
- package/src/components/sale/businessquery/ChargeQuery.vue +6 -0
- package/src/components/sale/businessquery/CollectManage.vue +3 -0
- package/src/components/sale/businessquery/FMYGasQuery.vue +6 -0
- package/src/components/sale/businessquery/PrickBillQuery.vue +7 -1
- package/src/components/sale/businessquery/reportDetail.vue +256 -0
- package/src/components/sale/config/exportConfig.js +17 -4
- package/src/filiale/WEINAN/MeterQuery.vue +34 -7
- package/src/filiale/gaomi/MeterQuery.vue +37 -7
- package/src/filiale/gongyi/sale/filesquery/MeterQuery.vue +30 -7
- package/src/filiale/macheng/MeterQuery.vue +28 -5
- package/src/filiale/meihekou/UserQuery.vue +10 -0
- package/src/filiale/qingtongxia/MeterQuery.vue +30 -7
- package/src/filiale/shaoguan/config/exportConfig.js +1 -1
- package/src/filiale/tongchuan/ChargeQuery.vue +3 -3
- package/src/filiale/tongchuan/MeterQuery.vue +31 -8
- package/src/saleManage.js +2 -0
- package/.gradle/3.5.1/file-changes/last-build.bin +0 -0
- package/.gradle/3.5.1/taskHistory/taskHistory.lock +0 -0
- package/.gradle/buildOutputCleanup/built.bin +0 -0
- package/.gradle/buildOutputCleanup/cache.properties.lock +0 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/build/dev-server.js
CHANGED
|
@@ -13,9 +13,9 @@ var compiler = webpack(config)
|
|
|
13
13
|
// var bendi = 'http://127.0.0.1:8089/manage', fuwu = 'http://36.103.224.217:6300/'
|
|
14
14
|
var shaoguan='http://119.146.1.106:8300/'
|
|
15
15
|
var qtx='http://36.103.222.144:6300/'
|
|
16
|
-
var bendi = 'http://
|
|
16
|
+
var bendi = 'http://127.0.0.1:8090'
|
|
17
17
|
// var bendi = 'http://172.168.1.11:9001'
|
|
18
|
-
var fuwu = 'http://
|
|
18
|
+
var fuwu = 'http://121.36.106.17:8400'
|
|
19
19
|
// var fuwu = 'http://203.57.101.233:9001'
|
|
20
20
|
var system = 'http://192.168.50.4:8400'
|
|
21
21
|
//192.168.
|
|
@@ -81,7 +81,7 @@ var proxyTable = {
|
|
|
81
81
|
target: 'http://127.0.0.1:8080'
|
|
82
82
|
},
|
|
83
83
|
'/rs': {
|
|
84
|
-
target:
|
|
84
|
+
target: bendi
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -185,22 +185,22 @@
|
|
|
185
185
|
汇总信息
|
|
186
186
|
</td>
|
|
187
187
|
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
188
|
-
卡费: {{sumsmodel.cardfee.toFixed(
|
|
188
|
+
卡费: {{sumsmodel.cardfee.toFixed(2)}}
|
|
189
189
|
</td>
|
|
190
190
|
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
191
|
-
合计方量: {{sumsmodel.f_pregas.toFixed(
|
|
191
|
+
合计方量: {{sumsmodel.f_pregas.toFixed(2)}}
|
|
192
192
|
</td>
|
|
193
193
|
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
194
|
-
小计:{{sumsmodel.xiaoji.toFixed(
|
|
194
|
+
小计:{{sumsmodel.xiaoji.toFixed(2)}}
|
|
195
195
|
</td>
|
|
196
196
|
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
197
|
-
现金收入: {{(sumsmodel.xianjin-sumsmodel.cardfee).toFixed(
|
|
197
|
+
现金收入: {{(sumsmodel.xianjin-sumsmodel.cardfee).toFixed(2)}}
|
|
198
198
|
</td>
|
|
199
199
|
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
200
|
-
转账收入: {{sumsmodel.zhuanzhang.toFixed(
|
|
200
|
+
转账收入: {{sumsmodel.zhuanzhang.toFixed(2)}} 
|
|
201
201
|
</td>
|
|
202
202
|
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
203
|
-
合计金额: {{(sumsmodel.f_preamount-sumsmodel.cardfee).toFixed(
|
|
203
|
+
合计金额: {{(sumsmodel.f_preamount-sumsmodel.cardfee).toFixed(2)}}
|
|
204
204
|
</td>
|
|
205
205
|
</tr>
|
|
206
206
|
</table>
|
|
@@ -371,6 +371,9 @@
|
|
|
371
371
|
<th>
|
|
372
372
|
<nobr>卡号</nobr>
|
|
373
373
|
</th>
|
|
374
|
+
<th>
|
|
375
|
+
<nobr>气价名称</nobr>
|
|
376
|
+
</th>
|
|
374
377
|
<th>
|
|
375
378
|
<nobr>购气次数</nobr>
|
|
376
379
|
</th>
|
|
@@ -565,6 +568,9 @@
|
|
|
565
568
|
<td style="text-align: center;">
|
|
566
569
|
<nobr>{{row.f_card_id}}</nobr>
|
|
567
570
|
</td>
|
|
571
|
+
<td style="text-align: center;">
|
|
572
|
+
<nobr>{{row.f_price_name}}</nobr>
|
|
573
|
+
</td>
|
|
568
574
|
<td style="text-align: center;">
|
|
569
575
|
<nobr>{{row.f_times}}</nobr>
|
|
570
576
|
</td>
|
|
@@ -90,6 +90,9 @@
|
|
|
90
90
|
<tabs header="未抄表用户报表" v-if="permission('未抄表用户报表')">
|
|
91
91
|
<unhand-business @deal-msg="dealMsg"></unhand-business>
|
|
92
92
|
</tabs>
|
|
93
|
+
<tabs header="明细报表查询" v-if="permission('明细报表查询')">
|
|
94
|
+
<report-detail ></report-detail>
|
|
95
|
+
</tabs>
|
|
93
96
|
</tab-button>
|
|
94
97
|
|
|
95
98
|
</template>
|
|
@@ -248,6 +248,9 @@
|
|
|
248
248
|
<th>
|
|
249
249
|
<nobr>用气金额</nobr>
|
|
250
250
|
</th>
|
|
251
|
+
<th>
|
|
252
|
+
<nobr>建档日期</nobr>
|
|
253
|
+
</th>
|
|
251
254
|
</tr>
|
|
252
255
|
</template>
|
|
253
256
|
<template partial='body'>
|
|
@@ -332,6 +335,9 @@
|
|
|
332
335
|
<td style="text-align: center;">
|
|
333
336
|
<nobr>{{row.f_oughtfee}}</nobr>
|
|
334
337
|
</td>
|
|
338
|
+
<td style="text-align: center;">
|
|
339
|
+
<nobr>{{row.f_createfile_date}}</nobr>
|
|
340
|
+
</td>
|
|
335
341
|
</template>
|
|
336
342
|
<template partial='foot'></template>
|
|
337
343
|
</data-grid>
|
|
@@ -100,9 +100,12 @@
|
|
|
100
100
|
<th>
|
|
101
101
|
<nobr>系统金额</nobr>
|
|
102
102
|
</th>
|
|
103
|
+
<th>
|
|
104
|
+
<nobr>扎帐归属开始时间</nobr>
|
|
105
|
+
</th>
|
|
103
106
|
<th>
|
|
104
107
|
<!--<nobr>扎帐归属时间</nobr>-->
|
|
105
|
-
<data-order field="f_end_date" name="
|
|
108
|
+
<data-order field="f_end_date" name="扎帐归属结束时间" :order.sync="$parent.$parent.$parent.orderFields.f_end_date"></data-order>
|
|
106
109
|
</th>
|
|
107
110
|
<th>
|
|
108
111
|
<!--<nobr>操作时间</nobr>-->
|
|
@@ -135,6 +138,9 @@
|
|
|
135
138
|
<td style="text-align: center;">
|
|
136
139
|
<nobr>{{row.f_report_fee}}</nobr>
|
|
137
140
|
</td>
|
|
141
|
+
<td style="text-align: center;">
|
|
142
|
+
<nobr>{{row.f_start_date}}</nobr>
|
|
143
|
+
</td>
|
|
138
144
|
<td style="text-align: center;">
|
|
139
145
|
<nobr>{{row.f_end_date}}</nobr>
|
|
140
146
|
</td>
|
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div id="unit" class="flex-row">
|
|
3
|
+
<div class="basic-main" @keyup.enter="search">
|
|
4
|
+
<div class="flex" v-if="!show">
|
|
5
|
+
<criteria-paged :model="model" v-ref:paged>
|
|
6
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
7
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
8
|
+
<div class="row">
|
|
9
|
+
<div class="col-sm-2 form-group">
|
|
10
|
+
<label for="startDate" class="font_normal_body">开始日期</label>
|
|
11
|
+
<datepicker id="startDate" placeholder="开始日期" style="width:60%"
|
|
12
|
+
v-model="model.startDate"
|
|
13
|
+
:value.sync="model.startDate"
|
|
14
|
+
format="yyyy-MM-dd HH:mm:ss"
|
|
15
|
+
:show-reset-button="true">
|
|
16
|
+
</datepicker>
|
|
17
|
+
</div>
|
|
18
|
+
<div class="col-sm-2 form-group">
|
|
19
|
+
<label for="endDate" class="font_normal_body">结束日期</label>
|
|
20
|
+
<datepicker id="endDate" placeholder="结束日期" style="width:60%"
|
|
21
|
+
v-model="model.endDate"
|
|
22
|
+
:value.sync="model.endDate"
|
|
23
|
+
format="yyyy-MM-dd HH:mm:ss"
|
|
24
|
+
:show-reset-button="true">
|
|
25
|
+
</datepicker>
|
|
26
|
+
</div>
|
|
27
|
+
<div class="col-sm-2 form-group">
|
|
28
|
+
<label class="font_normal_body">客户编号</label>
|
|
29
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
|
|
30
|
+
condition="f_userinfo_code = '{}' " placeholder="客户编号">
|
|
31
|
+
</div>
|
|
32
|
+
<div class="span" style="float:right;">
|
|
33
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
34
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
35
|
+
<div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,
|
|
36
|
+
'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
|
|
37
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
38
|
+
:field="$parent.$parent.getfield"
|
|
39
|
+
sqlurl="rs/logic/exportfile"
|
|
40
|
+
sql-name="reportDetail"
|
|
41
|
+
template-name='报表明细导出'
|
|
42
|
+
:choose-col="true"></export-excel>
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
45
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
46
|
+
<div class="col-sm-2 form-group">
|
|
47
|
+
<label class="font_normal_body">支付流水号</label>
|
|
48
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_serial_id"
|
|
49
|
+
condition="f_serial_id = '{}'" placeholder="支付流水号">
|
|
50
|
+
</div>
|
|
51
|
+
<div class="col-sm-2 form-group">
|
|
52
|
+
<label class="font_normal_body">客户名称</label>
|
|
53
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
54
|
+
condition="f_user_name like '%{}%'" placeholder="客户名称">
|
|
55
|
+
</div>
|
|
56
|
+
<div class="col-sm-2 form-group">
|
|
57
|
+
<label class="font_normal_body">用户电话</label>
|
|
58
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
|
|
59
|
+
placeholder="用户电话" condition="f_user_phone='{}'">
|
|
60
|
+
</div>
|
|
61
|
+
<div class="col-sm-2 form-group">
|
|
62
|
+
<label class="font_normal_body">用户地址</label>
|
|
63
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_address"
|
|
64
|
+
placeholder="地址" condition="f_address like '%{}%'">
|
|
65
|
+
</div>
|
|
66
|
+
<res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" :show-component="['company','department','operator']" v-ref:sel></res-select-group>
|
|
67
|
+
</div>
|
|
68
|
+
</div>
|
|
69
|
+
</criteria>
|
|
70
|
+
|
|
71
|
+
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
|
|
72
|
+
<template partial='head'>
|
|
73
|
+
<tr>
|
|
74
|
+
<th>
|
|
75
|
+
<nobr>用户编号</nobr>
|
|
76
|
+
</th>
|
|
77
|
+
<th>
|
|
78
|
+
<nobr>用户名称</nobr>
|
|
79
|
+
</th>
|
|
80
|
+
<th>
|
|
81
|
+
<nobr>用户地址</nobr>
|
|
82
|
+
</th>
|
|
83
|
+
<th>
|
|
84
|
+
<nobr>联系方式</nobr>
|
|
85
|
+
</th>
|
|
86
|
+
<th>
|
|
87
|
+
<nobr>用户类型</nobr>
|
|
88
|
+
</th>
|
|
89
|
+
<th>
|
|
90
|
+
<nobr>表号</nobr>
|
|
91
|
+
</th>
|
|
92
|
+
<th>
|
|
93
|
+
<nobr>支付流水号</nobr>
|
|
94
|
+
</th>
|
|
95
|
+
<th>
|
|
96
|
+
<nobr>收费类型</nobr>
|
|
97
|
+
</th>
|
|
98
|
+
<th>
|
|
99
|
+
<nobr>规格名称</nobr>
|
|
100
|
+
</th>
|
|
101
|
+
<th>
|
|
102
|
+
<nobr>型号</nobr>
|
|
103
|
+
</th>
|
|
104
|
+
<th>
|
|
105
|
+
<nobr>单价</nobr>
|
|
106
|
+
</th>
|
|
107
|
+
<th>
|
|
108
|
+
<nobr>数量</nobr>
|
|
109
|
+
</th>
|
|
110
|
+
<th>
|
|
111
|
+
<nobr>收款</nobr>
|
|
112
|
+
</th>
|
|
113
|
+
<th>
|
|
114
|
+
<nobr>付款方式</nobr>
|
|
115
|
+
</th>
|
|
116
|
+
<th>
|
|
117
|
+
<nobr>收费日期</nobr>
|
|
118
|
+
</th>
|
|
119
|
+
<th>
|
|
120
|
+
<nobr>状态</nobr>
|
|
121
|
+
</th>
|
|
122
|
+
<th>
|
|
123
|
+
<nobr>所属机构</nobr>
|
|
124
|
+
</th>
|
|
125
|
+
<th>
|
|
126
|
+
<nobr>部门</nobr>
|
|
127
|
+
</th>
|
|
128
|
+
<th>
|
|
129
|
+
<nobr>操作人</nobr>
|
|
130
|
+
</th>
|
|
131
|
+
</tr>
|
|
132
|
+
</template>
|
|
133
|
+
<template partial='body'>
|
|
134
|
+
<td style="text-align: center;">{{row.f_userinfo_code}}</td>
|
|
135
|
+
<td style="text-align: center;">{{row.f_user_name}}</td>
|
|
136
|
+
<td style="text-align: center;">{{row.f_address}}</td>
|
|
137
|
+
<td style="text-align: center;">{{row.f_user_phone}}</td>
|
|
138
|
+
<td style="text-align: center;">{{row.f_user_nature}}</td>
|
|
139
|
+
<td style="text-align: center;">{{row.f_meternumber}}</td>
|
|
140
|
+
<td style="text-align: center;">{{row.f_serial_id}}</td>
|
|
141
|
+
<td style="text-align: center;">{{row.f_type}}</td>
|
|
142
|
+
<td style="text-align: center;">{{row.f_brand_spec}}</td>
|
|
143
|
+
<td style="text-align: center;">{{row.f_typenumber}}</td>
|
|
144
|
+
<td style="text-align: center;">{{row.f_unitprice}}</td>
|
|
145
|
+
<td style="text-align: center;">{{row.f_number}}</td>
|
|
146
|
+
<td style="text-align: center;">{{row.f_collection}}</td>
|
|
147
|
+
<td style="text-align: center;">{{row.f_payment}}</td>
|
|
148
|
+
<td style="text-align: center;">{{row.f_operate_date}}</td>
|
|
149
|
+
<td style="text-align: center;">{{row.f_state}}</td>
|
|
150
|
+
<td style="text-align: center;"><nobr>{{row.f_orgname}}</nobr></td>
|
|
151
|
+
<td style="text-align: center;">{{row.f_depname}}</td>
|
|
152
|
+
<td style="text-align: center;">{{row.f_operator}}</td>
|
|
153
|
+
</template>
|
|
154
|
+
</data-grid>
|
|
155
|
+
</criteria-paged>
|
|
156
|
+
</div>
|
|
157
|
+
</div>
|
|
158
|
+
</div>
|
|
159
|
+
|
|
160
|
+
</template>
|
|
161
|
+
<script>
|
|
162
|
+
/**
|
|
163
|
+
*档案查询列表以及添加操作组件
|
|
164
|
+
*/
|
|
165
|
+
import {PagedList} from 'vue-client'
|
|
166
|
+
import defaultPrint from '../config/DefaultPrint'
|
|
167
|
+
import exportConfig from '../config/exportConfig'
|
|
168
|
+
|
|
169
|
+
let readySomething = async function (self) {
|
|
170
|
+
self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
|
|
171
|
+
self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
export default {
|
|
175
|
+
title: '报表明细',
|
|
176
|
+
data() {
|
|
177
|
+
return {
|
|
178
|
+
rows: null,
|
|
179
|
+
criteriaShow: false,
|
|
180
|
+
model: new PagedList('rs/sql/reportDetail', 20,
|
|
181
|
+
{startDate: 'this.model.startDate', endDate: 'this.model.endDate'}),
|
|
182
|
+
orgCondtionStr: '',
|
|
183
|
+
getfield: '',
|
|
184
|
+
show:false,
|
|
185
|
+
rowdata:{},
|
|
186
|
+
initres: {
|
|
187
|
+
org:[this.$login.f.orgid],
|
|
188
|
+
dep:[],
|
|
189
|
+
user:[],
|
|
190
|
+
},
|
|
191
|
+
defaultfield: []
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
ready() {
|
|
195
|
+
debugger
|
|
196
|
+
readySomething(this).then(() => {
|
|
197
|
+
this.$emit('ready')
|
|
198
|
+
}).catch((error) => {
|
|
199
|
+
this.$emit('error', error)
|
|
200
|
+
})
|
|
201
|
+
},
|
|
202
|
+
methods: {
|
|
203
|
+
search(){
|
|
204
|
+
this.$refs.paged.$refs.cri.search()
|
|
205
|
+
},
|
|
206
|
+
selfSearch(args) {
|
|
207
|
+
if (this.data) {
|
|
208
|
+
this.$parent.$parent.$parent.data.startDate=this.$refs.paged.$refs.cri.model.startDate
|
|
209
|
+
this.$parent.$parent.$parent.data.endDate=this.$refs.paged.$refs.cri.model.endDate
|
|
210
|
+
}
|
|
211
|
+
args.condition = `${args.condition}` + this.orgCondtionStr
|
|
212
|
+
this.model.search(args.condition, args.model)
|
|
213
|
+
},
|
|
214
|
+
show() {
|
|
215
|
+
this.criteriaShow = true
|
|
216
|
+
},
|
|
217
|
+
cancel() {
|
|
218
|
+
this.show = false
|
|
219
|
+
},
|
|
220
|
+
hidden() {
|
|
221
|
+
this.criteriaShow = !this.criteriaShow
|
|
222
|
+
},
|
|
223
|
+
clear() {
|
|
224
|
+
//清空部门和人员
|
|
225
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
|
|
226
|
+
//部门和人员变为全选
|
|
227
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
|
|
228
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
|
|
229
|
+
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
230
|
+
this.$refs.paged.$refs.cri.model[key] = []
|
|
231
|
+
})
|
|
232
|
+
},
|
|
233
|
+
getRes(obj) {
|
|
234
|
+
this.orgCondtionStr = obj
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
watch: {
|
|
238
|
+
|
|
239
|
+
},
|
|
240
|
+
computed: {
|
|
241
|
+
getCondition() {
|
|
242
|
+
let result = {
|
|
243
|
+
condition: this.$refs.paged.$refs.cri.condition + this.orgCondtionStr,
|
|
244
|
+
startDate: this.$refs.paged.$refs.cri.model.startDate,
|
|
245
|
+
endDate: this.$refs.paged.$refs.cri.model.endDate
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
return result
|
|
249
|
+
},
|
|
250
|
+
getfield() {
|
|
251
|
+
return exportConfig.reportDetailConfig
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
</script>
|
|
256
|
+
|
|
@@ -87,7 +87,7 @@ export default{
|
|
|
87
87
|
},
|
|
88
88
|
chargeConfig: {
|
|
89
89
|
'id': '收费编号', 'f_userinfo_code': '客户编号', 'f_olduserinfo_code': '档案编号', 'f_user_name': '客户名称', 'f_user_phone': '客户电话', 'f_address': '客户地址', 'f_zones': '片区', 'f_user_type': '客户类型',
|
|
90
|
-
'f_gasproperties': '用气性质', 'f_meternumber': '表号', 'f_meter_brand': '气表品牌', 'f_times': '购气次数',
|
|
90
|
+
'f_gasproperties': '用气性质', 'f_meternumber': '表号', 'f_meter_brand': '气表品牌', 'f_times': '购气次数', 'f_price_name': '气价名称',
|
|
91
91
|
'f_last_tablebase': '上期底数', 'f_tablebase': '本期底数', 'f_pregas': '气量', 'fee': '金额', 'f_preamount': '燃气费', 'f_collection': '收款', 'f_privilege_money': '优惠金额', 'f_balance': '上期结余',
|
|
92
92
|
'f_curbalance': '本期结余', 'f_type': '收费类型', 'f_payment': '付款方式', 'f_bank_type': '支付渠道', 'f_state': '状态', 'f_operate_date': '收费日期', 'f_serial_id': '流水号',
|
|
93
93
|
'f_delaypay': '滞纳金', 'f_comments': '备注', 'f_operator': '操作员', 'f_depname': '部门', 'f_orgname': '公司',
|
|
@@ -292,7 +292,7 @@ export default{
|
|
|
292
292
|
'f_money': '收款', 'f_payment': '付款方式', 'f_state': '状态', 'f_operate_date': '收费日期'
|
|
293
293
|
},
|
|
294
294
|
cardhandplanConfig: {
|
|
295
|
-
'f_userinfo_code': '客户编号', 'f_user_name': '客户名称', 'f_meternumber': '表号', 'f_olduserinfo_code': '档案编号', 'f_address': '客户地址',
|
|
295
|
+
'f_userinfo_code': '客户编号', 'f_user_name': '客户名称', 'f_meternumber': '表号', 'f_olduserinfo_code': '档案编号', 'f_address': '客户地址',
|
|
296
296
|
'f_last_tablebase': '上期底数', 'f_tablebase': '本期底数', 'f_real_amount': '用气量', 'f_total_gas': '总购气量',
|
|
297
297
|
'f_yuliang': '余量', 'f_inputtor': '抄表员', 'f_hand_date': '下发日期', 'f_input_date': '录入日期',
|
|
298
298
|
'f_meter_state': '抄表状态', 'f_operator': '操作员', 'f_depname': '部门'
|
|
@@ -372,10 +372,15 @@ export default{
|
|
|
372
372
|
fmygasConfig: {
|
|
373
373
|
'f_userinfo_code': '客户编号', 'f_user_name': '客户名称', 'f_olduserinfo_code': '档案编号', 'f_user_phone': '客户电话', 'f_credentials': '证件类型',
|
|
374
374
|
'f_idnumber': '证件号码', 'f_address': '客户地址', 'f_user_type': '客户类型', 'f_gasproperties': '用气性质', 'f_residential_area': '小区',
|
|
375
|
-
'f_meternumber': '表号', 'f_meter_brand': '气表品牌', 'f_meter_classify': '气表类型', 'f_price_value': '气价详情',
|
|
375
|
+
'f_meternumber': '表号', 'f_meter_brand': '气表品牌', 'f_meter_classify': '气表类型', 'f_price_value': '气价详情', 'f_createfile_date': '建档日期',
|
|
376
376
|
'f_pregas': '预购气量', 'f_preamount': '预购金额', 'f_collection': '实交金额', 'f_inputtor': '抄表员', 'f_book_slice_area': '表册片区',
|
|
377
377
|
'f_hand_number': '抄表次数', 'f_date': '抄表区间', 'f_input_day': '天数', 'f_oughtamount': '用气量', 'f_oughtfee': '用气金额', 'f_usetype': '使用类型'
|
|
378
378
|
},
|
|
379
|
+
notgasConfig: {
|
|
380
|
+
'f_userinfo_code': '客户编号', 'f_user_name': '客户名称', 'f_olduserinfo_code': '档案编号', 'f_user_phone': '客户电话', 'f_credentials': '证件类型',
|
|
381
|
+
'f_idnumber': '证件号码', 'f_address': '客户地址', 'f_user_type': '客户类型', 'f_gasproperties': '用气性质', 'f_residential_area': '小区',
|
|
382
|
+
'f_meternumber': '表号', 'f_meter_brand': '气表品牌', 'f_meter_classify': '气表类型','f_oughtamount': '用气量'
|
|
383
|
+
},
|
|
379
384
|
handRateConfig: {
|
|
380
385
|
'f_userinfo_code': '客户编号', 'f_user_name': '客户名称', 'f_olduserinfo_code': '档案编号', 'f_user_phone': '客户电话', 'f_address': '客户地址',
|
|
381
386
|
'f_user_type': '客户类型', 'f_gasproperties': '用气性质', 'f_meternumber': '表号', 'f_meter_classify': '气表类型',
|
|
@@ -661,7 +666,8 @@ export default{
|
|
|
661
666
|
'f_operator': '操作员', 'f_operate_date': '时间', 'f_meternumber': '表号'
|
|
662
667
|
},
|
|
663
668
|
PrickBillConfig: {
|
|
664
|
-
'f_report_name': '报表名称', 'f_fee': '扎帐金额', 'f_report_fee': '系统金额',
|
|
669
|
+
'f_report_name': '报表名称', 'f_fee': '扎帐金额', 'f_report_fee': '系统金额',
|
|
670
|
+
'f_start_date': '扎帐归属开始时间', 'f_end_date': '扎帐归属结束时间',
|
|
665
671
|
'f_operate_date': '操作时间', 'f_payment': '付款方式', 'f_state': '状态', 'f_orgname': '公司', 'f_depname': '部门',
|
|
666
672
|
'f_operator': '操作员', 'f_remarks': '备注'
|
|
667
673
|
},
|
|
@@ -1042,5 +1048,12 @@ export default{
|
|
|
1042
1048
|
'itemname':'增值服务类型','yearstartdate':'上次购买时间','yearenddate':'本次购买时间',
|
|
1043
1049
|
'f_orgname': '所属公司'
|
|
1044
1050
|
},
|
|
1051
|
+
reportDetailConfig: {
|
|
1052
|
+
'f_userinfo_code': '用户编号', 'f_user_name': '用户名称', 'f_address': '用户地址', 'f_user_phone': '联系方式',
|
|
1053
|
+
'f_user_nature': '用户类型', 'f_meternumber': '表号', 'f_serial_id': '支付流水号',
|
|
1054
|
+
'f_type': '收费类型', 'f_brand_spec': '规格名称', 'f_typenumber': '型号', 'f_unitprice': '单价','f_number': '数量',
|
|
1055
|
+
'f_collection': '收款', 'f_payment': '付款方式', 'f_operate_date': '收费日期', 'f_state': '状态',
|
|
1056
|
+
'f_orgname': '所属机构', 'f_depname': '部门', 'f_operator': '操作人'
|
|
1057
|
+
},
|
|
1045
1058
|
}
|
|
1046
1059
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<div class="basic-main" @keyup.enter="search">
|
|
4
4
|
<div class="flex">
|
|
5
5
|
<div style="flex:1;" class="flex" v-if="!show">
|
|
6
|
-
<criteria-paged :model="model" v-ref:paged>
|
|
6
|
+
<criteria-paged :model="model" v-ref:paged @sort="sort">
|
|
7
7
|
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
8
8
|
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
9
9
|
<div class="row">
|
|
@@ -259,7 +259,8 @@
|
|
|
259
259
|
<template partial='head'>
|
|
260
260
|
<tr>
|
|
261
261
|
<th>
|
|
262
|
-
|
|
262
|
+
<!--<nobr>客户编号</nobr>-->
|
|
263
|
+
<data-order field="f_userinfo_code" name="客户编号" :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
|
|
263
264
|
</th>
|
|
264
265
|
<th>
|
|
265
266
|
<nobr>客户名称</nobr>
|
|
@@ -271,7 +272,8 @@
|
|
|
271
272
|
<nobr>身份证号</nobr>
|
|
272
273
|
</th>
|
|
273
274
|
<th>
|
|
274
|
-
|
|
275
|
+
<!--<nobr>客户地址</nobr>-->
|
|
276
|
+
<data-order field="f_address" name="客户地址" :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
|
|
275
277
|
</th>
|
|
276
278
|
<th>
|
|
277
279
|
<nobr>表册片区</nobr>
|
|
@@ -315,10 +317,12 @@
|
|
|
315
317
|
<nobr>通气人</nobr>
|
|
316
318
|
</th>
|
|
317
319
|
<th>
|
|
318
|
-
|
|
320
|
+
<!--<nobr>通气时间</nobr>-->
|
|
321
|
+
<data-order field="f_gas_date" name="通气时间" :order.sync="$parent.$parent.$parent.orderFields.f_gas_date"></data-order>
|
|
319
322
|
</th>
|
|
320
323
|
<th>
|
|
321
|
-
|
|
324
|
+
<!--<nobr>建表时间</nobr>-->
|
|
325
|
+
<data-order field="f_input_date" name="建表时间" :order.sync="$parent.$parent.$parent.orderFields.f_input_date"></data-order>
|
|
322
326
|
</th>
|
|
323
327
|
<th>
|
|
324
328
|
<nobr>气表状态</nobr>
|
|
@@ -512,7 +516,7 @@
|
|
|
512
516
|
isSingleUser: null,
|
|
513
517
|
other:[],
|
|
514
518
|
footer:[],
|
|
515
|
-
model: new PagedList('rs/sql/meterQuery', 20, {}, {f_balance_amount: 0}),
|
|
519
|
+
model: new PagedList('rs/sql/meterQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_user_id,f_table_state desc'`}, {f_balance_amount: 0}),
|
|
516
520
|
criteriaShow: false,
|
|
517
521
|
orgCondtionStr: '',
|
|
518
522
|
|
|
@@ -520,6 +524,11 @@
|
|
|
520
524
|
printshow: false,
|
|
521
525
|
all: false,
|
|
522
526
|
fields: {},
|
|
527
|
+
//排序
|
|
528
|
+
orderitem:'f_user_id,f_table_state desc',
|
|
529
|
+
orderFields: {
|
|
530
|
+
f_userinfo_id: 'no'
|
|
531
|
+
},
|
|
523
532
|
thead: '',
|
|
524
533
|
tfoot: '',
|
|
525
534
|
initres: {
|
|
@@ -766,6 +775,24 @@
|
|
|
766
775
|
})
|
|
767
776
|
}
|
|
768
777
|
},
|
|
778
|
+
sort (field, rule) {
|
|
779
|
+
// 将所有排序方式设为不排序,实现相互排斥
|
|
780
|
+
for (let key in this.orderFields) {
|
|
781
|
+
if (key === field) {
|
|
782
|
+
this.orderFields[key] = rule
|
|
783
|
+
} else {
|
|
784
|
+
this.orderFields[key] = 'no'
|
|
785
|
+
}
|
|
786
|
+
}
|
|
787
|
+
// 如果新规则不排序,还原为默认排序
|
|
788
|
+
if (rule === 'no') {
|
|
789
|
+
this.model.paramSource.orderitem = `'${this.orderitem}'`
|
|
790
|
+
} else {
|
|
791
|
+
this.model.paramSource.orderitem = `'${field} ${rule}'`
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
this.search()
|
|
795
|
+
}
|
|
769
796
|
},
|
|
770
797
|
watch: {
|
|
771
798
|
'model.rows.length' () {
|
|
@@ -854,7 +881,7 @@
|
|
|
854
881
|
}
|
|
855
882
|
},
|
|
856
883
|
getCondition() {
|
|
857
|
-
return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
|
|
884
|
+
return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,orderitem:this.orderitem}
|
|
858
885
|
},
|
|
859
886
|
getfield() {
|
|
860
887
|
let data = {}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<div class="basic-main" @keyup.enter="search">
|
|
4
4
|
<div class="flex">
|
|
5
5
|
<div style="flex:1;" class="flex" v-if="!show">
|
|
6
|
-
<criteria-paged :model="model" v-ref:paged>
|
|
6
|
+
<criteria-paged :model="model" v-ref:paged @sort="sort">
|
|
7
7
|
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
8
8
|
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
9
9
|
<div class="row">
|
|
@@ -212,7 +212,8 @@
|
|
|
212
212
|
<template partial='head'>
|
|
213
213
|
<tr>
|
|
214
214
|
<th>
|
|
215
|
-
|
|
215
|
+
<!--<nobr>客户编号</nobr>-->
|
|
216
|
+
<data-order field="f_userinfo_code" name="客户编号" :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
|
|
216
217
|
</th>
|
|
217
218
|
<th>
|
|
218
219
|
<nobr>客户名称</nobr>
|
|
@@ -224,7 +225,11 @@
|
|
|
224
225
|
<nobr>身份证号</nobr>
|
|
225
226
|
</th>
|
|
226
227
|
<th>
|
|
227
|
-
|
|
228
|
+
<!--<nobr>客户地址</nobr>-->
|
|
229
|
+
<data-order field="f_address" name="客户地址" :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
|
|
230
|
+
</th>
|
|
231
|
+
<th>
|
|
232
|
+
<nobr>表册片区</nobr>
|
|
228
233
|
</th>
|
|
229
234
|
<th>
|
|
230
235
|
<nobr>表上余额</nobr>
|
|
@@ -265,10 +270,12 @@
|
|
|
265
270
|
<nobr>通气人</nobr>
|
|
266
271
|
</th>
|
|
267
272
|
<th>
|
|
268
|
-
|
|
273
|
+
<!--<nobr>通气时间</nobr>-->
|
|
274
|
+
<data-order field="f_gas_date" name="通气时间" :order.sync="$parent.$parent.$parent.orderFields.f_gas_date"></data-order>
|
|
269
275
|
</th>
|
|
270
276
|
<th>
|
|
271
|
-
|
|
277
|
+
<!--<nobr>建表时间</nobr>-->
|
|
278
|
+
<data-order field="f_input_date" name="建表时间" :order.sync="$parent.$parent.$parent.orderFields.f_input_date"></data-order>
|
|
272
279
|
</th>
|
|
273
280
|
<th>
|
|
274
281
|
<nobr>气表状态</nobr>
|
|
@@ -447,7 +454,7 @@
|
|
|
447
454
|
isSingleUser: null,
|
|
448
455
|
other:[],
|
|
449
456
|
footer:[],
|
|
450
|
-
model: new PagedList('rs/sql/meterQuery', 20, {}, {f_balance_amount: 0}),
|
|
457
|
+
model: new PagedList('rs/sql/meterQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_user_id,f_table_state desc'`}, {f_balance_amount: 0}),
|
|
451
458
|
criteriaShow: false,
|
|
452
459
|
orgCondtionStr: '',
|
|
453
460
|
|
|
@@ -455,6 +462,11 @@
|
|
|
455
462
|
printshow: false,
|
|
456
463
|
all: false,
|
|
457
464
|
fields: {},
|
|
465
|
+
//排序
|
|
466
|
+
orderitem:'f_user_id,f_table_state desc',
|
|
467
|
+
orderFields: {
|
|
468
|
+
f_userinfo_id: 'no'
|
|
469
|
+
},
|
|
458
470
|
thead: '',
|
|
459
471
|
tfoot: '',
|
|
460
472
|
initres: {
|
|
@@ -674,6 +686,24 @@
|
|
|
674
686
|
})
|
|
675
687
|
}
|
|
676
688
|
},
|
|
689
|
+
sort (field, rule) {
|
|
690
|
+
// 将所有排序方式设为不排序,实现相互排斥
|
|
691
|
+
for (let key in this.orderFields) {
|
|
692
|
+
if (key === field) {
|
|
693
|
+
this.orderFields[key] = rule
|
|
694
|
+
} else {
|
|
695
|
+
this.orderFields[key] = 'no'
|
|
696
|
+
}
|
|
697
|
+
}
|
|
698
|
+
// 如果新规则不排序,还原为默认排序
|
|
699
|
+
if (rule === 'no') {
|
|
700
|
+
this.model.paramSource.orderitem = `'${this.orderitem}'`
|
|
701
|
+
} else {
|
|
702
|
+
this.model.paramSource.orderitem = `'${field} ${rule}'`
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
this.search()
|
|
706
|
+
}
|
|
677
707
|
},
|
|
678
708
|
watch: {
|
|
679
709
|
'model.rows.length' () {
|
|
@@ -759,7 +789,7 @@
|
|
|
759
789
|
}
|
|
760
790
|
},
|
|
761
791
|
getCondition() {
|
|
762
|
-
return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
|
|
792
|
+
return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,orderitem:this.orderitem}
|
|
763
793
|
},
|
|
764
794
|
getfield() {
|
|
765
795
|
let data = {}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<div class="basic-main" @keyup.enter="search">
|
|
4
4
|
<div class="flex">
|
|
5
5
|
<div style="flex:1;" class="flex" v-if="!show">
|
|
6
|
-
<criteria-paged :model="model" v-ref:paged>
|
|
6
|
+
<criteria-paged :model="model" v-ref:paged @sort="sort">
|
|
7
7
|
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
8
8
|
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
9
9
|
<div class="row">
|
|
@@ -195,7 +195,7 @@
|
|
|
195
195
|
<template partial='head'>
|
|
196
196
|
<tr>
|
|
197
197
|
<th>
|
|
198
|
-
<
|
|
198
|
+
<data-order field="f_userinfo_code" name="客户编号" :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
|
|
199
199
|
</th>
|
|
200
200
|
<th>
|
|
201
201
|
<nobr>客户名称</nobr>
|
|
@@ -204,7 +204,7 @@
|
|
|
204
204
|
<nobr>客户电话</nobr>
|
|
205
205
|
</th>
|
|
206
206
|
<th>
|
|
207
|
-
<
|
|
207
|
+
<data-order field="f_address" name="客户地址" :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
|
|
208
208
|
</th>
|
|
209
209
|
<th>
|
|
210
210
|
<nobr>表上余额</nobr>
|
|
@@ -240,10 +240,10 @@
|
|
|
240
240
|
<nobr>通气人</nobr>
|
|
241
241
|
</th>
|
|
242
242
|
<th>
|
|
243
|
-
<
|
|
243
|
+
<data-order field="f_gas_date" name="通气时间" :order.sync="$parent.$parent.$parent.orderFields.f_gas_date"></data-order>
|
|
244
244
|
</th>
|
|
245
245
|
<th>
|
|
246
|
-
<
|
|
246
|
+
<data-order field="f_input_date" name="建表时间" :order.sync="$parent.$parent.$parent.orderFields.f_input_date"></data-order>
|
|
247
247
|
</th>
|
|
248
248
|
<th>
|
|
249
249
|
<nobr>气表状态</nobr>
|
|
@@ -384,7 +384,7 @@
|
|
|
384
384
|
return {
|
|
385
385
|
other:[],
|
|
386
386
|
footer:[],
|
|
387
|
-
model: new PagedList('rs/sql/meterQuery', 20, {}, {f_balance_amount: 0}),
|
|
387
|
+
model: new PagedList('rs/sql/meterQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_user_id,f_table_state desc'`}, {f_balance_amount: 0}),
|
|
388
388
|
criteriaShow: false,
|
|
389
389
|
orgCondtionStr: '',
|
|
390
390
|
|
|
@@ -392,6 +392,11 @@
|
|
|
392
392
|
printshow: false,
|
|
393
393
|
all: false,
|
|
394
394
|
fields: {},
|
|
395
|
+
//排序
|
|
396
|
+
orderitem:'f_user_id,f_table_state desc',
|
|
397
|
+
orderFields: {
|
|
398
|
+
f_userinfo_id: 'no'
|
|
399
|
+
},
|
|
395
400
|
thead: '',
|
|
396
401
|
tfoot: '',
|
|
397
402
|
initres: {
|
|
@@ -549,6 +554,24 @@
|
|
|
549
554
|
await this.$MagLoadParams.loadParam(this.f_filialeid)
|
|
550
555
|
this.initParams()
|
|
551
556
|
},
|
|
557
|
+
sort (field, rule) {
|
|
558
|
+
// 将所有排序方式设为不排序,实现相互排斥
|
|
559
|
+
for (let key in this.orderFields) {
|
|
560
|
+
if (key === field) {
|
|
561
|
+
this.orderFields[key] = rule
|
|
562
|
+
} else {
|
|
563
|
+
this.orderFields[key] = 'no'
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
// 如果新规则不排序,还原为默认排序
|
|
567
|
+
if (rule === 'no') {
|
|
568
|
+
this.model.paramSource.orderitem = `'${this.orderitem}'`
|
|
569
|
+
} else {
|
|
570
|
+
this.model.paramSource.orderitem = `'${field} ${rule}'`
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
this.search()
|
|
574
|
+
}
|
|
552
575
|
},
|
|
553
576
|
watch: {
|
|
554
577
|
'all'(val) {
|
|
@@ -629,7 +652,7 @@
|
|
|
629
652
|
}
|
|
630
653
|
},
|
|
631
654
|
getCondition() {
|
|
632
|
-
return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
|
|
655
|
+
return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,orderitem:this.orderitem}
|
|
633
656
|
},
|
|
634
657
|
getfield() {
|
|
635
658
|
let data = {}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<div class="basic-main" @keyup.enter="search">
|
|
4
4
|
<div class="flex">
|
|
5
5
|
<div style="flex:1;" class="flex" v-if="!show">
|
|
6
|
-
<criteria-paged :model="model" v-ref:paged>
|
|
6
|
+
<criteria-paged :model="model" v-ref:paged @sort="sort">
|
|
7
7
|
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
8
8
|
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
9
9
|
<div class="row">
|
|
@@ -255,7 +255,7 @@
|
|
|
255
255
|
<template partial='head'>
|
|
256
256
|
<tr>
|
|
257
257
|
<th>
|
|
258
|
-
<
|
|
258
|
+
<data-order field="f_userinfo_code" name="客户编号" :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
|
|
259
259
|
</th>
|
|
260
260
|
<th>
|
|
261
261
|
<nobr>客户名称</nobr>
|
|
@@ -267,7 +267,7 @@
|
|
|
267
267
|
<nobr>身份证号</nobr>
|
|
268
268
|
</th>
|
|
269
269
|
<th>
|
|
270
|
-
<
|
|
270
|
+
<data-order field="f_address" name="客户地址" :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
|
|
271
271
|
</th>
|
|
272
272
|
<th>
|
|
273
273
|
<nobr>表册片区</nobr>
|
|
@@ -496,7 +496,7 @@
|
|
|
496
496
|
isSingleUser: null,
|
|
497
497
|
other:[],
|
|
498
498
|
footer:[],
|
|
499
|
-
model: new PagedList('rs/sql/meterQuery', 20, {}, {f_balance_amount: 0}),
|
|
499
|
+
model: new PagedList('rs/sql/meterQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_user_id,f_table_state desc'`}, {f_balance_amount: 0}),
|
|
500
500
|
criteriaShow: false,
|
|
501
501
|
orgCondtionStr: '',
|
|
502
502
|
|
|
@@ -504,6 +504,11 @@
|
|
|
504
504
|
printshow: false,
|
|
505
505
|
all: false,
|
|
506
506
|
fields: {},
|
|
507
|
+
//排序
|
|
508
|
+
orderitem:'f_user_id,f_table_state desc',
|
|
509
|
+
orderFields: {
|
|
510
|
+
f_userinfo_id: 'no'
|
|
511
|
+
},
|
|
507
512
|
thead: '',
|
|
508
513
|
tfoot: '',
|
|
509
514
|
initres: {
|
|
@@ -750,6 +755,24 @@
|
|
|
750
755
|
})
|
|
751
756
|
}
|
|
752
757
|
},
|
|
758
|
+
sort (field, rule) {
|
|
759
|
+
// 将所有排序方式设为不排序,实现相互排斥
|
|
760
|
+
for (let key in this.orderFields) {
|
|
761
|
+
if (key === field) {
|
|
762
|
+
this.orderFields[key] = rule
|
|
763
|
+
} else {
|
|
764
|
+
this.orderFields[key] = 'no'
|
|
765
|
+
}
|
|
766
|
+
}
|
|
767
|
+
// 如果新规则不排序,还原为默认排序
|
|
768
|
+
if (rule === 'no') {
|
|
769
|
+
this.model.paramSource.orderitem = `'${this.orderitem}'`
|
|
770
|
+
} else {
|
|
771
|
+
this.model.paramSource.orderitem = `'${field} ${rule}'`
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
this.search()
|
|
775
|
+
}
|
|
753
776
|
},
|
|
754
777
|
watch: {
|
|
755
778
|
'model.rows.length' () {
|
|
@@ -835,7 +858,7 @@
|
|
|
835
858
|
}
|
|
836
859
|
},
|
|
837
860
|
getCondition() {
|
|
838
|
-
return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
|
|
861
|
+
return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,orderitem:this.orderitem}
|
|
839
862
|
},
|
|
840
863
|
getfield() {
|
|
841
864
|
let data = {}
|
|
@@ -56,6 +56,13 @@
|
|
|
56
56
|
condition="f_user_state = '{}'"
|
|
57
57
|
close-on-select></v-select>
|
|
58
58
|
</div>
|
|
59
|
+
<div class="col-sm-2 form-group">
|
|
60
|
+
<label class="font_normal_body">用户类型</label>
|
|
61
|
+
<v-select :value.sync="model.f_user_type"
|
|
62
|
+
v-model="model.f_user_type" condition="f_user_type = '{}'"
|
|
63
|
+
:options='$parent.$parent.userTypes' placeholder='请选择'
|
|
64
|
+
close-on-select></v-select>
|
|
65
|
+
</div>
|
|
59
66
|
<div class="col-sm-2 form-group">
|
|
60
67
|
<label class="font_normal_body"> 人数 </label>
|
|
61
68
|
<input type="text" style="width:60%" class="input_search" v-model="model.f_people_num"
|
|
@@ -756,6 +763,9 @@
|
|
|
756
763
|
}
|
|
757
764
|
return [{label: '全部', value: ''}, ...rs]
|
|
758
765
|
},
|
|
766
|
+
userTypes () {
|
|
767
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
768
|
+
},
|
|
759
769
|
userstates() {
|
|
760
770
|
return [{label: '全部', value: ''}, ...this.$appdata.getParam('客户状态')]
|
|
761
771
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<div class="basic-main" @keyup.enter="search">
|
|
4
4
|
<div class="flex">
|
|
5
5
|
<div style="flex:1;" class="flex" v-if="!show">
|
|
6
|
-
<criteria-paged :model="model" v-ref:paged>
|
|
6
|
+
<criteria-paged :model="model" v-ref:paged @sort="sort">
|
|
7
7
|
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
8
8
|
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
9
9
|
<div class="row">
|
|
@@ -219,7 +219,7 @@
|
|
|
219
219
|
<template partial='head'>
|
|
220
220
|
<tr>
|
|
221
221
|
<th>
|
|
222
|
-
<
|
|
222
|
+
<data-order field="f_userinfo_code" name="客户编号" :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
|
|
223
223
|
</th>
|
|
224
224
|
<th>
|
|
225
225
|
<nobr>客户名称</nobr>
|
|
@@ -231,7 +231,7 @@
|
|
|
231
231
|
<nobr>身份证号</nobr>
|
|
232
232
|
</th>
|
|
233
233
|
<th>
|
|
234
|
-
<
|
|
234
|
+
<data-order field="f_address" name="客户地址" :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
|
|
235
235
|
</th>
|
|
236
236
|
<th>
|
|
237
237
|
<nobr>表上余额</nobr>
|
|
@@ -269,10 +269,10 @@
|
|
|
269
269
|
<nobr>通气人</nobr>
|
|
270
270
|
</th>
|
|
271
271
|
<th>
|
|
272
|
-
<
|
|
272
|
+
<data-order field="f_gas_date" name="通气时间" :order.sync="$parent.$parent.$parent.orderFields.f_gas_date"></data-order>
|
|
273
273
|
</th>
|
|
274
274
|
<th>
|
|
275
|
-
<
|
|
275
|
+
<data-order field="f_input_date" name="建表时间" :order.sync="$parent.$parent.$parent.orderFields.f_input_date"></data-order>
|
|
276
276
|
</th>
|
|
277
277
|
<th>
|
|
278
278
|
<nobr>气表状态</nobr>
|
|
@@ -447,7 +447,7 @@
|
|
|
447
447
|
isSingleUser: null,
|
|
448
448
|
other:[],
|
|
449
449
|
footer:[],
|
|
450
|
-
model: new PagedList('rs/sql/meterQuery', 20, {}, {f_balance_amount: 0}),
|
|
450
|
+
model: new PagedList('rs/sql/meterQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_user_id,f_table_state desc'`}, {f_balance_amount: 0}),
|
|
451
451
|
criteriaShow: false,
|
|
452
452
|
orgCondtionStr: '',
|
|
453
453
|
|
|
@@ -455,6 +455,11 @@
|
|
|
455
455
|
printshow: false,
|
|
456
456
|
all: false,
|
|
457
457
|
fields: {},
|
|
458
|
+
//排序
|
|
459
|
+
orderitem:'f_user_id,f_table_state desc',
|
|
460
|
+
orderFields: {
|
|
461
|
+
f_userinfo_id: 'no'
|
|
462
|
+
},
|
|
458
463
|
thead: '',
|
|
459
464
|
tfoot: '',
|
|
460
465
|
initres: {
|
|
@@ -674,6 +679,24 @@
|
|
|
674
679
|
})
|
|
675
680
|
}
|
|
676
681
|
},
|
|
682
|
+
sort (field, rule) {
|
|
683
|
+
// 将所有排序方式设为不排序,实现相互排斥
|
|
684
|
+
for (let key in this.orderFields) {
|
|
685
|
+
if (key === field) {
|
|
686
|
+
this.orderFields[key] = rule
|
|
687
|
+
} else {
|
|
688
|
+
this.orderFields[key] = 'no'
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
// 如果新规则不排序,还原为默认排序
|
|
692
|
+
if (rule === 'no') {
|
|
693
|
+
this.model.paramSource.orderitem = `'${this.orderitem}'`
|
|
694
|
+
} else {
|
|
695
|
+
this.model.paramSource.orderitem = `'${field} ${rule}'`
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
this.search()
|
|
699
|
+
}
|
|
677
700
|
},
|
|
678
701
|
watch: {
|
|
679
702
|
'model.rows.length' () {
|
|
@@ -759,7 +782,7 @@
|
|
|
759
782
|
}
|
|
760
783
|
},
|
|
761
784
|
getCondition() {
|
|
762
|
-
return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
|
|
785
|
+
return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,orderitem:this.orderitem}
|
|
763
786
|
},
|
|
764
787
|
getfield() {
|
|
765
788
|
let data = {}
|
|
@@ -163,7 +163,7 @@ export default{
|
|
|
163
163
|
'f_operator': '操作员', 'f_depname': '部门', 'f_orgname': '公司', 'f_surplus_gas': '剩余气量', 'f_haircut_gas': '扣减气量',
|
|
164
164
|
'f_stair1amount': '一阶气量', 'f_stair1price': '一阶单价', 'f_stair1fee': '一阶气费',
|
|
165
165
|
'f_stair2amount': '二阶气量', 'f_stair2price': '二阶单价', 'f_stair2fee': '二阶气费','f_actual_arrears':'实际欠费金额','alloughtfee':'已交气量合计',
|
|
166
|
-
'f_stair3amount': '三阶气量', 'f_stair3price': '三阶单价', 'f_stair3fee': '三阶气费', 'f_rest_date': '所属年月'
|
|
166
|
+
'f_stair3amount': '三阶气量', 'f_stair3price': '三阶单价', 'f_stair3fee': '三阶气费', 'f_rest_date': '所属年月','f_whether_pay':'是否缴费'
|
|
167
167
|
},
|
|
168
168
|
handplanprintConfig: {
|
|
169
169
|
'f_userinfo_code': '客户编号', 'f_user_name': '客户名称', 'f_address': '客户地址', 'f_user_phone': '客户手机', 'f_meternumber': '表号','ym_data': '数据年月',
|
|
@@ -180,9 +180,9 @@
|
|
|
180
180
|
close-on-select></v-select>
|
|
181
181
|
</div>
|
|
182
182
|
<div class="col-sm-2 form-group">
|
|
183
|
-
<label class="font_normal_body"
|
|
184
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.
|
|
185
|
-
condition="
|
|
183
|
+
<label class="font_normal_body">表  号</label>
|
|
184
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
|
|
185
|
+
condition="f_meternumber = '{}'" placeholder='表号'>
|
|
186
186
|
</div>
|
|
187
187
|
<div class="col-sm-2 form-group">
|
|
188
188
|
<label class="font_normal_body">气表类型</label>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<div class="basic-main" @keyup.enter="search">
|
|
4
4
|
<div class="flex">
|
|
5
5
|
<div style="flex:1;" class="flex" v-if="!show">
|
|
6
|
-
<criteria-paged :model="model" v-ref:paged>
|
|
6
|
+
<criteria-paged :model="model" v-ref:paged @sort="sort">
|
|
7
7
|
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
8
8
|
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
9
9
|
<div class="row">
|
|
@@ -266,7 +266,7 @@
|
|
|
266
266
|
<template partial='head'>
|
|
267
267
|
<tr>
|
|
268
268
|
<th>
|
|
269
|
-
<
|
|
269
|
+
<data-order field="f_userinfo_code" name="客户编号" :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
|
|
270
270
|
</th>
|
|
271
271
|
<th>
|
|
272
272
|
<nobr>客户名称</nobr>
|
|
@@ -281,7 +281,7 @@
|
|
|
281
281
|
<nobr>身份证号</nobr>
|
|
282
282
|
</th>
|
|
283
283
|
<th>
|
|
284
|
-
<
|
|
284
|
+
<data-order field="f_address" name="客户地址" :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
|
|
285
285
|
</th>
|
|
286
286
|
<th>
|
|
287
287
|
<nobr>表册片区</nobr>
|
|
@@ -325,10 +325,10 @@
|
|
|
325
325
|
<nobr>通气人</nobr>
|
|
326
326
|
</th>
|
|
327
327
|
<th>
|
|
328
|
-
<
|
|
328
|
+
<data-order field="f_gas_date" name="通气时间" :order.sync="$parent.$parent.$parent.orderFields.f_gas_date"></data-order>
|
|
329
329
|
</th>
|
|
330
330
|
<th>
|
|
331
|
-
<
|
|
331
|
+
<data-order field="f_input_date" name="建表时间" :order.sync="$parent.$parent.$parent.orderFields.f_input_date"></data-order>
|
|
332
332
|
</th>
|
|
333
333
|
<th>
|
|
334
334
|
<nobr>气表状态</nobr>
|
|
@@ -512,7 +512,7 @@
|
|
|
512
512
|
isSingleUser: null,
|
|
513
513
|
other:[],
|
|
514
514
|
footer:[],
|
|
515
|
-
model: new PagedList('rs/sql/meterQuery', 20, {}, {f_balance_amount: 0}),
|
|
515
|
+
model: new PagedList('rs/sql/meterQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_user_id,f_table_state desc'`}, {f_balance_amount: 0}),
|
|
516
516
|
criteriaShow: false,
|
|
517
517
|
orgCondtionStr: '',
|
|
518
518
|
|
|
@@ -520,6 +520,11 @@
|
|
|
520
520
|
printshow: false,
|
|
521
521
|
all: false,
|
|
522
522
|
fields: {},
|
|
523
|
+
//排序
|
|
524
|
+
orderitem:'f_user_id,f_table_state desc',
|
|
525
|
+
orderFields: {
|
|
526
|
+
f_userinfo_id: 'no'
|
|
527
|
+
},
|
|
523
528
|
thead: '',
|
|
524
529
|
tfoot: '',
|
|
525
530
|
initres: {
|
|
@@ -767,6 +772,24 @@
|
|
|
767
772
|
})
|
|
768
773
|
}
|
|
769
774
|
},
|
|
775
|
+
sort (field, rule) {
|
|
776
|
+
// 将所有排序方式设为不排序,实现相互排斥
|
|
777
|
+
for (let key in this.orderFields) {
|
|
778
|
+
if (key === field) {
|
|
779
|
+
this.orderFields[key] = rule
|
|
780
|
+
} else {
|
|
781
|
+
this.orderFields[key] = 'no'
|
|
782
|
+
}
|
|
783
|
+
}
|
|
784
|
+
// 如果新规则不排序,还原为默认排序
|
|
785
|
+
if (rule === 'no') {
|
|
786
|
+
this.model.paramSource.orderitem = `'${this.orderitem}'`
|
|
787
|
+
} else {
|
|
788
|
+
this.model.paramSource.orderitem = `'${field} ${rule}'`
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
this.search()
|
|
792
|
+
},
|
|
770
793
|
async getpcd(){
|
|
771
794
|
let HttpReset = new HttpResetClass()
|
|
772
795
|
console.log('开始获取区域')
|
|
@@ -840,7 +863,7 @@
|
|
|
840
863
|
}
|
|
841
864
|
this.updateParams()
|
|
842
865
|
}
|
|
843
|
-
}
|
|
866
|
+
}
|
|
844
867
|
},
|
|
845
868
|
computed: {
|
|
846
869
|
authArr () {
|
|
@@ -876,7 +899,7 @@
|
|
|
876
899
|
}
|
|
877
900
|
},
|
|
878
901
|
getCondition() {
|
|
879
|
-
return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
|
|
902
|
+
return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,orderitem:this.orderitem}
|
|
880
903
|
},
|
|
881
904
|
getfield() {
|
|
882
905
|
let data = {}
|
package/src/saleManage.js
CHANGED
|
@@ -576,6 +576,8 @@ export default function (filiale) {
|
|
|
576
576
|
Vue.component('handplan-info',(resolve) =>{ require(['./components/sale/businessquery/handplan-info'], resolve)})
|
|
577
577
|
// 未抄表用户报表
|
|
578
578
|
Vue.component('unhand-business',(resolve) =>{ require(['./components/sale/businessquery/UnhandBusiness'], resolve)})
|
|
579
|
+
// 报表明细
|
|
580
|
+
Vue.component('report-detail',(resolve) =>{ require(['./components/sale/businessquery/reportDetail'], resolve)})
|
|
579
581
|
// 分公司选择新组件,默认全选
|
|
580
582
|
Vue.component('res-select-new', (resolve) => { require(['./filiale/tongchuan/ResSelectNew'], resolve)})
|
|
581
583
|
// 分公司特殊页面注册替换
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|