manage-client 3.3.83 → 3.3.84
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 +2 -2
- package/package.json +2 -2
- package/src/components/webmeter/reportdata/ckhReportDataQuery.vue +275 -0
- package/src/filiale/WEINAN/ManageCompanyGasSummary.vue +30 -4
- package/src/filiale/WEINAN/ManageSummaryReport.vue +34 -15
- package/src/filiale/WEINAN/UserGasAll.vue +63 -44
- package/src/filiale/WEINAN/config/exportConfig.js +3 -1
- package/src/filiale/WEINAN/manage/ChangeMeterQuery.vue +2 -2
- package/src/filiale/lixianV3/ChangeMeterQuery.vue +729 -0
- package/src/filiale/lixianV3/sale.js +4 -0
- package/src/filiale/qianneng/CKHWebHandplanQuery.vue +992 -0
- package/src/filiale/qianneng/CKHWebmeterQuery.vue +43 -0
- package/src/filiale/qianneng/sale.js +1 -0
- package/src/filiale/qianneng/webmeterManage.js +1 -0
- package/src/filiale/tongchuan/MeterQuery.vue +6 -0
- package/src/filiale/tongchuan/config/exportConfig.js +1 -1
- package/src/webmeterManage.js +2 -0
package/build/dev-server.js
CHANGED
|
@@ -19,9 +19,9 @@ var qtx= 'http://36.103.222.144:6300/'
|
|
|
19
19
|
// var bendi = 'http://203.57.101.233:8400/'
|
|
20
20
|
// var bendi = 'http://121.36.106.17:8400/'
|
|
21
21
|
// var fuwu = 'http://203.57.101.233:9001'
|
|
22
|
-
var bendi = 'http://
|
|
22
|
+
var bendi = 'http://192.168.50.4:8400/'
|
|
23
23
|
// var bendi = 'http://119.187.112.234:8400/'
|
|
24
|
-
var wode = 'http://
|
|
24
|
+
var wode = 'http://192.168.50.4:8400/'
|
|
25
25
|
// 192.168.
|
|
26
26
|
// var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
|
|
27
27
|
// var str = 'http://192.168.10.233:8300', str2 = 'http://192.168.10.14:8300'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "manage-client",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.84",
|
|
4
4
|
"description": "经营管控模块前台组件",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"directories": {
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"system-clients": "3.2.61",
|
|
72
72
|
"url-loader": "^0.5.7",
|
|
73
73
|
"vue-amap": "0.5.10",
|
|
74
|
-
"vue-client": "1.24.
|
|
74
|
+
"vue-client": "1.24.108",
|
|
75
75
|
"vue-hot-reload-api": "^1.2.0",
|
|
76
76
|
"vue-html-loader": "^1.0.0",
|
|
77
77
|
"vue-loader": "8.2.1",
|
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div id="unit" class="flex-row">
|
|
3
|
+
<div class="basic-main" @keyup.enter="search">
|
|
4
|
+
<div class="flex">
|
|
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 class="font_normal_body">客户编号</label>
|
|
11
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
|
|
12
|
+
condition="f_userinfo_code = '{}' " placeholder="客户编号">
|
|
13
|
+
</div>
|
|
14
|
+
<div class="col-sm-2 form-group">
|
|
15
|
+
<label class="font_normal_body">客户名称</label>
|
|
16
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
17
|
+
condition=" f_user_name like '%{}%'" placeholder='客户名称'>
|
|
18
|
+
</div>
|
|
19
|
+
<!-- <div class="col-sm-2">-->
|
|
20
|
+
<!-- <label class="font_normal_body">组织机构</label>-->
|
|
21
|
+
<!-- <res-select :initresid="$parent.$parent.org"-->
|
|
22
|
+
<!-- style="width:60%"-->
|
|
23
|
+
<!-- @res-select="$parent.$parent.getorg"-->
|
|
24
|
+
<!-- restype='organization'>-->
|
|
25
|
+
<!-- </res-select>-->
|
|
26
|
+
|
|
27
|
+
<!-- </div>-->
|
|
28
|
+
<div class="col-sm-2">
|
|
29
|
+
<label class="font_normal_body"> 公司 </label>
|
|
30
|
+
<right-tree @re-res="$parent.$parent.getorg"
|
|
31
|
+
:initresid='$parent.$parent.org'></right-tree>
|
|
32
|
+
</div>
|
|
33
|
+
<div class="span" style="float:right;">
|
|
34
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
35
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
36
|
+
<export-excel :data="$parent.$parent.getCondition" :footer="$parent.$parent.footer"
|
|
37
|
+
:field="$parent.$parent.getfield" :header="$parent.$parent.other"
|
|
38
|
+
sqlurl="rs/ckh/export" sql-name="ckh_getReportDataQuery" template-name='结算查询导出'
|
|
39
|
+
:choose-col="true"></export-excel>
|
|
40
|
+
<div style="float: right" class="button_spacing"
|
|
41
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
42
|
+
@click="$parent.$parent.hidden()"></div>
|
|
43
|
+
</div>
|
|
44
|
+
|
|
45
|
+
</div>
|
|
46
|
+
|
|
47
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
48
|
+
<div class="col-sm-2 form-group">
|
|
49
|
+
<label class="font_normal_body">表 号</label>
|
|
50
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
|
|
51
|
+
condition="f_meternumber like '%{}%'" placeholder='表号'>
|
|
52
|
+
</div>
|
|
53
|
+
<div class="col-sm-2 form-group">
|
|
54
|
+
<label class="font_normal_body">气表品牌</label>
|
|
55
|
+
<v-select
|
|
56
|
+
placeholder='气表品牌'
|
|
57
|
+
:value.sync="model.f_meter_brand"
|
|
58
|
+
v-model="model.f_meter_brand"
|
|
59
|
+
:options='$parent.$parent.meterbrands'
|
|
60
|
+
close-on-select
|
|
61
|
+
condition="f_meter_brand='{}'">
|
|
62
|
+
</v-select>
|
|
63
|
+
</div>
|
|
64
|
+
<div class="col-sm-2 form-group" >
|
|
65
|
+
<label class="font_normal_body">气表型号</label>
|
|
66
|
+
<v-select
|
|
67
|
+
placeholder='气表型号'
|
|
68
|
+
:value.sync="model.f_meter_style"
|
|
69
|
+
v-model="model.f_meter_style"
|
|
70
|
+
:options='$parent.$parent.metertypes'
|
|
71
|
+
close-on-select
|
|
72
|
+
condition="f_meter_style='{}'">
|
|
73
|
+
</v-select>
|
|
74
|
+
</div>
|
|
75
|
+
<div class="col-sm-2 form-group">
|
|
76
|
+
<label for="startDate" class="font_normal_body">插入时间</label>
|
|
77
|
+
<datepicker id="startDate" placeholder="插入时间" style="width:60%"
|
|
78
|
+
v-model="model.startDate"
|
|
79
|
+
:value.sync="model.startDate"
|
|
80
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
81
|
+
:show-reset-button="true"
|
|
82
|
+
condition="f_insert_date >= '{}'">
|
|
83
|
+
</datepicker>
|
|
84
|
+
</div>
|
|
85
|
+
<div class="col-sm-2 form-group">
|
|
86
|
+
<label for="endDate" class="font_normal_body"> 至 </label>
|
|
87
|
+
<datepicker id="endDate" placeholder="插入时间" style="width:60%"
|
|
88
|
+
v-model="model.endDate"
|
|
89
|
+
:value.sync="model.endDate"
|
|
90
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
91
|
+
:show-reset-button="true"
|
|
92
|
+
condition="f_insert_date <= '{}'">
|
|
93
|
+
</datepicker>
|
|
94
|
+
</div>
|
|
95
|
+
</div>
|
|
96
|
+
|
|
97
|
+
</div>
|
|
98
|
+
</criteria>
|
|
99
|
+
|
|
100
|
+
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
|
|
101
|
+
<template partial='head'>
|
|
102
|
+
<tr>
|
|
103
|
+
<th v-for="row in $parent.$parent.$parent.headData">
|
|
104
|
+
<nobr>{{row}}</nobr>
|
|
105
|
+
</th>
|
|
106
|
+
</tr>
|
|
107
|
+
</template>
|
|
108
|
+
<template partial='body'>
|
|
109
|
+
<tr v-for="row in $parent.$parent.$parent.model.rows">
|
|
110
|
+
<td style="text-align: center;" v-for="item in $parent.$parent.$parent.config.fieldMapping">
|
|
111
|
+
<nobr v-if="item == 'f_lowlithiumbattery'">{{row[item] == 1 ? '是' : '否'}}</nobr>
|
|
112
|
+
<nobr v-if="item == 'f_magneticinterference'">{{row[item] == 1 ? '异常' : '正常'}}</nobr>
|
|
113
|
+
<nobr v-if="item != 'f_magneticinterference' && item != 'f_lowlithiumbattery'">{{row[item]}}</nobr>
|
|
114
|
+
</td>
|
|
115
|
+
</tr>
|
|
116
|
+
</template>
|
|
117
|
+
<template partial='foot'></template>
|
|
118
|
+
</data-grid>
|
|
119
|
+
</criteria-paged>
|
|
120
|
+
</div>
|
|
121
|
+
</div>
|
|
122
|
+
</div>
|
|
123
|
+
</template>
|
|
124
|
+
|
|
125
|
+
<script>
|
|
126
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
|
127
|
+
import tableConfig from './../../sale/config/tableConfig'
|
|
128
|
+
import exportConfig from '../../sale/config/exportConfig'
|
|
129
|
+
import plugins from '../../../plugins/GetLoginInfoService'
|
|
130
|
+
import plugin from 'system-clients/src/plugins/GetLoginInfoService'
|
|
131
|
+
|
|
132
|
+
let readySomething = async function (self) {
|
|
133
|
+
await self.$MagLoadParams.loadParam()
|
|
134
|
+
self.initParams()
|
|
135
|
+
// self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
|
|
136
|
+
}
|
|
137
|
+
export default {
|
|
138
|
+
title: '上报数据查询',
|
|
139
|
+
data() {
|
|
140
|
+
return {
|
|
141
|
+
other:[],
|
|
142
|
+
footer:[],
|
|
143
|
+
model: new PagedList('rs/ckh/ckh_getReportDataQuery', 20, {}),
|
|
144
|
+
criteriaShow: false,
|
|
145
|
+
config: {
|
|
146
|
+
fieldMapping: {
|
|
147
|
+
f_userinfo_code: '客户编号',
|
|
148
|
+
f_user_name: '客户名称'
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
WarningType: [
|
|
152
|
+
{label: '全部', value: ''}
|
|
153
|
+
],
|
|
154
|
+
Warningstyles: [
|
|
155
|
+
{label: '全部', value: ''}
|
|
156
|
+
],
|
|
157
|
+
styles:false,
|
|
158
|
+
headData: [],
|
|
159
|
+
bodyData: [],
|
|
160
|
+
orgCondtionStr: ` and f_filialeid in (' + ${this.$login.f.orgid}+')`,
|
|
161
|
+
resshow:['company'],
|
|
162
|
+
org:[this.$login.f.orgid],
|
|
163
|
+
meterbrands:[]
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
created () {
|
|
167
|
+
this.config.fieldMapping=tableConfig.ReportDataQuery
|
|
168
|
+
console.log("========================")
|
|
169
|
+
console.log(this.config.fieldMapping)
|
|
170
|
+
var item="用户编号"
|
|
171
|
+
console.log("~~~~~~~~~~~~~~~~~~~~~~~~~~~~")
|
|
172
|
+
console.log(this.config.fieldMapping[item])
|
|
173
|
+
this.headData=Object.keys(this.config.fieldMapping)
|
|
174
|
+
// for(var i=0;i<this.config.fieldMapping;i++){
|
|
175
|
+
// this.headData.push(this.config.fieldMapping[i])
|
|
176
|
+
// }
|
|
177
|
+
|
|
178
|
+
},
|
|
179
|
+
ready() {
|
|
180
|
+
this.$refs.paged.$refs.cri.search()
|
|
181
|
+
readySomething(this).then(() => {
|
|
182
|
+
this.$emit('ready')
|
|
183
|
+
}).catch((error) => {
|
|
184
|
+
this.$emit('error', error)
|
|
185
|
+
})
|
|
186
|
+
},
|
|
187
|
+
methods: {
|
|
188
|
+
initParams() {
|
|
189
|
+
// 初始化气表品牌
|
|
190
|
+
let brandArr = []
|
|
191
|
+
this.$MagGetSaleParam.getGasbrand().forEach((item) => {
|
|
192
|
+
let temp = {}
|
|
193
|
+
if(item.value.f_meter_type==='物联网表'){
|
|
194
|
+
temp.label = item.label
|
|
195
|
+
temp.value = item.value.f_meter_brand
|
|
196
|
+
brandArr.push(temp )
|
|
197
|
+
}
|
|
198
|
+
})
|
|
199
|
+
this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
|
|
200
|
+
//初始化气表价格
|
|
201
|
+
this.prices = this.$MagGetSaleParam.getPrices();
|
|
202
|
+
},
|
|
203
|
+
showMeterStyle() {
|
|
204
|
+
this.styles = true
|
|
205
|
+
},
|
|
206
|
+
search() {
|
|
207
|
+
this.$refs.paged.$refs.cri.search()
|
|
208
|
+
},
|
|
209
|
+
async selfSearch(args) {
|
|
210
|
+
args.condition = `${args.condition}` + this.orgCondtionStr
|
|
211
|
+
await this.model.search(args.condition, args.model)
|
|
212
|
+
// 查询到数据进行处理
|
|
213
|
+
// if (this.model.rows.length > 0) {
|
|
214
|
+
// this.bodyData = Object.keys(this.model.rows[0])
|
|
215
|
+
// }
|
|
216
|
+
},
|
|
217
|
+
getorg(obj) {
|
|
218
|
+
if (obj.resids.length>0) {
|
|
219
|
+
this.orgCondtionStr = " and f_filialeid in " + plugin.convertToIn(obj.resids)
|
|
220
|
+
}else
|
|
221
|
+
{
|
|
222
|
+
this.orgCondtionStr = " and f_filialeid = " + this.$login.f.orgid
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
// getorg(obj) {
|
|
226
|
+
// // if(plugins.convertToIn(obj)!==null&&plugins.convertToIn(obj)!==''){
|
|
227
|
+
// // this.orgCondtionStr = " and f_filialeid in " + plugins.convertToIn(obj)
|
|
228
|
+
// // }else{
|
|
229
|
+
// // this.orgCondtionStr = " and f_filialeid = " + this.$login.f.orgid
|
|
230
|
+
// // }
|
|
231
|
+
// // this.orgname = obj.res
|
|
232
|
+
// },
|
|
233
|
+
clear() {
|
|
234
|
+
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
235
|
+
this.$refs.paged.$refs.cri.model[key] = []
|
|
236
|
+
})
|
|
237
|
+
},
|
|
238
|
+
hidden() {
|
|
239
|
+
this.criteriaShow = !this.criteriaShow
|
|
240
|
+
},
|
|
241
|
+
|
|
242
|
+
// getRes(obj) {
|
|
243
|
+
// this.orgCondtionStr = obj
|
|
244
|
+
// }
|
|
245
|
+
getotherfooter () {
|
|
246
|
+
// this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
|
|
247
|
+
// this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
|
|
248
|
+
this.other = [];
|
|
249
|
+
this.footer = [];
|
|
250
|
+
let otherInData = [];
|
|
251
|
+
otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
|
|
252
|
+
let footerData = []
|
|
253
|
+
this.footer.push(footerData);
|
|
254
|
+
this.other.push(otherInData);
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
watch: {
|
|
258
|
+
},
|
|
259
|
+
computed: {
|
|
260
|
+
metertypes() {
|
|
261
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
|
|
262
|
+
},
|
|
263
|
+
getCondition() {
|
|
264
|
+
return {
|
|
265
|
+
startDate: this.$refs.paged.$refs.cri.model.startDate,
|
|
266
|
+
endDate: this.$refs.paged.$refs.cri.model.endDate,
|
|
267
|
+
condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
getfield() {
|
|
271
|
+
return exportConfig.ReportDataConfig
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
</script>
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
<div class="row" v-if="$parent.$parent.criteriaShow">
|
|
68
68
|
<res-select-group
|
|
69
69
|
:style="$parent.$parent.style"
|
|
70
|
-
:show-component="['company']"
|
|
70
|
+
:show-component="['company','slicearea']"
|
|
71
71
|
:initres="$parent.$parent.initres"
|
|
72
72
|
@re-res="$parent.$parent.getRes"
|
|
73
73
|
v-ref:sel
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
@change="$parent.$parent.userTypeChange()"
|
|
97
97
|
:value-single="true"
|
|
98
98
|
placeholder='请选择' v-model="model.f_user_type"
|
|
99
|
-
|
|
99
|
+
></v-select>
|
|
100
100
|
</div>
|
|
101
101
|
<div class="col-sm-2 form-group">
|
|
102
102
|
<label for="f_user_usetype" class="font_normal_body ">用气类型</label>
|
|
@@ -159,9 +159,15 @@
|
|
|
159
159
|
<th>
|
|
160
160
|
<nobr>期间用气量</nobr>
|
|
161
161
|
</th>
|
|
162
|
+
<th>
|
|
163
|
+
<nobr>期间用气金额</nobr>
|
|
164
|
+
</th>
|
|
162
165
|
<th>
|
|
163
166
|
<nobr>期间售气量</nobr>
|
|
164
167
|
</th>
|
|
168
|
+
<th>
|
|
169
|
+
<nobr>期间售气金额</nobr>
|
|
170
|
+
</th>
|
|
165
171
|
<th>
|
|
166
172
|
<nobr>表具数量</nobr>
|
|
167
173
|
</th>
|
|
@@ -180,9 +186,15 @@
|
|
|
180
186
|
<td style="text-align: center;">
|
|
181
187
|
<nobr>{{ row.f_oughtamount }}</nobr>
|
|
182
188
|
</td>
|
|
189
|
+
<td style="text-align: center;">
|
|
190
|
+
<nobr>{{ row.f_oughtfee }}</nobr>
|
|
191
|
+
</td>
|
|
183
192
|
<td style="text-align: center;">
|
|
184
193
|
<nobr>{{ row.f_pregas }}</nobr>
|
|
185
194
|
</td>
|
|
195
|
+
<td style="text-align: center;">
|
|
196
|
+
<nobr>{{ row.f_collection }}</nobr>
|
|
197
|
+
</td>
|
|
186
198
|
<td style="text-align: center;">
|
|
187
199
|
<nobr>{{ row.f_table_num }}</nobr>
|
|
188
200
|
</td>
|
|
@@ -198,9 +210,18 @@
|
|
|
198
210
|
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
199
211
|
用气量: {{ sumsmodel.f_oughtamount.toFixed(2) }}m³
|
|
200
212
|
</td>
|
|
213
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
214
|
+
用气金额: {{ sumsmodel.f_oughtfee.toFixed(2) }}元
|
|
215
|
+
</td>
|
|
201
216
|
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
202
217
|
售气量: {{ sumsmodel.f_pregas.toFixed(2) }}m³
|
|
203
218
|
</td>
|
|
219
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
220
|
+
售气金额: {{ sumsmodel.f_collection.toFixed(2) }}元
|
|
221
|
+
</td>
|
|
222
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
223
|
+
表具数量: {{ sumsmodel.f_table_num }}
|
|
224
|
+
</td>
|
|
204
225
|
</tr>
|
|
205
226
|
</table>
|
|
206
227
|
</div>
|
|
@@ -246,7 +267,10 @@ export default {
|
|
|
246
267
|
f_use_institution : 'this.model.f_use_institution'
|
|
247
268
|
}, {
|
|
248
269
|
f_oughtamount: 0,
|
|
249
|
-
|
|
270
|
+
f_oughtfee: 0,
|
|
271
|
+
f_pregas: 0,
|
|
272
|
+
f_collection: 0,
|
|
273
|
+
f_table_num: 0
|
|
250
274
|
}),
|
|
251
275
|
gasproperties: [],
|
|
252
276
|
show: false,
|
|
@@ -266,8 +290,9 @@ export default {
|
|
|
266
290
|
sumExport: { 'f_oughtamount': '期间用气量', 'f_pregas': '期间售气量'},
|
|
267
291
|
initres: {
|
|
268
292
|
org: [this.$login.f.orgid],
|
|
293
|
+
slice_area: [],
|
|
269
294
|
},
|
|
270
|
-
criteriaShow:
|
|
295
|
+
criteriaShow: true,
|
|
271
296
|
userusetypes: [],
|
|
272
297
|
useinstitutions: [],
|
|
273
298
|
userusenatures: [],
|
|
@@ -340,6 +365,7 @@ export default {
|
|
|
340
365
|
})
|
|
341
366
|
},
|
|
342
367
|
userTypeChange () {
|
|
368
|
+
console.log("======"+this.$refs.paged.$refs.cri.model.f_user_type)
|
|
343
369
|
this.userusetypes = []
|
|
344
370
|
this.userusenatures = []
|
|
345
371
|
this.useinstitutions = []
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
:choose-col="true"></export-excel>
|
|
58
58
|
<print-data :sum-field="$parent.$parent.getfield" :model="$parent.model"
|
|
59
59
|
:field="$parent.$parent.getfield"
|
|
60
|
-
titletable="
|
|
60
|
+
titletable="营收汇总报表" :starthead="$parent.$parent.startDate"
|
|
61
61
|
:defaultfield="$parent.$parent.defaultfield"
|
|
62
62
|
:sumsmodel="$parent.$parent.sumsmodel"></print-data>
|
|
63
63
|
<div
|
|
@@ -80,6 +80,8 @@
|
|
|
80
80
|
:options='$parent.$parent.usertypes'
|
|
81
81
|
placeholder='请选择' v-model="model.f_user_type"
|
|
82
82
|
condition="f_user_type = '{}'"
|
|
83
|
+
:value-single="true"
|
|
84
|
+
@change="$parent.$parent.userTypeChange()"
|
|
83
85
|
close-on-select></v-select>
|
|
84
86
|
</div>
|
|
85
87
|
<div class="col-sm-2 form-group">
|
|
@@ -87,6 +89,7 @@
|
|
|
87
89
|
<v-select :value.sync="model.f_user_usetype" :search="false"
|
|
88
90
|
@change="$parent.$parent.userUseTypeChange()"
|
|
89
91
|
v-model="model.f_user_usetype"
|
|
92
|
+
:value-single="true"
|
|
90
93
|
:options='$parent.$parent.userusetypes'
|
|
91
94
|
condition="f_user_usetype = '{}'"
|
|
92
95
|
placeholder='用气类型'
|
|
@@ -98,6 +101,7 @@
|
|
|
98
101
|
<v-select :value.sync="model.f_use_institution" :search="false"
|
|
99
102
|
@change="$parent.$parent.userUseInstitutionChange()"
|
|
100
103
|
v-model="model.f_use_institution"
|
|
104
|
+
:value-single="true"
|
|
101
105
|
:options='$parent.$parent.useinstitutions'
|
|
102
106
|
condition="f_use_institution = '{}'"
|
|
103
107
|
placeholder='用气机构'
|
|
@@ -108,6 +112,7 @@
|
|
|
108
112
|
<label for="f_user_usenature" class="font_normal_body ">使用性质</label>
|
|
109
113
|
<v-select :value.sync="model.f_user_usenature" :search="false"
|
|
110
114
|
v-model="model.f_user_usenature"
|
|
115
|
+
:value-single="true"
|
|
111
116
|
:options='$parent.$parent.userusenatures'
|
|
112
117
|
condition="f_user_usenature = '{}'"
|
|
113
118
|
placeholder='使用性质'
|
|
@@ -239,7 +244,7 @@
|
|
|
239
244
|
</td>
|
|
240
245
|
<td
|
|
241
246
|
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
242
|
-
|
|
247
|
+
卡表购气金额: {{ sumsmodel.f_card_money.toFixed(2) }}元
|
|
243
248
|
</td>
|
|
244
249
|
<td
|
|
245
250
|
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
@@ -292,6 +297,7 @@ export default {
|
|
|
292
297
|
}, {
|
|
293
298
|
f_collection: 0,
|
|
294
299
|
f_gas: 0,
|
|
300
|
+
f_card_money:0,
|
|
295
301
|
f_money: 0
|
|
296
302
|
}),
|
|
297
303
|
gasproperties: [],
|
|
@@ -403,13 +409,13 @@ export default {
|
|
|
403
409
|
startDate: 'this.model.startDate',
|
|
404
410
|
endDate: 'this.model.endDate',
|
|
405
411
|
condition2: 'this.model.condition2'
|
|
406
|
-
}, {f_collection: 0, f_gas: 0, f_money: 0})
|
|
412
|
+
}, {f_collection: 0, f_gas: 0, f_money: 0,f_card_money:0})
|
|
407
413
|
} else {
|
|
408
414
|
this.isCompanyShow = false
|
|
409
415
|
this.model = new PagedList('rs/sql/manage_chargeSummary', 20, {
|
|
410
416
|
startDate: 'this.model.startDate',
|
|
411
417
|
endDate: 'this.model.endDate'
|
|
412
|
-
}, {f_collection: 0, f_gas: 0, f_money: 0})
|
|
418
|
+
}, {f_collection: 0, f_gas: 0, f_money: 0,f_card_money:0,})
|
|
413
419
|
}
|
|
414
420
|
}
|
|
415
421
|
},
|
|
@@ -421,30 +427,46 @@ export default {
|
|
|
421
427
|
startDate: 'this.model.startDate',
|
|
422
428
|
endDate: 'this.model.endDate',
|
|
423
429
|
condition2: 'this.model.condition2'
|
|
424
|
-
}, {f_collection: 0, f_gas: 0, f_money: 0})
|
|
430
|
+
}, {f_collection: 0, f_gas: 0, f_money: 0,f_card_money:0,})
|
|
425
431
|
} else {
|
|
426
432
|
this.isAreaShow = false
|
|
427
433
|
this.model = new PagedList('rs/sql/manage_chargeSummary', 20, {
|
|
428
434
|
startDate: 'this.model.startDate',
|
|
429
435
|
endDate: 'this.model.endDate'
|
|
430
|
-
}, {f_collection: 0, f_gas: 0, f_money: 0})
|
|
436
|
+
}, {f_collection: 0, f_gas: 0, f_money: 0,f_card_money:0,})
|
|
431
437
|
}
|
|
432
438
|
}
|
|
433
439
|
},
|
|
434
|
-
|
|
440
|
+
userTypeChange () {
|
|
441
|
+
this.userusetypes = []
|
|
435
442
|
this.userusenatures = []
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
443
|
+
this.useinstitutions = []
|
|
444
|
+
this.$refs.paged.$refs.cri.model.f_user_usetype = ''
|
|
445
|
+
this.$refs.paged.$refs.cri.model.f_use_institution = ''
|
|
446
|
+
this.$refs.paged.$refs.cri.model.f_user_usenature = ''
|
|
447
|
+
if (this.$refs.paged.$refs.cri.model.f_user_type) {
|
|
448
|
+
let str = this.$refs.paged.$refs.cri.model.f_user_type + '用气类型'
|
|
449
|
+
this.userusetypes = this.$appdata.getParam(str)
|
|
439
450
|
}
|
|
440
451
|
},
|
|
441
452
|
userUseTypeChange () {
|
|
442
453
|
this.useinstitutions = []
|
|
443
|
-
|
|
444
|
-
|
|
454
|
+
this.userusenatures = []
|
|
455
|
+
this.$refs.paged.$refs.cri.model.f_use_institution = ''
|
|
456
|
+
this.$refs.paged.$refs.cri.model.f_user_usenature = ''
|
|
457
|
+
if (this.$refs.paged.$refs.cri.model.f_user_usetype) {
|
|
458
|
+
let str = this.$refs.paged.$refs.cri.model.f_user_usetype + '机构'
|
|
445
459
|
this.useinstitutions = this.$appdata.getParam(str)
|
|
446
460
|
}
|
|
447
461
|
},
|
|
462
|
+
userUseInstitutionChange () {
|
|
463
|
+
this.userusenatures = []
|
|
464
|
+
this.$refs.paged.$refs.cri.model.f_user_usenature = ''
|
|
465
|
+
if (this.$refs.paged.$refs.cri.model.f_use_institution) {
|
|
466
|
+
let str = this.$refs.paged.$refs.cri.model.f_use_institution + '使用性质'
|
|
467
|
+
this.userusenatures = this.$appdata.getParam(str)
|
|
468
|
+
}
|
|
469
|
+
},
|
|
448
470
|
hidden () {
|
|
449
471
|
this.criteriaShow = !this.criteriaShow
|
|
450
472
|
},
|
|
@@ -593,9 +615,6 @@ export default {
|
|
|
593
615
|
}
|
|
594
616
|
return field
|
|
595
617
|
},
|
|
596
|
-
userusetypes () {
|
|
597
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气类型')]
|
|
598
|
-
},
|
|
599
618
|
useTypes () {
|
|
600
619
|
return [{label: '全部', value: ''}, ...this.$appdata.getParam('使用类型')]
|
|
601
620
|
},
|