apply-clients 3.4.1 → 3.4.2-FuGu-7
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/android.html +23 -23
- package/build/css-loaders.js +34 -0
- package/build/dev-android.js +101 -0
- package/build/dev-client.js +8 -0
- package/build/dev-server-app.js +76 -0
- package/build/dev-server.js +119 -0
- package/build/example-server.js +80 -0
- package/build/release.sh +28 -0
- package/build/utils.js +80 -0
- package/build/webpack.base.conf.js +85 -0
- package/build/webpack.baseandroid.conf.js +84 -0
- package/build/webpack.dev.conf.js +51 -0
- package/build/webpack.devandroid.conf.js +34 -0
- package/build/webpack.example.conf.js +49 -0
- package/build/webpack.prod.conf.js +60 -0
- package/build/webpack.prodandroid.conf.js +60 -0
- package/build/webpack.test.conf.js +31 -0
- package/dingding.html +23 -0
- package/dist-android/static/doc.jpg +0 -0
- package/dist-android/static/images/lefticon//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticon//345/221/274/345/217/253/347/263/273/347/273/237.png +0 -0
- package/dist-android/static/images/lefticon//345/224/256/346/260/224/346/224/266/350/264/271.png +0 -0
- package/dist-android/static/images/lefticon//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
- package/dist-android/static/images/lefticon//345/233/276/345/261/202577.png +0 -0
- package/dist-android/static/images/lefticon//345/233/276/345/261/2028/346/213/267/350/264/23513.png +0 -0
- package/dist-android/static/images/lefticon//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
- package/dist-android/static/images/lefticon//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
- package/dist-android/static/images/lefticon//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
- package/dist-android/static/images/lefticon//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
- package/dist-android/static/images/lefticon//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
- package/dist-android/static/images/lefticon//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticon//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticon//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
- package/dist-android/static/images/lefticon//346/241/243/346/241/210/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticon//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
- package/dist-android/static/images/lefticon//347/263/273/347/273/237/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticon//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
- package/dist-android/static/images/lefticon//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
- package/dist-android/static/images/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
- package/dist-android/static/images/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
- package/dist-android/static/images/lefticon//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
- package/dist-android/static/images/lefticon//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
- package/dist-android/static/imgerror.jpg +0 -0
- package/dist-android/static/newStyle/clear.png +0 -0
- package/dist-android/static/newStyle/fife.png +0 -0
- package/dist-android/static/newStyle/hidden.png +0 -0
- package/dist-android/static/newStyle/label-clear.png +0 -0
- package/dist-android/static/newStyle/left-img.png +0 -0
- package/dist-android/static/newStyle/list_ok.png +0 -0
- package/dist-android/static/newStyle/login-check.png +0 -0
- package/dist-android/static/newStyle/login-con.png +0 -0
- package/dist-android/static/newStyle/login-do.gif +0 -0
- package/dist-android/static/newStyle/login-f.png +0 -0
- package/dist-android/static/newStyle/login-info.png +0 -0
- package/dist-android/static/newStyle/login-left.png +0 -0
- package/dist-android/static/newStyle/login-org.png +0 -0
- package/dist-android/static/newStyle/login-pwd.png +0 -0
- package/dist-android/static/newStyle/login-user.png +0 -0
- package/dist-android/static/newStyle/loginbg.gif +0 -0
- package/dist-android/static/newStyle/loginbg1280.gif +0 -0
- package/dist-android/static/newStyle/loginbg1366.gif +0 -0
- package/dist-android/static/newStyle/setting.png +0 -0
- package/dist-android/static/newStyle/setting1.png +0 -0
- package/dist-android/static/newStyle/shirk.png +0 -0
- package/dist-android/static/newStyle/stretch_bottom.png +0 -0
- package/dist-android/static/newStyle/stretch_left.png +0 -0
- package/dist-android/static/newStyle/stretch_right.png +0 -0
- package/dist-android/static/newStyle/stretch_top.png +0 -0
- package/dist-android/static/newStyle/system-off.png +0 -0
- package/dist-android/static/pdf.jpg +0 -0
- package/index.html +33 -33
- package/package.json +2 -1
- package/src/AndroidApp.vue +35 -35
- package/src/App.vue +20 -20
- package/src/DingDingApp.vue +51 -0
- package/src/android.js +21 -21
- package/src/apply.js +75 -81
- package/src/applyAndroid.js +25 -31
- package/src/applyDingDing.js +12 -0
- package/src/components/android/AppOnetomany.vue +301 -301
- package/src/components/android/AppServiceView.vue +566 -566
- package/src/components/android/AppSign.vue +142 -142
- package/src/components/android/AppTakePic.vue +143 -143
- package/src/components/android/Process/AppExplorationUser.vue +320 -320
- package/src/components/android/Process/AppServiceControl.vue +757 -757
- package/src/components/android/Process/Processes/AppInstallationDetails.vue +456 -456
- package/src/components/android/ProgressReport/ProgressReportDetail.vue +64 -64
- package/src/components/android/Supervisory/AppSupervisoryCart.vue +121 -121
- package/src/components/android/TaskGraph.vue +125 -125
- package/src/components/build/Install/ExplorationUser.vue +304 -0
- package/src/components/build/Install/Process/zhongran/ZR_Design.vue +537 -0
- package/src/components/product/{Process/Processes/Print → ApplyCharge}/printCharge.vue +142 -142
- package/src/components/product/Function/InstallFunction.vue +131 -125
- package/src/components/product/Function/InstallInfoSelect.vue +21 -13
- package/src/components/product/Function/Service/FunctionServiceControl.vue +420 -222
- package/src/components/product/Onetomany.vue +377 -377
- package/src/components/product/Process/ExplorationSelect.vue +401 -410
- package/src/components/product/Process/ExplorationUser.vue +138 -138
- package/src/components/product/Process/Processes/InstallationDetails.vue +592 -592
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +207 -207
- package/src/components/product/Process/Processes/chargeManagement.vue +634 -639
- package/src/components/product/Process/Service/ServiceControl.vue +58 -63
- package/src/components/product/Process/Service/ShowBackReason.vue +33 -33
- package/src/components/product/ServiceView.vue +631 -631
- package/src/components/product/Stop/StopApply.vue +105 -103
- package/src/components/product/Stop/StopApplyList.vue +269 -269
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +7 -0
- package/src/components/product/Supervisory/SupervisoryControl.vue +10 -0
- package/src/components/product/Supervisory/SupervisoryList.vue +6 -2
- package/src/components/product/Supervisory/SupervisoryhCart.vue +110 -107
- package/src/components/product/VueUtils/ApplyUpload.vue +273 -273
- package/src/components/product/VueUtils/HighMeter.vue +208 -208
- package/src/dingding.js +20 -0
- package/src/expandcssAndroid.less +1034 -1034
- package/src/main.js +23 -23
- package/src/components/product/Function/StopApplyCrrdList.vue +0 -176
- package/src/components/product/Function/functions/ApplyRecordCancel.vue +0 -102
- package/src/components/product/Function/functions/StopInstall.vue +0 -106
- package/src/components/product/Process/Processes/Print/img/10101.png +0 -0
- package/src/components/product/Process/Processes/Print/img/1010109.png +0 -0
- package/src/components/product/Process/Processes/Print/img/1010110.png +0 -0
- package/src/components/product/Process/Processes/Print/img/1010111.png +0 -0
- package/src/components/product/Process/Processes/Print/img/1010112.png +0 -0
- package/src/filiale/yuchuan/android/Process/AppServiceControl.vue +0 -548
- package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetails.vue +0 -754
- package/src/filiale/yuchuan/android/Task/Survey/SurveyTsak.vue +0 -60
- package/src/filiale/yuchuan/android.js +0 -7
- package/src/filiale/yuchuan/pc/Order/OrderApply.vue +0 -528
- package/src/filiale/yuchuan/pc/Order/OrderApplyList.vue +0 -343
- package/src/filiale/yuchuan/pc/Process/ExplorationSelect.vue +0 -395
- package/src/filiale/yuchuan/pc/Process/ExplorationUser.vue +0 -147
- package/src/filiale/yuchuan/pc/Process/Processes/ApplyMapCom.vue +0 -66
- package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetails.vue +0 -759
- package/src/filiale/yuchuan/pc/Process/Processes/chargeManagement.vue +0 -470
- package/src/filiale/yuchuan/pc/Process/Service/ServiceControl.vue +0 -879
- package/src/filiale/yuchuan/pc.js +0 -11
|
@@ -1,470 +0,0 @@
|
|
|
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">缴费编号</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">
|
|
19
|
-
<button
|
|
20
|
-
type="button"
|
|
21
|
-
class="btn btn-info head-but"
|
|
22
|
-
@click="$parent.$parent.showChargeModal()"
|
|
23
|
-
: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)"
|
|
24
|
-
>新增收费</button>
|
|
25
|
-
</th>
|
|
26
|
-
</tr>
|
|
27
|
-
</template>
|
|
28
|
-
<template partial='body'>
|
|
29
|
-
<tr>
|
|
30
|
-
<td style="text-align: center;">
|
|
31
|
-
<nobr>{{$index+1}}</nobr>
|
|
32
|
-
</td>
|
|
33
|
-
<td style="text-align: center;">
|
|
34
|
-
<nobr>{{row.f_charge_number}}</nobr>
|
|
35
|
-
</td>
|
|
36
|
-
<td style="text-align: center;">
|
|
37
|
-
<nobr>{{row.f_charge_money}}</nobr>
|
|
38
|
-
</td>
|
|
39
|
-
<td style="text-align: center;">
|
|
40
|
-
<nobr>{{row.f_amount_words}}</nobr>
|
|
41
|
-
</td>
|
|
42
|
-
<td style="text-align: center;">
|
|
43
|
-
<nobr>{{row.f_payment_method}}</nobr>
|
|
44
|
-
</td>
|
|
45
|
-
<td style="text-align: center;">
|
|
46
|
-
<nobr>{{row.f_charge_collectors}}</nobr>
|
|
47
|
-
</td>
|
|
48
|
-
<td style="text-align: center;">
|
|
49
|
-
<nobr>{{row.f_charge_date}}</nobr>
|
|
50
|
-
</td>
|
|
51
|
-
<td style="text-align: center;">
|
|
52
|
-
<nobr>{{row.f_charge_remarks}}</nobr>
|
|
53
|
-
</td>
|
|
54
|
-
<td style="text-align: center;">
|
|
55
|
-
<nobr>{{row.f_charge_status}}</nobr>
|
|
56
|
-
</td>
|
|
57
|
-
<td style="text-align: center;">
|
|
58
|
-
<nobr>{{row.f_void_staff}}</nobr>
|
|
59
|
-
</td>
|
|
60
|
-
<td style="text-align: center;">
|
|
61
|
-
<nobr>{{row.f_void_date}}</nobr>
|
|
62
|
-
</td>
|
|
63
|
-
<td style="text-align: center;">
|
|
64
|
-
<nobr>{{row.f_void_remarks}}</nobr>
|
|
65
|
-
</td>
|
|
66
|
-
<td style="text-align: center;">
|
|
67
|
-
<nobr v-if="row.f_charge_status !== '退款'">
|
|
68
|
-
<button
|
|
69
|
-
type="button"
|
|
70
|
-
name="button"
|
|
71
|
-
class="btn btn-link"
|
|
72
|
-
:disabled="$parent.$parent.mark === 1 || row.f_charge_status === '作废'"
|
|
73
|
-
@click="$parent.$parent.showInvalidModal(row)"
|
|
74
|
-
>作废</button>
|
|
75
|
-
|
|
76
|
-
<button
|
|
77
|
-
type="button"
|
|
78
|
-
name="button"
|
|
79
|
-
class="btn btn-link"
|
|
80
|
-
@click="$parent.$parent.showPrintModal(row)"
|
|
81
|
-
>打印预览</button>
|
|
82
|
-
</nobr>
|
|
83
|
-
</td>
|
|
84
|
-
</tr>
|
|
85
|
-
</template>
|
|
86
|
-
</data-grid>
|
|
87
|
-
|
|
88
|
-
<validator name="v">
|
|
89
|
-
<modal v-if="showCharge" :show.sync="showCharge" v-ref:modal :large="true" :backdrop="false" title="收费明细">
|
|
90
|
-
<header slot="modal-header" class="modal-header">
|
|
91
|
-
<button type="button" class="close" @click="closeModal"><span>×</span></button>
|
|
92
|
-
<h4 class="modal-title">收费明细</h4>
|
|
93
|
-
</header>
|
|
94
|
-
<article slot="modal-body" class="modal-body clearfix">
|
|
95
|
-
<div class="form-group col-sm-12" :class="[$v.f_charge_money.required ? 'has-error' : '']">
|
|
96
|
-
<label class="col-sm-2 control-label">收费金额:</label>
|
|
97
|
-
<div class="col-sm-10">
|
|
98
|
-
<input type="number"
|
|
99
|
-
class="form-control input_view"
|
|
100
|
-
style="width: 100%"
|
|
101
|
-
placeholder="0.00"
|
|
102
|
-
@keyup="handleInput"
|
|
103
|
-
@change="moneyChange"
|
|
104
|
-
v-validate:f_charge_money = "['required']"
|
|
105
|
-
v-model="charge.f_charge_money" />
|
|
106
|
-
</div>
|
|
107
|
-
</div>
|
|
108
|
-
<div class="form-group col-sm-12" :class="[$v.f_payment_method.required ? 'has-error' : '']">
|
|
109
|
-
<label class="col-sm-2 control-label">付款方式:</label>
|
|
110
|
-
<div class="col-sm-10">
|
|
111
|
-
<input type="text" v-show="false" v-model="charge.f_payment_method" v-validate:f_payment_method = "['required']" >
|
|
112
|
-
<input-select
|
|
113
|
-
placeholder='请选择' width="100%"
|
|
114
|
-
v-model="charge.f_payment_method"
|
|
115
|
-
:value.sync="charge.f_payment_method"
|
|
116
|
-
:options='paymentMethod'
|
|
117
|
-
class="select select_list"
|
|
118
|
-
:value-single="true"
|
|
119
|
-
close-on-select ></input-select>
|
|
120
|
-
</div>
|
|
121
|
-
</div>
|
|
122
|
-
<div class="form-group col-sm-12">
|
|
123
|
-
<label class="col-sm-2 control-label">金额大写:</label>
|
|
124
|
-
<div class="col-sm-10">
|
|
125
|
-
<input type="text"
|
|
126
|
-
class="form-control input_view"
|
|
127
|
-
style="width: 100%"
|
|
128
|
-
:value="smalltoBIG(0)"
|
|
129
|
-
readonly
|
|
130
|
-
v-model.sync="charge.f_amount_words" />
|
|
131
|
-
</div>
|
|
132
|
-
</div>
|
|
133
|
-
<div class="form-group col-sm-12">
|
|
134
|
-
<label class="col-sm-2 control-label">应交总金额:</label>
|
|
135
|
-
<div class="col-sm-10">
|
|
136
|
-
<input type="text"
|
|
137
|
-
class="form-control input_view"
|
|
138
|
-
style="width: 100%"
|
|
139
|
-
readonly
|
|
140
|
-
v-model="selectdata.f_due_money" />
|
|
141
|
-
</div>
|
|
142
|
-
</div>
|
|
143
|
-
<div class="form-group col-sm-12">
|
|
144
|
-
<label class="col-sm-2 control-label">累计缴费总金额:</label>
|
|
145
|
-
<div class="col-sm-10">
|
|
146
|
-
<input type="text"
|
|
147
|
-
class="form-control input_view"
|
|
148
|
-
style="width: 100%"
|
|
149
|
-
readonly
|
|
150
|
-
v-model="selectdata.f_cumulative_payment_money" />
|
|
151
|
-
</div>
|
|
152
|
-
</div>
|
|
153
|
-
<div class="form-group col-sm-12">
|
|
154
|
-
<label class="col-sm-2 control-label">未结总金额:</label>
|
|
155
|
-
<div class="col-sm-10">
|
|
156
|
-
<input type="text"
|
|
157
|
-
class="form-control input_view"
|
|
158
|
-
style="width: 100%"
|
|
159
|
-
readonly
|
|
160
|
-
v-model="selectdata.f_surplus_money" />
|
|
161
|
-
</div>
|
|
162
|
-
</div>
|
|
163
|
-
<div class="form-group col-sm-12">
|
|
164
|
-
<label class="col-sm-2 control-label">备注:</label>
|
|
165
|
-
<div class="col-sm-10">
|
|
166
|
-
<input type="text"
|
|
167
|
-
class="form-control input_view"
|
|
168
|
-
style="width: 100%"
|
|
169
|
-
v-model="charge.f_charge_remarks" />
|
|
170
|
-
</div>
|
|
171
|
-
</div>
|
|
172
|
-
</article>
|
|
173
|
-
<footer slot="modal-footer" class="modal-footer">
|
|
174
|
-
<button type="button" class="btn btn-primary" :disabled='!$v.valid' @click="saveCharge()">新增收费</button>
|
|
175
|
-
</footer>
|
|
176
|
-
</modal>
|
|
177
|
-
</validator>
|
|
178
|
-
|
|
179
|
-
<modal v-if="showInvalid" :show.sync="showInvalid" v-ref:modal :backdrop="false" title="作废收费">
|
|
180
|
-
<header slot="modal-header" class="modal-header">
|
|
181
|
-
<button type="button" class="close" @click="closeModal"><span>×</span></button>
|
|
182
|
-
<h4 class="modal-title">作废收费</h4>
|
|
183
|
-
</header>
|
|
184
|
-
<article slot="modal-body" class="modal-body clearfix">
|
|
185
|
-
<div class="form-group col-sm-12" v-if="false">
|
|
186
|
-
<label class="col-sm-2 control-label">缴费地址:</label>
|
|
187
|
-
<div class="col-sm-10">
|
|
188
|
-
<input type="text"
|
|
189
|
-
class="form-control input_view"
|
|
190
|
-
style="width: 100%"
|
|
191
|
-
readonly
|
|
192
|
-
v-model="charge.f_useraddres" />
|
|
193
|
-
</div>
|
|
194
|
-
</div>
|
|
195
|
-
<div class="form-group col-sm-12">
|
|
196
|
-
<label class="col-sm-2 control-label">收费金额:</label>
|
|
197
|
-
<div class="col-sm-10">
|
|
198
|
-
<input type="text"
|
|
199
|
-
class="form-control input_view"
|
|
200
|
-
style="width: 100%"
|
|
201
|
-
readonly
|
|
202
|
-
v-model="charge.f_charge_money" />
|
|
203
|
-
</div>
|
|
204
|
-
</div>
|
|
205
|
-
<div class="form-group col-sm-12">
|
|
206
|
-
<label class="col-sm-2 control-label">付款方式:</label>
|
|
207
|
-
<div class="col-sm-10">
|
|
208
|
-
<input type="text"
|
|
209
|
-
class="form-control input_view"
|
|
210
|
-
style="width: 100%"
|
|
211
|
-
readonly
|
|
212
|
-
v-model="charge.f_payment_method" />
|
|
213
|
-
</div>
|
|
214
|
-
</div>
|
|
215
|
-
<div class="form-group col-sm-12">
|
|
216
|
-
<label class="col-sm-2 control-label">金额大写:</label>
|
|
217
|
-
<div class="col-sm-10">
|
|
218
|
-
<input type="text"
|
|
219
|
-
class="form-control input_view"
|
|
220
|
-
style="width: 100%"
|
|
221
|
-
readonly
|
|
222
|
-
v-model="charge.f_amount_words" />
|
|
223
|
-
</div>
|
|
224
|
-
</div>
|
|
225
|
-
<div class="form-group col-sm-12">
|
|
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_charge_collectors" />
|
|
233
|
-
</div>
|
|
234
|
-
</div>
|
|
235
|
-
<div class="form-group col-sm-12" :class="charge.f_void_remarks ? '':'has-error'">
|
|
236
|
-
<label class="col-sm-2 control-label">作废原因:</label>
|
|
237
|
-
<div class="col-sm-10">
|
|
238
|
-
<input type="text"
|
|
239
|
-
class="form-control input_view"
|
|
240
|
-
style="width: 100%"
|
|
241
|
-
v-model="charge.f_void_remarks" />
|
|
242
|
-
</div>
|
|
243
|
-
</div>
|
|
244
|
-
</article>
|
|
245
|
-
<footer slot="modal-footer" class="modal-footer">
|
|
246
|
-
<button type="button" class="btn btn-primary" :disabled="!charge.f_void_remarks" @click="invalidApplyCharge()">确认作废</button>
|
|
247
|
-
</footer>
|
|
248
|
-
</modal>
|
|
249
|
-
|
|
250
|
-
<modal v-if="showPrint" :show.sync="showPrint" v-ref:modal :large="true" :backdrop="false" title="打印预览">
|
|
251
|
-
<header slot="modal-header" class="modal-header">
|
|
252
|
-
<button type="button" class="close" @click="closeModal"><span>×</span></button>
|
|
253
|
-
<h4 class="modal-title">打印预览</h4>
|
|
254
|
-
</header>
|
|
255
|
-
<article slot="modal-body" class="modal-body clearfix">
|
|
256
|
-
<apply-print-charge :selectdata="selectdata" :charge="charge" v-ref:print></apply-print-charge>
|
|
257
|
-
</article>
|
|
258
|
-
<footer slot="modal-footer" class="modal-footer">
|
|
259
|
-
<button type="button" class="btn btn-primary" @click="print()">打印</button>
|
|
260
|
-
</footer>
|
|
261
|
-
</modal>
|
|
262
|
-
</div>
|
|
263
|
-
</template>
|
|
264
|
-
<script>
|
|
265
|
-
import {PagedList} from 'vue-client'
|
|
266
|
-
import {HttpResetClass} from 'vue-client'
|
|
267
|
-
import Vue from 'vue'
|
|
268
|
-
import {isEmpty} from '../../../../../components/Util'
|
|
269
|
-
|
|
270
|
-
export default {
|
|
271
|
-
title: '收费管理',
|
|
272
|
-
props: {
|
|
273
|
-
selectdata: {
|
|
274
|
-
type: Object
|
|
275
|
-
},
|
|
276
|
-
mark: {
|
|
277
|
-
type: Number,
|
|
278
|
-
default: 0
|
|
279
|
-
}
|
|
280
|
-
},
|
|
281
|
-
data () {
|
|
282
|
-
return {
|
|
283
|
-
showCharge: false, // 收费明细
|
|
284
|
-
showInvalid: false, // 作废
|
|
285
|
-
showPrint: false, // 打印
|
|
286
|
-
model: {
|
|
287
|
-
data: null
|
|
288
|
-
}, // 记录
|
|
289
|
-
useraddresList: [], // 地址列表
|
|
290
|
-
charge: {
|
|
291
|
-
|
|
292
|
-
}
|
|
293
|
-
}
|
|
294
|
-
},
|
|
295
|
-
ready () {
|
|
296
|
-
this.search()
|
|
297
|
-
},
|
|
298
|
-
methods: {
|
|
299
|
-
async payerNumberChange () {
|
|
300
|
-
if (isEmpty(this.charge.f_payer_number)) {
|
|
301
|
-
return
|
|
302
|
-
}
|
|
303
|
-
let http = new HttpResetClass()
|
|
304
|
-
let data = {
|
|
305
|
-
tablename: 't_charge_record',
|
|
306
|
-
condition: `f_payer_number = '${this.charge.f_payer_number}'`
|
|
307
|
-
}
|
|
308
|
-
let res = await http.load('POST', 'rs/sql/singleTable', {data:data}, {
|
|
309
|
-
resolveMsg: null,
|
|
310
|
-
rejectMsg: '流水号查询失败!!!'
|
|
311
|
-
})
|
|
312
|
-
if (res.data.length > 0) {
|
|
313
|
-
this.$showAlert('该流水号已经使用!!!', 'warning', 3000)
|
|
314
|
-
return
|
|
315
|
-
}
|
|
316
|
-
},
|
|
317
|
-
print () {
|
|
318
|
-
this.$refs.print.$refs.print.PrintTable()
|
|
319
|
-
},
|
|
320
|
-
showPrintModal(row) {
|
|
321
|
-
this.charge = row
|
|
322
|
-
this.showPrint = true
|
|
323
|
-
},
|
|
324
|
-
selectAddres () {
|
|
325
|
-
if (this.charge.useraddres) {
|
|
326
|
-
this.charge.f_cumulative_payment_money = this.charge.useraddres.f_cumulative_payment_money
|
|
327
|
-
this.charge.f_outstanding_amount = this.selectdata.f_price - this.charge.useraddres.f_cumulative_payment_money
|
|
328
|
-
} else {
|
|
329
|
-
this.charge.f_cumulative_payment_money = 0
|
|
330
|
-
this.charge.f_outstanding_amount = this.selectdata.f_price
|
|
331
|
-
}
|
|
332
|
-
},
|
|
333
|
-
async invalidApplyCharge() {
|
|
334
|
-
|
|
335
|
-
let http = new HttpResetClass()
|
|
336
|
-
let data = {
|
|
337
|
-
apply: this.selectdata,
|
|
338
|
-
user: this.$login.f,
|
|
339
|
-
charge: this.charge
|
|
340
|
-
}
|
|
341
|
-
let res = await http.load('POST', 'rs/logic/invalidApplyCharge', {data:data}, {
|
|
342
|
-
resolveMsg: null,
|
|
343
|
-
rejectMsg: '作废失败!!!'
|
|
344
|
-
})
|
|
345
|
-
this.selectdata = res.data
|
|
346
|
-
|
|
347
|
-
this.$dispatch('breakControl', this.selectdata)
|
|
348
|
-
},
|
|
349
|
-
|
|
350
|
-
// 打开作废收费
|
|
351
|
-
showInvalidModal(row) {
|
|
352
|
-
this.charge = row
|
|
353
|
-
this.showInvalid = true
|
|
354
|
-
},
|
|
355
|
-
// 新增收费
|
|
356
|
-
async saveCharge() {
|
|
357
|
-
let http = new HttpResetClass()
|
|
358
|
-
let data = {
|
|
359
|
-
apply: this.selectdata,
|
|
360
|
-
user: this.$login.f,
|
|
361
|
-
charge: this.charge
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
let res = await http.load('POST', 'rs/logic/addApplyChargeRecord', {data:data}, {
|
|
365
|
-
resolveMsg: null,
|
|
366
|
-
rejectMsg: '缴费失败!!!'
|
|
367
|
-
})
|
|
368
|
-
this.selectdata = res.data
|
|
369
|
-
|
|
370
|
-
this.$dispatch('breakControl', this.selectdata)
|
|
371
|
-
},
|
|
372
|
-
moneyChange () {
|
|
373
|
-
if (isEmpty(this.charge.f_charge_money) || Number(this.charge.f_charge_money) === 0) {
|
|
374
|
-
this.$showAlert('单笔收费不能为0元!!!', 'warning', 3000)
|
|
375
|
-
this.charge.f_charge_money = null
|
|
376
|
-
return
|
|
377
|
-
}
|
|
378
|
-
if (this.selectdata.f_apply_type === '散户集体报建' && Number(this.charge.f_charge_money) > Number(this.charge.f_outstanding_amount)) {
|
|
379
|
-
this.$showAlert('单笔收费不能超过未交金额!!!', 'warning', 3000)
|
|
380
|
-
this.charge.f_charge_money = null
|
|
381
|
-
return
|
|
382
|
-
}
|
|
383
|
-
if (Number(this.charge.f_charge_money) > Number(this.selectdata.f_surplus_money)) {
|
|
384
|
-
this.$showAlert('单笔收费不能超过未交总金额!!!', 'warning', 3000)
|
|
385
|
-
this.charge.f_charge_money = null
|
|
386
|
-
return
|
|
387
|
-
}
|
|
388
|
-
},
|
|
389
|
-
// 金额转大写
|
|
390
|
-
handleInput(e) {
|
|
391
|
-
// 通过正则过滤小数点后两位
|
|
392
|
-
e.target.value = (e.target.value.match(/^\d*(\.?\d{0,2})/g)[0]) || null
|
|
393
|
-
this.charge.f_amount_words = this.smalltoBIG(e.target.value)
|
|
394
|
-
},
|
|
395
|
-
// 金额转大写
|
|
396
|
-
smalltoBIG(n) {
|
|
397
|
-
let fraction = ['角', '分'];
|
|
398
|
-
let digit = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖'];
|
|
399
|
-
let unit = [['元', '万', '亿'], ['', '拾', '佰', '仟']];
|
|
400
|
-
let head = n < 0 ? '欠' : '';
|
|
401
|
-
n = Math.abs(n);
|
|
402
|
-
|
|
403
|
-
let s = '';
|
|
404
|
-
|
|
405
|
-
for (var i = 0; i < fraction.length; i++) {
|
|
406
|
-
s += (digit[Math.floor(n * 10 * Math.pow(10, i)) % 10] + fraction[i]).replace(/零./, '');
|
|
407
|
-
}
|
|
408
|
-
s = s || '整';
|
|
409
|
-
n = Math.floor(n);
|
|
410
|
-
|
|
411
|
-
for (var i = 0; i < unit[0].length && n > 0; i++) {
|
|
412
|
-
let p = '';
|
|
413
|
-
for (var j = 0; j < unit[1].length && n > 0; j++) {
|
|
414
|
-
p = digit[n % 10] + unit[1][j] + p;
|
|
415
|
-
n = Math.floor(n / 10);
|
|
416
|
-
}
|
|
417
|
-
s = p.replace(/(零.)*零$/, '').replace(/^$/, '零') + unit[0][i] + s;
|
|
418
|
-
}
|
|
419
|
-
return head + s.replace(/(零.)*零元/, '元').replace(/(零.)+/g, '零').replace(/^整$/, '零元整')
|
|
420
|
-
},
|
|
421
|
-
async showChargeModal() {
|
|
422
|
-
this.showCharge = true
|
|
423
|
-
},
|
|
424
|
-
async search () {
|
|
425
|
-
let http = new HttpResetClass()
|
|
426
|
-
let data = {
|
|
427
|
-
f_process_id: this.selectdata.f_process_id
|
|
428
|
-
}
|
|
429
|
-
let res = await http.load('POST', 'rs/sql/getApplyChargeRecord', {data:data}, {
|
|
430
|
-
resolveMsg: null,
|
|
431
|
-
rejectMsg: '收费记录查询失败!!!'
|
|
432
|
-
})
|
|
433
|
-
this.model.data = res.data
|
|
434
|
-
},
|
|
435
|
-
// 关闭对话框
|
|
436
|
-
closeModal() {
|
|
437
|
-
this.showCharge = false
|
|
438
|
-
this.showInvalid = false
|
|
439
|
-
this.showPrint = false
|
|
440
|
-
this.charge = {}
|
|
441
|
-
this.search()
|
|
442
|
-
}
|
|
443
|
-
},
|
|
444
|
-
events: {
|
|
445
|
-
},
|
|
446
|
-
computed: {
|
|
447
|
-
paymentMethod() {
|
|
448
|
-
return this.$appdata.getParam("付款方式")
|
|
449
|
-
},
|
|
450
|
-
paymentTerm() {
|
|
451
|
-
return this.$appdata.getParam("收费项目")
|
|
452
|
-
}
|
|
453
|
-
},
|
|
454
|
-
watch: {
|
|
455
|
-
}
|
|
456
|
-
}
|
|
457
|
-
</script>
|
|
458
|
-
<style scoped>
|
|
459
|
-
.textNoLineBreak {
|
|
460
|
-
white-space: nowrap;
|
|
461
|
-
}
|
|
462
|
-
.head-but{
|
|
463
|
-
margin-left: 5px;
|
|
464
|
-
height: 34px;
|
|
465
|
-
/*background-color: #6aa6e2;*/
|
|
466
|
-
border-radius: 4px;
|
|
467
|
-
font-family: PingFang;
|
|
468
|
-
color: #ffffff;
|
|
469
|
-
}
|
|
470
|
-
</style>
|