manage-client 3.2.83-2 → 3.2.83-jb
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 +176 -176
- package/package.json +107 -101
- package/src/App.vue +5 -2
- package/src/components/SellReport/BusinessReport.vue +5 -5
- package/src/components/SellReport/ManageGasFee.vue +2 -2
- package/src/components/SellReport/NonResidentGas.vue +203 -216
- package/src/components/SellReport/OperatorCheckoutTwo.vue +210 -210
- package/src/components/SellReport/ReportComponrnt/TieAnAccount.vue +501 -507
- package/src/components/SellReport/SellBySelfHelp.vue +29 -3
- package/src/components/SellReport/SellDepReport.vue +46 -49
- package/src/components/sale/businessquery/AreaChargeQuery.vue +22 -22
- package/src/components/sale/businessquery/AreaGeneralQuery.vue +40 -35
- package/src/components/sale/businessquery/BalanceTable.vue +31 -29
- package/src/components/sale/businessquery/BusinesQuery.vue +18 -57
- package/src/components/sale/businessquery/BusinessManage.vue +1 -3
- package/src/components/sale/businessquery/CancellationQuery.vue +6 -37
- package/src/components/sale/businessquery/CardHandplanQuery.vue +6 -34
- package/src/components/sale/businessquery/ChangeMeterQuery.vue +7 -38
- package/src/components/sale/businessquery/ChargeQuery.vue +1276 -1277
- package/src/components/sale/businessquery/CollectManage.vue +3 -9
- package/src/components/sale/businessquery/CommunityPaymen.vue +24 -24
- package/src/components/sale/businessquery/DepositDetail.vue +17 -16
- package/src/components/sale/businessquery/DisableQuery.vue +9 -40
- package/src/components/sale/businessquery/EnableQuery.vue +34 -66
- package/src/components/sale/businessquery/FMYGasQuery.vue +26 -26
- package/src/components/sale/businessquery/FillCardQuery.vue +6 -38
- package/src/components/sale/businessquery/FillGasQuery.vue +6 -44
- package/src/components/sale/businessquery/GasLossQuery.vue +1 -1
- package/src/components/sale/businessquery/HandBookQuery.vue +38 -37
- package/src/components/sale/businessquery/HandGasPropertiesQuery.vue +37 -38
- package/src/components/sale/businessquery/HandPeopleQuery.vue +22 -22
- package/src/components/sale/businessquery/Handgasquery.vue +33 -30
- package/src/components/sale/businessquery/HandplanQuery.vue +43 -88
- package/src/components/sale/businessquery/InfoOperateRecord.vue +1 -13
- package/src/components/sale/businessquery/MonthGasQuery.vue +1 -2
- package/src/components/sale/businessquery/MoveMeterQuery.vue +9 -43
- package/src/components/sale/businessquery/NoBusinessQuery.vue +26 -23
- package/src/components/sale/businessquery/OtherChargeQuery.vue +6 -37
- package/src/components/sale/businessquery/PlotSummaryQuery.vue +21 -22
- package/src/components/sale/businessquery/PrickBillQuery.vue +13 -15
- package/src/components/sale/businessquery/PrivilegeQuery.vue +7 -37
- package/src/components/sale/businessquery/ProceedsOper.vue +10 -4
- package/src/components/sale/businessquery/ReceiptQuery.vue +6 -9
- package/src/components/sale/businessquery/ResidentialArrearsQuery.vue +24 -23
- package/src/components/sale/businessquery/ResidentialQuery.vue +28 -21
- package/src/components/sale/businessquery/ReverseQuery.vue +6 -37
- package/src/components/sale/businessquery/SellOrgnameQuery.vue +27 -29
- package/src/components/sale/businessquery/SellPeopleQuery.vue +30 -29
- package/src/components/sale/businessquery/SuspiciousUserQuery.vue +26 -27
- package/src/components/sale/businessquery/TransferQuery.vue +23 -55
- package/src/components/sale/businessquery/UserSellHeadDetail.vue +33 -30
- package/src/components/sale/businessquery/YingShouMingXi.vue +15 -10
- package/src/components/sale/businessquery/YonghuJieyu.vue +2 -4
- package/src/components/sale/businessquery/gasPriceQuery.vue +2 -1
- package/src/components/sale/businessquery/overDueQuery.vue +29 -39
- package/src/components/sale/businessquery/priceadjustQuery.vue +6 -36
- package/src/components/sale/config/exportConfig.js +4 -23
- package/src/components/sale/filesquery/RecordInfoQuery.vue +5 -4
- package/src/components/webmeter/gasStatistics/GasStatistics.vue +3 -8
- package/src/components/webmeter/instruction/NewQueryInstruct.vue +446 -446
- package/src/filiale/macheng/RecordInfoQuery.vue +1023 -1023
- package/src/filiale/macheng/config/exportConfig.js +67 -67
- package/src/filiale/macheng/sale.js +11 -11
- package/src/filiale/qianneng/OtherChargeQuery.vue +634 -646
- package/src/filiale/qianneng/exportConfig.js +0 -34
- package/src/filiale/qianneng/sale.js +10 -12
- package/src/main.js +66 -65
- package/src/reportManage.js +0 -26
- package/src/saleManage.js +2 -10
- package/yarn-error.log +8362 -0
- package/.gradle/4.4/fileChanges/last-build.bin +0 -0
- package/.gradle/4.4/fileContent/fileContent.lock +0 -0
- package/.gradle/4.4/fileHashes/fileHashes.bin +0 -0
- package/.gradle/4.4/fileHashes/fileHashes.lock +0 -0
- package/.gradle/4.4/taskHistory/taskHistory.bin +0 -0
- package/.gradle/4.4/taskHistory/taskHistory.lock +0 -0
- package/.gradle/6.1/executionHistory/executionHistory.bin +0 -0
- package/.gradle/6.1/executionHistory/executionHistory.lock +0 -0
- package/.gradle/6.1/fileChanges/last-build.bin +0 -0
- package/.gradle/6.1/fileHashes/fileHashes.bin +0 -0
- package/.gradle/6.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/6.1/gc.properties +0 -0
- package/.gradle/6.1.1/executionHistory/executionHistory.bin +0 -0
- package/.gradle/6.1.1/executionHistory/executionHistory.lock +0 -0
- package/.gradle/6.1.1/fileChanges/last-build.bin +0 -0
- package/.gradle/6.1.1/fileHashes/fileHashes.bin +0 -0
- package/.gradle/6.1.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/6.1.1/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +0 -2
- package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/.gradle/checksums/checksums.lock +0 -0
- package/.gradle/vcs-1/gc.properties +0 -0
- package/build/libs/ManageClient-3.1.0-17.jar +0 -0
- package/build/tmp/jar/MANIFEST.MF +0 -2
- package/src/components/SellReport/GasBusinessDayMoney.vue +0 -263
- package/src/components/sale/businessquery/UnhandBusiness.vue +0 -324
- package/src/components/sale/businessquery/handplan-info.vue +0 -405
- package/src/components/sale/businessquery/sellingChargePrice.vue +0 -667
- package/src/filiale/macheng/FxGasTable.vue +0 -236
- package/src/filiale/macheng/ManageBusSummary.vue +0 -224
- package/src/filiale/macheng/ManageDayGas.vue +0 -248
- package/src/filiale/macheng/ManageHandSellMoney.vue +0 -249
- package/src/filiale/macheng/ManageMonthGas.vue +0 -250
- package/src/filiale/macheng/ManageOtherCharge.vue +0 -251
- package/src/filiale/macheng/ManageSellType.vue +0 -287
- package/src/filiale/macheng/SellingTable.vue +0 -219
- package/src/filiale/macheng/UserBalanceReport.vue +0 -178
- package/src/filiale/macheng/reportManage.js +0 -19
- package/src/filiale/qianneng/ChargeQuery.vue +0 -1289
- package/src/filiale/qianneng/HandplanQuery.vue +0 -1352
|
@@ -1,405 +0,0 @@
|
|
|
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 class="font_normal_body">财务月度</label>
|
|
11
|
-
<datepicker id="aaa" placeholder="开始日期" style="width:60%"
|
|
12
|
-
v-model="model.accountingStartDate"
|
|
13
|
-
:value.sync="model.accountingStartDate"
|
|
14
|
-
format="yyyy-MM-dd HH:mm:ss"
|
|
15
|
-
:show-reset-button="true"
|
|
16
|
-
condition="f_accounting_date >= '{}'">
|
|
17
|
-
</datepicker>
|
|
18
|
-
</div>
|
|
19
|
-
<div class="col-sm-2 form-group">
|
|
20
|
-
<label class="font_normal_body">财务月度</label>
|
|
21
|
-
<datepicker id="aaa" placeholder="结束日期" style="width:60%"
|
|
22
|
-
v-model="model.accountingEndDate"
|
|
23
|
-
:value.sync="model.accountingEndDate"
|
|
24
|
-
format="yyyy-MM-dd HH:mm:ss"
|
|
25
|
-
:show-reset-button="true"
|
|
26
|
-
condition="f_accounting_date <= '{}'">
|
|
27
|
-
|
|
28
|
-
</datepicker>
|
|
29
|
-
</div>
|
|
30
|
-
<div class="col-sm-2 form-group">
|
|
31
|
-
<label class="font_normal_body">自然月度</label>
|
|
32
|
-
<datepicker id="startDate" placeholder="开始日期" style="width:60%"
|
|
33
|
-
v-model="model.handStartDate"
|
|
34
|
-
:value.sync="model.handStartDate"
|
|
35
|
-
format="yyyy-MM-dd HH:mm:ss"
|
|
36
|
-
:show-reset-button="true"
|
|
37
|
-
condition="f_hand_date >= '{}'">
|
|
38
|
-
</datepicker>
|
|
39
|
-
</div>
|
|
40
|
-
<div class="col-sm-2 form-group">
|
|
41
|
-
<label class="font_normal_body">自然月度</label>
|
|
42
|
-
<datepicker id="startDate" placeholder="结束日期" style="width:60%"
|
|
43
|
-
v-model="model.handEndDate"
|
|
44
|
-
:value.sync="model.handEndDate"
|
|
45
|
-
format="yyyy-MM-dd HH:mm:ss"
|
|
46
|
-
:show-reset-button="true"
|
|
47
|
-
condition="f_hand_date <= '{}'">
|
|
48
|
-
</datepicker>
|
|
49
|
-
</div>
|
|
50
|
-
<div class="span" style="float:right;">
|
|
51
|
-
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
52
|
-
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
53
|
-
|
|
54
|
-
<export-excel :data="$parent.$parent.getCondition"
|
|
55
|
-
:field="$parent.$parent.getfield"
|
|
56
|
-
:footer="$parent.$parent.footer"
|
|
57
|
-
:header="$parent.$parent.other"
|
|
58
|
-
sqlurl="rs/logic/exportfile"
|
|
59
|
-
sql-name="HandPlanCollection"
|
|
60
|
-
template-name='抄表情况记录表'
|
|
61
|
-
:choose-col="true"></export-excel>
|
|
62
|
-
<print-data :model="$parent.model"
|
|
63
|
-
:field="$parent.$parent.getfield"
|
|
64
|
-
:sum-field="$parent.$parent.getfield"
|
|
65
|
-
titletable="抄表情况记录表"
|
|
66
|
-
:sumsmodel="$parent.$parent.sumsmodel"></print-data>
|
|
67
|
-
<div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
|
|
68
|
-
</div>
|
|
69
|
-
|
|
70
|
-
</div>
|
|
71
|
-
|
|
72
|
-
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
73
|
-
<div class="col-sm-2 form-group ">
|
|
74
|
-
<label for="f_gasproperties"class="font_normal_body">用气性质</label>
|
|
75
|
-
<v-select id="f_gasproperties"
|
|
76
|
-
style="width:60%"
|
|
77
|
-
v-model="model.f_gasproperties"
|
|
78
|
-
placeholder='用气性质'
|
|
79
|
-
:value.sync="model.f_gasproperties"
|
|
80
|
-
:options='$parent.$parent.gasproperties'
|
|
81
|
-
condition="f_gasproperties = '{}'"
|
|
82
|
-
close-on-select >
|
|
83
|
-
</v-select>
|
|
84
|
-
</div>
|
|
85
|
-
</div>
|
|
86
|
-
</div>
|
|
87
|
-
</criteria>
|
|
88
|
-
|
|
89
|
-
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
|
|
90
|
-
<template partial='head'>
|
|
91
|
-
<tr>
|
|
92
|
-
<th rowspan="2">
|
|
93
|
-
<nobr>用户号</nobr>
|
|
94
|
-
</th>
|
|
95
|
-
<th rowspan="2">
|
|
96
|
-
<nobr>小区</nobr>
|
|
97
|
-
</th>
|
|
98
|
-
<th rowspan="2">
|
|
99
|
-
<nobr>地址</nobr>
|
|
100
|
-
</th>
|
|
101
|
-
<th rowspan="2">
|
|
102
|
-
<nobr>用户名</nobr>
|
|
103
|
-
</th>
|
|
104
|
-
<th rowspan="2">
|
|
105
|
-
<nobr>表钢号</nobr>
|
|
106
|
-
</th>
|
|
107
|
-
<th rowspan="2">
|
|
108
|
-
<nobr>客户类型</nobr>
|
|
109
|
-
</th>
|
|
110
|
-
<th rowspan="2">
|
|
111
|
-
<nobr>用气性质</nobr>
|
|
112
|
-
</th>
|
|
113
|
-
<th colspan="12">
|
|
114
|
-
<nobr>月份</nobr>
|
|
115
|
-
</th>
|
|
116
|
-
</tr>
|
|
117
|
-
<tr>
|
|
118
|
-
<th>
|
|
119
|
-
<nobr>一月</nobr>
|
|
120
|
-
</th>
|
|
121
|
-
<th>
|
|
122
|
-
<nobr>二月</nobr>
|
|
123
|
-
</th>
|
|
124
|
-
<th>
|
|
125
|
-
<nobr>三月</nobr>
|
|
126
|
-
</th>
|
|
127
|
-
<th>
|
|
128
|
-
<nobr>四月</nobr>
|
|
129
|
-
</th>
|
|
130
|
-
<th>
|
|
131
|
-
<nobr>五月</nobr>
|
|
132
|
-
</th>
|
|
133
|
-
<th>
|
|
134
|
-
<nobr>六月</nobr>
|
|
135
|
-
</th>
|
|
136
|
-
<th>
|
|
137
|
-
<nobr>七月</nobr>
|
|
138
|
-
</th>
|
|
139
|
-
<th>
|
|
140
|
-
<nobr>八月</nobr>
|
|
141
|
-
</th>
|
|
142
|
-
<th>
|
|
143
|
-
<nobr>九月</nobr>
|
|
144
|
-
</th>
|
|
145
|
-
<th>
|
|
146
|
-
<nobr>十月</nobr>
|
|
147
|
-
</th>
|
|
148
|
-
<th>
|
|
149
|
-
<nobr>十一月</nobr>
|
|
150
|
-
</th>
|
|
151
|
-
<th>
|
|
152
|
-
<nobr>十二月</nobr>
|
|
153
|
-
</th>
|
|
154
|
-
</tr>
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
</template>
|
|
159
|
-
<template partial='body'>
|
|
160
|
-
<td style="text-align: center;">{{row.f_userinfo_code}}</td>
|
|
161
|
-
<td style="text-align: center;">{{row.f_residential_area}}</td>
|
|
162
|
-
<td style="text-align: center;">{{row.f_address}}</td>
|
|
163
|
-
<th style="text-align: center;">{{row.f_user_name}}</th>
|
|
164
|
-
<th style="text-align: center;">{{row.f_meternumber}}</th>
|
|
165
|
-
<th style="text-align: center;">{{row.f_user_type}}</th>
|
|
166
|
-
<th style="text-align: center;">{{row.f_gasproperties}}</th>
|
|
167
|
-
<th style="text-align: center;">{{row.f_month1}}</th>
|
|
168
|
-
<th style="text-align: center;">{{row.f_month2}}</th>
|
|
169
|
-
<th style="text-align: center;">{{row.f_month3}}</th>
|
|
170
|
-
<th style="text-align: center;">{{row.f_month4}}</th>
|
|
171
|
-
<th style="text-align: center;">{{row.f_month5}}</th>
|
|
172
|
-
<th style="text-align: center;">{{row.f_month6}}</th>
|
|
173
|
-
<th style="text-align: center;">{{row.f_month7}}</th>
|
|
174
|
-
<th style="text-align: center;">{{row.f_month8}}</th>
|
|
175
|
-
<th style="text-align: center;">{{row.f_month9}}</th>
|
|
176
|
-
<th style="text-align: center;">{{row.f_month10}}</th>
|
|
177
|
-
<th style="text-align: center;">{{row.f_month11}}</th>
|
|
178
|
-
<th style="text-align: center;">{{row.f_month12}}</th>
|
|
179
|
-
</template>
|
|
180
|
-
</data-grid>
|
|
181
|
-
</criteria-paged>
|
|
182
|
-
</div>
|
|
183
|
-
</div>
|
|
184
|
-
</div>
|
|
185
|
-
|
|
186
|
-
</template>
|
|
187
|
-
<script>
|
|
188
|
-
/**
|
|
189
|
-
*用户档案查询列表以及添加操作组件
|
|
190
|
-
*/
|
|
191
|
-
import {PagedList} from 'vue-client'
|
|
192
|
-
import defaultPrint from '../config/DefaultPrint'
|
|
193
|
-
import exportConfig from '../config/exportConfig'
|
|
194
|
-
|
|
195
|
-
let readySomething = async function (self) {
|
|
196
|
-
self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
|
|
197
|
-
self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
|
|
198
|
-
// await self.$refs.paged.$refs.cri.search()
|
|
199
|
-
// await self.$getConfig(self, 'SellingHand')
|
|
200
|
-
// self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
|
|
201
|
-
|
|
202
|
-
await self.$MagLoadParams.loadParam()
|
|
203
|
-
|
|
204
|
-
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
|
|
205
|
-
console.log('self.sumsmodel', self.sumsmodel)
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
export default {
|
|
210
|
-
title: '抄表情况记录',
|
|
211
|
-
data() {
|
|
212
|
-
return {
|
|
213
|
-
rows: null,
|
|
214
|
-
other: [],
|
|
215
|
-
footer: [],
|
|
216
|
-
criteriaShow: false,
|
|
217
|
-
model: new PagedList('rs/sql/HandPlanCollection', 50,
|
|
218
|
-
{startDate: 'this.model.startDate', endDate: 'this.model.endDate'},
|
|
219
|
-
{
|
|
220
|
-
f_month1:0,
|
|
221
|
-
f_month2:0,
|
|
222
|
-
f_month3:0,
|
|
223
|
-
f_month4:0,
|
|
224
|
-
f_month5:0,
|
|
225
|
-
f_month6:0,
|
|
226
|
-
f_month7:0,
|
|
227
|
-
f_month8:0,
|
|
228
|
-
f_month9:0,
|
|
229
|
-
f_month10:0,
|
|
230
|
-
f_month11:0,
|
|
231
|
-
f_month12:0
|
|
232
|
-
|
|
233
|
-
}),
|
|
234
|
-
orgCondtionStr: '',
|
|
235
|
-
|
|
236
|
-
getfield: '',
|
|
237
|
-
show:false,
|
|
238
|
-
rowdata:{},
|
|
239
|
-
// config: {
|
|
240
|
-
// defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_last_balance', 'f_balance']
|
|
241
|
-
// },
|
|
242
|
-
initres: {
|
|
243
|
-
org:[this.$login.f.orgid],
|
|
244
|
-
dep:[],
|
|
245
|
-
user:[],
|
|
246
|
-
},
|
|
247
|
-
defaultfield: [],
|
|
248
|
-
sumsmodel: {}
|
|
249
|
-
}
|
|
250
|
-
},
|
|
251
|
-
ready() {
|
|
252
|
-
readySomething(this).then(() => {
|
|
253
|
-
this.$emit('ready')
|
|
254
|
-
}).catch((error) => {
|
|
255
|
-
this.$emit('error', error)
|
|
256
|
-
})
|
|
257
|
-
},
|
|
258
|
-
methods: {
|
|
259
|
-
getotherfooter() {
|
|
260
|
-
// this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
|
|
261
|
-
// this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
|
|
262
|
-
this.other = [];
|
|
263
|
-
this.footer = [];
|
|
264
|
-
// let exportdata = this.getCondition;
|
|
265
|
-
let otherInData = [];
|
|
266
|
-
otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
|
|
267
|
-
let footerData = [], exportfield = this.getfield;
|
|
268
|
-
footerData.push("合计");
|
|
269
|
-
let self = this;
|
|
270
|
-
for (var field in self.sumsmodel) {
|
|
271
|
-
footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
|
|
272
|
-
}
|
|
273
|
-
this.footer.push(footerData);
|
|
274
|
-
this.other.push(otherInData);
|
|
275
|
-
},
|
|
276
|
-
search(){
|
|
277
|
-
this.$refs.paged.$refs.cri.search()
|
|
278
|
-
},
|
|
279
|
-
selfSearch(args) {
|
|
280
|
-
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
281
|
-
args.condition = `${args.condition}` + this.orgCondtionStr
|
|
282
|
-
this.model.search(args.condition, args.model)
|
|
283
|
-
},
|
|
284
|
-
userTypeChange () {
|
|
285
|
-
this.gasproperties=[]
|
|
286
|
-
if(this.$refs.paged.$refs.cri.model !==null) {
|
|
287
|
-
this.$refs.paged.$refs.cri.model.f_gasproperties=''
|
|
288
|
-
this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
|
|
289
|
-
}
|
|
290
|
-
else{
|
|
291
|
-
this.gasproperties =[{label: '全部', value: ''}]
|
|
292
|
-
}
|
|
293
|
-
},
|
|
294
|
-
show() {
|
|
295
|
-
this.criteriaShow = true
|
|
296
|
-
},
|
|
297
|
-
cancel() {
|
|
298
|
-
this.show = false
|
|
299
|
-
},
|
|
300
|
-
showmsg(obj){
|
|
301
|
-
this.rowdata=obj
|
|
302
|
-
this.show=true
|
|
303
|
-
},
|
|
304
|
-
dealmsg(val) {
|
|
305
|
-
console.log('---------------dealmsg')
|
|
306
|
-
val.model = this.model.model
|
|
307
|
-
this.$dispatch('deal-msg', val)
|
|
308
|
-
},
|
|
309
|
-
hidden() {
|
|
310
|
-
this.criteriaShow = !this.criteriaShow
|
|
311
|
-
},
|
|
312
|
-
clear() {
|
|
313
|
-
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
314
|
-
this.$refs.paged.$refs.cri.model[key] = []
|
|
315
|
-
})
|
|
316
|
-
},
|
|
317
|
-
getRes(obj) {
|
|
318
|
-
this.orgCondtionStr = obj
|
|
319
|
-
},
|
|
320
|
-
stamp() {
|
|
321
|
-
this.all = false
|
|
322
|
-
//默认选择要打印的列
|
|
323
|
-
this.modelval = defaultPrint.config
|
|
324
|
-
this.fields = this.getfield
|
|
325
|
-
console.log('所有打印字段', this.fields)
|
|
326
|
-
this.printshow = true
|
|
327
|
-
this.put()
|
|
328
|
-
},
|
|
329
|
-
put() {
|
|
330
|
-
// 对Modelval进行排序
|
|
331
|
-
this.sortModelval()
|
|
332
|
-
this.thead = `<tr><th colspan=${this.modelval.length}>抄表收费统计报表</th></tr><tr>`
|
|
333
|
-
for (let key of this.modelval) {
|
|
334
|
-
this.thead += '<th>' + this.fields[key] + '</th>'
|
|
335
|
-
}
|
|
336
|
-
this.thead += '</tr>'
|
|
337
|
-
},
|
|
338
|
-
print() {
|
|
339
|
-
this.$refs.print.PrintAsFile()
|
|
340
|
-
this.printshow = false
|
|
341
|
-
},
|
|
342
|
-
close() {
|
|
343
|
-
this.printshow = false
|
|
344
|
-
this.all = false
|
|
345
|
-
},
|
|
346
|
-
// 对选择的列进行排序
|
|
347
|
-
sortModelval() {
|
|
348
|
-
let sortModel = []
|
|
349
|
-
Object.keys(this.fields).forEach((key) => {
|
|
350
|
-
if (this.modelval.includes(key)) {
|
|
351
|
-
sortModel.push(key)
|
|
352
|
-
}
|
|
353
|
-
})
|
|
354
|
-
this.modelval = sortModel
|
|
355
|
-
console.log('选择的打印的字段', this.modelval)
|
|
356
|
-
}
|
|
357
|
-
},
|
|
358
|
-
watch: {
|
|
359
|
-
'all'(val) {
|
|
360
|
-
if (val) {
|
|
361
|
-
this.modelval = this.bodyData
|
|
362
|
-
} else {
|
|
363
|
-
this.modelval = defaultPrint.config
|
|
364
|
-
this.put()
|
|
365
|
-
}
|
|
366
|
-
},
|
|
367
|
-
'modelval.length'() {
|
|
368
|
-
this.put()
|
|
369
|
-
},
|
|
370
|
-
sumsmodel: {
|
|
371
|
-
handler: function (val) {
|
|
372
|
-
this.getotherfooter();
|
|
373
|
-
},
|
|
374
|
-
deep: true
|
|
375
|
-
}
|
|
376
|
-
},
|
|
377
|
-
computed: {
|
|
378
|
-
getCondition() {
|
|
379
|
-
let result = {
|
|
380
|
-
condition: this.$refs.paged.$refs.cri.condition + this.orgCondtionStr,
|
|
381
|
-
startDate: this.$refs.paged.$refs.cri.model.startDate,
|
|
382
|
-
endDate: this.$refs.paged.$refs.cri.model.endDate
|
|
383
|
-
}
|
|
384
|
-
return result
|
|
385
|
-
},
|
|
386
|
-
getfield() {
|
|
387
|
-
return exportConfig.handplanInfoConfig
|
|
388
|
-
},
|
|
389
|
-
gasproperties() {
|
|
390
|
-
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用气性质')]
|
|
391
|
-
},
|
|
392
|
-
// payment() {
|
|
393
|
-
// return [...this.$appdata.getParam('付款方式查询')]
|
|
394
|
-
// }
|
|
395
|
-
}
|
|
396
|
-
}
|
|
397
|
-
</script>
|
|
398
|
-
<style media="screen">
|
|
399
|
-
.divtext {
|
|
400
|
-
min-width: 50px;
|
|
401
|
-
max-width: 200px;
|
|
402
|
-
border: 1px solid green;
|
|
403
|
-
display: inline-block;
|
|
404
|
-
}
|
|
405
|
-
</style>
|