apply-clients 3.3.65 → 3.3.66
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/package.json +1 -1
- package/src/apply.js +2 -0
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +382 -382
- package/src/components/product/Business/BusinessApply.vue +242 -0
- package/src/components/product/Process/Processes/InstallationDetails.vue +2 -0
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +59 -0
package/package.json
CHANGED
package/src/apply.js
CHANGED
|
@@ -84,4 +84,6 @@ export default function () {
|
|
|
84
84
|
|
|
85
85
|
Vue.component('build-order-list', (resolve) => { require(['./components/product/Print/BuildOrder/buildOrderList'], resolve) })
|
|
86
86
|
Vue.component('print-build-order', (resolve) => { require(['./components/product/Print/BuildOrder/printBuildOrder'], resolve) })
|
|
87
|
+
|
|
88
|
+
Vue.component('business-apply', (resolve) => { require(['./components/product/Business/BusinessApply'], resolve) })
|
|
87
89
|
}
|
|
@@ -1,382 +1,382 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<criteria-paged :model="model" v-ref:cp>
|
|
3
|
-
<criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
|
|
4
|
-
<div class="form-horizontal select-overspread container-fluid auto" partial>
|
|
5
|
-
<div class="row">
|
|
6
|
-
<div class="form-group col-sm-3">
|
|
7
|
-
<label class="font_normal_body">组织机构:</label>
|
|
8
|
-
<res-select
|
|
9
|
-
restype='organization'
|
|
10
|
-
:initresid='$parent.$parent.curorgid'
|
|
11
|
-
@res-select="$parent.$parent.getorg"
|
|
12
|
-
:is-mul="false"
|
|
13
|
-
></res-select>
|
|
14
|
-
</div>
|
|
15
|
-
<div class="form-group col-sm-3">
|
|
16
|
-
<label for="startDate" class="font_normal_body">开始时间:</label>
|
|
17
|
-
<datepicker id="startDate" placeholder="开始日期"
|
|
18
|
-
style="width: 60%!important;"
|
|
19
|
-
v-model="model.startDate"
|
|
20
|
-
:value.sync="model.startDate"
|
|
21
|
-
:format="'yyyy-MM-dd 00:00:00'"
|
|
22
|
-
:show-reset-button="true"
|
|
23
|
-
condition="cr.f_charge_date >= '{}'">
|
|
24
|
-
</datepicker>
|
|
25
|
-
</div>
|
|
26
|
-
<div class="form-group col-sm-3">
|
|
27
|
-
<label for="endDate" class="font_normal_body">结束时间:</label>
|
|
28
|
-
<datepicker id="endDate" placeholder="结束日期"
|
|
29
|
-
style="width: 60%!important;"
|
|
30
|
-
v-model="model.endDate"
|
|
31
|
-
:value.sync="model.endDate"
|
|
32
|
-
:format="'yyyy-MM-dd 23:59:59'"
|
|
33
|
-
:show-reset-button="true"
|
|
34
|
-
condition="cr.f_charge_date <= '{}'">
|
|
35
|
-
</datepicker>
|
|
36
|
-
</div>
|
|
37
|
-
<div class="form-group col-sm-3 button-range">
|
|
38
|
-
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
39
|
-
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
40
|
-
<export-excel :data="$parent.$parent.getCondition"
|
|
41
|
-
:field="$parent.$parent.getfield"
|
|
42
|
-
sqlurl="rs/logic/applyExportfile"
|
|
43
|
-
sql-name="getApplyCharge"
|
|
44
|
-
template-name='收费记录信息导出'
|
|
45
|
-
:choose-col="true"></export-excel>
|
|
46
|
-
<div
|
|
47
|
-
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
48
|
-
@click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
|
|
49
|
-
class="button_spacing"
|
|
50
|
-
style="float: right">
|
|
51
|
-
</div>
|
|
52
|
-
</div>
|
|
53
|
-
</div>
|
|
54
|
-
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
55
|
-
<div class="form-group col-sm-3">
|
|
56
|
-
<label class="font_normal_body">工程编号:</label>
|
|
57
|
-
<input type="text" style="width: 60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
|
|
58
|
-
v-on:keyup.enter="$parent.$parent.search()"
|
|
59
|
-
condition="a.f_apply_num = '{}'">
|
|
60
|
-
</div>
|
|
61
|
-
<div class="form-group col-sm-3">
|
|
62
|
-
<label class="font_normal_body">合同编号:</label>
|
|
63
|
-
<input type="text" style="width: 60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
|
|
64
|
-
v-on:keyup.enter="$parent.$parent.search()"
|
|
65
|
-
condition="a.f_contract_number = '{}'">
|
|
66
|
-
</div>
|
|
67
|
-
<div class="form-group col-sm-3">
|
|
68
|
-
<label class="font_normal_body">报建类型:</label>
|
|
69
|
-
<v-select
|
|
70
|
-
v-model="model.f_apply_type"
|
|
71
|
-
placeholder='请选择'
|
|
72
|
-
condition="a.f_apply_type = '{}'"
|
|
73
|
-
:value.sync="model.f_apply_type"
|
|
74
|
-
:options='$parent.$parent.applytype'
|
|
75
|
-
class="select select_list"
|
|
76
|
-
:value-single="true"
|
|
77
|
-
@change="$parent.$parent.applyTypeChange()"
|
|
78
|
-
close-on-select ></v-select>
|
|
79
|
-
</div>
|
|
80
|
-
<div class="form-group col-sm-3">
|
|
81
|
-
<label class="font_normal_body">报建性质:</label>
|
|
82
|
-
<v-select
|
|
83
|
-
v-model="model.f_apply_nature"
|
|
84
|
-
placeholder='报建性质'
|
|
85
|
-
condition="a.f_apply_nature = '{}'"
|
|
86
|
-
:value.sync="model.f_apply_nature"
|
|
87
|
-
:options='$parent.$parent.applyNatures'
|
|
88
|
-
class="select select_list"
|
|
89
|
-
:value-single="true"
|
|
90
|
-
close-on-select ></v-select>
|
|
91
|
-
</div>
|
|
92
|
-
<div class="form-group col-sm-3">
|
|
93
|
-
<label class="font_normal_body">用户名称:</label>
|
|
94
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
95
|
-
v-on:keyup.enter="$parent.$parent.search()" condition="a.f_user_name like '%{}%'" placeholder='用户名称'>
|
|
96
|
-
</div>
|
|
97
|
-
<div class="form-group col-sm-3">
|
|
98
|
-
<label class="font_normal_body">用户电话:</label>
|
|
99
|
-
<input type="text" style="width:60%" class="input_search" placeholder='用户电话' v-model="model.f_phone"
|
|
100
|
-
v-on:keyup.enter="$parent.$parent.search()"
|
|
101
|
-
condition="a.f_phone like '%{}%'">
|
|
102
|
-
</div>
|
|
103
|
-
<div class="form-group col-sm-3">
|
|
104
|
-
<label class="font_normal_body">用户地址:</label>
|
|
105
|
-
<input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
|
|
106
|
-
v-on:keyup.enter="$parent.$parent.search()"
|
|
107
|
-
condition="a.f_address like '%{}%'">
|
|
108
|
-
</div>
|
|
109
|
-
<div class="form-group col-sm-3">
|
|
110
|
-
<label class="font_normal_body">身份证号:</label>
|
|
111
|
-
<input type="text" style="width:60%" class="input_search" placeholder='身份证号' v-model="model.f_idnumber"
|
|
112
|
-
v-on:keyup.enter="$parent.$parent.search()"
|
|
113
|
-
condition="a.f_idnumber like '%{}%'">
|
|
114
|
-
</div>
|
|
115
|
-
<div class="form-group col-sm-3">
|
|
116
|
-
<label class="font_normal_body">缴费编码:</label>
|
|
117
|
-
<input type="text" class="input_search" style="width: 60%" placeholder='缴费编码' v-model="model.f_charge_number"
|
|
118
|
-
v-on:keyup.enter="$parent.$parent.search()"
|
|
119
|
-
condition="cr.f_charge_number like '%{}%'">
|
|
120
|
-
</div>
|
|
121
|
-
<div class="form-group col-sm-3">
|
|
122
|
-
<label class="font_normal_body">付款方式:</label>
|
|
123
|
-
<v-select
|
|
124
|
-
v-model="model.f_payment_method"
|
|
125
|
-
placeholder='请选择'
|
|
126
|
-
condition="cr.f_payment_method = '{}'"
|
|
127
|
-
:value.sync="model.f_payment_method"
|
|
128
|
-
:options='$parent.$parent.paymentMethod'
|
|
129
|
-
class="select select_list"
|
|
130
|
-
:value-single="true"
|
|
131
|
-
close-on-select ></v-select>
|
|
132
|
-
</div>
|
|
133
|
-
<div class="form-group col-sm-3">
|
|
134
|
-
<label class="font_normal_body">流 水 号:</label>
|
|
135
|
-
<input type="text" style="width: 60%" class="input_search" placeholder='流水号' v-model="model.f_payer_number"
|
|
136
|
-
v-on:keyup.enter="$parent.$parent.search()"
|
|
137
|
-
condition="cr.f_payer_number = '{}'">
|
|
138
|
-
</div>
|
|
139
|
-
<div class="form-group col-sm-3">
|
|
140
|
-
<label class="font_normal_body">部  门:</label>
|
|
141
|
-
<res-select
|
|
142
|
-
restype='department'
|
|
143
|
-
:parentresid="$parent.$parent.curorgid"
|
|
144
|
-
:initresid='$parent.$parent.curdepid'
|
|
145
|
-
@res-select="$parent.$parent.getdep"
|
|
146
|
-
:is-mul="true"
|
|
147
|
-
></res-select>
|
|
148
|
-
</div>
|
|
149
|
-
<div class="form-group col-sm-3">
|
|
150
|
-
<label class="font_normal_body">人  员:</label>
|
|
151
|
-
<res-select
|
|
152
|
-
restype='user'
|
|
153
|
-
:parentresid="$parent.$parent.curdepid"
|
|
154
|
-
:initresid='$parent.$parent.curuserid'
|
|
155
|
-
@res-select="$parent.$parent.getuser"
|
|
156
|
-
:is-mul="true"></res-select>
|
|
157
|
-
</div>
|
|
158
|
-
<div class="form-group col-sm-3">
|
|
159
|
-
<label class="font_normal_body">缴费状态:</label>
|
|
160
|
-
<v-select
|
|
161
|
-
v-model="model.f_charge_status"
|
|
162
|
-
placeholder='请选择'
|
|
163
|
-
condition="cr.f_charge_status = '{}'"
|
|
164
|
-
:value.sync="model.f_charge_status"
|
|
165
|
-
:options='$parent.$parent.chargeStatus'
|
|
166
|
-
class="select select_list"
|
|
167
|
-
:value-single="true"
|
|
168
|
-
close-on-select ></v-select>
|
|
169
|
-
</div>
|
|
170
|
-
</div>
|
|
171
|
-
</div>
|
|
172
|
-
</criteria>
|
|
173
|
-
<data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
|
|
174
|
-
<template partial='head'>
|
|
175
|
-
<tr>
|
|
176
|
-
<th style="white-space: nowrap;">序号</th>
|
|
177
|
-
<th style="white-space: nowrap;">工程编号</th>
|
|
178
|
-
<th style="white-space: nowrap;">合同编号</th>
|
|
179
|
-
<th style="white-space: nowrap;">报建类型</th>
|
|
180
|
-
<th style="white-space: nowrap;">报建性质</th>
|
|
181
|
-
<th style="white-space: nowrap;">用户名称</th>
|
|
182
|
-
<th style="white-space: nowrap;">用户电话</th>
|
|
183
|
-
<th style="white-space: nowrap;">用户地址</th>
|
|
184
|
-
<th style="white-space: nowrap;">身份证号</th>
|
|
185
|
-
<th style="white-space: nowrap;">缴费编码</th>
|
|
186
|
-
<th style="white-space: nowrap;">收费金额(退款金额)</th>
|
|
187
|
-
<th style="white-space: nowrap;">付款方式</th>
|
|
188
|
-
<th style="white-space: nowrap;">流水号</th>
|
|
189
|
-
<th style="white-space: nowrap;">收费人员(退款人员)</th>
|
|
190
|
-
<th style="white-space: nowrap;">收费日期(退款日期)</th>
|
|
191
|
-
<th style="white-space: nowrap;">实际收费时间</th>
|
|
192
|
-
<th style="white-space: nowrap;">状态</th>
|
|
193
|
-
</tr>
|
|
194
|
-
</template>
|
|
195
|
-
<template partial='body'>
|
|
196
|
-
<tr >
|
|
197
|
-
<td style="text-align: center;">
|
|
198
|
-
<nobr><font>{{$index+1}}</font></nobr>
|
|
199
|
-
</td>
|
|
200
|
-
<td style="text-align: center;">
|
|
201
|
-
<nobr><font>{{row.f_apply_num}}</font></nobr>
|
|
202
|
-
</td>
|
|
203
|
-
<td style="text-align: center;">
|
|
204
|
-
<nobr><font>{{row.f_contract_number}}</font></nobr>
|
|
205
|
-
</td>
|
|
206
|
-
<td style="text-align: center;">
|
|
207
|
-
<nobr><font>{{row.f_apply_type}}</font></nobr>
|
|
208
|
-
</td>
|
|
209
|
-
<td style="text-align: center;">
|
|
210
|
-
<nobr><font>{{row.f_apply_nature}}</font></nobr>
|
|
211
|
-
</td>
|
|
212
|
-
<td style="text-align: center;">
|
|
213
|
-
<nobr><font>{{row.f_user_name}}</font></nobr>
|
|
214
|
-
</td>
|
|
215
|
-
<td style="text-align: center;">
|
|
216
|
-
<nobr><font>{{row.f_phone}}</font></nobr>
|
|
217
|
-
</td>
|
|
218
|
-
<td style="text-align: center;">
|
|
219
|
-
<nobr><font>{{row.f_address}}</font></nobr>
|
|
220
|
-
</td>
|
|
221
|
-
<td style="text-align: center;">
|
|
222
|
-
<nobr><font>{{row.f_idnumber}}</font></nobr>
|
|
223
|
-
</td>
|
|
224
|
-
<td style="text-align: center;">
|
|
225
|
-
<nobr><font>{{row.f_charge_number}}</font></nobr>
|
|
226
|
-
</td>
|
|
227
|
-
<td style="text-align: center;">
|
|
228
|
-
<nobr><font>{{row.f_charge_money}}</font></nobr>
|
|
229
|
-
</td>
|
|
230
|
-
<td style="text-align: center;">
|
|
231
|
-
<nobr><font>{{row.f_payment_method}}</font></nobr>
|
|
232
|
-
</td>
|
|
233
|
-
<td style="text-align: center;">
|
|
234
|
-
<nobr><font>{{row.f_payer_number}}</font></nobr>
|
|
235
|
-
</td>
|
|
236
|
-
<td style="text-align: center;">
|
|
237
|
-
<nobr><font>{{row.f_charge_collectors}}</font></nobr>
|
|
238
|
-
</td>
|
|
239
|
-
<td style="text-align: center;">
|
|
240
|
-
<nobr><font>{{row.f_charge_date}}</font></nobr>
|
|
241
|
-
</td>
|
|
242
|
-
<td style="text-align: center;">
|
|
243
|
-
<nobr><font>{{row.f_actual_date}}</font></nobr>
|
|
244
|
-
</td>
|
|
245
|
-
<td style="text-align: center;">
|
|
246
|
-
<nobr><font>{{row.f_charge_status}}</font></nobr>
|
|
247
|
-
</td>
|
|
248
|
-
</tr>
|
|
249
|
-
</template>
|
|
250
|
-
</data-grid>
|
|
251
|
-
</criteria-paged>
|
|
252
|
-
</template>
|
|
253
|
-
|
|
254
|
-
<script>
|
|
255
|
-
import {PagedList} from 'vue-client'
|
|
256
|
-
import {HttpResetClass} from 'vue-client'
|
|
257
|
-
import {isEmpty} from "../../Util";
|
|
258
|
-
export default {
|
|
259
|
-
title: '报建收费列表',
|
|
260
|
-
data () {
|
|
261
|
-
return {
|
|
262
|
-
model: new PagedList('rs/sql/getApplyCharge', 30, null, {
|
|
263
|
-
f_charge_money: 0
|
|
264
|
-
}),
|
|
265
|
-
curorgid: [this.$login.f.orgid],
|
|
266
|
-
curdepid: [],
|
|
267
|
-
curuserid: [],
|
|
268
|
-
applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
|
|
269
|
-
applyNatures: [{label: '全部', value: ''}], // 报建性质
|
|
270
|
-
paymentMethod: [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')],
|
|
271
|
-
chargeStatus: [
|
|
272
|
-
{label: '全部', value: ''},
|
|
273
|
-
{label: '有效', value: '有效'},
|
|
274
|
-
{label: '作废', value: '作废'},
|
|
275
|
-
{label: '退款', value: '退款'}
|
|
276
|
-
],
|
|
277
|
-
criteriaShow: false,
|
|
278
|
-
chargeAll: {
|
|
279
|
-
count: 0,
|
|
280
|
-
sum: 0
|
|
281
|
-
},
|
|
282
|
-
getfield: {
|
|
283
|
-
'f_apply_num': '工程编号',
|
|
284
|
-
'f_contract_number': '合同编号',
|
|
285
|
-
'f_apply_type': '报建类型',
|
|
286
|
-
'f_apply_nature': '报建性质',
|
|
287
|
-
'f_user_name': '用户名称',
|
|
288
|
-
'f_phone': '用户电话',
|
|
289
|
-
'f_address': '用户地址',
|
|
290
|
-
'f_idnumber': '身份证号',
|
|
291
|
-
'f_charge_number': '缴费编码',
|
|
292
|
-
'f_charge_money': '收费金额',
|
|
293
|
-
'f_payment_method': '付款方式',
|
|
294
|
-
'f_payer_number': '流水号',
|
|
295
|
-
'f_charge_collectors': '收费人员',
|
|
296
|
-
'f_charge_date': '收费日期',
|
|
297
|
-
'f_actual_date': '实际收费时间',
|
|
298
|
-
'f_charge_status': '状态'
|
|
299
|
-
}
|
|
300
|
-
}
|
|
301
|
-
},
|
|
302
|
-
ready () {
|
|
303
|
-
// 调用查询
|
|
304
|
-
this.search()
|
|
305
|
-
},
|
|
306
|
-
methods: {
|
|
307
|
-
applyTypeChange () {
|
|
308
|
-
if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
|
|
309
|
-
this.applyNatures = isEmpty(this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}性质`)) ? [{label: '全部', value: ''}] : [{label: '全部', value: ''}, ...this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}性质`)]
|
|
310
|
-
} else {
|
|
311
|
-
this.applyNatures = [{label: '全部', value: ''}]
|
|
312
|
-
}
|
|
313
|
-
},
|
|
314
|
-
clear () {
|
|
315
|
-
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
316
|
-
this.$refs.cp.$refs.cri.model[key] = ''
|
|
317
|
-
})
|
|
318
|
-
this.curdepid = []
|
|
319
|
-
this.curuserid = []
|
|
320
|
-
},
|
|
321
|
-
searchCondition (args) {
|
|
322
|
-
args.condition = args.condition + ` and cr.f_orgid in (${this.curorgid})`
|
|
323
|
-
if (this.curdepid.length > 0) {
|
|
324
|
-
args.condition = args.condition + ` and cr.f_depid in (${this.curdepid})`
|
|
325
|
-
}
|
|
326
|
-
if (this.curuserid.length > 0) {
|
|
327
|
-
args.condition = args.condition + ` and cr.f_charge_collectors_id in (${this.curuserid})`
|
|
328
|
-
}
|
|
329
|
-
this.model.search(args.condition, args.model)
|
|
330
|
-
},
|
|
331
|
-
// 查询
|
|
332
|
-
search () {
|
|
333
|
-
this.$refs.cp.$refs.cri.search()
|
|
334
|
-
this.getChargeAll()
|
|
335
|
-
},
|
|
336
|
-
async getChargeAll () {
|
|
337
|
-
let http = new HttpResetClass()
|
|
338
|
-
let data = {
|
|
339
|
-
condition: this.model.condition
|
|
340
|
-
}
|
|
341
|
-
let res = await http.load('POST', 'rs/sql/getChargeAll', {data: data}, {resolveMsg: null, rejectMsg: null})
|
|
342
|
-
|
|
343
|
-
this.chargeAll = res.data[0]
|
|
344
|
-
},
|
|
345
|
-
getuser (val) {
|
|
346
|
-
if (val.length <= 0) {
|
|
347
|
-
return
|
|
348
|
-
}
|
|
349
|
-
this.curuserid = val
|
|
350
|
-
this.search()
|
|
351
|
-
},
|
|
352
|
-
getdep (val) {
|
|
353
|
-
if (val.length <= 0) {
|
|
354
|
-
return
|
|
355
|
-
}
|
|
356
|
-
this.curdepid = val
|
|
357
|
-
this.curuserid = []
|
|
358
|
-
this.search()
|
|
359
|
-
},
|
|
360
|
-
getorg (val) {
|
|
361
|
-
if (val.length <= 0) {
|
|
362
|
-
return
|
|
363
|
-
}
|
|
364
|
-
this.curorgid = val
|
|
365
|
-
this.curdepid = []
|
|
366
|
-
this.curuserid = []
|
|
367
|
-
this.search()
|
|
368
|
-
},
|
|
369
|
-
|
|
370
|
-
},
|
|
371
|
-
computed: {
|
|
372
|
-
getCondition () {
|
|
373
|
-
return {
|
|
374
|
-
condition: this.model.condition
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
}
|
|
378
|
-
}
|
|
379
|
-
</script>
|
|
380
|
-
|
|
381
|
-
<style scoped>
|
|
382
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<criteria-paged :model="model" v-ref:cp>
|
|
3
|
+
<criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
|
|
4
|
+
<div class="form-horizontal select-overspread container-fluid auto" partial>
|
|
5
|
+
<div class="row">
|
|
6
|
+
<div class="form-group col-sm-3">
|
|
7
|
+
<label class="font_normal_body">组织机构:</label>
|
|
8
|
+
<res-select
|
|
9
|
+
restype='organization'
|
|
10
|
+
:initresid='$parent.$parent.curorgid'
|
|
11
|
+
@res-select="$parent.$parent.getorg"
|
|
12
|
+
:is-mul="false"
|
|
13
|
+
></res-select>
|
|
14
|
+
</div>
|
|
15
|
+
<div class="form-group col-sm-3">
|
|
16
|
+
<label for="startDate" class="font_normal_body">开始时间:</label>
|
|
17
|
+
<datepicker id="startDate" placeholder="开始日期"
|
|
18
|
+
style="width: 60%!important;"
|
|
19
|
+
v-model="model.startDate"
|
|
20
|
+
:value.sync="model.startDate"
|
|
21
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
22
|
+
:show-reset-button="true"
|
|
23
|
+
condition="cr.f_charge_date >= '{}'">
|
|
24
|
+
</datepicker>
|
|
25
|
+
</div>
|
|
26
|
+
<div class="form-group col-sm-3">
|
|
27
|
+
<label for="endDate" class="font_normal_body">结束时间:</label>
|
|
28
|
+
<datepicker id="endDate" placeholder="结束日期"
|
|
29
|
+
style="width: 60%!important;"
|
|
30
|
+
v-model="model.endDate"
|
|
31
|
+
:value.sync="model.endDate"
|
|
32
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
33
|
+
:show-reset-button="true"
|
|
34
|
+
condition="cr.f_charge_date <= '{}'">
|
|
35
|
+
</datepicker>
|
|
36
|
+
</div>
|
|
37
|
+
<div class="form-group col-sm-3 button-range">
|
|
38
|
+
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
39
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
40
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
41
|
+
:field="$parent.$parent.getfield"
|
|
42
|
+
sqlurl="rs/logic/applyExportfile"
|
|
43
|
+
sql-name="getApplyCharge"
|
|
44
|
+
template-name='收费记录信息导出'
|
|
45
|
+
:choose-col="true"></export-excel>
|
|
46
|
+
<div
|
|
47
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
48
|
+
@click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
|
|
49
|
+
class="button_spacing"
|
|
50
|
+
style="float: right">
|
|
51
|
+
</div>
|
|
52
|
+
</div>
|
|
53
|
+
</div>
|
|
54
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
55
|
+
<div class="form-group col-sm-3">
|
|
56
|
+
<label class="font_normal_body">工程编号:</label>
|
|
57
|
+
<input type="text" style="width: 60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
|
|
58
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
59
|
+
condition="a.f_apply_num = '{}'">
|
|
60
|
+
</div>
|
|
61
|
+
<div class="form-group col-sm-3">
|
|
62
|
+
<label class="font_normal_body">合同编号:</label>
|
|
63
|
+
<input type="text" style="width: 60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
|
|
64
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
65
|
+
condition="a.f_contract_number = '{}'">
|
|
66
|
+
</div>
|
|
67
|
+
<div class="form-group col-sm-3">
|
|
68
|
+
<label class="font_normal_body">报建类型:</label>
|
|
69
|
+
<v-select
|
|
70
|
+
v-model="model.f_apply_type"
|
|
71
|
+
placeholder='请选择'
|
|
72
|
+
condition="a.f_apply_type = '{}'"
|
|
73
|
+
:value.sync="model.f_apply_type"
|
|
74
|
+
:options='$parent.$parent.applytype'
|
|
75
|
+
class="select select_list"
|
|
76
|
+
:value-single="true"
|
|
77
|
+
@change="$parent.$parent.applyTypeChange()"
|
|
78
|
+
close-on-select ></v-select>
|
|
79
|
+
</div>
|
|
80
|
+
<div class="form-group col-sm-3">
|
|
81
|
+
<label class="font_normal_body">报建性质:</label>
|
|
82
|
+
<v-select
|
|
83
|
+
v-model="model.f_apply_nature"
|
|
84
|
+
placeholder='报建性质'
|
|
85
|
+
condition="a.f_apply_nature = '{}'"
|
|
86
|
+
:value.sync="model.f_apply_nature"
|
|
87
|
+
:options='$parent.$parent.applyNatures'
|
|
88
|
+
class="select select_list"
|
|
89
|
+
:value-single="true"
|
|
90
|
+
close-on-select ></v-select>
|
|
91
|
+
</div>
|
|
92
|
+
<div class="form-group col-sm-3">
|
|
93
|
+
<label class="font_normal_body">用户名称:</label>
|
|
94
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
95
|
+
v-on:keyup.enter="$parent.$parent.search()" condition="a.f_user_name like '%{}%'" placeholder='用户名称'>
|
|
96
|
+
</div>
|
|
97
|
+
<div class="form-group col-sm-3">
|
|
98
|
+
<label class="font_normal_body">用户电话:</label>
|
|
99
|
+
<input type="text" style="width:60%" class="input_search" placeholder='用户电话' v-model="model.f_phone"
|
|
100
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
101
|
+
condition="a.f_phone like '%{}%'">
|
|
102
|
+
</div>
|
|
103
|
+
<div class="form-group col-sm-3">
|
|
104
|
+
<label class="font_normal_body">用户地址:</label>
|
|
105
|
+
<input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
|
|
106
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
107
|
+
condition="a.f_address like '%{}%'">
|
|
108
|
+
</div>
|
|
109
|
+
<div class="form-group col-sm-3">
|
|
110
|
+
<label class="font_normal_body">身份证号:</label>
|
|
111
|
+
<input type="text" style="width:60%" class="input_search" placeholder='身份证号' v-model="model.f_idnumber"
|
|
112
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
113
|
+
condition="a.f_idnumber like '%{}%'">
|
|
114
|
+
</div>
|
|
115
|
+
<div class="form-group col-sm-3">
|
|
116
|
+
<label class="font_normal_body">缴费编码:</label>
|
|
117
|
+
<input type="text" class="input_search" style="width: 60%" placeholder='缴费编码' v-model="model.f_charge_number"
|
|
118
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
119
|
+
condition="cr.f_charge_number like '%{}%'">
|
|
120
|
+
</div>
|
|
121
|
+
<div class="form-group col-sm-3">
|
|
122
|
+
<label class="font_normal_body">付款方式:</label>
|
|
123
|
+
<v-select
|
|
124
|
+
v-model="model.f_payment_method"
|
|
125
|
+
placeholder='请选择'
|
|
126
|
+
condition="cr.f_payment_method = '{}'"
|
|
127
|
+
:value.sync="model.f_payment_method"
|
|
128
|
+
:options='$parent.$parent.paymentMethod'
|
|
129
|
+
class="select select_list"
|
|
130
|
+
:value-single="true"
|
|
131
|
+
close-on-select ></v-select>
|
|
132
|
+
</div>
|
|
133
|
+
<div class="form-group col-sm-3">
|
|
134
|
+
<label class="font_normal_body">流 水 号:</label>
|
|
135
|
+
<input type="text" style="width: 60%" class="input_search" placeholder='流水号' v-model="model.f_payer_number"
|
|
136
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
137
|
+
condition="cr.f_payer_number = '{}'">
|
|
138
|
+
</div>
|
|
139
|
+
<div class="form-group col-sm-3">
|
|
140
|
+
<label class="font_normal_body">部  门:</label>
|
|
141
|
+
<res-select
|
|
142
|
+
restype='department'
|
|
143
|
+
:parentresid="$parent.$parent.curorgid"
|
|
144
|
+
:initresid='$parent.$parent.curdepid'
|
|
145
|
+
@res-select="$parent.$parent.getdep"
|
|
146
|
+
:is-mul="true"
|
|
147
|
+
></res-select>
|
|
148
|
+
</div>
|
|
149
|
+
<div class="form-group col-sm-3">
|
|
150
|
+
<label class="font_normal_body">人  员:</label>
|
|
151
|
+
<res-select
|
|
152
|
+
restype='user'
|
|
153
|
+
:parentresid="$parent.$parent.curdepid"
|
|
154
|
+
:initresid='$parent.$parent.curuserid'
|
|
155
|
+
@res-select="$parent.$parent.getuser"
|
|
156
|
+
:is-mul="true"></res-select>
|
|
157
|
+
</div>
|
|
158
|
+
<div class="form-group col-sm-3">
|
|
159
|
+
<label class="font_normal_body">缴费状态:</label>
|
|
160
|
+
<v-select
|
|
161
|
+
v-model="model.f_charge_status"
|
|
162
|
+
placeholder='请选择'
|
|
163
|
+
condition="cr.f_charge_status = '{}'"
|
|
164
|
+
:value.sync="model.f_charge_status"
|
|
165
|
+
:options='$parent.$parent.chargeStatus'
|
|
166
|
+
class="select select_list"
|
|
167
|
+
:value-single="true"
|
|
168
|
+
close-on-select ></v-select>
|
|
169
|
+
</div>
|
|
170
|
+
</div>
|
|
171
|
+
</div>
|
|
172
|
+
</criteria>
|
|
173
|
+
<data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
|
|
174
|
+
<template partial='head'>
|
|
175
|
+
<tr>
|
|
176
|
+
<th style="white-space: nowrap;">序号</th>
|
|
177
|
+
<th style="white-space: nowrap;">工程编号</th>
|
|
178
|
+
<th style="white-space: nowrap;">合同编号</th>
|
|
179
|
+
<th style="white-space: nowrap;">报建类型</th>
|
|
180
|
+
<th style="white-space: nowrap;">报建性质</th>
|
|
181
|
+
<th style="white-space: nowrap;">用户名称</th>
|
|
182
|
+
<th style="white-space: nowrap;">用户电话</th>
|
|
183
|
+
<th style="white-space: nowrap;">用户地址</th>
|
|
184
|
+
<th style="white-space: nowrap;">身份证号</th>
|
|
185
|
+
<th style="white-space: nowrap;">缴费编码</th>
|
|
186
|
+
<th style="white-space: nowrap;">收费金额(退款金额)</th>
|
|
187
|
+
<th style="white-space: nowrap;">付款方式</th>
|
|
188
|
+
<th style="white-space: nowrap;">流水号</th>
|
|
189
|
+
<th style="white-space: nowrap;">收费人员(退款人员)</th>
|
|
190
|
+
<th style="white-space: nowrap;">收费日期(退款日期)</th>
|
|
191
|
+
<th style="white-space: nowrap;">实际收费时间</th>
|
|
192
|
+
<th style="white-space: nowrap;">状态</th>
|
|
193
|
+
</tr>
|
|
194
|
+
</template>
|
|
195
|
+
<template partial='body'>
|
|
196
|
+
<tr >
|
|
197
|
+
<td style="text-align: center;">
|
|
198
|
+
<nobr><font>{{$index+1}}</font></nobr>
|
|
199
|
+
</td>
|
|
200
|
+
<td style="text-align: center;">
|
|
201
|
+
<nobr><font>{{row.f_apply_num}}</font></nobr>
|
|
202
|
+
</td>
|
|
203
|
+
<td style="text-align: center;">
|
|
204
|
+
<nobr><font>{{row.f_contract_number}}</font></nobr>
|
|
205
|
+
</td>
|
|
206
|
+
<td style="text-align: center;">
|
|
207
|
+
<nobr><font>{{row.f_apply_type}}</font></nobr>
|
|
208
|
+
</td>
|
|
209
|
+
<td style="text-align: center;">
|
|
210
|
+
<nobr><font>{{row.f_apply_nature}}</font></nobr>
|
|
211
|
+
</td>
|
|
212
|
+
<td style="text-align: center;">
|
|
213
|
+
<nobr><font>{{row.f_user_name}}</font></nobr>
|
|
214
|
+
</td>
|
|
215
|
+
<td style="text-align: center;">
|
|
216
|
+
<nobr><font>{{row.f_phone}}</font></nobr>
|
|
217
|
+
</td>
|
|
218
|
+
<td style="text-align: center;">
|
|
219
|
+
<nobr><font>{{row.f_address}}</font></nobr>
|
|
220
|
+
</td>
|
|
221
|
+
<td style="text-align: center;">
|
|
222
|
+
<nobr><font>{{row.f_idnumber}}</font></nobr>
|
|
223
|
+
</td>
|
|
224
|
+
<td style="text-align: center;">
|
|
225
|
+
<nobr><font>{{row.f_charge_number}}</font></nobr>
|
|
226
|
+
</td>
|
|
227
|
+
<td style="text-align: center;">
|
|
228
|
+
<nobr><font>{{row.f_charge_money}}</font></nobr>
|
|
229
|
+
</td>
|
|
230
|
+
<td style="text-align: center;">
|
|
231
|
+
<nobr><font>{{row.f_payment_method}}</font></nobr>
|
|
232
|
+
</td>
|
|
233
|
+
<td style="text-align: center;">
|
|
234
|
+
<nobr><font>{{row.f_payer_number}}</font></nobr>
|
|
235
|
+
</td>
|
|
236
|
+
<td style="text-align: center;">
|
|
237
|
+
<nobr><font>{{row.f_charge_collectors}}</font></nobr>
|
|
238
|
+
</td>
|
|
239
|
+
<td style="text-align: center;">
|
|
240
|
+
<nobr><font>{{row.f_charge_date}}</font></nobr>
|
|
241
|
+
</td>
|
|
242
|
+
<td style="text-align: center;">
|
|
243
|
+
<nobr><font>{{row.f_actual_date}}</font></nobr>
|
|
244
|
+
</td>
|
|
245
|
+
<td style="text-align: center;">
|
|
246
|
+
<nobr><font>{{row.f_charge_status}}</font></nobr>
|
|
247
|
+
</td>
|
|
248
|
+
</tr>
|
|
249
|
+
</template>
|
|
250
|
+
</data-grid>
|
|
251
|
+
</criteria-paged>
|
|
252
|
+
</template>
|
|
253
|
+
|
|
254
|
+
<script>
|
|
255
|
+
import {PagedList} from 'vue-client'
|
|
256
|
+
import {HttpResetClass} from 'vue-client'
|
|
257
|
+
import {isEmpty} from "../../Util";
|
|
258
|
+
export default {
|
|
259
|
+
title: '报建收费列表',
|
|
260
|
+
data () {
|
|
261
|
+
return {
|
|
262
|
+
model: new PagedList('rs/sql/getApplyCharge', 30, null, {
|
|
263
|
+
f_charge_money: 0
|
|
264
|
+
}),
|
|
265
|
+
curorgid: [this.$login.f.orgid],
|
|
266
|
+
curdepid: [],
|
|
267
|
+
curuserid: [],
|
|
268
|
+
applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
|
|
269
|
+
applyNatures: [{label: '全部', value: ''}], // 报建性质
|
|
270
|
+
paymentMethod: [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')],
|
|
271
|
+
chargeStatus: [
|
|
272
|
+
{label: '全部', value: ''},
|
|
273
|
+
{label: '有效', value: '有效'},
|
|
274
|
+
{label: '作废', value: '作废'},
|
|
275
|
+
{label: '退款', value: '退款'}
|
|
276
|
+
],
|
|
277
|
+
criteriaShow: false,
|
|
278
|
+
chargeAll: {
|
|
279
|
+
count: 0,
|
|
280
|
+
sum: 0
|
|
281
|
+
},
|
|
282
|
+
getfield: {
|
|
283
|
+
'f_apply_num': '工程编号',
|
|
284
|
+
'f_contract_number': '合同编号',
|
|
285
|
+
'f_apply_type': '报建类型',
|
|
286
|
+
'f_apply_nature': '报建性质',
|
|
287
|
+
'f_user_name': '用户名称',
|
|
288
|
+
'f_phone': '用户电话',
|
|
289
|
+
'f_address': '用户地址',
|
|
290
|
+
'f_idnumber': '身份证号',
|
|
291
|
+
'f_charge_number': '缴费编码',
|
|
292
|
+
'f_charge_money': '收费金额',
|
|
293
|
+
'f_payment_method': '付款方式',
|
|
294
|
+
'f_payer_number': '流水号',
|
|
295
|
+
'f_charge_collectors': '收费人员',
|
|
296
|
+
'f_charge_date': '收费日期',
|
|
297
|
+
'f_actual_date': '实际收费时间',
|
|
298
|
+
'f_charge_status': '状态'
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
},
|
|
302
|
+
ready () {
|
|
303
|
+
// 调用查询
|
|
304
|
+
this.search()
|
|
305
|
+
},
|
|
306
|
+
methods: {
|
|
307
|
+
applyTypeChange () {
|
|
308
|
+
if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
|
|
309
|
+
this.applyNatures = isEmpty(this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}性质`)) ? [{label: '全部', value: ''}] : [{label: '全部', value: ''}, ...this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}性质`)]
|
|
310
|
+
} else {
|
|
311
|
+
this.applyNatures = [{label: '全部', value: ''}]
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
clear () {
|
|
315
|
+
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
316
|
+
this.$refs.cp.$refs.cri.model[key] = ''
|
|
317
|
+
})
|
|
318
|
+
this.curdepid = []
|
|
319
|
+
this.curuserid = []
|
|
320
|
+
},
|
|
321
|
+
searchCondition (args) {
|
|
322
|
+
args.condition = args.condition + ` and cr.f_orgid in (${this.curorgid})`
|
|
323
|
+
if (this.curdepid.length > 0) {
|
|
324
|
+
args.condition = args.condition + ` and cr.f_depid in (${this.curdepid})`
|
|
325
|
+
}
|
|
326
|
+
if (this.curuserid.length > 0) {
|
|
327
|
+
args.condition = args.condition + ` and cr.f_charge_collectors_id in (${this.curuserid})`
|
|
328
|
+
}
|
|
329
|
+
this.model.search(args.condition, args.model)
|
|
330
|
+
},
|
|
331
|
+
// 查询
|
|
332
|
+
search () {
|
|
333
|
+
this.$refs.cp.$refs.cri.search()
|
|
334
|
+
this.getChargeAll()
|
|
335
|
+
},
|
|
336
|
+
async getChargeAll () {
|
|
337
|
+
let http = new HttpResetClass()
|
|
338
|
+
let data = {
|
|
339
|
+
condition: this.model.condition
|
|
340
|
+
}
|
|
341
|
+
let res = await http.load('POST', 'rs/sql/getChargeAll', {data: data}, {resolveMsg: null, rejectMsg: null})
|
|
342
|
+
|
|
343
|
+
this.chargeAll = res.data[0]
|
|
344
|
+
},
|
|
345
|
+
getuser (val) {
|
|
346
|
+
if (val.length <= 0) {
|
|
347
|
+
return
|
|
348
|
+
}
|
|
349
|
+
this.curuserid = val
|
|
350
|
+
this.search()
|
|
351
|
+
},
|
|
352
|
+
getdep (val) {
|
|
353
|
+
if (val.length <= 0) {
|
|
354
|
+
return
|
|
355
|
+
}
|
|
356
|
+
this.curdepid = val
|
|
357
|
+
this.curuserid = []
|
|
358
|
+
this.search()
|
|
359
|
+
},
|
|
360
|
+
getorg (val) {
|
|
361
|
+
if (val.length <= 0) {
|
|
362
|
+
return
|
|
363
|
+
}
|
|
364
|
+
this.curorgid = val
|
|
365
|
+
this.curdepid = []
|
|
366
|
+
this.curuserid = []
|
|
367
|
+
this.search()
|
|
368
|
+
},
|
|
369
|
+
|
|
370
|
+
},
|
|
371
|
+
computed: {
|
|
372
|
+
getCondition () {
|
|
373
|
+
return {
|
|
374
|
+
condition: this.model.condition
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
</script>
|
|
380
|
+
|
|
381
|
+
<style scoped>
|
|
382
|
+
</style>
|
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex-row">
|
|
3
|
+
<div class="basic-main">
|
|
4
|
+
<criteria-paged :model="model" v-ref:cp>
|
|
5
|
+
<criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
|
|
6
|
+
<div class="form-horizontal select-overspread container-fluid auto" partial>
|
|
7
|
+
<div class="row">
|
|
8
|
+
<div class="form-group col-sm-3">
|
|
9
|
+
<label class="font_normal_body">组织机构:</label>
|
|
10
|
+
<res-select
|
|
11
|
+
restype='organization'
|
|
12
|
+
:initresid='$parent.$parent.curorgid'
|
|
13
|
+
@res-select="$parent.$parent.getorg"
|
|
14
|
+
:is-mul="false"
|
|
15
|
+
></res-select>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="form-group col-sm-3">
|
|
18
|
+
<label class="font_normal_body">工程编号:</label>
|
|
19
|
+
<input type="text" style="width: 60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
|
|
20
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
21
|
+
condition="a.f_apply_num = '{}'">
|
|
22
|
+
</div>
|
|
23
|
+
<div class="form-group col-sm-3">
|
|
24
|
+
<label class="font_normal_body">用 户 号:</label>
|
|
25
|
+
<input type="text" style="width: 60%" class="input_search" placeholder='用户号' v-model="model.f_userinfo_code"
|
|
26
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
27
|
+
condition="ui.f_userinfo_code = '{}'">
|
|
28
|
+
</div>
|
|
29
|
+
<div class="form-group col-sm-3 button-range">
|
|
30
|
+
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
31
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
32
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
33
|
+
:field="$parent.$parent.getfield"
|
|
34
|
+
sqlurl="rs/logic/applyExportfile"
|
|
35
|
+
sql-name="getBusinessApply"
|
|
36
|
+
template-name='工商业报建情况导出'
|
|
37
|
+
:choose-col="true"></export-excel>
|
|
38
|
+
<div
|
|
39
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
40
|
+
@click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
|
|
41
|
+
class="button_spacing"
|
|
42
|
+
style="float: right">
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
45
|
+
</div>
|
|
46
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
47
|
+
<div class="form-group col-sm-3">
|
|
48
|
+
<label class="font_normal_body">用 户 名:</label>
|
|
49
|
+
<input type="text" style="width: 60%" class="input_search" placeholder='用户名' v-model="model.f_user_name"
|
|
50
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
51
|
+
condition="ui.f_user_name = '{}'">
|
|
52
|
+
</div>
|
|
53
|
+
<div class="form-group col-sm-3">
|
|
54
|
+
<label class="font_normal_body">联系电话:</label>
|
|
55
|
+
<input type="text" style="width: 60%" class="input_search" placeholder='联系电话' v-model="model.f_user_phone"
|
|
56
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
57
|
+
condition="ui.f_user_phone = '{}'">
|
|
58
|
+
</div>
|
|
59
|
+
<div class="form-group col-sm-3">
|
|
60
|
+
<label class="font_normal_body">地  址:</label>
|
|
61
|
+
<input type="text" style="width: 60%" class="input_search" placeholder='地址' v-model="model.f_address"
|
|
62
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
63
|
+
condition="ua.f_address like '%{}%'">
|
|
64
|
+
</div>
|
|
65
|
+
</div>
|
|
66
|
+
</div>
|
|
67
|
+
</criteria>
|
|
68
|
+
<data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
|
|
69
|
+
<template partial='head'>
|
|
70
|
+
<tr>
|
|
71
|
+
<th style="white-space: nowrap;">序号</th>
|
|
72
|
+
<th style="white-space: nowrap;">工程编号</th>
|
|
73
|
+
<th style="white-space: nowrap;">用户名</th>
|
|
74
|
+
<th style="white-space: nowrap;">用户号</th>
|
|
75
|
+
<th style="white-space: nowrap;">联系电话</th>
|
|
76
|
+
<th style="white-space: nowrap;">地址</th>
|
|
77
|
+
<th style="white-space: nowrap;">报装类型</th>
|
|
78
|
+
<th style="white-space: nowrap;">报装时间</th>
|
|
79
|
+
<th style="white-space: nowrap;">发展人员</th>
|
|
80
|
+
<th style="white-space: nowrap;">安装时间</th>
|
|
81
|
+
<th style="white-space: nowrap;">安装人员</th>
|
|
82
|
+
<th style="white-space: nowrap;">表品牌</th>
|
|
83
|
+
<th style="white-space: nowrap;">表类型</th>
|
|
84
|
+
<th style="white-space: nowrap;">表型号</th>
|
|
85
|
+
<th style="white-space: nowrap;">表缸号</th>
|
|
86
|
+
<th style="white-space: nowrap;">表卡号</th>
|
|
87
|
+
<th style="white-space: nowrap;">预算价格</th>
|
|
88
|
+
<th style="white-space: nowrap;">预算时间</th>
|
|
89
|
+
<th style="white-space: nowrap;">设计人员</th>
|
|
90
|
+
<th style="white-space: nowrap;">交款金额</th>
|
|
91
|
+
<th style="white-space: nowrap;">交款时间</th>
|
|
92
|
+
<th style="white-space: nowrap;">出图时间</th>
|
|
93
|
+
</tr>
|
|
94
|
+
</template>
|
|
95
|
+
<template partial='body'>
|
|
96
|
+
<tr >
|
|
97
|
+
<td style="text-align: center;">
|
|
98
|
+
<nobr><font>{{$index+1}}</font></nobr>
|
|
99
|
+
</td>
|
|
100
|
+
<td style="text-align: center;">
|
|
101
|
+
<nobr><font>{{row.f_apply_num}}</font></nobr>
|
|
102
|
+
</td>
|
|
103
|
+
<td style="text-align: center;">
|
|
104
|
+
<nobr><font>{{row.f_user_name}}</font></nobr>
|
|
105
|
+
</td>
|
|
106
|
+
<td style="text-align: center;">
|
|
107
|
+
<nobr><font>{{row.f_userinfo_code}}</font></nobr>
|
|
108
|
+
</td>
|
|
109
|
+
<td style="text-align: center;">
|
|
110
|
+
<nobr><font>{{row.f_user_phone}}</font></nobr>
|
|
111
|
+
</td>
|
|
112
|
+
<td style="text-align: center;">
|
|
113
|
+
<nobr><font>{{row.f_address}}</font></nobr>
|
|
114
|
+
</td>
|
|
115
|
+
<td style="text-align: center;">
|
|
116
|
+
<nobr><font>{{row.f_apply_type}}</font></nobr>
|
|
117
|
+
</td>
|
|
118
|
+
<td style="text-align: center;">
|
|
119
|
+
<nobr><font>{{row.f_apply_date}}</font></nobr>
|
|
120
|
+
</td>
|
|
121
|
+
<td style="text-align: center;">
|
|
122
|
+
<nobr><font>{{row.f_operator}}</font></nobr>
|
|
123
|
+
</td>
|
|
124
|
+
<td style="text-align: center;">
|
|
125
|
+
<nobr><font>{{row.f_install_date}}</font></nobr>
|
|
126
|
+
</td>
|
|
127
|
+
<td style="text-align: center;">
|
|
128
|
+
<nobr><font>{{row.f_install_person}}</font></nobr>
|
|
129
|
+
</td>
|
|
130
|
+
<td style="text-align: center;">
|
|
131
|
+
<nobr><font>{{row.f_meter_brand}}</font></nobr>
|
|
132
|
+
</td>
|
|
133
|
+
<td style="text-align: center;">
|
|
134
|
+
<nobr><font>{{row.f_meter_classify}}</font></nobr>
|
|
135
|
+
</td>
|
|
136
|
+
<td style="text-align: center;">
|
|
137
|
+
<nobr><font>{{row.f_meter_style}}</font></nobr>
|
|
138
|
+
</td>
|
|
139
|
+
<td style="text-align: center;">
|
|
140
|
+
<nobr><font>{{row.f_metertitles}}</font></nobr>
|
|
141
|
+
</td>
|
|
142
|
+
<td style="text-align: center;">
|
|
143
|
+
<nobr><font>{{row.f_meternumber}}</font></nobr>
|
|
144
|
+
</td>
|
|
145
|
+
<td style="text-align: center;">
|
|
146
|
+
<nobr><font>{{row.f_budget_money}}</font></nobr>
|
|
147
|
+
</td>
|
|
148
|
+
<td style="text-align: center;">
|
|
149
|
+
<nobr><font>{{row.finishtime}}</font></nobr>
|
|
150
|
+
</td>
|
|
151
|
+
<td style="text-align: center;">
|
|
152
|
+
<nobr><font>{{row.f_designer_people}}</font></nobr>
|
|
153
|
+
</td>
|
|
154
|
+
<td style="text-align: center;">
|
|
155
|
+
<nobr><font>{{row.f_cumulative_payment_money}}</font></nobr>
|
|
156
|
+
</td>
|
|
157
|
+
<td style="text-align: center;">
|
|
158
|
+
<nobr><font>{{row.f_charge_date}}</font></nobr>
|
|
159
|
+
</td>
|
|
160
|
+
<td style="text-align: center;">
|
|
161
|
+
<nobr><font>{{row.f_drawing_time}}</font></nobr>
|
|
162
|
+
</td>
|
|
163
|
+
</tr>
|
|
164
|
+
</template>
|
|
165
|
+
</data-grid>
|
|
166
|
+
</criteria-paged>
|
|
167
|
+
</div>
|
|
168
|
+
</div>
|
|
169
|
+
</template>
|
|
170
|
+
|
|
171
|
+
<script>
|
|
172
|
+
import {PagedList} from 'vue-client'
|
|
173
|
+
|
|
174
|
+
export default {
|
|
175
|
+
title: '工商业报建情况',
|
|
176
|
+
data () {
|
|
177
|
+
return {
|
|
178
|
+
model: new PagedList('rs/sql/getBusinessApply', 20, null),
|
|
179
|
+
criteriaShow: false,
|
|
180
|
+
curorgid: [this.$login.f.orgid],
|
|
181
|
+
getfield: {
|
|
182
|
+
'f_apply_num': '工程编号',
|
|
183
|
+
'f_user_name': '用户名',
|
|
184
|
+
'f_userinfo_code': '用户号',
|
|
185
|
+
'f_user_phone': '联系电话',
|
|
186
|
+
'f_address': '地址',
|
|
187
|
+
'f_apply_type': '报装类型',
|
|
188
|
+
'f_apply_date': '报装时间',
|
|
189
|
+
'f_operator': '发展人员',
|
|
190
|
+
'f_install_date': '安装时间',
|
|
191
|
+
'f_install_person': '安装人员',
|
|
192
|
+
'f_meter_brand': '表品牌',
|
|
193
|
+
'f_meter_classify': '表类型',
|
|
194
|
+
'f_meter_style': '表型号',
|
|
195
|
+
'f_metertitles': '表缸号',
|
|
196
|
+
'f_meternumber': '表卡号',
|
|
197
|
+
'f_budget_money': '预算价格',
|
|
198
|
+
'finishtime': '预算时间',
|
|
199
|
+
'f_designer_people': '设计人员',
|
|
200
|
+
'f_cumulative_payment_money': '交款金额',
|
|
201
|
+
'f_charge_date': '交款时间',
|
|
202
|
+
'f_drawing_time': '出图时间'
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
ready () {
|
|
207
|
+
this.search()
|
|
208
|
+
},
|
|
209
|
+
methods: {
|
|
210
|
+
searchCondition (args) {
|
|
211
|
+
args.condition = args.condition + ` and a.f_orgid = '${this.curorgid}'`
|
|
212
|
+
this.model.search(args.condition, args.model)
|
|
213
|
+
},
|
|
214
|
+
// 查询
|
|
215
|
+
search () {
|
|
216
|
+
this.$refs.cp.$refs.cri.search()
|
|
217
|
+
},
|
|
218
|
+
clear () {
|
|
219
|
+
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
220
|
+
this.$refs.cp.$refs.cri.model[key] = null
|
|
221
|
+
})
|
|
222
|
+
},
|
|
223
|
+
getorg (val) {
|
|
224
|
+
if (val.length <= 0) {
|
|
225
|
+
return
|
|
226
|
+
}
|
|
227
|
+
this.curorgid = val
|
|
228
|
+
this.search()
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
computed: {
|
|
232
|
+
getCondition () {
|
|
233
|
+
return {
|
|
234
|
+
condition: this.model.condition
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
</script>
|
|
240
|
+
|
|
241
|
+
<style scoped>
|
|
242
|
+
</style>
|
|
@@ -359,6 +359,34 @@
|
|
|
359
359
|
}
|
|
360
360
|
}
|
|
361
361
|
},
|
|
362
|
+
disabledButtons(...buttons) {
|
|
363
|
+
for (const item of this.show_data.buttons) {
|
|
364
|
+
if (buttons.includes(item.button_name)) {
|
|
365
|
+
item.disabled = true
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
},
|
|
369
|
+
enableButtons(...buttons) {
|
|
370
|
+
for (const item of this.show_data.buttons) {
|
|
371
|
+
if (buttons.includes(item.button_name)) {
|
|
372
|
+
item.disabled = false
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
},
|
|
376
|
+
showButtons(...buttons) {
|
|
377
|
+
for (const item of this.show_data.buttons) {
|
|
378
|
+
if (buttons.includes(item.button_name)) {
|
|
379
|
+
item.hidden = false
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
},
|
|
383
|
+
hideButtons(...buttons) {
|
|
384
|
+
for (const item of this.show_data.buttons) {
|
|
385
|
+
if (buttons.includes(item.button_name)) {
|
|
386
|
+
item.hidden = true
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
},
|
|
362
390
|
async checkDuplicate(index) {
|
|
363
391
|
let http = new HttpResetClass()
|
|
364
392
|
let data = {
|
|
@@ -496,9 +524,40 @@
|
|
|
496
524
|
return true
|
|
497
525
|
}
|
|
498
526
|
return false
|
|
527
|
+
},
|
|
528
|
+
async getDesignerPeople () {
|
|
529
|
+
let data = {
|
|
530
|
+
source: 'this.getParentByType($organization$).getChildByName($设计部报装$).getChildren()',
|
|
531
|
+
userid: this.$login.f.id
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
let http = new HttpResetClass()
|
|
535
|
+
let res = await http.load(
|
|
536
|
+
'POST',
|
|
537
|
+
`rs/search`,
|
|
538
|
+
{data: data},
|
|
539
|
+
{resolveMsg: null, rejectMsg: '设计人员查询失败!!!'}
|
|
540
|
+
)
|
|
541
|
+
|
|
542
|
+
return res.data.map(item => {
|
|
543
|
+
return {
|
|
544
|
+
label: item.name,
|
|
545
|
+
value: item.id
|
|
546
|
+
}
|
|
547
|
+
})
|
|
499
548
|
}
|
|
500
549
|
},
|
|
501
550
|
events:{
|
|
551
|
+
'complyInstallation' (index) {
|
|
552
|
+
if (this.show_data.f_is_have === '否') {
|
|
553
|
+
this.hideButtons('提交', '出图', '缴费')
|
|
554
|
+
this.showButtons('终止')
|
|
555
|
+
}
|
|
556
|
+
if (this.show_data.f_is_have === '是') {
|
|
557
|
+
this.hideButtons('终止')
|
|
558
|
+
this.showButtons('提交', '出图', '缴费')
|
|
559
|
+
}
|
|
560
|
+
},
|
|
502
561
|
// 选择材料
|
|
503
562
|
async materialNameChenge (index, fieldIndex) {
|
|
504
563
|
let material = this.show_data.onetomany[index].fields[fieldIndex].value
|