apply-clients 3.5.4-7 → 3.5.4-72
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 +7 -11
- package/package.json +2 -2
- package/src/App.vue +25 -25
- package/src/apply.js +2 -3
- package/src/applyAndroid.js +2 -0
- package/src/assets//344/270/213/350/275/275.png +0 -0
- package/src/components/android/AppCheckTakePic.vue +168 -0
- package/src/components/android/Process/AppServiceControl.vue +4 -0
- package/src/components/android/Process/Processes/AppAddMaterialScience.vue +493 -493
- package/src/components/android/Process/Processes/AppChargeManagementNew.vue +637 -0
- package/src/components/android/Process/Processes/AppInstallationDetails.vue +480 -480
- package/src/components/image/dxf.png +0 -0
- package/src/components/product/Function/Service/FunctionServiceControl.vue +1 -1
- package/src/components/product/Material/MaterialDetailed.vue +1 -1
- package/src/components/product/MaterialsManage/MaterialsBase.vue +5 -1
- package/src/components/product/MaterialsManage/MaterialsManage.vue +2 -2
- package/src/components/product/PcZhihuanManagement.vue +160 -0
- package/src/components/product/Process/ExplorationSelect.vue +4 -1
- package/src/components/product/Process/ExplorationUser.vue +1 -0
- package/src/components/product/Process/Processes/addMaterialScience.vue +471 -471
- package/src/components/product/Process/Processes/chargeManagement.vue +1 -1
- package/src/components/product/ServiceView.vue +22 -1
- package/src/components/product/Supervisory/SupervisoryControl.vue +141 -140
- package/src/components/product/Supervisory/SupervisoryList.vue +452 -452
- package/src/filiale/baiyin/android/AppServiceControl.vue +1762 -0
- package/src/filiale/baiyin/android/ByAddMaterialScience.vue +823 -0
- package/src/filiale/baiyin/android/ByDeviceManagement.vue +916 -0
- package/src/filiale/baiyin/android.js +8 -0
- package/src/filiale/fugou/android/AppAddMaterialScience.vue +442 -0
- package/src/filiale/fugou/android/AppChargeManagement.vue +126 -12
- package/src/filiale/fugou/android/AppDevicesManagement.vue +519 -0
- package/src/filiale/fugou/android/AppInstallationDetails.vue +541 -0
- package/src/filiale/fugou/android/AppServiceControl.vue +21 -4
- package/src/filiale/fugou/android/AppZhihuanManagement.vue +191 -0
- package/src/filiale/fugou/android.js +6 -1
- package/src/filiale/fugou/pc/ExplorationSelect.vue +515 -0
- package/src/filiale/fugou/pc/InstallationDetails.vue +44 -32
- package/src/filiale/fugou/pc/ServiceControl.vue +124 -379
- package/src/filiale/fugou/pc/addMaterialScience.vue +482 -0
- package/src/filiale/fugou/pc/devicesManagement.vue +483 -0
- package/src/filiale/fugou/pc.js +4 -1
- package/src/filiale/gongyi/android/AppAddMaterialScience.vue +20 -8
- package/src/filiale/gongyi/android/AppDisclosurerecord.vue +214 -0
- package/src/filiale/gongyi/android/AppInstallationDetails.vue +15 -10
- package/src/filiale/gongyi/android/AppLegacyIssues.vue +309 -0
- package/src/filiale/gongyi/android/AppSign.vue +16 -3
- package/src/filiale/gongyi/android/AppSupplementalAgreement.vue +298 -0
- package/src/filiale/gongyi/android.js +3 -0
- package/src/filiale/gongyi/pc/ApplyUpload.vue +31 -39
- package/src/filiale/gongyi/pc/PcAddLogs.vue +12 -4
- package/src/filiale/gongyi/pc/PcDisclosurerecord.vue +218 -0
- package/src/filiale/gongyi/pc/PcLegacyIssues.vue +309 -0
- package/src/filiale/gongyi/pc/SupervisoryServiceControl.vue +1 -1
- package/src/filiale/gongyi/pc/SupervisoryServiceView.vue +1005 -0
- package/src/filiale/gongyi/pc/addMaterialScience.vue +43 -7
- package/src/filiale/gongyi/pc/chargeManagement.vue +765 -0
- package/src/filiale/gongyi/pc/supplementalAgreement.vue +277 -0
- package/src/filiale/gongyi/pc.js +6 -1
- package/src/filiale/hongda/pc/SupervisoryList.vue +13 -0
- package/src/filiale/jinhuang/pc/ServiceControl.vue +1925 -0
- package/src/filiale/jinhuang/pc/chargeManagementNew.vue +589 -0
- package/src/filiale/jinhuang/pc.js +7 -0
- package/src/filiale/qianneng/android/AppChargeManagement.vue +686 -0
- package/src/filiale/qianneng/android/AppExplorationUser.vue +38 -0
- package/src/filiale/qianneng/android/AppInstallationDetails.vue +20 -11
- package/src/filiale/qianneng/android.js +2 -1
- package/src/filiale/qianneng/pc/ApplyUpload.vue +5 -4
- package/src/filiale/qianneng/pc/Applybatchdispatch.vue +11 -6
- package/src/filiale/qianneng/pc/Applydetail.vue +0 -5
- package/src/filiale/qianneng/pc/InstallFunction.vue +2 -2
- package/src/filiale/qianneng/pc/InstallationDetails.vue +32 -4
- package/src/filiale/qianneng/pc/ServiceControl.vue +1 -0
- package/src/filiale/qianneng/pc/printactivatecard.vue +6 -6
- package/src/filiale/ruihua/pc/InstallationDetails.vue +610 -610
- package/src/filiale/ruihua/pc/ServiceControl.vue +20 -0
- package/src/filiale/ruihua/pc/printVentilation.vue +21 -6
- package/src/filiale/ruihua/pc.js +12 -12
- package/src/filiale/shexian/android/AppServiceControl.vue +12 -2
- package/src/filiale/shexian/android/AppTakePic.vue +15 -55
- package/src/filiale/siyangRH/android/AppAddMaterialScience.vue +0 -2
- package/src/filiale/siyangRH/pc/chargeManagement.vue +810 -0
- package/src/filiale/siyangRH/pc.js +1 -0
- package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +16 -1
- package/src/filiale/yangchunboneng/android/AppDevicesManagement.vue +32 -2
- package/src/filiale/yangchunboneng/android/AppExplorationUser.vue +518 -506
- package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +1083 -1092
- package/src/filiale/yangchunboneng/android/AppServiceControl.vue +34 -1
- package/src/filiale/yangchunboneng/android/AppSuperServiceControl.vue +1524 -1524
- package/src/filiale/yangchunboneng/android/AppUpload.vue +205 -136
- package/src/filiale/yangchunboneng/android/MaterIialOne.vue +156 -144
- package/src/filiale/yangchunboneng/android.js +20 -20
- package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +392 -375
- package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +59 -19
- package/src/filiale/yangchunboneng/pc/ExplorationUser.vue +191 -0
- package/src/filiale/yangchunboneng/pc/InstallInfoSelect.vue +365 -365
- package/src/filiale/yangchunboneng/pc/ServiceControl.vue +206 -2
- package/src/filiale/yangchunboneng/pc/SupervisoryControlNew.vue +142 -0
- package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +590 -535
- package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +628 -0
- package/src/filiale/yangchunboneng/pc/SupervisoryServiceControl.vue +902 -0
- package/src/filiale/yangchunboneng/pc/SupervisoryServiceControlNew.vue +901 -0
- package/src/filiale/yangchunboneng/pc/SupervisoryServiceView.vue +1117 -0
- package/src/filiale/yangchunboneng/pc/chargeManagement.vue +111 -13
- package/src/filiale/yangchunboneng/pc.js +24 -18
- package/src/main.js +1 -1
|
@@ -0,0 +1,810 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="col-sm-12" style="margin: 20px 0px;">
|
|
3
|
+
<data-grid :model="model" v-ref:grid class="list_area table_sy" style="padding: 0px">
|
|
4
|
+
<template partial='head'>
|
|
5
|
+
<tr>
|
|
6
|
+
<th class="textNoLineBreak">序号</th>
|
|
7
|
+
<th class="textNoLineBreak" v-if="selectdata.f_apply_type !== '开发商集体报建'">地址</th>
|
|
8
|
+
<th class="textNoLineBreak">缴费编号</th>
|
|
9
|
+
<th class="textNoLineBreak">收费金额(退款金额)</th>
|
|
10
|
+
<th class="textNoLineBreak">金额大写</th>
|
|
11
|
+
<th class="textNoLineBreak">收费项目</th>
|
|
12
|
+
<th class="textNoLineBreak">付款方式</th>
|
|
13
|
+
<th class="textNoLineBreak">付款方名称</th>
|
|
14
|
+
<th class="textNoLineBreak">付款方账号</th>
|
|
15
|
+
<th class="textNoLineBreak">付款流水号</th>
|
|
16
|
+
<th class="textNoLineBreak">收费人员</th>
|
|
17
|
+
<th class="textNoLineBreak">收费日期</th>
|
|
18
|
+
<th class="textNoLineBreak">实际收费日期</th>
|
|
19
|
+
<th class="textNoLineBreak">备注</th>
|
|
20
|
+
<th class="textNoLineBreak">缴费状态</th>
|
|
21
|
+
<th class="textNoLineBreak">作废人员</th>
|
|
22
|
+
<th class="textNoLineBreak">作废时间</th>
|
|
23
|
+
<th class="textNoLineBreak">作废原因</th>
|
|
24
|
+
<th class="textNoLineBreak">
|
|
25
|
+
<button
|
|
26
|
+
type="button"
|
|
27
|
+
class="btn btn-info head-but"
|
|
28
|
+
@click="$parent.$parent.showChargeModal()"
|
|
29
|
+
:disabled="$parent.$parent.mark === 1 || ($parent.$parent.selectdata.f_cumulative_payment_money >= $parent.$parent.selectdata.f_due_money || $parent.$parent.selectdata.f_surplus_money === 0)"
|
|
30
|
+
>新增收费</button>
|
|
31
|
+
</th>
|
|
32
|
+
</tr>
|
|
33
|
+
</template>
|
|
34
|
+
<template partial='body'>
|
|
35
|
+
<tr>
|
|
36
|
+
<td style="text-align: center;">
|
|
37
|
+
<nobr>{{$index+1}}</nobr>
|
|
38
|
+
</td>
|
|
39
|
+
<td style="text-align: center;" v-if="selectdata.f_apply_type !== '开发商集体报建'">
|
|
40
|
+
<nobr>{{row.f_useraddres}}</nobr>
|
|
41
|
+
</td>
|
|
42
|
+
<td style="text-align: center;">
|
|
43
|
+
<nobr>{{row.f_charge_number}}</nobr>
|
|
44
|
+
</td>
|
|
45
|
+
<td style="text-align: center;">
|
|
46
|
+
<nobr>{{row.f_charge_money}}</nobr>
|
|
47
|
+
</td>
|
|
48
|
+
<td style="text-align: center;">
|
|
49
|
+
<nobr>{{row.f_amount_words}}</nobr>
|
|
50
|
+
</td>
|
|
51
|
+
<td style="text-align: center;">
|
|
52
|
+
<nobr>{{row.f_payment_term}}</nobr>
|
|
53
|
+
</td>
|
|
54
|
+
<td style="text-align: center;">
|
|
55
|
+
<nobr>{{row.f_payment_method}}</nobr>
|
|
56
|
+
</td>
|
|
57
|
+
<td style="text-align: center;">
|
|
58
|
+
<nobr>{{row.f_payer_name}}</nobr>
|
|
59
|
+
</td>
|
|
60
|
+
<td style="text-align: center;">
|
|
61
|
+
<nobr>{{row.f_payer_account}}</nobr>
|
|
62
|
+
</td>
|
|
63
|
+
<td style="text-align: center;">
|
|
64
|
+
<nobr>{{row.f_payer_number}}</nobr>
|
|
65
|
+
</td>
|
|
66
|
+
<td style="text-align: center;">
|
|
67
|
+
<nobr>{{row.f_charge_collectors}}</nobr>
|
|
68
|
+
</td>
|
|
69
|
+
<td style="text-align: center;">
|
|
70
|
+
<nobr>{{row.f_charge_date}}</nobr>
|
|
71
|
+
</td>
|
|
72
|
+
<td style="text-align: center;">
|
|
73
|
+
<nobr>{{row.f_actual_date}}</nobr>
|
|
74
|
+
</td>
|
|
75
|
+
<td style="text-align: center;">
|
|
76
|
+
<nobr>{{row.f_charge_remarks}}</nobr>
|
|
77
|
+
</td>
|
|
78
|
+
<td style="text-align: center;">
|
|
79
|
+
<nobr>{{row.f_charge_status}}</nobr>
|
|
80
|
+
</td>
|
|
81
|
+
<td style="text-align: center;">
|
|
82
|
+
<nobr>{{row.f_void_staff}}</nobr>
|
|
83
|
+
</td>
|
|
84
|
+
<td style="text-align: center;">
|
|
85
|
+
<nobr>{{row.f_void_date}}</nobr>
|
|
86
|
+
</td>
|
|
87
|
+
<td style="text-align: center;">
|
|
88
|
+
<nobr>{{row.f_void_remarks}}</nobr>
|
|
89
|
+
</td>
|
|
90
|
+
<td style="text-align: center;">
|
|
91
|
+
<nobr v-if="row.f_charge_status !== '退款'">
|
|
92
|
+
<button
|
|
93
|
+
type="button"
|
|
94
|
+
name="button"
|
|
95
|
+
class="btn btn-link"
|
|
96
|
+
:disabled="$parent.$parent.mark === 1 || row.f_charge_status === '作废'"
|
|
97
|
+
@click="$parent.$parent.showInvalidModal(row)"
|
|
98
|
+
>作废</button>
|
|
99
|
+
|
|
100
|
+
<button
|
|
101
|
+
type="button"
|
|
102
|
+
name="button"
|
|
103
|
+
class="btn btn-link"
|
|
104
|
+
@click="$parent.$parent.showPrintModal(row)"
|
|
105
|
+
>打印预览</button>
|
|
106
|
+
</nobr>
|
|
107
|
+
</td>
|
|
108
|
+
</tr>
|
|
109
|
+
</template>
|
|
110
|
+
</data-grid>
|
|
111
|
+
|
|
112
|
+
<validator name="v">
|
|
113
|
+
<modal v-if="showCharge" :show.sync="showCharge" v-ref:modal :large="true" :backdrop="false" title="收费明细">
|
|
114
|
+
<header slot="modal-header" class="modal-header">
|
|
115
|
+
<button type="button" class="close" @click="closeModal"><span>×</span></button>
|
|
116
|
+
<h4 class="modal-title">收费明细</h4>
|
|
117
|
+
</header>
|
|
118
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
119
|
+
<div class="form-group col-sm-12" v-if="false" :class="[$v.useraddres.required ? 'has-error' : '']">
|
|
120
|
+
<label class="col-sm-2 control-label">缴费地址:</label>
|
|
121
|
+
<div class="col-sm-10">
|
|
122
|
+
<input type="text" v-show="false" v-model="charge.useraddres.id" v-validate:useraddres = "['required']" >
|
|
123
|
+
<input-select width="100%" class="select select_list" placeholder='请选择'
|
|
124
|
+
v-model="charge.useraddres"
|
|
125
|
+
:value.sync="charge.useraddres"
|
|
126
|
+
:options='useraddresList'
|
|
127
|
+
:value-single="true"
|
|
128
|
+
@change="selectAddres()"
|
|
129
|
+
close-on-select ></input-select>
|
|
130
|
+
</div>
|
|
131
|
+
</div>
|
|
132
|
+
<div class="form-group col-sm-12" :class="[$v.f_payment_term.required ? 'has-error' : '']">
|
|
133
|
+
<label class="col-sm-2 control-label">收费项目:</label>
|
|
134
|
+
<div class="col-sm-10">
|
|
135
|
+
<input type="text" v-show="false" v-model="charge.f_payment_term" v-validate:f_payment_term = "['required']" >
|
|
136
|
+
<input-select width="100%" class="select select_list" placeholder='请选择'
|
|
137
|
+
v-model="charge.f_payment_term"
|
|
138
|
+
:value.sync="charge.f_payment_term"
|
|
139
|
+
:options='paymentTerm'
|
|
140
|
+
:value-single="true"
|
|
141
|
+
close-on-select ></input-select>
|
|
142
|
+
</div>
|
|
143
|
+
</div>
|
|
144
|
+
<div class="form-group col-sm-12" :class="[$v.f_charge_money.required ? 'has-error' : '']">
|
|
145
|
+
<label class="col-sm-2 control-label">收费金额:</label>
|
|
146
|
+
<div class="col-sm-10">
|
|
147
|
+
<input type="text"
|
|
148
|
+
class="form-control input_view"
|
|
149
|
+
style="width: 100%"
|
|
150
|
+
placeholder="0.00"
|
|
151
|
+
@keyup="handleInput"
|
|
152
|
+
@change="moneyChange"
|
|
153
|
+
v-validate:f_charge_money = "['required']"
|
|
154
|
+
v-model="charge.f_charge_money" />
|
|
155
|
+
</div>
|
|
156
|
+
</div>
|
|
157
|
+
<div class="form-group col-sm-12" :class="[$v.f_payment_method.required ? 'has-error' : '']">
|
|
158
|
+
<label class="col-sm-2 control-label">付款方式:</label>
|
|
159
|
+
<div class="col-sm-10">
|
|
160
|
+
<input type="text" v-show="false" v-model="charge.f_payment_method" v-validate:f_payment_method = "['required']" >
|
|
161
|
+
<input-select
|
|
162
|
+
placeholder='请选择' width="100%"
|
|
163
|
+
v-model="charge.f_payment_method"
|
|
164
|
+
:value.sync="charge.f_payment_method"
|
|
165
|
+
:options='paymentMethod'
|
|
166
|
+
class="select select_list"
|
|
167
|
+
:value-single="true"
|
|
168
|
+
@change="changePaymentMethod()"
|
|
169
|
+
close-on-select ></input-select>
|
|
170
|
+
</div>
|
|
171
|
+
</div>
|
|
172
|
+
<div class="form-group col-sm-12" v-if="charge.f_payment_method === '银行转账'" :class="[$v.f_payer_name.required ? 'has-error' : '']">
|
|
173
|
+
<label class="col-sm-2 control-label">付款方名称:</label>
|
|
174
|
+
<div class="col-sm-10">
|
|
175
|
+
<input type="text"
|
|
176
|
+
class="form-control input_view"
|
|
177
|
+
style="width: 100%"
|
|
178
|
+
v-validate:f_payer_name = "['required']"
|
|
179
|
+
v-model="charge.f_payer_name" value="" />
|
|
180
|
+
</div>
|
|
181
|
+
</div>
|
|
182
|
+
<div class="form-group col-sm-12" v-if="charge.f_payment_method === '银行转账'" :class="[$v.f_payer_account.required ? 'has-error' : '']">
|
|
183
|
+
<label class="col-sm-2 control-label">付款方账号:</label>
|
|
184
|
+
<div class="col-sm-10">
|
|
185
|
+
<input type="text" style="width: 100%" class="form-control input_view"
|
|
186
|
+
v-validate:f_payer_account = "['required']"
|
|
187
|
+
v-model="charge.f_payer_account" value=""/>
|
|
188
|
+
</div>
|
|
189
|
+
</div>
|
|
190
|
+
<div class="form-group col-sm-12" v-if="charge.f_payment_method === '银行转账'" :class="[$v.f_payer_number.required ? 'has-error' : '']">
|
|
191
|
+
<label class="col-sm-2 control-label">付款流水号:</label>
|
|
192
|
+
<div class="col-sm-10">
|
|
193
|
+
<input type="text"
|
|
194
|
+
class="form-control input_view"
|
|
195
|
+
style="width: 100%" @change="payerNumberChange()"
|
|
196
|
+
v-validate:f_payer_number = "['required']"
|
|
197
|
+
v-model="charge.f_payer_number" value="" />
|
|
198
|
+
</div>
|
|
199
|
+
</div>
|
|
200
|
+
<div class="form-group col-sm-12">
|
|
201
|
+
<label class="col-sm-2 control-label">金额大写:</label>
|
|
202
|
+
<div class="col-sm-10">
|
|
203
|
+
<input type="text"
|
|
204
|
+
class="form-control input_view"
|
|
205
|
+
style="width: 100%"
|
|
206
|
+
:value="smalltoBIG(0)"
|
|
207
|
+
readonly
|
|
208
|
+
v-model.sync="charge.f_amount_words" />
|
|
209
|
+
</div>
|
|
210
|
+
</div>
|
|
211
|
+
<div class="form-group col-sm-12"
|
|
212
|
+
v-if="selectdata.f_apply_type === '散户集体报建'"
|
|
213
|
+
>
|
|
214
|
+
<label class="col-sm-2 control-label">单价(户):</label>
|
|
215
|
+
<div class="col-sm-10">
|
|
216
|
+
<input type="text"
|
|
217
|
+
class="form-control input_view"
|
|
218
|
+
style="width: 100%"
|
|
219
|
+
readonly
|
|
220
|
+
v-model="selectdata.f_price" />
|
|
221
|
+
</div>
|
|
222
|
+
</div>
|
|
223
|
+
<div class="form-group col-sm-12"
|
|
224
|
+
v-if="selectdata.f_apply_type === '散户集体报建'"
|
|
225
|
+
>
|
|
226
|
+
<label class="col-sm-2 control-label">累计缴费金额:</label>
|
|
227
|
+
<div class="col-sm-10">
|
|
228
|
+
<input type="text"
|
|
229
|
+
class="form-control input_view"
|
|
230
|
+
style="width: 100%"
|
|
231
|
+
readonly
|
|
232
|
+
v-model="charge.f_cumulative_payment_money"
|
|
233
|
+
:value="charge.f_cumulative_payment_money || 0" />
|
|
234
|
+
</div>
|
|
235
|
+
</div>
|
|
236
|
+
<div class="form-group col-sm-12"
|
|
237
|
+
v-if="selectdata.f_apply_type === '散户集体报建'"
|
|
238
|
+
>
|
|
239
|
+
<label class="col-sm-2 control-label">未结金额:</label>
|
|
240
|
+
<div class="col-sm-10">
|
|
241
|
+
<input type="text"
|
|
242
|
+
class="form-control input_view"
|
|
243
|
+
style="width: 100%"
|
|
244
|
+
readonly
|
|
245
|
+
v-model="charge.f_outstanding_amount"
|
|
246
|
+
:value="charge.f_outstanding_amount || 0" />
|
|
247
|
+
</div>
|
|
248
|
+
</div>
|
|
249
|
+
<div class="form-group col-sm-12">
|
|
250
|
+
<label class="col-sm-2 control-label">应交总金额:</label>
|
|
251
|
+
<div class="col-sm-10">
|
|
252
|
+
<input type="text"
|
|
253
|
+
class="form-control input_view"
|
|
254
|
+
style="width: 100%"
|
|
255
|
+
readonly
|
|
256
|
+
v-model="selectdata.f_due_money" />
|
|
257
|
+
</div>
|
|
258
|
+
</div>
|
|
259
|
+
<div class="form-group col-sm-12">
|
|
260
|
+
<label class="col-sm-2 control-label">累计缴费总金额:</label>
|
|
261
|
+
<div class="col-sm-10">
|
|
262
|
+
<input type="text"
|
|
263
|
+
class="form-control input_view"
|
|
264
|
+
style="width: 100%"
|
|
265
|
+
readonly
|
|
266
|
+
v-model="selectdata.f_cumulative_payment_money" />
|
|
267
|
+
</div>
|
|
268
|
+
</div>
|
|
269
|
+
<div class="form-group col-sm-12">
|
|
270
|
+
<label class="col-sm-2 control-label">未结总金额:</label>
|
|
271
|
+
<div class="col-sm-10">
|
|
272
|
+
<input type="text"
|
|
273
|
+
class="form-control input_view"
|
|
274
|
+
style="width: 100%"
|
|
275
|
+
readonly
|
|
276
|
+
v-model="selectdata.f_surplus_money" />
|
|
277
|
+
</div>
|
|
278
|
+
</div>
|
|
279
|
+
<div class="form-group col-sm-12">
|
|
280
|
+
<label class="col-sm-2 control-label">备注:</label>
|
|
281
|
+
<div class="col-sm-10">
|
|
282
|
+
<input type="text"
|
|
283
|
+
class="form-control input_view"
|
|
284
|
+
style="width: 100%"
|
|
285
|
+
v-model="charge.f_charge_remarks" />
|
|
286
|
+
</div>
|
|
287
|
+
</div>
|
|
288
|
+
<div class="form-group col-sm-12">
|
|
289
|
+
<label class="col-sm-2 control-label">实际收款时间:</label>
|
|
290
|
+
<div class="col-sm-10">
|
|
291
|
+
<datepicker id="startDate" placeholder="实际收款时间"
|
|
292
|
+
style="width: 60%!important;"
|
|
293
|
+
v-model="charge.f_actual_date"
|
|
294
|
+
:value.sync="charge.f_actual_date"
|
|
295
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
296
|
+
:show-reset-button="true"
|
|
297
|
+
>
|
|
298
|
+
</datepicker>
|
|
299
|
+
</div>
|
|
300
|
+
</div>
|
|
301
|
+
</article>
|
|
302
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
303
|
+
<button type="button" class="btn btn-primary" :disabled='!$v.valid' @click="saveChargeBefore()">新增收费</button>
|
|
304
|
+
</footer>
|
|
305
|
+
</modal>
|
|
306
|
+
</validator>
|
|
307
|
+
|
|
308
|
+
<modal v-if="showInvalid" :show.sync="showInvalid" v-ref:modal :backdrop="false" title="作废收费">
|
|
309
|
+
<header slot="modal-header" class="modal-header">
|
|
310
|
+
<button type="button" class="close" @click="closeModal"><span>×</span></button>
|
|
311
|
+
<h4 class="modal-title">作废收费</h4>
|
|
312
|
+
</header>
|
|
313
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
314
|
+
<div class="form-group col-sm-12" v-if="false">
|
|
315
|
+
<label class="col-sm-2 control-label">缴费地址:</label>
|
|
316
|
+
<div class="col-sm-10">
|
|
317
|
+
<input type="text"
|
|
318
|
+
class="form-control input_view"
|
|
319
|
+
style="width: 100%"
|
|
320
|
+
readonly
|
|
321
|
+
v-model="charge.f_useraddres" />
|
|
322
|
+
</div>
|
|
323
|
+
</div>
|
|
324
|
+
<div class="form-group col-sm-12">
|
|
325
|
+
<label class="col-sm-2 control-label">收费金额:</label>
|
|
326
|
+
<div class="col-sm-10">
|
|
327
|
+
<input type="text"
|
|
328
|
+
class="form-control input_view"
|
|
329
|
+
style="width: 100%"
|
|
330
|
+
readonly
|
|
331
|
+
v-model="charge.f_charge_money" />
|
|
332
|
+
</div>
|
|
333
|
+
</div>
|
|
334
|
+
<div class="form-group col-sm-12">
|
|
335
|
+
<label class="col-sm-2 control-label">付款方式:</label>
|
|
336
|
+
<div class="col-sm-10">
|
|
337
|
+
<input type="text"
|
|
338
|
+
class="form-control input_view"
|
|
339
|
+
style="width: 100%"
|
|
340
|
+
readonly
|
|
341
|
+
v-model="charge.f_payment_method" />
|
|
342
|
+
</div>
|
|
343
|
+
</div>
|
|
344
|
+
<div class="form-group col-sm-12">
|
|
345
|
+
<label class="col-sm-2 control-label">金额大写:</label>
|
|
346
|
+
<div class="col-sm-10">
|
|
347
|
+
<input type="text"
|
|
348
|
+
class="form-control input_view"
|
|
349
|
+
style="width: 100%"
|
|
350
|
+
readonly
|
|
351
|
+
v-model="charge.f_amount_words" />
|
|
352
|
+
</div>
|
|
353
|
+
</div>
|
|
354
|
+
<div class="form-group col-sm-12">
|
|
355
|
+
<label class="col-sm-2 control-label">收费人员:</label>
|
|
356
|
+
<div class="col-sm-10">
|
|
357
|
+
<input type="text"
|
|
358
|
+
class="form-control input_view"
|
|
359
|
+
style="width: 100%"
|
|
360
|
+
readonly
|
|
361
|
+
v-model="charge.f_charge_collectors" />
|
|
362
|
+
</div>
|
|
363
|
+
</div>
|
|
364
|
+
<div class="form-group col-sm-12" :class="charge.f_void_remarks ? '':'has-error'">
|
|
365
|
+
<label class="col-sm-2 control-label">作废原因:</label>
|
|
366
|
+
<div class="col-sm-10">
|
|
367
|
+
<input type="text"
|
|
368
|
+
class="form-control input_view"
|
|
369
|
+
style="width: 100%"
|
|
370
|
+
v-model="charge.f_void_remarks" />
|
|
371
|
+
</div>
|
|
372
|
+
</div>
|
|
373
|
+
</article>
|
|
374
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
375
|
+
<button type="button" class="btn btn-primary" :disabled="!charge.f_void_remarks" @click="invalidApplyCharge()">确认作废</button>
|
|
376
|
+
</footer>
|
|
377
|
+
</modal>
|
|
378
|
+
|
|
379
|
+
<modal v-if="showPrint" :show.sync="showPrint" v-ref:modal :large="true" :backdrop="false" title="打印预览">
|
|
380
|
+
<header slot="modal-header" class="modal-header">
|
|
381
|
+
<button type="button" class="close" @click="closeModal"><span>×</span></button>
|
|
382
|
+
<h4 class="modal-title">打印预览</h4>
|
|
383
|
+
</header>
|
|
384
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
385
|
+
<apply-print-chargepc :selectdata="selectdata" :charge="charge" v-ref:print></apply-print-chargepc>
|
|
386
|
+
</article>
|
|
387
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
388
|
+
<button type="button" class="btn btn-primary" @click="print()">打印</button>
|
|
389
|
+
</footer>
|
|
390
|
+
</modal>
|
|
391
|
+
<modal v-if="showscan" :show.sync="showscan" v-ref:modal :backdrop="false" title="扫码收费">
|
|
392
|
+
<header slot="modal-header" class="modal-header">
|
|
393
|
+
<button type="button" class="close" @click="closeModal1"><span>×</span></button>
|
|
394
|
+
<h4 class="modal-title" style="color: red">请先扫描付款码</h4>
|
|
395
|
+
</header>
|
|
396
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
397
|
+
<div class="form-group col-sm-12" >
|
|
398
|
+
<label class="col-sm-2 control-label">付款码:</label>
|
|
399
|
+
<div class="col-sm-10">
|
|
400
|
+
<input type="text"
|
|
401
|
+
class="form-control input_view"
|
|
402
|
+
style="width: 50%"
|
|
403
|
+
@keydown.enter.prevent
|
|
404
|
+
id="paymentCodeInput"
|
|
405
|
+
v-model="payment.code" />
|
|
406
|
+
</div>
|
|
407
|
+
</div>
|
|
408
|
+
</article>
|
|
409
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
410
|
+
<button type="button" class="btn btn-primary" @click="confirmcharge()">确认</button>
|
|
411
|
+
</footer>
|
|
412
|
+
</modal>
|
|
413
|
+
</div>
|
|
414
|
+
</template>
|
|
415
|
+
<script>
|
|
416
|
+
import {getNowDate,isEmpty} from "../../../components/Util"
|
|
417
|
+
import {PagedList} from 'vue-client'
|
|
418
|
+
import {HttpResetClass} from 'vue-client'
|
|
419
|
+
import Vue from 'vue'
|
|
420
|
+
|
|
421
|
+
export default {
|
|
422
|
+
title: '收费管理',
|
|
423
|
+
props: {
|
|
424
|
+
selectdata: {
|
|
425
|
+
type: Object
|
|
426
|
+
},
|
|
427
|
+
mark: {
|
|
428
|
+
type: Number,
|
|
429
|
+
default: 0
|
|
430
|
+
}
|
|
431
|
+
},
|
|
432
|
+
data () {
|
|
433
|
+
return {
|
|
434
|
+
showscan: false,
|
|
435
|
+
showCharge: false, // 收费明细
|
|
436
|
+
showInvalid: false, // 作废
|
|
437
|
+
showPrint: false, // 打印
|
|
438
|
+
model: {
|
|
439
|
+
data: null
|
|
440
|
+
}, // 记录
|
|
441
|
+
useraddresList: [], // 地址列表
|
|
442
|
+
charge: {
|
|
443
|
+
|
|
444
|
+
},
|
|
445
|
+
payment: {
|
|
446
|
+
devicenum:'',
|
|
447
|
+
code:"",
|
|
448
|
+
money:""
|
|
449
|
+
},
|
|
450
|
+
f_user_id:'',
|
|
451
|
+
f_userfiles_id:'',
|
|
452
|
+
timer: null,
|
|
453
|
+
}
|
|
454
|
+
},
|
|
455
|
+
ready () {
|
|
456
|
+
this.search()
|
|
457
|
+
this.getuserinfo()
|
|
458
|
+
},
|
|
459
|
+
methods: {
|
|
460
|
+
focusInput() {
|
|
461
|
+
this.$nextTick(() => {
|
|
462
|
+
// 获取id为paymentCodeInput的input元素
|
|
463
|
+
var inputElement = document.getElementById('paymentCodeInput');
|
|
464
|
+
// 检查元素是否存在
|
|
465
|
+
if (inputElement) {
|
|
466
|
+
// 将焦点设置到该元素上
|
|
467
|
+
inputElement.click()
|
|
468
|
+
inputElement.focus();
|
|
469
|
+
} else {
|
|
470
|
+
console.error('Element with ID "paymentCodeInput" not found.');
|
|
471
|
+
}
|
|
472
|
+
});
|
|
473
|
+
},
|
|
474
|
+
async payerNumberChange () {
|
|
475
|
+
if (isEmpty(this.charge.f_payer_number)) {
|
|
476
|
+
return
|
|
477
|
+
}
|
|
478
|
+
let http = new HttpResetClass()
|
|
479
|
+
let data = {
|
|
480
|
+
tablename: 't_charge_record',
|
|
481
|
+
condition: `f_payer_number = '${this.charge.f_payer_number}'`
|
|
482
|
+
}
|
|
483
|
+
let res = await http.load('POST', 'rs/sql/apply_singleTable', {data:data}, {
|
|
484
|
+
resolveMsg: null,
|
|
485
|
+
rejectMsg: '流水号查询失败!!!'
|
|
486
|
+
})
|
|
487
|
+
if (res.data.length > 0) {
|
|
488
|
+
this.$showAlert('该流水号已经使用!!!', 'warning', 3000)
|
|
489
|
+
return
|
|
490
|
+
}
|
|
491
|
+
},
|
|
492
|
+
print () {
|
|
493
|
+
this.$refs.print.$refs.print.PrintTable()
|
|
494
|
+
},
|
|
495
|
+
showPrintModal(row) {
|
|
496
|
+
this.charge = row
|
|
497
|
+
this.showPrint = true
|
|
498
|
+
},
|
|
499
|
+
selectAddres () {
|
|
500
|
+
if (this.charge.useraddres) {
|
|
501
|
+
this.charge.f_cumulative_payment_money = this.charge.useraddres.f_cumulative_payment_money
|
|
502
|
+
this.charge.f_outstanding_amount = this.selectdata.f_price - this.charge.useraddres.f_cumulative_payment_money
|
|
503
|
+
} else {
|
|
504
|
+
this.charge.f_cumulative_payment_money = 0
|
|
505
|
+
this.charge.f_outstanding_amount = this.selectdata.f_price
|
|
506
|
+
}
|
|
507
|
+
},
|
|
508
|
+
async invalidApplyCharge() {
|
|
509
|
+
|
|
510
|
+
let http = new HttpResetClass()
|
|
511
|
+
let data = {
|
|
512
|
+
apply: this.selectdata,
|
|
513
|
+
user: this.$login.f,
|
|
514
|
+
charge: this.charge
|
|
515
|
+
}
|
|
516
|
+
let res = await http.load('POST', 'rs/logic/invalidApplyCharge', {data:data}, {
|
|
517
|
+
resolveMsg: null,
|
|
518
|
+
rejectMsg: '作废失败!!!'
|
|
519
|
+
})
|
|
520
|
+
this.selectdata = res.data
|
|
521
|
+
|
|
522
|
+
this.$dispatch('breakControl', this.selectdata)
|
|
523
|
+
},
|
|
524
|
+
|
|
525
|
+
// 打开作废收费
|
|
526
|
+
showInvalidModal(row) {
|
|
527
|
+
this.charge = row
|
|
528
|
+
this.showInvalid = true
|
|
529
|
+
},
|
|
530
|
+
async getuserinfo() {
|
|
531
|
+
let http = new HttpResetClass()
|
|
532
|
+
let data = {
|
|
533
|
+
tablename: 't_userfiles',
|
|
534
|
+
condition: `f_userinfo_id= '${this.selectdata.f_userinfo_id}'`
|
|
535
|
+
}
|
|
536
|
+
let res = await http.load('POST', 'rs/sql/apply_singleTable', {data: data}, {
|
|
537
|
+
resolveMsg: null,
|
|
538
|
+
rejectMsg: '用户信息查询失败!!!'
|
|
539
|
+
})
|
|
540
|
+
this.f_user_id = res.data[0].f_user_id
|
|
541
|
+
this.f_userfiles_id = res.data[0].f_userfiles_id
|
|
542
|
+
},
|
|
543
|
+
async confirmcharge() {
|
|
544
|
+
let equipment = await this.$resetpost('api/af-system/sql/equipmentQuery',
|
|
545
|
+
{data: {condition: `f_equipment_type = 'PC' and f_state = '正常' and f_orgid = '${this.$login.f.orgid}' and f_user_operatorid = '${this.$login.f.id}'`}},
|
|
546
|
+
{resolveMsg: null, rejectMsg: '获取柜台号失败'})
|
|
547
|
+
// console.log('柜台号: ', equipment.data)
|
|
548
|
+
if (equipment.data.length !== 1) {
|
|
549
|
+
this.$showMessage(equipment.data.length ? `获取到多个设备, 请核实! ` : `当前设备没有对应的柜台号, 请核实!}`)
|
|
550
|
+
return
|
|
551
|
+
}
|
|
552
|
+
let http = new HttpResetClass()
|
|
553
|
+
let data = {
|
|
554
|
+
filiale: this.$login.f.dir,
|
|
555
|
+
flag: 'microPayRongHaoJsbc',
|
|
556
|
+
auth_code: this.payment.code,
|
|
557
|
+
money: this.charge.f_charge_money,
|
|
558
|
+
posid:equipment.data[0].f_mac_outlets,
|
|
559
|
+
proinfo: this.charge.f_payment_term+'('+this.selectdata.f_userinfo_id+')',
|
|
560
|
+
f_userinfo_id: this.selectdata.f_userinfo_id? this.selectdata.f_userinfo_id :null,
|
|
561
|
+
f_user_id:this.f_user_id? this.f_user_id:null,
|
|
562
|
+
f_userfiles_id:this.f_userfiles_id? this.f_userfiles_id:null
|
|
563
|
+
}
|
|
564
|
+
debugger
|
|
565
|
+
//发起支付请求
|
|
566
|
+
let res = await http.load('POST', 'weixin2/rs/pay/jsApiPay', {data: data}, {
|
|
567
|
+
resolveMsg: null,
|
|
568
|
+
rejectMsg: '缴费失败!!!'
|
|
569
|
+
})
|
|
570
|
+
if (res.result_msg === '支付确认成功') {
|
|
571
|
+
this.$showAlert('支付确认成功')
|
|
572
|
+
this.this.payment.code=''
|
|
573
|
+
await this.saveCharge()
|
|
574
|
+
this.closeModal()
|
|
575
|
+
this.closeModal1()
|
|
576
|
+
} else if (res.result_msg === '支付确认未知') {
|
|
577
|
+
// 支付结果未知, 根据商户订单号继续查询
|
|
578
|
+
this.$showAlert(`正在查询用户付款状态,请勿进行任何操作,耐心等待,如长时间未响应可手动取消`, 'warning')
|
|
579
|
+
let self = this
|
|
580
|
+
// 启动定时器之前先关闭定时器,防止之前的定时器未关闭
|
|
581
|
+
if (this.timer) {
|
|
582
|
+
this.closeTimer()
|
|
583
|
+
}
|
|
584
|
+
let times = 1
|
|
585
|
+
this.timer = setInterval(async () => {
|
|
586
|
+
times++
|
|
587
|
+
let res1 = await self.$resetpost('weixin2/rs/pay/microPayOrderStatus', res, {resolveMsg: null, rejectMsg: '付款码支付查询出错,'})
|
|
588
|
+
res1 = res1.data
|
|
589
|
+
// 支付成功关闭定时器
|
|
590
|
+
if (res1.result_msg === '支付确认成功') {
|
|
591
|
+
self.$showAlert('支付确认成功')
|
|
592
|
+
await this.saveCharge()
|
|
593
|
+
this.closeModal()
|
|
594
|
+
this.closeModal1()
|
|
595
|
+
this.this.payment.code=''
|
|
596
|
+
self.closeTimer()
|
|
597
|
+
return
|
|
598
|
+
}
|
|
599
|
+
if (res1.result_msg == '支付失败') {
|
|
600
|
+
this.$showAlert(`支付失败, 请提醒用户重新付款`, 'danger')
|
|
601
|
+
this.this.payment.code=''
|
|
602
|
+
this.closeTimer()
|
|
603
|
+
return
|
|
604
|
+
}
|
|
605
|
+
if (times > 24) {
|
|
606
|
+
self.$showAlert(`多次查询未成功,请重新扫描用户付款码`, 'danger')
|
|
607
|
+
this.this.payment.code=''
|
|
608
|
+
self.closeTimer()
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
}, 5000)
|
|
612
|
+
} else {
|
|
613
|
+
this.this.payment.code=''
|
|
614
|
+
this.$showAlert(`${res.result_msg}, 请重新扫描用户付款码`, 'danger')
|
|
615
|
+
}
|
|
616
|
+
},
|
|
617
|
+
// 关闭定时器
|
|
618
|
+
closeTimer () {
|
|
619
|
+
console.log('关闭定时器')
|
|
620
|
+
clearInterval(this.timer)
|
|
621
|
+
this.timer = null
|
|
622
|
+
},
|
|
623
|
+
// 新增收费
|
|
624
|
+
saveChargeBefore(){
|
|
625
|
+
if(this.charge.f_payment_method==='扫码枪'){
|
|
626
|
+
this.showscan=true
|
|
627
|
+
this.payment.code=""
|
|
628
|
+
this.focusInput()
|
|
629
|
+
}else{
|
|
630
|
+
this.saveCharge()
|
|
631
|
+
}
|
|
632
|
+
},
|
|
633
|
+
// 新增收费
|
|
634
|
+
async saveCharge() {
|
|
635
|
+
let http = new HttpResetClass()
|
|
636
|
+
let data = {
|
|
637
|
+
apply: this.selectdata,
|
|
638
|
+
user: this.$login.f,
|
|
639
|
+
charge: this.charge
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
let res = await http.load('POST', 'rs/logic/addApplyChargeRecord', {data:data}, {
|
|
643
|
+
resolveMsg: null,
|
|
644
|
+
rejectMsg: '缴费失败!!!'
|
|
645
|
+
})
|
|
646
|
+
this.selectdata = res.data
|
|
647
|
+
|
|
648
|
+
this.$dispatch('breakControl', this.selectdata)
|
|
649
|
+
},
|
|
650
|
+
moneyChange () {
|
|
651
|
+
if (isEmpty(this.charge.f_charge_money) || Number(this.charge.f_charge_money) === 0) {
|
|
652
|
+
this.$showAlert('单笔收费不能为0元!!!', 'warning', 3000)
|
|
653
|
+
this.charge.f_charge_money = null
|
|
654
|
+
return
|
|
655
|
+
}
|
|
656
|
+
if (this.selectdata.f_apply_type === '散户集体报建' && Number(this.charge.f_charge_money) > Number(this.charge.f_outstanding_amount)) {
|
|
657
|
+
this.$showAlert('单笔收费不能超过未交金额!!!', 'warning', 3000)
|
|
658
|
+
this.charge.f_charge_money = null
|
|
659
|
+
return
|
|
660
|
+
}
|
|
661
|
+
if (Number(this.charge.f_charge_money) > Number(this.selectdata.f_surplus_money)) {
|
|
662
|
+
this.$showAlert('单笔收费不能超过未交总金额!!!', 'warning', 3000)
|
|
663
|
+
this.charge.f_charge_money = null
|
|
664
|
+
return
|
|
665
|
+
}
|
|
666
|
+
},
|
|
667
|
+
// 金额转大写
|
|
668
|
+
handleInput(e) {
|
|
669
|
+
// 通过正则过滤小数点后两位
|
|
670
|
+
e.target.value = (e.target.value.match(/^\d*(\.?\d{0,2})/g)[0]) || null
|
|
671
|
+
this.charge.f_amount_words = this.smalltoBIG(e.target.value)
|
|
672
|
+
},
|
|
673
|
+
// 金额转大写
|
|
674
|
+
smalltoBIG(n) {
|
|
675
|
+
let fraction = ['角', '分'];
|
|
676
|
+
let digit = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖'];
|
|
677
|
+
let unit = [['元', '万', '亿'], ['', '拾', '佰', '仟']];
|
|
678
|
+
let head = n < 0 ? '欠' : '';
|
|
679
|
+
n = Math.abs(n);
|
|
680
|
+
|
|
681
|
+
let s = '';
|
|
682
|
+
|
|
683
|
+
for (var i = 0; i < fraction.length; i++) {
|
|
684
|
+
s += (digit[Math.floor(n * 10 * Math.pow(10, i)) % 10] + fraction[i]).replace(/零./, '');
|
|
685
|
+
}
|
|
686
|
+
s = s || '整';
|
|
687
|
+
n = Math.floor(n);
|
|
688
|
+
|
|
689
|
+
for (var i = 0; i < unit[0].length && n > 0; i++) {
|
|
690
|
+
let p = '';
|
|
691
|
+
for (var j = 0; j < unit[1].length && n > 0; j++) {
|
|
692
|
+
p = digit[n % 10] + unit[1][j] + p;
|
|
693
|
+
n = Math.floor(n / 10);
|
|
694
|
+
}
|
|
695
|
+
s = p.replace(/(零.)*零$/, '').replace(/^$/, '零') + unit[0][i] + s;
|
|
696
|
+
}
|
|
697
|
+
return head + s.replace(/(零.)*零元/, '元').replace(/(零.)+/g, '零').replace(/^整$/, '零元整')
|
|
698
|
+
},
|
|
699
|
+
async changePaymentMethod () {
|
|
700
|
+
if (this.charge.f_payment_method === '银行转账' && this.selectdata.f_apply_type === '团购报建') {
|
|
701
|
+
let http = new HttpResetClass()
|
|
702
|
+
let data = {
|
|
703
|
+
tablename: 't_dev_info',
|
|
704
|
+
condition: `f_orgid = '${this.$login.f.orgid}' and id = '${this.selectdata.f_dev_id}'`
|
|
705
|
+
}
|
|
706
|
+
let res = await http.load('POST', 'rs/sql/apply_singleTable', {data:data}, {
|
|
707
|
+
resolveMsg: null,
|
|
708
|
+
rejectMsg: '开发商档案查询失败!!!'
|
|
709
|
+
})
|
|
710
|
+
|
|
711
|
+
this.charge.f_payer_name = res.data[0].f_dev_name
|
|
712
|
+
this.charge.f_payer_account = res.data[0].f_bank_account
|
|
713
|
+
}
|
|
714
|
+
},
|
|
715
|
+
async getUserAddress() {
|
|
716
|
+
let http = new HttpResetClass()
|
|
717
|
+
let data = {}
|
|
718
|
+
let url = null
|
|
719
|
+
if (this.selectdata.f_apply_type === '改管报建' || this.selectdata.f_apply_type === '增容报建' || this.selectdata.f_apply_type === '报警器报建' || this.selectdata.f_apply_type === '工商业报警器报建') {
|
|
720
|
+
data = {
|
|
721
|
+
condition: `ui.f_userinfo_id = ${this.selectdata.f_userinfo_id}`
|
|
722
|
+
}
|
|
723
|
+
url = 'rs/sql/applyGetUserinfos'
|
|
724
|
+
} else {
|
|
725
|
+
data = {
|
|
726
|
+
condition: this.selectdata.f_apply_type === '散户集体报建' ? `nvl(cr.f_cumulative_payment_money, 0) < ${this.selectdata.f_price}` : '1=1',
|
|
727
|
+
f_process_id: this.selectdata.f_process_id
|
|
728
|
+
}
|
|
729
|
+
url = 'rs/sql/getAddresAndCumulativePayment'
|
|
730
|
+
}
|
|
731
|
+
let res = await http.load('POST', url, {data:data}, {
|
|
732
|
+
resolveMsg: null,
|
|
733
|
+
rejectMsg: '用户获取失败!!!'
|
|
734
|
+
})
|
|
735
|
+
|
|
736
|
+
if (res.data.length <= 0) {
|
|
737
|
+
this.$showAlert('暂无需要缴费用户!!!', 'warning', 3000)
|
|
738
|
+
}
|
|
739
|
+
|
|
740
|
+
this.useraddresList = res.data.map(item => {
|
|
741
|
+
return {
|
|
742
|
+
// 有用户姓名地址后拼接姓名
|
|
743
|
+
label: `${item.f_address} ${isEmpty(item.f_user_name) ? '' : '--- ' + item.f_user_name}`,
|
|
744
|
+
value: item
|
|
745
|
+
}
|
|
746
|
+
})
|
|
747
|
+
|
|
748
|
+
},
|
|
749
|
+
async showChargeModal() {
|
|
750
|
+
this.getUserAddress()
|
|
751
|
+
|
|
752
|
+
if (this.selectdata.f_apply_type === '团购报建') {
|
|
753
|
+
this.charge.f_dev_info_id = this.selectdata.f_dev_id
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
this.showCharge = true
|
|
757
|
+
},
|
|
758
|
+
async search () {
|
|
759
|
+
let http = new HttpResetClass()
|
|
760
|
+
let data = {
|
|
761
|
+
// condition: `cr.f_charge_status != '退款'`,
|
|
762
|
+
f_process_id: this.selectdata.f_process_id
|
|
763
|
+
}
|
|
764
|
+
let res = await http.load('POST', 'rs/sql/getApplyChargeRecord', {data:data}, {
|
|
765
|
+
resolveMsg: null,
|
|
766
|
+
rejectMsg: '收费记录查询失败!!!'
|
|
767
|
+
})
|
|
768
|
+
this.model.data = res.data
|
|
769
|
+
},
|
|
770
|
+
// 关闭对话框
|
|
771
|
+
closeModal1(){
|
|
772
|
+
this.showscan=false
|
|
773
|
+
this.payment={}
|
|
774
|
+
},
|
|
775
|
+
// 关闭对话框
|
|
776
|
+
closeModal() {
|
|
777
|
+
this.showCharge = false
|
|
778
|
+
this.showInvalid = false
|
|
779
|
+
this.showPrint = false
|
|
780
|
+
this.charge = {}
|
|
781
|
+
this.search()
|
|
782
|
+
}
|
|
783
|
+
},
|
|
784
|
+
events: {
|
|
785
|
+
},
|
|
786
|
+
computed: {
|
|
787
|
+
paymentMethod() {
|
|
788
|
+
return this.$appdata.getParam("付款方式")
|
|
789
|
+
},
|
|
790
|
+
paymentTerm() {
|
|
791
|
+
return this.$appdata.getParam("收费项目")
|
|
792
|
+
}
|
|
793
|
+
},
|
|
794
|
+
watch: {
|
|
795
|
+
}
|
|
796
|
+
}
|
|
797
|
+
</script>
|
|
798
|
+
<style scoped>
|
|
799
|
+
.textNoLineBreak {
|
|
800
|
+
white-space: nowrap;
|
|
801
|
+
}
|
|
802
|
+
.head-but{
|
|
803
|
+
margin-left: 5px;
|
|
804
|
+
height: 34px;
|
|
805
|
+
/*background-color: #6aa6e2;*/
|
|
806
|
+
border-radius: 4px;
|
|
807
|
+
font-family: PingFang;
|
|
808
|
+
color: #ffffff;
|
|
809
|
+
}
|
|
810
|
+
</style>
|