apply-clients 7.1.36-yuchuan-1 → 7.1.36-yuchuan-3
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 -3
- package/package.json +3 -3
- package/src/apply.js +12 -1
- package/src/applyAndroid.js +6 -0
- package/src/components/android/AppUpload.vue +15 -0
- package/src/components/android/Ignition/VentilationIgnition.vue +1 -1
- package/src/components/android/Process/AppExplorationUser.vue +2 -2
- package/src/components/android/Process/AppServiceControl.vue +1410 -1397
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +334 -334
- package/src/components/android/Task/Build/BuildTsak.vue +7 -4
- package/src/components/android/Task/GuanXianJianShe/AppExplorationGuanXian.vue +317 -0
- package/src/components/android/Task/GuanXianJianShe/AppGuanXianCaiLiao.vue +237 -0
- package/src/components/android/Task/ShenHe/BuZhangShenHe.vue +64 -64
- package/src/components/android/Task/ShenHe/JingLiShenHe.vue +64 -64
- package/src/components/android/Task/ShiGongXinXi/AppShowBuildUser.vue +11 -7
- package/src/components/android/Task/UpBuild/UpBuildDui.vue +5 -2
- package/src/components/android/Task/UpBuild/UpBuildTsak.vue +5 -2
- package/src/components/android/Task/UpBuild/UpJianLi.vue +5 -2
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +943 -606
- package/src/components/product/ApplyGaiXianCharge/ApplyGaiXianChargeList.vue +8 -7
- package/src/components/product/ApplyGuanXian/GuanXianCaiLiao.vue +236 -235
- package/src/components/product/ApplyGuanXian/GuanXianExplorationSelect.vue +324 -323
- package/src/components/product/ChongZheng/ApplyChongZhengList.vue +10 -9
- package/src/components/product/Function/InstallInfoSelect.vue +15 -13
- package/src/components/product/Function/Service/FunctionServiceControl.vue +475 -475
- package/src/components/product/Ignition/IgnitionList.vue +236 -236
- package/src/components/product/Ignition/IgnitionListManage.vue +403 -204
- package/src/components/product/Ignition/IgnitionRecord.vue +14 -13
- package/src/components/product/List/ShowAllActivity.vue +455 -0
- package/src/components/product/List/ShowDevices.vue +279 -279
- package/src/components/product/Print/BuildOrder/buildOrderList.vue +9 -8
- package/src/components/product/Print/BuildOrder/printBuildOrder.vue +6 -0
- package/src/components/product/Process/ExplorationSelect.vue +591 -580
- package/src/components/product/Process/ExplorationUser.vue +158 -158
- package/src/components/product/Process/New1ExplorationUser.vue +201 -0
- package/src/components/product/Process/New2ExplorationUser.vue +163 -0
- package/src/components/product/Process/NewExplorationSelect.vue +586 -0
- package/src/components/product/Process/NewExplorationUser.vue +219 -184
- package/src/components/product/Process/Processes/ApplyChaiChuInfo.vue +587 -587
- package/src/components/product/Process/Processes/InstallationDetails.vue +80 -7
- package/src/components/product/Process/Processes/Print/printPaymentApproval.vue +224 -224
- package/src/components/product/Process/Processes/newDevicesManagement.vue +26 -1
- package/src/components/product/Process/Processes/newInstallationDetails.vue +1 -36
- package/src/components/product/Process/Processes/selectOldUserinfo.vue +1 -1
- package/src/components/product/Process/Service/ServiceControl.vue +2166 -2155
- package/src/components/product/Report/ReportItems.vue +85 -79
- package/src/components/product/Report/apply-stair-kaifa.vue +0 -1
- package/src/components/product/Report/gongchengbu.vue +199 -0
- package/src/components/product/ServiceView.vue +12 -0
- package/src/components/product/Stop/StopApplyList.vue +8 -8
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +14 -0
- package/src/components/product/Supervisory/SupervisoryList.vue +539 -536
- package/src/components/product/Supervisory/YiBanSupervisoryControl.vue +114 -0
- package/src/components/product/Supervisory/YiBanSupervisoryList.vue +541 -0
- package/dist-android.7z +0 -0
- package/dist.7z +0 -0
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +0 -207
- package/yarn-error.log +0 -9976
|
@@ -1,746 +1,1083 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
<
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
2
|
+
<!-- 收费明细 -->
|
|
3
|
+
<criteria-paged :model="model" v-ref:cp>
|
|
4
|
+
<criteria
|
|
5
|
+
partial="criteria"
|
|
6
|
+
@condition-changed="$parent.searchCondition"
|
|
7
|
+
v-ref:cri
|
|
8
|
+
>
|
|
9
|
+
<div
|
|
10
|
+
class="form-horizontal select-overspread container-fluid auto"
|
|
11
|
+
partial
|
|
12
|
+
>
|
|
13
|
+
<div class="row">
|
|
14
|
+
<div class="form-group col-sm-3">
|
|
15
|
+
<label class="font_normal_body"><strong>报建编号:</strong></label>
|
|
16
|
+
<input
|
|
17
|
+
type="text"
|
|
18
|
+
class="input_search"
|
|
19
|
+
style="width: 60%"
|
|
20
|
+
v-model="model.f_apply_num"
|
|
21
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
22
|
+
condition="a.f_apply_num like '%{}%'"
|
|
23
|
+
placeholder="报建编号"
|
|
24
|
+
/>
|
|
25
|
+
</div>
|
|
26
|
+
<div class="form-group col-sm-3">
|
|
27
|
+
<label class="font_normal_body"><strong>用户名称:</strong></label>
|
|
28
|
+
<input
|
|
29
|
+
type="text"
|
|
30
|
+
class="input_search"
|
|
31
|
+
style="width: 60%"
|
|
32
|
+
v-model="model.f_user_name"
|
|
33
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
34
|
+
condition="a.f_user_name like '%{}%'"
|
|
35
|
+
placeholder="用户名称"
|
|
36
|
+
/>
|
|
37
|
+
</div>
|
|
38
|
+
<div class="form-group col-sm-3">
|
|
39
|
+
<label class="font_normal_body"><strong>电  话:</strong></label>
|
|
40
|
+
<input
|
|
41
|
+
type="text"
|
|
42
|
+
class="input_search"
|
|
43
|
+
style="width: 60%"
|
|
44
|
+
v-model="model.f_phone"
|
|
45
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
46
|
+
condition="a.f_phone like '%{}%'"
|
|
47
|
+
placeholder="电话"
|
|
48
|
+
/>
|
|
49
|
+
</div>
|
|
50
|
+
<div class="form-group col-sm-3 button-range">
|
|
51
|
+
<button
|
|
52
|
+
class="button_search button_spacing"
|
|
53
|
+
@click="$parent.$parent.updateshowStatus()"
|
|
54
|
+
v-el:cx
|
|
55
|
+
>
|
|
56
|
+
{{ $parent.$parent.showStatus ? "已作废" : "正常" }}
|
|
57
|
+
</button>
|
|
58
|
+
<button
|
|
59
|
+
class="button_search button_spacing"
|
|
60
|
+
@click="$parent.$parent.search()"
|
|
61
|
+
v-el:cx
|
|
62
|
+
>
|
|
63
|
+
查询
|
|
64
|
+
</button>
|
|
65
|
+
<button
|
|
66
|
+
class="button_clear button_spacing"
|
|
67
|
+
@click="$parent.$parent.clear()"
|
|
68
|
+
>
|
|
69
|
+
清空
|
|
70
|
+
</button>
|
|
71
|
+
<export-excel
|
|
72
|
+
:data="$parent.$parent.getCondition"
|
|
73
|
+
:field="$parent.$parent.getfield"
|
|
74
|
+
sqlurl="rs/logic/applyExportfile"
|
|
75
|
+
sql-name="getApplyCharge"
|
|
76
|
+
template-name="收费记录信息导出"
|
|
77
|
+
:choose-col="true"
|
|
78
|
+
></export-excel>
|
|
79
|
+
<div
|
|
80
|
+
:class="{
|
|
81
|
+
button_shrink_top: $parent.$parent.criteriaShow,
|
|
82
|
+
button_shrink_bottom: !$parent.$parent.criteriaShow,
|
|
83
|
+
}"
|
|
84
|
+
@click="
|
|
85
|
+
$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow
|
|
86
|
+
"
|
|
87
|
+
class="button_spacing"
|
|
88
|
+
style="float: right"
|
|
89
|
+
></div>
|
|
90
|
+
</div>
|
|
91
|
+
</div>
|
|
92
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
93
|
+
<div class="form-group col-sm-3">
|
|
94
|
+
<label class="font_normal_body"><strong>报建类型:</strong></label>
|
|
95
|
+
<v-select
|
|
96
|
+
v-model="model.f_apply_type"
|
|
97
|
+
placeholder="请选择"
|
|
98
|
+
condition="a.f_apply_type = '{}'"
|
|
99
|
+
:value.sync="model.f_apply_type"
|
|
100
|
+
:options="$parent.$parent.applytype"
|
|
101
|
+
class="select select_list"
|
|
102
|
+
:value-single="true"
|
|
103
|
+
close-on-select
|
|
104
|
+
></v-select>
|
|
105
|
+
</div>
|
|
106
|
+
<div class="form-group col-sm-3">
|
|
107
|
+
<label class="font_normal_body"><strong>票据类型:</strong></label>
|
|
108
|
+
<v-select
|
|
109
|
+
v-model="model.f_bill_style"
|
|
110
|
+
placeholder="请选择"
|
|
111
|
+
condition="cr.f_bill_style = '{}'"
|
|
112
|
+
:value.sync="model.f_bill_style"
|
|
113
|
+
:options="$parent.$parent.billStyles"
|
|
114
|
+
class="select select_list"
|
|
115
|
+
:value-single="true"
|
|
116
|
+
close-on-select
|
|
117
|
+
></v-select>
|
|
118
|
+
</div>
|
|
119
|
+
<div class="form-group col-sm-3">
|
|
120
|
+
<label class="font_normal_body"><strong>收费人员:</strong></label>
|
|
121
|
+
<input
|
|
122
|
+
type="text"
|
|
123
|
+
class="input_search"
|
|
124
|
+
style="width: 60%"
|
|
125
|
+
placeholder="收费人员"
|
|
126
|
+
v-model="model.f_charge_collectors"
|
|
127
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
128
|
+
condition="cr.f_charge_collectors like '%{}%'"
|
|
129
|
+
/>
|
|
130
|
+
</div>
|
|
131
|
+
<div class="form-group col-sm-3">
|
|
132
|
+
<label class="font_normal_body"><strong>收费金额:</strong></label>
|
|
133
|
+
<input
|
|
134
|
+
type="text"
|
|
135
|
+
class="input_search"
|
|
136
|
+
style="width: 60%"
|
|
137
|
+
placeholder="收费金额"
|
|
138
|
+
v-model="model.f_charge_money"
|
|
139
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
140
|
+
condition="cr.f_charge_money = '{}'"
|
|
141
|
+
/>
|
|
142
|
+
</div>
|
|
143
|
+
<div class="form-group col-sm-3">
|
|
144
|
+
<label class="font_normal_body"><strong>流 水 号:</strong></label>
|
|
145
|
+
<input
|
|
146
|
+
type="text"
|
|
147
|
+
class="input_search"
|
|
148
|
+
style="width: 60%"
|
|
149
|
+
placeholder="流水号"
|
|
150
|
+
v-model="model.f_payer_number"
|
|
151
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
152
|
+
condition="cr.f_payer_number like '%{}%'"
|
|
153
|
+
/>
|
|
154
|
+
</div>
|
|
155
|
+
<div class="form-group col-sm-3">
|
|
156
|
+
<label class="font_normal_body"><strong>付款方式:</strong></label>
|
|
157
|
+
<v-select
|
|
158
|
+
v-model="model.f_payment_method"
|
|
159
|
+
placeholder="请选择"
|
|
160
|
+
condition="cr.f_payment_method = '{}'"
|
|
161
|
+
:value.sync="model.f_payment_method"
|
|
162
|
+
:options="$parent.$parent.paymentMethod"
|
|
163
|
+
class="select select_list"
|
|
164
|
+
:value-single="true"
|
|
165
|
+
close-on-select
|
|
166
|
+
></v-select>
|
|
167
|
+
</div>
|
|
168
|
+
<div class="form-group col-sm-3">
|
|
169
|
+
<label class="font_normal_body"><strong>缴费状态:</strong></label>
|
|
170
|
+
<v-select
|
|
171
|
+
v-model="model.f_charge_status"
|
|
172
|
+
placeholder="请选择"
|
|
173
|
+
condition="cr.f_charge_status = '{}'"
|
|
174
|
+
:value.sync="model.f_charge_status"
|
|
175
|
+
:options="$parent.$parent.chargingStatus"
|
|
176
|
+
class="select select_list"
|
|
177
|
+
:value-single="true"
|
|
178
|
+
close-on-select
|
|
179
|
+
></v-select>
|
|
180
|
+
</div>
|
|
181
|
+
<div class="form-group col-sm-3">
|
|
182
|
+
<label for="startDate" class="font_normal_body"><strong>开始时间:</strong></label>
|
|
183
|
+
<datepicker
|
|
184
|
+
id="startDate"
|
|
185
|
+
placeholder="开始日期"
|
|
186
|
+
style="width: 60% !important"
|
|
187
|
+
v-model="model.startDate"
|
|
188
|
+
:value.sync="model.startDate"
|
|
189
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
190
|
+
:show-reset-button="true"
|
|
191
|
+
condition="cr.f_charge_date >= '{}'"
|
|
192
|
+
>
|
|
193
|
+
</datepicker>
|
|
194
|
+
</div>
|
|
195
|
+
<div class="form-group col-sm-3">
|
|
196
|
+
<label for="endDate" class="font_normal_body"><strong>结束时间:</strong></label>
|
|
197
|
+
<datepicker
|
|
198
|
+
id="endDate"
|
|
199
|
+
placeholder="结束日期"
|
|
200
|
+
style="width: 60% !important"
|
|
201
|
+
v-model="model.endDate"
|
|
202
|
+
:value.sync="model.endDate"
|
|
203
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
204
|
+
:show-reset-button="true"
|
|
205
|
+
condition="cr.f_charge_date <= '{}'"
|
|
206
|
+
>
|
|
207
|
+
</datepicker>
|
|
208
|
+
</div>
|
|
209
|
+
<div class="form-group col-sm-3">
|
|
210
|
+
<label class="font_normal_body"><strong>新旧报建:</strong></label>
|
|
211
|
+
<v-select
|
|
212
|
+
v-model="model.f_house_type"
|
|
213
|
+
placeholder="保存状态"
|
|
214
|
+
condition="a.f_house_type {}"
|
|
215
|
+
:value.sync="model.f_house_type"
|
|
216
|
+
:options="$parent.$parent.houseType"
|
|
217
|
+
class="select select_list"
|
|
218
|
+
:value-single="true"
|
|
219
|
+
close-on-select
|
|
220
|
+
>
|
|
221
|
+
</v-select>
|
|
40
222
|
</div>
|
|
41
|
-
<div class="
|
|
42
|
-
<
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
</div>
|
|
54
|
-
<div class="form-group col-sm-3">
|
|
55
|
-
<label class="font_normal_body">票据类型:</label>
|
|
56
|
-
<v-select
|
|
57
|
-
v-model="model.f_bill_style"
|
|
58
|
-
placeholder='请选择'
|
|
59
|
-
condition="cr.f_bill_style = '{}'"
|
|
60
|
-
:value.sync="model.f_bill_style"
|
|
61
|
-
:options='$parent.$parent.billStyles'
|
|
62
|
-
class="select select_list"
|
|
63
|
-
:value-single="true"
|
|
64
|
-
close-on-select ></v-select>
|
|
65
|
-
</div>
|
|
66
|
-
<div class="form-group col-sm-3">
|
|
67
|
-
<label class="font_normal_body">收费人员:</label>
|
|
68
|
-
<input type="text" class="input_search" style="width: 60%" placeholder='收费人员' v-model="model.f_charge_collectors"
|
|
69
|
-
v-on:keyup.enter="$parent.$parent.search()"
|
|
70
|
-
condition="cr.f_charge_collectors like '%{}%'">
|
|
71
|
-
</div>
|
|
72
|
-
<div class="form-group col-sm-3">
|
|
73
|
-
<label class="font_normal_body">收费金额:</label>
|
|
74
|
-
<input type="text" class="input_search" style="width: 60%" placeholder='收费金额' v-model="model.f_charge_money"
|
|
75
|
-
v-on:keyup.enter="$parent.$parent.search()"
|
|
76
|
-
condition="cr.f_charge_money = '{}'">
|
|
77
|
-
</div>
|
|
78
|
-
<div class="form-group col-sm-3">
|
|
79
|
-
<label class="font_normal_body">流 水 号:</label>
|
|
80
|
-
<input type="text" class="input_search" style="width: 60%" placeholder='流水号' v-model="model.f_payer_number"
|
|
81
|
-
v-on:keyup.enter="$parent.$parent.search()"
|
|
82
|
-
condition="cr.f_payer_number like '%{}%'">
|
|
83
|
-
</div>
|
|
84
|
-
<div class="form-group col-sm-3">
|
|
85
|
-
<label class="font_normal_body">付款方式:</label>
|
|
86
|
-
<v-select
|
|
87
|
-
v-model="model.f_payment_method"
|
|
88
|
-
placeholder='请选择'
|
|
89
|
-
condition="cr.f_payment_method = '{}'"
|
|
90
|
-
:value.sync="model.f_payment_method"
|
|
91
|
-
:options='$parent.$parent.paymentMethod'
|
|
92
|
-
class="select select_list"
|
|
93
|
-
:value-single="true"
|
|
94
|
-
close-on-select ></v-select>
|
|
95
|
-
</div>
|
|
96
|
-
<div class="form-group col-sm-3">
|
|
97
|
-
<label class="font_normal_body">缴费状态:</label>
|
|
98
|
-
<v-select
|
|
99
|
-
v-model="model.f_charge_status"
|
|
100
|
-
placeholder='请选择'
|
|
101
|
-
condition="cr.f_charge_status = '{}'"
|
|
102
|
-
:value.sync="model.f_charge_status"
|
|
103
|
-
:options='$parent.$parent.chargingStatus'
|
|
104
|
-
class="select select_list"
|
|
105
|
-
:value-single="true"
|
|
106
|
-
close-on-select ></v-select>
|
|
107
|
-
</div>
|
|
108
|
-
<div class="form-group col-sm-3">
|
|
109
|
-
<label for="startDate" class="font_normal_body">开始时间:</label>
|
|
110
|
-
<datepicker id="startDate" placeholder="开始日期"
|
|
111
|
-
style="width: 60%!important;"
|
|
112
|
-
v-model="model.startDate"
|
|
113
|
-
:value.sync="model.startDate"
|
|
114
|
-
:format="'yyyy-MM-dd 00:00:00'"
|
|
115
|
-
:show-reset-button="true"
|
|
116
|
-
condition="cr.f_charge_date >= '{}'">
|
|
117
|
-
</datepicker>
|
|
118
|
-
</div>
|
|
119
|
-
<div class="form-group col-sm-3">
|
|
120
|
-
<label for="endDate" class="font_normal_body">结束时间:</label>
|
|
121
|
-
<datepicker id="endDate" placeholder="结束日期"
|
|
122
|
-
style="width: 60%!important;"
|
|
123
|
-
v-model="model.endDate"
|
|
124
|
-
:value.sync="model.endDate"
|
|
125
|
-
:format="'yyyy-MM-dd 23:59:59'"
|
|
126
|
-
:show-reset-button="true"
|
|
127
|
-
condition="cr.f_charge_date <= '{}'">
|
|
128
|
-
</datepicker>
|
|
129
|
-
</div>
|
|
130
|
-
<div class="form-group col-sm-3">
|
|
131
|
-
<label class="font_normal_body">新旧报建:</label>
|
|
132
|
-
<v-select
|
|
133
|
-
v-model="model.f_house_type"
|
|
134
|
-
placeholder='保存状态'
|
|
135
|
-
condition="a.f_house_type {}"
|
|
136
|
-
:value.sync="model.f_house_type"
|
|
137
|
-
:options='$parent.$parent.houseType'
|
|
138
|
-
class="select select_list"
|
|
139
|
-
:value-single="true"
|
|
140
|
-
close-on-select >
|
|
141
|
-
</v-select>
|
|
142
|
-
</div>
|
|
223
|
+
<div class="form-group col-sm-3">
|
|
224
|
+
<label class="font_normal_body"><strong>营业网点:</strong></label>
|
|
225
|
+
<v-select
|
|
226
|
+
v-model="model.f_depname"
|
|
227
|
+
placeholder="请选择"
|
|
228
|
+
condition="cr.f_depname = '{}'"
|
|
229
|
+
:value.sync="model.f_depname"
|
|
230
|
+
:options="$parent.$parent.Business"
|
|
231
|
+
class="select select_list"
|
|
232
|
+
:value-single="true"
|
|
233
|
+
close-on-select
|
|
234
|
+
></v-select>
|
|
143
235
|
</div>
|
|
144
236
|
</div>
|
|
145
|
-
</
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
<
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
<
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
237
|
+
</div>
|
|
238
|
+
</criteria>
|
|
239
|
+
<data-grid
|
|
240
|
+
:model="model"
|
|
241
|
+
partial="list"
|
|
242
|
+
v-ref:grid
|
|
243
|
+
style="overflow: auto"
|
|
244
|
+
class="list_area table_sy"
|
|
245
|
+
>
|
|
246
|
+
<template partial="head">
|
|
247
|
+
<tr>
|
|
248
|
+
<th style="white-space: nowrap">序号</th>
|
|
249
|
+
<th style="white-space: nowrap">报建编号</th>
|
|
250
|
+
<th style="white-space: nowrap">用户名称</th>
|
|
251
|
+
<th style="white-space: nowrap">电话</th>
|
|
252
|
+
<th style="white-space: nowrap">合同编号</th>
|
|
253
|
+
<th style="white-space: nowrap">报建类型</th>
|
|
254
|
+
<th style="white-space: nowrap">报建性质</th>
|
|
255
|
+
<th style="white-space: nowrap">收费金额</th>
|
|
256
|
+
<th style="white-space: nowrap">户数</th>
|
|
257
|
+
<th style="white-space: nowrap">付款方式</th>
|
|
258
|
+
<th style="white-space: nowrap">收费人员</th>
|
|
259
|
+
<th style="white-space: nowrap">收费日期</th>
|
|
260
|
+
<th style="white-space: nowrap">缴费状态</th>
|
|
261
|
+
<th
|
|
262
|
+
style="white-space: nowrap"
|
|
263
|
+
v-if="!$parent.$parent.$parent.showStatus"
|
|
264
|
+
>
|
|
265
|
+
作废人员
|
|
266
|
+
</th>
|
|
267
|
+
<th
|
|
268
|
+
style="white-space: nowrap"
|
|
269
|
+
v-if="!$parent.$parent.$parent.showStatus"
|
|
270
|
+
>
|
|
271
|
+
作废时间
|
|
272
|
+
</th>
|
|
273
|
+
<th
|
|
274
|
+
style="white-space: nowrap"
|
|
275
|
+
v-if="!$parent.$parent.$parent.showStatus"
|
|
276
|
+
>
|
|
277
|
+
作废原因
|
|
278
|
+
</th>
|
|
279
|
+
<th style="white-space: nowrap">票据类型</th>
|
|
280
|
+
<th style="white-space: nowrap">发票代码</th>
|
|
281
|
+
<th style="white-space: nowrap">发票号码</th>
|
|
282
|
+
<th style="white-space: nowrap">票据状态</th>
|
|
283
|
+
<th style="white-space: nowrap">操作</th>
|
|
284
|
+
<th style="white-space: nowrap">流水号</th>
|
|
285
|
+
</tr>
|
|
286
|
+
</template>
|
|
287
|
+
<template partial="body">
|
|
288
|
+
<tr>
|
|
289
|
+
<td style="text-align: center">
|
|
290
|
+
<nobr
|
|
291
|
+
><font>{{ $index + 1 }}</font></nobr
|
|
292
|
+
>
|
|
293
|
+
</td>
|
|
294
|
+
<td style="text-align: center">
|
|
295
|
+
<nobr
|
|
296
|
+
><font>{{ row.f_apply_num }}</font></nobr
|
|
297
|
+
>
|
|
298
|
+
</td>
|
|
299
|
+
<td style="text-align: center">
|
|
300
|
+
<nobr
|
|
301
|
+
><font>{{ row.f_user_name }}</font></nobr
|
|
302
|
+
>
|
|
303
|
+
</td>
|
|
304
|
+
<td style="text-align: center">
|
|
305
|
+
<nobr
|
|
306
|
+
><font>{{ row.f_phone }}</font></nobr
|
|
307
|
+
>
|
|
308
|
+
</td>
|
|
309
|
+
<td style="text-align: center">
|
|
310
|
+
<nobr
|
|
311
|
+
><font>{{ row.f_contract_number }}</font></nobr
|
|
312
|
+
>
|
|
313
|
+
</td>
|
|
314
|
+
<td style="text-align: center">
|
|
315
|
+
<nobr
|
|
316
|
+
><font>{{ row.f_apply_type }}</font></nobr
|
|
317
|
+
>
|
|
318
|
+
</td>
|
|
319
|
+
<td style="text-align: center">
|
|
320
|
+
<nobr
|
|
321
|
+
><font>{{ row.f_apply_nature }}</font></nobr
|
|
322
|
+
>
|
|
323
|
+
</td>
|
|
324
|
+
<td style="text-align: center">
|
|
325
|
+
<nobr
|
|
326
|
+
><font>{{ row.f_charge_money }}</font></nobr
|
|
327
|
+
>
|
|
328
|
+
</td>
|
|
329
|
+
<td style="text-align: center">
|
|
330
|
+
<nobr
|
|
331
|
+
><font>{{ row.f_feecount }}</font></nobr
|
|
332
|
+
>
|
|
333
|
+
</td>
|
|
334
|
+
<td style="text-align: center">
|
|
335
|
+
<nobr
|
|
336
|
+
><font>{{ row.f_payment_method }}</font></nobr
|
|
337
|
+
>
|
|
338
|
+
</td>
|
|
339
|
+
<td style="text-align: center">
|
|
340
|
+
<nobr
|
|
341
|
+
><font>{{ row.f_charge_collectors }}</font></nobr
|
|
342
|
+
>
|
|
343
|
+
</td>
|
|
344
|
+
<td style="text-align: center">
|
|
345
|
+
<nobr
|
|
346
|
+
><font>{{ row.f_charge_date }}</font></nobr
|
|
347
|
+
>
|
|
348
|
+
</td>
|
|
349
|
+
<td style="text-align: center">
|
|
350
|
+
<nobr
|
|
351
|
+
><font>{{ row.f_charge_status }}</font></nobr
|
|
352
|
+
>
|
|
353
|
+
</td>
|
|
354
|
+
<td
|
|
355
|
+
style="text-align: center"
|
|
356
|
+
v-if="!$parent.$parent.$parent.showStatus"
|
|
357
|
+
>
|
|
358
|
+
<nobr
|
|
359
|
+
><font>{{ row.f_void_staff }}</font></nobr
|
|
360
|
+
>
|
|
361
|
+
</td>
|
|
362
|
+
<td
|
|
363
|
+
style="text-align: center"
|
|
364
|
+
v-if="!$parent.$parent.$parent.showStatus"
|
|
365
|
+
>
|
|
366
|
+
<nobr
|
|
367
|
+
><font>{{ row.f_void_date }}</font></nobr
|
|
368
|
+
>
|
|
369
|
+
</td>
|
|
370
|
+
<td
|
|
371
|
+
style="text-align: center"
|
|
372
|
+
v-if="!$parent.$parent.$parent.showStatus"
|
|
373
|
+
>
|
|
374
|
+
<nobr
|
|
375
|
+
><font>{{ row.f_void_remarks }}</font></nobr
|
|
376
|
+
>
|
|
377
|
+
</td>
|
|
378
|
+
<td style="text-align: center">
|
|
379
|
+
<nobr
|
|
380
|
+
><font>{{ row.f_bill_style }}</font></nobr
|
|
381
|
+
>
|
|
382
|
+
</td>
|
|
383
|
+
<td style="text-align: center">
|
|
384
|
+
<nobr
|
|
385
|
+
><font>{{ row.f_bill_code }}</font></nobr
|
|
386
|
+
>
|
|
387
|
+
</td>
|
|
388
|
+
<td style="text-align: center">
|
|
389
|
+
<nobr
|
|
390
|
+
><font>{{ row.f_bill_number }}</font></nobr
|
|
391
|
+
>
|
|
392
|
+
</td>
|
|
393
|
+
<td style="text-align: center">
|
|
394
|
+
<nobr
|
|
395
|
+
><font>{{ row.f_bill_state }}</font></nobr
|
|
396
|
+
>
|
|
397
|
+
</td>
|
|
398
|
+
<td style="text-align: center">
|
|
399
|
+
<nobr v-if="row.f_charge_status !== '作废'">
|
|
400
|
+
<button
|
|
401
|
+
type="button"
|
|
402
|
+
name="button"
|
|
403
|
+
class="btn btn-link"
|
|
404
|
+
v-if="row.f_bill_state !== '开票成功'"
|
|
405
|
+
@click="$parent.$parent.$parent.openBill(row)"
|
|
406
|
+
>
|
|
407
|
+
开票
|
|
408
|
+
</button>
|
|
242
409
|
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
410
|
+
<button
|
|
411
|
+
type="button"
|
|
412
|
+
name="button"
|
|
413
|
+
class="btn btn-link"
|
|
414
|
+
v-else
|
|
415
|
+
@click="$parent.$parent.$parent.showPrintModal(row)"
|
|
416
|
+
>
|
|
417
|
+
查看发票
|
|
418
|
+
</button>
|
|
419
|
+
<button
|
|
420
|
+
type="button"
|
|
421
|
+
name="button"
|
|
422
|
+
class="btn btn-link"
|
|
423
|
+
v-if="
|
|
424
|
+
$parent.$parent.$parent.getUserRolesname &&
|
|
425
|
+
row.f_charge_money > 0
|
|
426
|
+
"
|
|
427
|
+
@click="$parent.$parent.$parent.showChongZhengModal(row)"
|
|
428
|
+
>
|
|
429
|
+
作废
|
|
430
|
+
</button>
|
|
431
|
+
</nobr>
|
|
432
|
+
</td>
|
|
433
|
+
<td style="text-align: center">
|
|
434
|
+
<nobr
|
|
435
|
+
><font>{{ row.f_payer_number }}</font></nobr
|
|
436
|
+
>
|
|
437
|
+
</td>
|
|
438
|
+
</tr>
|
|
439
|
+
</template>
|
|
440
|
+
</data-grid>
|
|
441
|
+
</criteria-paged>
|
|
262
442
|
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
<
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
443
|
+
<modal
|
|
444
|
+
v-if="showPrint"
|
|
445
|
+
:show.sync="showPrint"
|
|
446
|
+
v-ref:modal
|
|
447
|
+
:large="true"
|
|
448
|
+
:backdrop="false"
|
|
449
|
+
>
|
|
450
|
+
<header slot="modal-header" class="modal-header">
|
|
451
|
+
<button type="button" class="close" @click="showPrint = !showPrint">
|
|
452
|
+
<span>×</span>
|
|
453
|
+
</button>
|
|
454
|
+
<h4 class="modal-title">票据信息</h4>
|
|
455
|
+
</header>
|
|
456
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
457
|
+
<iframe
|
|
458
|
+
width="100%"
|
|
459
|
+
height="500px"
|
|
460
|
+
:src="charge.f_bill_link"
|
|
461
|
+
v-if="charge.f_bill_link"
|
|
462
|
+
></iframe>
|
|
463
|
+
</article>
|
|
464
|
+
<footer slot="modal-footer" class="modal-footer"></footer>
|
|
465
|
+
</modal>
|
|
466
|
+
<modal
|
|
467
|
+
v-if="showChongZheng"
|
|
468
|
+
:show.sync="showChongZheng"
|
|
469
|
+
v-ref:modal
|
|
470
|
+
:large="true"
|
|
471
|
+
:backdrop="false"
|
|
472
|
+
style="overflow: auto"
|
|
473
|
+
>
|
|
275
474
|
<header slot="modal-header" class="modal-header">
|
|
276
|
-
<button
|
|
475
|
+
<button
|
|
476
|
+
type="button"
|
|
477
|
+
class="close"
|
|
478
|
+
@click="showChongZheng = !showChongZheng"
|
|
479
|
+
>
|
|
480
|
+
<span>×</span>
|
|
481
|
+
</button>
|
|
277
482
|
<h4 class="modal-title">冲正信息</h4>
|
|
278
483
|
</header>
|
|
279
484
|
<article slot="modal-body" class="modal-body clearfix">
|
|
280
485
|
<div class="form-group col-sm-5">
|
|
281
486
|
<label class="col-sm-4 control-label">收费金额:</label>
|
|
282
487
|
<div class="col-sm-8">
|
|
283
|
-
<input
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
488
|
+
<input
|
|
489
|
+
type="text"
|
|
490
|
+
class="form-control input_view"
|
|
491
|
+
style="width: 100%"
|
|
492
|
+
readonly
|
|
493
|
+
v-model="charge.f_charge_money"
|
|
494
|
+
/>
|
|
288
495
|
</div>
|
|
289
496
|
</div>
|
|
290
497
|
<div class="form-group col-sm-5">
|
|
291
498
|
<label class="col-sm-4 control-label">金额大写:</label>
|
|
292
499
|
<div class="col-sm-8">
|
|
293
|
-
<input
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
500
|
+
<input
|
|
501
|
+
type="text"
|
|
502
|
+
class="form-control input_view"
|
|
503
|
+
style="width: 100%"
|
|
504
|
+
readonly
|
|
505
|
+
v-model="charge.f_amount_words"
|
|
506
|
+
/>
|
|
298
507
|
</div>
|
|
299
508
|
</div>
|
|
300
509
|
<div class="form-group col-sm-5">
|
|
301
510
|
<label class="col-sm-4 control-label">付款方式:</label>
|
|
302
511
|
<div class="col-sm-8">
|
|
303
|
-
<input
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
512
|
+
<input
|
|
513
|
+
type="text"
|
|
514
|
+
class="form-control input_view"
|
|
515
|
+
style="width: 100%"
|
|
516
|
+
readonly
|
|
517
|
+
v-model="charge.f_payment_method"
|
|
518
|
+
/>
|
|
308
519
|
</div>
|
|
309
520
|
</div>
|
|
310
521
|
<div class="form-group col-sm-5">
|
|
311
522
|
<label class="col-sm-4 control-label">收费人员:</label>
|
|
312
523
|
<div class="col-sm-8">
|
|
313
|
-
<input
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
524
|
+
<input
|
|
525
|
+
type="text"
|
|
526
|
+
class="form-control input_view"
|
|
527
|
+
style="width: 100%"
|
|
528
|
+
readonly
|
|
529
|
+
v-model="charge.f_charge_collectors"
|
|
530
|
+
/>
|
|
318
531
|
</div>
|
|
319
532
|
</div>
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
533
|
+
<div class="form-group col-sm-5">
|
|
534
|
+
<label class="col-sm-4 control-label">发票代码:</label>
|
|
535
|
+
<div class="col-sm-8">
|
|
536
|
+
<input
|
|
537
|
+
type="text"
|
|
538
|
+
class="form-control input_view"
|
|
539
|
+
style="width: 100%"
|
|
540
|
+
readonly
|
|
541
|
+
v-model="detail.fpdm"
|
|
542
|
+
/>
|
|
543
|
+
</div>
|
|
544
|
+
</div>
|
|
545
|
+
<div class="form-group col-sm-5">
|
|
546
|
+
<label class="col-sm-4 control-label">发票号码:</label>
|
|
547
|
+
<div class="col-sm-8">
|
|
548
|
+
<input
|
|
549
|
+
type="text"
|
|
550
|
+
class="form-control input_view"
|
|
551
|
+
style="width: 100%"
|
|
552
|
+
readonly
|
|
553
|
+
v-model="detail.fphm"
|
|
554
|
+
/>
|
|
555
|
+
</div>
|
|
556
|
+
</div>
|
|
557
|
+
<div class="form-group col-sm-5">
|
|
558
|
+
<label class="col-sm-4 control-label">购方单位名称:</label>
|
|
559
|
+
<div class="col-sm-8">
|
|
560
|
+
<input
|
|
561
|
+
type="text"
|
|
562
|
+
class="form-control input_view"
|
|
563
|
+
style="width: 100%"
|
|
564
|
+
readonly
|
|
565
|
+
v-model="detail.ghdwmc"
|
|
566
|
+
/>
|
|
567
|
+
</div>
|
|
568
|
+
</div>
|
|
569
|
+
<div class="form-group col-sm-5">
|
|
570
|
+
<label class="col-sm-4 control-label">开票人:</label>
|
|
571
|
+
<div class="col-sm-8">
|
|
572
|
+
<input
|
|
573
|
+
type="text"
|
|
574
|
+
class="form-control input_view"
|
|
575
|
+
style="width: 100%"
|
|
576
|
+
readonly
|
|
577
|
+
v-model="detail.kpr"
|
|
578
|
+
/>
|
|
579
|
+
</div>
|
|
580
|
+
</div>
|
|
581
|
+
<div class="form-group col-sm-5">
|
|
582
|
+
<label class="col-sm-4 control-label">开票日期:</label>
|
|
583
|
+
<div class="col-sm-8">
|
|
584
|
+
<input
|
|
585
|
+
type="text"
|
|
586
|
+
class="form-control input_view"
|
|
587
|
+
style="width: 100%"
|
|
588
|
+
readonly
|
|
589
|
+
v-model="detail.kprq"
|
|
590
|
+
/>
|
|
591
|
+
</div>
|
|
592
|
+
</div>
|
|
593
|
+
<div class="form-group col-sm-5">
|
|
594
|
+
<label class="col-sm-4 control-label">合计金额:</label>
|
|
595
|
+
<div class="col-sm-8">
|
|
596
|
+
<input
|
|
597
|
+
type="text"
|
|
598
|
+
class="form-control input_view"
|
|
599
|
+
style="width: 100%"
|
|
600
|
+
readonly
|
|
601
|
+
v-model="detail.hjje"
|
|
602
|
+
/>
|
|
603
|
+
</div>
|
|
604
|
+
</div>
|
|
605
|
+
<div class="form-group col-sm-5">
|
|
606
|
+
<label class="col-sm-4 control-label">合计税额:</label>
|
|
607
|
+
<div class="col-sm-8">
|
|
608
|
+
<input
|
|
609
|
+
type="text"
|
|
610
|
+
class="form-control input_view"
|
|
611
|
+
style="width: 100%"
|
|
612
|
+
readonly
|
|
613
|
+
v-model="detail.hjse"
|
|
614
|
+
/>
|
|
615
|
+
</div>
|
|
616
|
+
</div>
|
|
617
|
+
<div class="form-group col-sm-5">
|
|
618
|
+
<label class="col-sm-4 control-label">价税合计:</label>
|
|
619
|
+
<div class="col-sm-8">
|
|
620
|
+
<input
|
|
621
|
+
type="text"
|
|
622
|
+
class="form-control input_view"
|
|
623
|
+
style="width: 100%"
|
|
624
|
+
readonly
|
|
625
|
+
v-model="detail.jshj"
|
|
626
|
+
/>
|
|
627
|
+
</div>
|
|
628
|
+
</div>
|
|
629
|
+
<div
|
|
630
|
+
class="form-group col-sm-10"
|
|
631
|
+
:class="charge.f_void_remarks ? '' : 'has-error'"
|
|
632
|
+
>
|
|
401
633
|
<label class="col-sm-2 control-label">作废原因:</label>
|
|
402
634
|
<div class="col-sm-10">
|
|
403
|
-
<input
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
635
|
+
<input
|
|
636
|
+
type="text"
|
|
637
|
+
class="form-control input_view"
|
|
638
|
+
style="width: 100%"
|
|
639
|
+
v-model="charge.f_void_remarks"
|
|
640
|
+
/>
|
|
407
641
|
</div>
|
|
408
642
|
</div>
|
|
409
|
-
<apply-upload
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
643
|
+
<apply-upload
|
|
644
|
+
:blodid="charge.f_process_id"
|
|
645
|
+
:isupload="true"
|
|
646
|
+
:isdelete="true"
|
|
647
|
+
:isusetype="true"
|
|
648
|
+
:isremark="true"
|
|
649
|
+
:takeimg="false"
|
|
650
|
+
:issearch="false"
|
|
651
|
+
defname="冲正"
|
|
652
|
+
>
|
|
417
653
|
</apply-upload>
|
|
418
654
|
</article>
|
|
419
655
|
<footer slot="modal-footer" class="modal-footer">
|
|
420
|
-
<button
|
|
421
|
-
|
|
656
|
+
<button
|
|
657
|
+
type="button"
|
|
658
|
+
class="btn btn-primary"
|
|
659
|
+
:disabled="!charge.f_void_remarks"
|
|
660
|
+
@click="invalidApplyCharge()"
|
|
661
|
+
>
|
|
662
|
+
确认作废
|
|
663
|
+
</button>
|
|
664
|
+
<button
|
|
665
|
+
type="button"
|
|
666
|
+
class="btn btn-default"
|
|
667
|
+
@click="showChongZheng = !showChongZheng"
|
|
668
|
+
>
|
|
669
|
+
取消
|
|
670
|
+
</button>
|
|
422
671
|
</footer>
|
|
423
672
|
</modal>
|
|
424
673
|
</template>
|
|
425
674
|
|
|
426
675
|
<script>
|
|
427
|
-
import {PagedList} from
|
|
428
|
-
import {HttpResetClass} from
|
|
429
|
-
import {isEmpty} from
|
|
676
|
+
import { PagedList } from "vue-client";
|
|
677
|
+
import { HttpResetClass } from "vue-client";
|
|
678
|
+
import { isEmpty } from "../../Util";
|
|
430
679
|
import Vue from "vue";
|
|
431
680
|
export default {
|
|
432
|
-
title:
|
|
433
|
-
data
|
|
681
|
+
title: "报建收费列表",
|
|
682
|
+
data() {
|
|
434
683
|
return {
|
|
435
|
-
model: new PagedList(
|
|
436
|
-
f_charge_money: 0
|
|
684
|
+
model: new PagedList("rs/sql/getApplyCharge", 30, null, {
|
|
685
|
+
f_charge_money: 0,
|
|
437
686
|
}),
|
|
438
|
-
applytype: [
|
|
439
|
-
|
|
440
|
-
|
|
687
|
+
applytype: [
|
|
688
|
+
{ label: "全部", value: "" },
|
|
689
|
+
...this.$appdata.getParam("报建类型"),
|
|
690
|
+
],
|
|
691
|
+
paymentMethod: [
|
|
692
|
+
{ label: "全部", value: "" },
|
|
693
|
+
...this.$appdata.getParam("付款方式"),
|
|
694
|
+
],
|
|
695
|
+
billStyles: [
|
|
696
|
+
{ label: "全部", value: "" },
|
|
697
|
+
{ label: "电子票", value: "电子票" },
|
|
698
|
+
{ label: "专票", value: "专票" },
|
|
699
|
+
],
|
|
441
700
|
chargingStatus: [
|
|
442
|
-
{label:
|
|
443
|
-
{label:
|
|
444
|
-
{label:
|
|
701
|
+
{ label: "全部", value: "" },
|
|
702
|
+
{ label: "有效", value: "有效" },
|
|
703
|
+
{ label: "作废", value: "作废" },
|
|
704
|
+
],
|
|
705
|
+
Business: [
|
|
706
|
+
{ label: "微信", value: "微信" },
|
|
707
|
+
{ label: "各营业厅", value: "营业厅" },
|
|
708
|
+
],
|
|
709
|
+
houseType: [
|
|
710
|
+
{ label: "全部", value: "" },
|
|
711
|
+
{ label: "旧报建", value: ` = '旧报导入'` },
|
|
712
|
+
{ label: "新报建", value: " is null" },
|
|
445
713
|
],
|
|
446
|
-
houseType:[{label: '全部', value: ''}, {label: '旧报建', value: ` = '旧报导入'`}, {label: '新报建', value: ' is null' }],
|
|
447
714
|
criteriaShow: false,
|
|
448
715
|
showStatus: true,
|
|
449
716
|
getfield: {
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
717
|
+
f_apply_num: "报建编号",
|
|
718
|
+
f_user_name: "用户名称",
|
|
719
|
+
f_phone: "电话",
|
|
720
|
+
f_contract_number: "合同编号",
|
|
721
|
+
f_apply_type: "报建类型",
|
|
722
|
+
f_apply_nature: "报建性质",
|
|
723
|
+
f_charge_money: "收费金额",
|
|
724
|
+
f_feecount: "收费户数",
|
|
725
|
+
f_payment_method: "付款方式",
|
|
726
|
+
f_charge_collectors: "收费人员",
|
|
727
|
+
f_charge_date: "收费日期",
|
|
728
|
+
f_charge_status: "缴费状态",
|
|
729
|
+
f_bill_style: "票据类型",
|
|
730
|
+
f_bill_code: "发票代码",
|
|
731
|
+
f_bill_number: "发票号码",
|
|
732
|
+
f_bill_state: "票据状态",
|
|
466
733
|
},
|
|
467
734
|
charge: null,
|
|
468
735
|
showPrint: false,
|
|
469
|
-
showChongZheng:false,
|
|
470
|
-
detailShow:false,
|
|
736
|
+
showChongZheng: false,
|
|
737
|
+
detailShow: false,
|
|
471
738
|
detail: {
|
|
472
|
-
title:
|
|
473
|
-
confirmContent:
|
|
474
|
-
type:
|
|
475
|
-
}
|
|
476
|
-
}
|
|
739
|
+
title: "",
|
|
740
|
+
confirmContent: "",
|
|
741
|
+
type: "",
|
|
742
|
+
},
|
|
743
|
+
};
|
|
477
744
|
},
|
|
478
|
-
ready
|
|
745
|
+
ready() {
|
|
479
746
|
// 调用查询
|
|
480
|
-
this.search()
|
|
747
|
+
this.search();
|
|
481
748
|
},
|
|
482
749
|
methods: {
|
|
483
|
-
clear
|
|
750
|
+
clear() {
|
|
484
751
|
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
485
|
-
this.$refs.cp.$refs.cri.model[key] = []
|
|
486
|
-
})
|
|
752
|
+
this.$refs.cp.$refs.cri.model[key] = [];
|
|
753
|
+
});
|
|
487
754
|
},
|
|
488
|
-
searchCondition
|
|
489
|
-
if (this.showStatus){
|
|
490
|
-
args.condition = args.condition + ` and f_charge_status = '有效'
|
|
491
|
-
}else {
|
|
492
|
-
args.condition =
|
|
755
|
+
searchCondition(args) {
|
|
756
|
+
if (this.showStatus) {
|
|
757
|
+
args.condition = args.condition + ` and f_charge_status = '有效'`;
|
|
758
|
+
} else {
|
|
759
|
+
args.condition =
|
|
760
|
+
args.condition +
|
|
761
|
+
` and (f_charge_status = '作废' or f_charge_money < 0)`;
|
|
493
762
|
}
|
|
494
|
-
console.log("args.condition",args.condition)
|
|
495
|
-
this.model.search(args.condition, args.model)
|
|
763
|
+
console.log("args.condition", args.condition);
|
|
764
|
+
this.model.search(args.condition, args.model);
|
|
496
765
|
},
|
|
497
766
|
// 查询
|
|
498
|
-
search
|
|
499
|
-
this.$refs.cp.$refs.cri.search()
|
|
767
|
+
search() {
|
|
768
|
+
this.$refs.cp.$refs.cri.search();
|
|
500
769
|
},
|
|
501
|
-
updateshowStatus(){
|
|
502
|
-
this.showStatus = !this.showStatus
|
|
503
|
-
this.search()
|
|
770
|
+
updateshowStatus() {
|
|
771
|
+
this.showStatus = !this.showStatus;
|
|
772
|
+
this.search();
|
|
504
773
|
},
|
|
505
774
|
// 查看发票
|
|
506
775
|
showPrintModal(row) {
|
|
507
|
-
this.charge = row
|
|
508
|
-
if (!this.charge.f_bill_link && this.charge.f_filepath){
|
|
509
|
-
let date = new Date(this.charge.f_charge_date)
|
|
510
|
-
let year = date.getFullYear()
|
|
511
|
-
let month = date.getMonth() + 1
|
|
512
|
-
let month2 = month <= 9 ?
|
|
513
|
-
let day = date.getDate()
|
|
514
|
-
let day2 = day <= 9 ?
|
|
515
|
-
let chargedate = year +
|
|
516
|
-
this.charge.f_bill_link =
|
|
517
|
-
|
|
518
|
-
|
|
776
|
+
this.charge = row;
|
|
777
|
+
if (!this.charge.f_bill_link && this.charge.f_filepath) {
|
|
778
|
+
let date = new Date(this.charge.f_charge_date);
|
|
779
|
+
let year = date.getFullYear();
|
|
780
|
+
let month = date.getMonth() + 1;
|
|
781
|
+
let month2 = month <= 9 ? "0" + month : month;
|
|
782
|
+
let day = date.getDate();
|
|
783
|
+
let day2 = day <= 9 ? "0" + day : day;
|
|
784
|
+
let chargedate = year + "-" + month2 + "-" + day2;
|
|
785
|
+
this.charge.f_bill_link =
|
|
786
|
+
`http://193.168.1.6:8082/eticket/` +
|
|
787
|
+
chargedate +
|
|
788
|
+
"/" +
|
|
789
|
+
this.charge.f_filepath +
|
|
790
|
+
".pdf";
|
|
791
|
+
} else if (!this.charge.f_bill_link) {
|
|
792
|
+
this.charge.f_bill_link = this.charge.f_bill_url;
|
|
519
793
|
}
|
|
520
|
-
this.showPrint = true
|
|
794
|
+
this.showPrint = true;
|
|
521
795
|
},
|
|
522
796
|
// 开票
|
|
523
|
-
async openBill
|
|
524
|
-
this.charge = charge
|
|
525
|
-
let data = null
|
|
526
|
-
let res = null
|
|
797
|
+
async openBill(charge) {
|
|
798
|
+
this.charge = charge;
|
|
799
|
+
let data = null;
|
|
800
|
+
let res = null;
|
|
527
801
|
|
|
528
|
-
let http = new HttpResetClass()
|
|
802
|
+
let http = new HttpResetClass();
|
|
529
803
|
|
|
530
804
|
if (isEmpty(this.charge.f_bill_id)) {
|
|
531
805
|
data = {
|
|
532
806
|
id: this.charge.id,
|
|
533
|
-
charge_type:
|
|
534
|
-
f_user_name: this.charge.f_user_name
|
|
807
|
+
charge_type: "报装收费",
|
|
808
|
+
f_user_name: this.charge.f_user_name,
|
|
809
|
+
};
|
|
810
|
+
if (this.charge.f_apply_type === "改线业务") {
|
|
811
|
+
data.charge_type = "整改收费";
|
|
535
812
|
}
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
813
|
+
res = await http.load(
|
|
814
|
+
"POST",
|
|
815
|
+
"rs/logic/bjEticketCharge",
|
|
816
|
+
{ data: data },
|
|
817
|
+
{
|
|
818
|
+
resolveMsg: null,
|
|
819
|
+
rejectMsg: "开票失败!!!",
|
|
820
|
+
}
|
|
821
|
+
);
|
|
822
|
+
this.charge.f_bill_id = res.data;
|
|
544
823
|
}
|
|
545
824
|
|
|
546
|
-
if (this.charge.f_bill_style ===
|
|
825
|
+
if (this.charge.f_bill_style === "电子票") {
|
|
547
826
|
data = {
|
|
548
827
|
id: this.charge.f_bill_id,
|
|
549
|
-
f_sell_id: this.charge.id
|
|
550
|
-
}
|
|
828
|
+
f_sell_id: this.charge.id,
|
|
829
|
+
};
|
|
551
830
|
try {
|
|
552
|
-
res = await http.load(
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
831
|
+
res = await http.load(
|
|
832
|
+
"POST",
|
|
833
|
+
"rs/logic/bjOpenEticket",
|
|
834
|
+
{ data: data },
|
|
835
|
+
{
|
|
836
|
+
resolveMsg: null,
|
|
837
|
+
rejectMsg: "开票失败!!!",
|
|
838
|
+
}
|
|
839
|
+
);
|
|
556
840
|
|
|
557
841
|
// res.data.f_bill_url = 'https://dlj.51fapiao.cn/dlj/v7/de4c9b985021111ef1c722c2914e34d9273291'
|
|
558
842
|
|
|
559
|
-
if (res.data.f_bill_state !==
|
|
560
|
-
throw
|
|
561
|
-
}else {
|
|
562
|
-
let date = new Date()
|
|
563
|
-
let year = date.getFullYear()
|
|
564
|
-
let month = date.getMonth() + 1
|
|
565
|
-
let day = date.getDate()
|
|
566
|
-
let month2 = month <= 9 ?
|
|
567
|
-
let day2 = day <= 9 ?
|
|
568
|
-
let chargedate = year +
|
|
569
|
-
this.charge.f_bill_link =
|
|
843
|
+
if (res.data.f_bill_state !== "开票成功") {
|
|
844
|
+
throw "开票失败!!!";
|
|
845
|
+
} else {
|
|
846
|
+
let date = new Date();
|
|
847
|
+
let year = date.getFullYear();
|
|
848
|
+
let month = date.getMonth() + 1;
|
|
849
|
+
let day = date.getDate();
|
|
850
|
+
let month2 = month <= 9 ? "0" + month : month;
|
|
851
|
+
let day2 = day <= 9 ? "0" + day : day;
|
|
852
|
+
let chargedate = year + "-" + month2 + "-" + day2;
|
|
853
|
+
this.charge.f_bill_link =
|
|
854
|
+
`http://193.168.1.6:8082/eticket/` +
|
|
855
|
+
chargedate +
|
|
856
|
+
"/" +
|
|
857
|
+
res.data.f_filepath +
|
|
858
|
+
".pdf";
|
|
570
859
|
let pram = {
|
|
571
860
|
f_bill_link: this.charge.f_bill_link,
|
|
572
|
-
f_sell_id: this.charge.id
|
|
573
|
-
}
|
|
574
|
-
await http.load(
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
861
|
+
f_sell_id: this.charge.id,
|
|
862
|
+
};
|
|
863
|
+
await http.load(
|
|
864
|
+
"POST",
|
|
865
|
+
"rs/logic/updataChargeRecord",
|
|
866
|
+
{ data: pram },
|
|
867
|
+
{
|
|
868
|
+
resolveMsg: null,
|
|
869
|
+
rejectMsg: null,
|
|
870
|
+
}
|
|
871
|
+
);
|
|
578
872
|
}
|
|
579
|
-
this.charge.f_bill_state = res.data.f_bill_state
|
|
580
|
-
this.charge.f_bill_url = res.data.f_bill_url
|
|
873
|
+
this.charge.f_bill_state = res.data.f_bill_state;
|
|
874
|
+
this.charge.f_bill_url = res.data.f_bill_url;
|
|
581
875
|
|
|
582
|
-
this.showPrint = true
|
|
876
|
+
this.showPrint = true;
|
|
583
877
|
} catch (e) {
|
|
584
|
-
console.error(e)
|
|
585
|
-
this.charge.f_bill_state =
|
|
878
|
+
console.error(e);
|
|
879
|
+
this.charge.f_bill_state = "开票失败";
|
|
586
880
|
|
|
587
881
|
data = {
|
|
588
882
|
f_bill_id: this.charge.f_bill_id,
|
|
589
|
-
id: this.charge.id
|
|
590
|
-
}
|
|
591
|
-
res = await http.load(
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
883
|
+
id: this.charge.id,
|
|
884
|
+
};
|
|
885
|
+
res = await http.load(
|
|
886
|
+
"POST",
|
|
887
|
+
"rs/logic/updateChargeBill",
|
|
888
|
+
{ data: data },
|
|
889
|
+
{
|
|
890
|
+
resolveMsg: null,
|
|
891
|
+
rejectMsg: "收费信息更新失败!!!",
|
|
892
|
+
}
|
|
893
|
+
);
|
|
595
894
|
|
|
596
|
-
throw e
|
|
895
|
+
throw e;
|
|
597
896
|
}
|
|
598
|
-
}else if (this.charge.f_bill_style ===
|
|
599
|
-
|
|
897
|
+
} else if (this.charge.f_bill_style === "专票") {
|
|
600
898
|
data = {
|
|
601
|
-
id: this.charge.f_bill_id
|
|
602
|
-
}
|
|
603
|
-
res = await http.load(
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
let
|
|
613
|
-
openBillData.
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
openBillData.
|
|
619
|
-
openBillData.
|
|
620
|
-
openBillData.
|
|
899
|
+
id: this.charge.f_bill_id,
|
|
900
|
+
};
|
|
901
|
+
res = await http.load(
|
|
902
|
+
"POST",
|
|
903
|
+
"rs/sql/getEticketData",
|
|
904
|
+
{ data: data },
|
|
905
|
+
{
|
|
906
|
+
resolveMsg: null,
|
|
907
|
+
rejectMsg: "开票数据查询失败!!!",
|
|
908
|
+
}
|
|
909
|
+
);
|
|
910
|
+
let openBillData = JSON.parse(res.data[0].f_bill_data);
|
|
911
|
+
openBillData.kpzdbs = this.$login.f.taxnum;
|
|
912
|
+
const nowDate = new Date();
|
|
913
|
+
let year = nowDate.getFullYear();
|
|
914
|
+
let mouth = nowDate.getMonth() + 1;
|
|
915
|
+
let day = nowDate.getDate();
|
|
916
|
+
openBillData.f_operate_date = year + "-" + mouth + "-" + day;
|
|
917
|
+
openBillData.f_operator = this.$login.f.name;
|
|
918
|
+
openBillData.outlets = this.$login.f.f_parentname;
|
|
919
|
+
openBillData.hjse = "";
|
|
920
|
+
openBillData.jshh = "";
|
|
921
|
+
openBillData.tzdbh = "";
|
|
922
|
+
openBillData.yfpdm = "";
|
|
923
|
+
openBillData.yfphm = "";
|
|
621
924
|
|
|
622
|
-
console.log(
|
|
623
|
-
let billInfo = await this.$resetpost(
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
925
|
+
console.log("返回开票信息。。 ", openBillData);
|
|
926
|
+
let billInfo = await this.$resetpost(
|
|
927
|
+
"http://127.0.0.1:8003/Goldtax",
|
|
928
|
+
openBillData,
|
|
929
|
+
{ resolveMsg: null, rejectMsg: "专用发票开具失败!" }
|
|
930
|
+
);
|
|
931
|
+
console.log("返回票据信息。。 ", JSON.parse(billInfo.data)); //保存发票明细
|
|
932
|
+
if (!JSON.parse(billInfo.data).fphm) {
|
|
933
|
+
this.charge.f_bill_state = "开票失败";
|
|
627
934
|
data = {
|
|
628
935
|
f_bill_id: this.charge.f_bill_id,
|
|
629
|
-
id: this.charge.id
|
|
630
|
-
}
|
|
631
|
-
res = await http.load(
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
936
|
+
id: this.charge.id,
|
|
937
|
+
};
|
|
938
|
+
res = await http.load(
|
|
939
|
+
"POST",
|
|
940
|
+
"rs/logic/updateChargeBill",
|
|
941
|
+
{ data: data },
|
|
942
|
+
{
|
|
943
|
+
resolveMsg: null,
|
|
944
|
+
rejectMsg: "收费信息更新失败!!!",
|
|
945
|
+
}
|
|
946
|
+
);
|
|
947
|
+
this.$showAlert("开票失败!!!", "warning", 3000);
|
|
948
|
+
throw "开票失败!!";
|
|
949
|
+
} else {
|
|
638
950
|
data = {
|
|
639
951
|
id: this.charge.f_bill_id,
|
|
640
952
|
f_bill_number: JSON.parse(billInfo.data).fphm,
|
|
641
953
|
f_bill_code: JSON.parse(billInfo.data).fpdm,
|
|
642
|
-
f_filepath: JSON.parse(billInfo.data).dzpkex
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
954
|
+
f_filepath: JSON.parse(billInfo.data).dzpkex
|
|
955
|
+
? JSON.parse(billInfo.data).dzpkex
|
|
956
|
+
: "",
|
|
957
|
+
charge_id: this.charge.id,
|
|
958
|
+
};
|
|
959
|
+
res = await http.load(
|
|
960
|
+
"POST",
|
|
961
|
+
"rs/logic/updateEticketBill",
|
|
962
|
+
{ data: data },
|
|
963
|
+
{
|
|
964
|
+
resolveMsg: null,
|
|
965
|
+
rejectMsg: "开票信息更新失败!!!",
|
|
966
|
+
}
|
|
967
|
+
);
|
|
649
968
|
|
|
650
|
-
this.charge.f_bill_state =
|
|
651
|
-
this.charge.f_bill_url =
|
|
969
|
+
this.charge.f_bill_state = "开票成功";
|
|
970
|
+
this.charge.f_bill_url = "";
|
|
652
971
|
}
|
|
653
972
|
}
|
|
654
973
|
},
|
|
655
|
-
showChongZhengModal(row){
|
|
656
|
-
this.charge = row
|
|
657
|
-
if (this.$login.f.rolesnames.includes(
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
this
|
|
662
|
-
|
|
974
|
+
showChongZhengModal(row) {
|
|
975
|
+
this.charge = row;
|
|
976
|
+
if (this.$login.f.rolesnames.includes("营业厅报装")) {
|
|
977
|
+
this.detailGen(this, "发票作废信息", "确认作废", "cancel");
|
|
978
|
+
} else {
|
|
979
|
+
this.showChongZheng = false;
|
|
980
|
+
this.$showAlert(
|
|
981
|
+
`您现在没有权限进行冲正,请联系管理员进行授权!`,
|
|
982
|
+
"warning",
|
|
983
|
+
3000
|
|
984
|
+
);
|
|
663
985
|
}
|
|
664
986
|
},
|
|
665
|
-
async detailGen
|
|
666
|
-
self.detail.title = title
|
|
667
|
-
self.detail.confirmContent = content
|
|
668
|
-
self.detail.type = type
|
|
987
|
+
async detailGen(self, title, content, type) {
|
|
988
|
+
self.detail.title = title;
|
|
989
|
+
self.detail.confirmContent = content;
|
|
990
|
+
self.detail.type = type;
|
|
669
991
|
|
|
670
992
|
let param = {
|
|
671
993
|
f_bill_code: self.charge.f_bill_code,
|
|
672
|
-
f_bill_number: self.charge.f_bill_number
|
|
994
|
+
f_bill_number: self.charge.f_bill_number,
|
|
673
995
|
// f_bill_code: '061002101311',
|
|
674
996
|
// f_bill_number: '88682136'
|
|
675
|
-
}
|
|
676
|
-
let getDetail = await self.$resetpost(
|
|
677
|
-
|
|
997
|
+
};
|
|
998
|
+
let getDetail = await self.$resetpost(
|
|
999
|
+
"rs/logic/queryEticket",
|
|
1000
|
+
{ data: param },
|
|
1001
|
+
{ resolveMsg: null, rejectMsg: "获取发票明细失败!!!" }
|
|
1002
|
+
);
|
|
1003
|
+
console.log("详情", getDetail);
|
|
678
1004
|
if (getDetail.data) {
|
|
679
|
-
self.detail = Object.assign({}, self.detail, getDetail.data)
|
|
680
|
-
console.log(
|
|
681
|
-
self.showChongZheng = true
|
|
1005
|
+
self.detail = Object.assign({}, self.detail, getDetail.data);
|
|
1006
|
+
console.log("获取票据明细信息", self.detail);
|
|
1007
|
+
self.showChongZheng = true;
|
|
682
1008
|
} else {
|
|
683
|
-
self.$showAlert(
|
|
1009
|
+
self.$showAlert(
|
|
1010
|
+
"该发票号码和发票代码没有对应的收费详情,请确认发票信息",
|
|
1011
|
+
"warning",
|
|
1012
|
+
3000
|
|
1013
|
+
);
|
|
684
1014
|
}
|
|
685
|
-
|
|
686
1015
|
},
|
|
687
|
-
confirmBill
|
|
688
|
-
console.log(
|
|
689
|
-
this.cancelBillGen(this)
|
|
1016
|
+
confirmBill() {
|
|
1017
|
+
console.log("确认冲正");
|
|
1018
|
+
this.cancelBillGen(this);
|
|
690
1019
|
},
|
|
691
|
-
async cancelBillGen
|
|
1020
|
+
async cancelBillGen(self) {
|
|
692
1021
|
try {
|
|
693
1022
|
let param = {
|
|
694
|
-
type:
|
|
695
|
-
fplxdm:
|
|
1023
|
+
type: "发票作废",
|
|
1024
|
+
fplxdm: "电子票",
|
|
696
1025
|
fpdm: self.charge.f_bill_code,
|
|
697
1026
|
fphm: self.charge.f_bill_number,
|
|
698
|
-
zflx:
|
|
1027
|
+
zflx: "1",
|
|
699
1028
|
kpzdbs: self.$login.f.taxnum,
|
|
700
|
-
zfr: self.$login.f.name
|
|
701
|
-
}
|
|
702
|
-
console.log(
|
|
703
|
-
let res = await self.$resetpost(
|
|
704
|
-
|
|
705
|
-
|
|
1029
|
+
zfr: self.$login.f.name,
|
|
1030
|
+
};
|
|
1031
|
+
console.log("发票作废参数,,", param);
|
|
1032
|
+
let res = await self.$resetpost(
|
|
1033
|
+
"http://127.0.0.1:8003/Goldtax",
|
|
1034
|
+
param,
|
|
1035
|
+
{ resolveMsg: "发票作废成功", rejectMsg: "电子发票开具失败!!!" },
|
|
1036
|
+
0
|
|
1037
|
+
);
|
|
1038
|
+
console.log("发票冲正", res);
|
|
1039
|
+
self.detailShow = false;
|
|
706
1040
|
} catch (error) {
|
|
707
|
-
self.$showAlert(
|
|
708
|
-
self.detailShow = false
|
|
1041
|
+
self.$showAlert("发票作废失败", "danger", 0);
|
|
1042
|
+
self.detailShow = false;
|
|
709
1043
|
}
|
|
710
|
-
this.$dispatch(
|
|
1044
|
+
this.$dispatch("breakControl", this.selectdata);
|
|
711
1045
|
},
|
|
712
1046
|
async invalidApplyCharge() {
|
|
713
|
-
|
|
714
|
-
let http = new HttpResetClass()
|
|
1047
|
+
let http = new HttpResetClass();
|
|
715
1048
|
let data = {
|
|
716
1049
|
apply: this.selectdata,
|
|
717
1050
|
user: this.$login.f,
|
|
718
|
-
charge: this.charge
|
|
719
|
-
}
|
|
720
|
-
let res = await http.load(
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
1051
|
+
charge: this.charge,
|
|
1052
|
+
};
|
|
1053
|
+
let res = await http.load(
|
|
1054
|
+
"POST",
|
|
1055
|
+
"rs/logic/invalidApplyCharge",
|
|
1056
|
+
{ data: data },
|
|
1057
|
+
{
|
|
1058
|
+
resolveMsg: null,
|
|
1059
|
+
rejectMsg: "作废失败!!!",
|
|
1060
|
+
}
|
|
1061
|
+
);
|
|
1062
|
+
this.selectdata = res.data;
|
|
725
1063
|
|
|
726
|
-
this.confirmBill()
|
|
727
|
-
}
|
|
1064
|
+
this.confirmBill();
|
|
1065
|
+
},
|
|
728
1066
|
},
|
|
729
1067
|
computed: {
|
|
730
|
-
getCondition
|
|
1068
|
+
getCondition() {
|
|
731
1069
|
return {
|
|
732
1070
|
condition: this.$refs.cp.$refs.cri.condition,
|
|
733
1071
|
data: {
|
|
734
|
-
orgid: this.$login.f.orgid
|
|
735
|
-
}
|
|
736
|
-
}
|
|
1072
|
+
orgid: this.$login.f.orgid,
|
|
1073
|
+
},
|
|
1074
|
+
};
|
|
1075
|
+
},
|
|
1076
|
+
getUserRolesname() {
|
|
1077
|
+
return this.$login.f.rolesnames.includes("营业厅报装");
|
|
737
1078
|
},
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
}
|
|
741
|
-
}
|
|
742
|
-
}
|
|
1079
|
+
},
|
|
1080
|
+
};
|
|
743
1081
|
</script>
|
|
744
1082
|
|
|
745
|
-
<style scoped>
|
|
746
|
-
</style>
|
|
1083
|
+
<style scoped></style>
|