apply-clients 3.0.10-21 → 3.0.10-210
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/3.5/file-changes/last-build.bin +0 -0
- package/.gradle/3.5/taskHistory/taskHistory.lock +0 -0
- package/.gradle/5.2.1/executionHistory/executionHistory.bin +0 -0
- package/.gradle/5.2.1/executionHistory/executionHistory.lock +0 -0
- package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
- package/.gradle/5.2.1/fileHashes/fileHashes.bin +0 -0
- package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/5.2.1/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/built.bin +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/.gradle/buildOutputCleanup/cache.properties.lock +1 -0
- package/.gradle/vcs-1/gc.properties +0 -0
- package/doc//346/226/260/347/224/250/346/210/267/350/212/261/345/220/215/345/206/214/345/257/274/345/205/245/346/250/241/346/235/277.xls +0 -0
- package/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/gradle/wrapper/gradle-wrapper.properties +5 -0
- package/gradlew +0 -0
- package/gradlew.bat +84 -0
- package/package.json +5 -4
- package/src/apply.js +187 -146
- package/src/components/Util.js +26 -22
- package/src/components/app_apply/ApplyDownList.vue +21 -8
- package/src/components/app_apply/ApplyToDoList.vue +83 -59
- package/src/components/app_apply/ApplyUserInfo.vue +3 -3
- package/src/components/app_apply/PlaceControler.vue +255 -255
- package/src/components/app_apply/ServiceControl.vue +1387 -1387
- package/src/components/app_apply/ServiceView.vue +583 -361
- package/src/components/image/doc.jpg +0 -0
- package/src/components/image/excel.jpg +0 -0
- package/src/components/image/pdf.jpg +0 -0
- package/src/components/product/BatchFunction/BatchPay.vue +663 -0
- package/src/components/product/Function/InstallFunction.vue +9 -9
- package/src/components/product/Function/InstallInfoSelect.vue +230 -38
- package/src/components/product/Function/Service/FunctionServiceControl.vue +3 -1
- package/src/components/product/Function/functions/InstallFee.vue +58 -35
- package/src/components/product/Function/functions/StopInstall.vue +13 -1
- package/src/components/product/HiddenDangersInProjects/AddHiddenDangers.vue +957 -0
- package/src/components/product/HiddenDangersInProjects/HiddenProjectList.vue +425 -0
- package/src/components/product/HiddenDangersInProjects/HiddenProjectSchedule.vue +146 -0
- package/src/components/product/Process/ExplorationSelect.vue +302 -71
- package/src/components/product/Process/ExplorationUser.vue +18 -3
- package/src/components/product/Process/Processes/CustomerRecordMessage.vue +736 -201
- package/src/components/product/Process/Processes/Service/ApplyChargeSearch.vue +75 -69
- package/src/components/product/Process/Processes/Service/ServiceControl.vue +3172 -3053
- package/src/components/product/ProjectManagement/AddProjectSchedule.vue +863 -0
- package/src/components/product/ProjectManagement/ProjectList.vue +420 -0
- package/src/components/product/ProjectManagement/ProjectSchedule.vue +146 -0
- package/src/components/product/ReportForm/PaymentRecord.vue +801 -0
- package/src/components/product/ReportForm/PaymentRecordAdd.vue +105 -0
- package/src/components/product/ReportForm/PaymentRecordBad.vue +1273 -0
- package/src/components/product/ReportForm/PaymentRecordDetailed.vue +472 -0
- package/src/components/product/ReportForm/PaymentRecordTooBad.vue +60 -0
- package/src/components/product/ReportForm/PaymentReport.vue +532 -0
- package/src/components/product/ReportForm/ProjectReport.vue +447 -0
- package/src/components/product/ReportForm/SettlementReport.vue +336 -0
- package/src/components/product/ReportForm/SummaryReport.vue +451 -0
- package/src/components/product/ReportForm/UserReport.vue +402 -0
- package/src/components/product/ServiceView.vue +17 -9
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +36 -2
- package/src/components/product/Supervisory/SupervisoryControl.vue +30 -6
- package/src/components/product/Supervisory/SupervisoryList.vue +249 -34
- package/src/components/product/VueUtils/ApplyUpload.vue +310 -0
- package/src/components/product/VueUtils/rightview/InstallCardList2.vue +0 -1
- package/src/main.js +4 -0
- package/success.rar +0 -0
- package/doc//350/212/261/345/220/215/345/206/214/345/257/274/345/205/245/346/250/241/346/235/277.xlsx +0 -0
|
@@ -0,0 +1,336 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="basic-main" style="height: 100%">
|
|
3
|
+
<criteria-paged :model="model" :pager='false' v-ref:paged>
|
|
4
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
|
|
5
|
+
<p class="bg-info text-center" style="padding: 8px;">市场结算报表</p>
|
|
6
|
+
<div class="form-group" v-if="!$parent.$parent.data.f_files_path"></div>
|
|
7
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
|
|
8
|
+
<div class="row">
|
|
9
|
+
<!-- <div class="col-sm-4" >-->
|
|
10
|
+
<!-- <label class="font_normal_body" for="startDate">开始日期:</label>-->
|
|
11
|
+
<!-- <datepicker id="startDate" placeholder="开始日期" style="width: 60%"-->
|
|
12
|
+
<!-- v-model="model.startDate"-->
|
|
13
|
+
<!-- :value.sync="model.startDate"-->
|
|
14
|
+
<!-- :disabled-days-of-Week="[]"-->
|
|
15
|
+
<!-- :format="'yyyy-MM-dd HH:mm:ss'"-->
|
|
16
|
+
<!-- :show-reset-button="reset">-->
|
|
17
|
+
<!-- </datepicker>-->
|
|
18
|
+
<!-- </div>-->
|
|
19
|
+
<!-- <div class="col-sm-4" >-->
|
|
20
|
+
<!-- <label class="font_normal_body" for="endDate">结束日期:</label>-->
|
|
21
|
+
<!-- <datepicker id="endDate" placeholder="结束日期" style="width: 60%"-->
|
|
22
|
+
<!-- v-model="model.endDate"-->
|
|
23
|
+
<!-- :value.sync="model.endDate"-->
|
|
24
|
+
<!-- :disabled-days-of-Week="[]"-->
|
|
25
|
+
<!-- :format="'yyyy-MM-dd HH:mm:ss'"-->
|
|
26
|
+
<!-- :show-reset-button="reset">-->
|
|
27
|
+
<!-- </datepicker>-->
|
|
28
|
+
<!-- </div>-->
|
|
29
|
+
<div class="col-sm-4">
|
|
30
|
+
<label class="font_normal_body"> 所属公司 </label>
|
|
31
|
+
<right-tree @re-res="$parent.$parent.getRes"></right-tree>
|
|
32
|
+
</div>
|
|
33
|
+
<div class="col-sm-4">
|
|
34
|
+
<label class="font_normal_body"> 项目名称 </label>
|
|
35
|
+
<res-select restype='department'
|
|
36
|
+
is-mul="false"
|
|
37
|
+
@res-select="$parent.$parent.getdep"
|
|
38
|
+
:parentresid="$parent.$parent.depresid"
|
|
39
|
+
:initresid='$parent.$parent.depid'>
|
|
40
|
+
</res-select>
|
|
41
|
+
|
|
42
|
+
</div>
|
|
43
|
+
<div class="col-sm-4">
|
|
44
|
+
<label class="font_normal_body"> 项目编号 </label>
|
|
45
|
+
<res-select restype='user'
|
|
46
|
+
is-mul="false"
|
|
47
|
+
@res-select="$parent.$parent.getuser"
|
|
48
|
+
:parentresid="$parent.$parent.userresid"
|
|
49
|
+
:initresid='$parent.$parent.operatorid'>
|
|
50
|
+
</res-select>
|
|
51
|
+
</div>
|
|
52
|
+
<div class="col-sm-4">
|
|
53
|
+
<label class="font_normal_body"> 是否收费 </label>
|
|
54
|
+
<res-select restype='user'
|
|
55
|
+
is-mul="false"
|
|
56
|
+
@res-select="$parent.$parent.getuser"
|
|
57
|
+
:parentresid="$parent.$parent.userresid"
|
|
58
|
+
:initresid='$parent.$parent.operatorid'>
|
|
59
|
+
</res-select>
|
|
60
|
+
</div>
|
|
61
|
+
</div>
|
|
62
|
+
<div class="span" style = "float: right;">
|
|
63
|
+
<button class="button_search" @click="$parent.$parent.searchData()">查询</button>
|
|
64
|
+
<report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
|
|
65
|
+
<report-excel id='gasprice'></report-excel>
|
|
66
|
+
</div>
|
|
67
|
+
</div>
|
|
68
|
+
</criteria>
|
|
69
|
+
<div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
|
|
70
|
+
<table class='tableprint' style="margin: 0px auto; width: 500px">
|
|
71
|
+
<thead>
|
|
72
|
+
<tr>
|
|
73
|
+
<th colspan='5' style="font-weight: normal; text-align: center;">
|
|
74
|
+
<h3 style="display: inline-block"><u>
|
|
75
|
+
|
|
76
|
+
{{model.data.marketsettlement[0].f_entry_name}}
|
|
77
|
+
|
|
78
|
+
</u></h3>(项目名称)
|
|
79
|
+
</th>
|
|
80
|
+
</tr>
|
|
81
|
+
<tr>
|
|
82
|
+
<th colspan='5' style="font-weight: normal; text-align: left;">
|
|
83
|
+
<h3 style="text-align: center">财务对账结算单</h3>
|
|
84
|
+
</th>
|
|
85
|
+
</tr>
|
|
86
|
+
<tr>
|
|
87
|
+
<th colspan='5' style="font-weight: normal; text-align: left;">
|
|
88
|
+
<p> 该项目天然气安装现已完毕,经甲乙双方验收合格,现对入户安装费、管线材料超长费等费用进行结算:</p>
|
|
89
|
+
</th>
|
|
90
|
+
</tr>
|
|
91
|
+
</thead>
|
|
92
|
+
<tbody>
|
|
93
|
+
<tr>
|
|
94
|
+
<td colspan='5'>一、应收</td>
|
|
95
|
+
</tr>
|
|
96
|
+
<tr>
|
|
97
|
+
<td>序号</td>
|
|
98
|
+
<td>应缴款户数</td>
|
|
99
|
+
<td>单价</td>
|
|
100
|
+
<td>小计金额</td>
|
|
101
|
+
<td>备注</td>
|
|
102
|
+
</tr>
|
|
103
|
+
<tr>
|
|
104
|
+
<td>1</td>
|
|
105
|
+
<td>{{model.data.marketsettlement[0].f_apply_count}}</td>
|
|
106
|
+
<td>{{model.data.marketsettlement[0].f_unit_price}}</td>
|
|
107
|
+
<td>{{model.data.marketsettlement[0].f_accumulated_amount}}</td>
|
|
108
|
+
<td></td>
|
|
109
|
+
</tr>
|
|
110
|
+
<tr>
|
|
111
|
+
<td>2</td>
|
|
112
|
+
<td></td>
|
|
113
|
+
<td></td>
|
|
114
|
+
<td></td>
|
|
115
|
+
<td></td>
|
|
116
|
+
</tr>
|
|
117
|
+
<tr>
|
|
118
|
+
<td>3</td>
|
|
119
|
+
<td></td>
|
|
120
|
+
<td></td>
|
|
121
|
+
<td></td>
|
|
122
|
+
<td></td>
|
|
123
|
+
</tr>
|
|
124
|
+
<tr>
|
|
125
|
+
<td>合计</td>
|
|
126
|
+
<td>{{model.data.marketsettlement[0].f_apply_count}}</td>
|
|
127
|
+
<td></td>
|
|
128
|
+
<td>{{model.data.marketsettlement[0].f_accumulated_amount}}</td>
|
|
129
|
+
<td></td>
|
|
130
|
+
</tr>
|
|
131
|
+
<tr>
|
|
132
|
+
<td colspan='5'>二、实际缴款:已安装 {{model.data.marketsettlement1[0].f_apply_count}} 户,未安装 {{model.data.marketsettlement[0].f_apply_count-model.data.marketsettlement1[0].f_apply_count}} 户,预留 户;</td>
|
|
133
|
+
</tr>
|
|
134
|
+
<tr>
|
|
135
|
+
<td>序号</td>
|
|
136
|
+
<td>已缴款户数</td>
|
|
137
|
+
<td>单价</td>
|
|
138
|
+
<td>小计金额</td>
|
|
139
|
+
<td>备注</td>
|
|
140
|
+
</tr>
|
|
141
|
+
<tr>
|
|
142
|
+
<td>1</td>
|
|
143
|
+
<td>{{model.data.marketsettlement3[0].f_apply_count}}</td>
|
|
144
|
+
<td>{{model.data.marketsettlement3[0].f_unit_price}}</td>
|
|
145
|
+
<td>{{model.data.marketsettlement3[0].f_accumulated_amount}}</td>
|
|
146
|
+
<td></td>
|
|
147
|
+
</tr>
|
|
148
|
+
<tr>
|
|
149
|
+
<td>2</td>
|
|
150
|
+
<td></td>
|
|
151
|
+
<td></td>
|
|
152
|
+
<td></td>
|
|
153
|
+
<td></td>
|
|
154
|
+
</tr>
|
|
155
|
+
<tr>
|
|
156
|
+
<td>3</td>
|
|
157
|
+
<td></td>
|
|
158
|
+
<td></td>
|
|
159
|
+
<td></td>
|
|
160
|
+
<td></td>
|
|
161
|
+
</tr>
|
|
162
|
+
<tr>
|
|
163
|
+
<td>合计</td>
|
|
164
|
+
<td>{{model.data.marketsettlement3[0].f_apply_count}}</td>
|
|
165
|
+
<td></td>
|
|
166
|
+
<td>{{model.data.marketsettlement3[0].f_accumulated_amount}}</td>
|
|
167
|
+
<td></td>
|
|
168
|
+
</tr>
|
|
169
|
+
<tr>
|
|
170
|
+
<td rowspan="5" colspan="2">
|
|
171
|
+
<br> <br>
|
|
172
|
+
<p style="text-align: center">备注</p>
|
|
173
|
+
<br> <br>
|
|
174
|
+
</td>
|
|
175
|
+
<td rowspan="5" colspan="3"> <br> <br> <br> <br> </td>
|
|
176
|
+
</tr>
|
|
177
|
+
</tbody>
|
|
178
|
+
<tfoot>
|
|
179
|
+
<tr style="text-align: left">
|
|
180
|
+
<th colspan='5'>以上数据双方确认无误后签字盖章/按手印。</th>
|
|
181
|
+
</tr>
|
|
182
|
+
<tr style="text-align: left">
|
|
183
|
+
<th colspan='2'>甲方签字(盖章):</th>
|
|
184
|
+
<th colspan='3'>乙方签字(盖章):</th>
|
|
185
|
+
</tr>
|
|
186
|
+
<tr>
|
|
187
|
+
<th colspan='5' style="text-align: right">对账日期:{{this.$login.toStandardDateString()}}</th>
|
|
188
|
+
</tr>
|
|
189
|
+
</tfoot>
|
|
190
|
+
</table>
|
|
191
|
+
{{{ $parent.reportStr}}}
|
|
192
|
+
</div>
|
|
193
|
+
</criteria-paged>
|
|
194
|
+
<modal :show.sync="show" v-ref:modal small backdrop="false">
|
|
195
|
+
<header slot="modal-header" class="modal-header">
|
|
196
|
+
<h4 class="modal-title">输入文件名称</h4>
|
|
197
|
+
</header>
|
|
198
|
+
<article slot="modal-body" class="modal-body">
|
|
199
|
+
<div class="form-group">
|
|
200
|
+
<input type="text" class="form-control" v-model="filename" placeholder='保存的文件名'>
|
|
201
|
+
</div>
|
|
202
|
+
</article>
|
|
203
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
204
|
+
<button v-show="show" type="button" class="btn btn-default" @click='close'>取消</button>
|
|
205
|
+
<button v-show="show" type="button" class="btn btn-success" @click='confirm(filename)'>确认</button>
|
|
206
|
+
</footer>
|
|
207
|
+
</modal>
|
|
208
|
+
</div>
|
|
209
|
+
</template>
|
|
210
|
+
|
|
211
|
+
<script>
|
|
212
|
+
import {DataModel, HttpResetClass} from 'vue-client'
|
|
213
|
+
import co from 'co'
|
|
214
|
+
let saveFile = function * (self) {
|
|
215
|
+
// 线验证文件是否重名
|
|
216
|
+
let count = yield self.$resetpost('rs/sql/manageSingleTable',
|
|
217
|
+
{data: {tablename: 't_report_record', condition: `f_files_name = '${self.filename}'`}},
|
|
218
|
+
{resolveMsg: null, rejectMsg: null})
|
|
219
|
+
if (count.data.length > 0) {
|
|
220
|
+
self.$showAlert('无法保存,文件名重名', 'warning', 3000)
|
|
221
|
+
return
|
|
222
|
+
}
|
|
223
|
+
let saveBack = yield self.$resetpost('rs/logic/saveReport', {f_files_content: self.$refs.paged.$els.handcollect.innerHTML,
|
|
224
|
+
f_files_name: self.filename, f_files_type: self.data.f_report_type, f_component_name: 'manage-bus-summary',
|
|
225
|
+
f_operator: this.$login.f.name, f_query_month: `${self.model.model.startDate}-${self.model.model.endDate}`,
|
|
226
|
+
f_outlets: this.$login.f.depname})
|
|
227
|
+
if (saveBack.data.status === 'succeed') {
|
|
228
|
+
self.show = false
|
|
229
|
+
self.filename = ''
|
|
230
|
+
// 后台保存完成,通知刷新
|
|
231
|
+
self.$dispatch('save-success', self.filename)
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
export default {
|
|
235
|
+
title: '市场结算报表',
|
|
236
|
+
props: ['data'],
|
|
237
|
+
data () {
|
|
238
|
+
return {
|
|
239
|
+
printTime: this.$login.toStandardTimeString(),
|
|
240
|
+
depresid: [],
|
|
241
|
+
userresid: [],
|
|
242
|
+
f_orgid: this.$login.f.orgid,
|
|
243
|
+
f_depid: this.$login.f.depids,
|
|
244
|
+
f_operatorid: this.$login.f.id,
|
|
245
|
+
operatorid: [],
|
|
246
|
+
depid: [],
|
|
247
|
+
orgname: '',
|
|
248
|
+
depname: '',
|
|
249
|
+
operatorname: '',
|
|
250
|
+
orgCondtionStr: '1=1',
|
|
251
|
+
model: new DataModel('rs/logic/getMarketSettlement', {f_orgid: 'this.model.f_orgid'}),
|
|
252
|
+
reportStr: null,
|
|
253
|
+
show: false
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
async ready () {
|
|
257
|
+
this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
|
|
258
|
+
this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
|
|
259
|
+
this.$refs.paged.$refs.criteria.search()
|
|
260
|
+
console.log(this.$login.f)
|
|
261
|
+
},
|
|
262
|
+
methods: {
|
|
263
|
+
searchData () {
|
|
264
|
+
this.$refs.paged.$refs.criteria.search()
|
|
265
|
+
},
|
|
266
|
+
selfSearch (args) {
|
|
267
|
+
this.printTime = this.$login.toStandardTimeString()
|
|
268
|
+
let orgcondition = 'a.f_orgid = ' + this.f_orgid
|
|
269
|
+
// if (this.f_depid[0]) {
|
|
270
|
+
// orgcondition += ' and f_depid = ' + this.f_depid
|
|
271
|
+
// }
|
|
272
|
+
// if(this.f_operatorid[0]) {
|
|
273
|
+
// orgcondition += ' and f_operatorid = ' + this.f_operatorid
|
|
274
|
+
// }
|
|
275
|
+
this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
|
|
276
|
+
this.$refs.paged.search(args)
|
|
277
|
+
},
|
|
278
|
+
getRes (obj) {
|
|
279
|
+
this.orgname = obj.res[0]
|
|
280
|
+
this.depresid = obj.resids
|
|
281
|
+
this.f_orgid = obj.resids
|
|
282
|
+
},
|
|
283
|
+
getdep (obj, val) {
|
|
284
|
+
// this.depname = val[0]
|
|
285
|
+
this.userresid = obj
|
|
286
|
+
this.f_depid = obj
|
|
287
|
+
},
|
|
288
|
+
getuser ( obj, val) {
|
|
289
|
+
this.operatorname = val[0]
|
|
290
|
+
this.f_operatorid = obj
|
|
291
|
+
},
|
|
292
|
+
|
|
293
|
+
// 根据文件路径获取储存的报表内容
|
|
294
|
+
getFileContent (path) {
|
|
295
|
+
this.$resetpost('rs/logic/getReportFileContent', {f_files_path: path}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
296
|
+
this.reportStr = res.data.filecontent
|
|
297
|
+
this.model.state = '正确'
|
|
298
|
+
})
|
|
299
|
+
},
|
|
300
|
+
confirm () {
|
|
301
|
+
if (!this.filename || this.filename === '') {
|
|
302
|
+
this.$showAlert('无法保存,文件名不能为空', 'warning', 3000)
|
|
303
|
+
}
|
|
304
|
+
let saveGen = saveFile(this)
|
|
305
|
+
co(saveGen)
|
|
306
|
+
},
|
|
307
|
+
close () {
|
|
308
|
+
this.show = false
|
|
309
|
+
},
|
|
310
|
+
// 将报表保存成文件
|
|
311
|
+
confirmReport () {
|
|
312
|
+
this.show = true
|
|
313
|
+
this.filename = this.data.f_report_name + this.$login.toStandardDateString()
|
|
314
|
+
},
|
|
315
|
+
},
|
|
316
|
+
watch: {
|
|
317
|
+
'data' (val) {
|
|
318
|
+
if (val.f_files_path) {
|
|
319
|
+
this.getFileContent(val.f_files_path)
|
|
320
|
+
} else {
|
|
321
|
+
this.reportStr = null
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
},
|
|
325
|
+
computed: {
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
</script>
|
|
329
|
+
<style scoped>
|
|
330
|
+
.noborder{
|
|
331
|
+
border: none;
|
|
332
|
+
}
|
|
333
|
+
.center{
|
|
334
|
+
text-align: center;
|
|
335
|
+
}
|
|
336
|
+
</style>
|