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.
Files changed (58) hide show
  1. package/build/dev-server.js +7 -3
  2. package/package.json +3 -3
  3. package/src/apply.js +12 -1
  4. package/src/applyAndroid.js +6 -0
  5. package/src/components/android/AppUpload.vue +15 -0
  6. package/src/components/android/Ignition/VentilationIgnition.vue +1 -1
  7. package/src/components/android/Process/AppExplorationUser.vue +2 -2
  8. package/src/components/android/Process/AppServiceControl.vue +1410 -1397
  9. package/src/components/android/Supervisory/AppProcessSupervisory.vue +334 -334
  10. package/src/components/android/Task/Build/BuildTsak.vue +7 -4
  11. package/src/components/android/Task/GuanXianJianShe/AppExplorationGuanXian.vue +317 -0
  12. package/src/components/android/Task/GuanXianJianShe/AppGuanXianCaiLiao.vue +237 -0
  13. package/src/components/android/Task/ShenHe/BuZhangShenHe.vue +64 -64
  14. package/src/components/android/Task/ShenHe/JingLiShenHe.vue +64 -64
  15. package/src/components/android/Task/ShiGongXinXi/AppShowBuildUser.vue +11 -7
  16. package/src/components/android/Task/UpBuild/UpBuildDui.vue +5 -2
  17. package/src/components/android/Task/UpBuild/UpBuildTsak.vue +5 -2
  18. package/src/components/android/Task/UpBuild/UpJianLi.vue +5 -2
  19. package/src/components/product/ApplyCharge/ApplyChargeList.vue +943 -606
  20. package/src/components/product/ApplyGaiXianCharge/ApplyGaiXianChargeList.vue +8 -7
  21. package/src/components/product/ApplyGuanXian/GuanXianCaiLiao.vue +236 -235
  22. package/src/components/product/ApplyGuanXian/GuanXianExplorationSelect.vue +324 -323
  23. package/src/components/product/ChongZheng/ApplyChongZhengList.vue +10 -9
  24. package/src/components/product/Function/InstallInfoSelect.vue +15 -13
  25. package/src/components/product/Function/Service/FunctionServiceControl.vue +475 -475
  26. package/src/components/product/Ignition/IgnitionList.vue +236 -236
  27. package/src/components/product/Ignition/IgnitionListManage.vue +403 -204
  28. package/src/components/product/Ignition/IgnitionRecord.vue +14 -13
  29. package/src/components/product/List/ShowAllActivity.vue +455 -0
  30. package/src/components/product/List/ShowDevices.vue +279 -279
  31. package/src/components/product/Print/BuildOrder/buildOrderList.vue +9 -8
  32. package/src/components/product/Print/BuildOrder/printBuildOrder.vue +6 -0
  33. package/src/components/product/Process/ExplorationSelect.vue +591 -580
  34. package/src/components/product/Process/ExplorationUser.vue +158 -158
  35. package/src/components/product/Process/New1ExplorationUser.vue +201 -0
  36. package/src/components/product/Process/New2ExplorationUser.vue +163 -0
  37. package/src/components/product/Process/NewExplorationSelect.vue +586 -0
  38. package/src/components/product/Process/NewExplorationUser.vue +219 -184
  39. package/src/components/product/Process/Processes/ApplyChaiChuInfo.vue +587 -587
  40. package/src/components/product/Process/Processes/InstallationDetails.vue +80 -7
  41. package/src/components/product/Process/Processes/Print/printPaymentApproval.vue +224 -224
  42. package/src/components/product/Process/Processes/newDevicesManagement.vue +26 -1
  43. package/src/components/product/Process/Processes/newInstallationDetails.vue +1 -36
  44. package/src/components/product/Process/Processes/selectOldUserinfo.vue +1 -1
  45. package/src/components/product/Process/Service/ServiceControl.vue +2166 -2155
  46. package/src/components/product/Report/ReportItems.vue +85 -79
  47. package/src/components/product/Report/apply-stair-kaifa.vue +0 -1
  48. package/src/components/product/Report/gongchengbu.vue +199 -0
  49. package/src/components/product/ServiceView.vue +12 -0
  50. package/src/components/product/Stop/StopApplyList.vue +8 -8
  51. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +14 -0
  52. package/src/components/product/Supervisory/SupervisoryList.vue +539 -536
  53. package/src/components/product/Supervisory/YiBanSupervisoryControl.vue +114 -0
  54. package/src/components/product/Supervisory/YiBanSupervisoryList.vue +541 -0
  55. package/dist-android.7z +0 -0
  56. package/dist.7z +0 -0
  57. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +0 -207
  58. package/yarn-error.log +0 -9976
@@ -1,746 +1,1083 @@
1
1
  <template>
2
- <criteria-paged :model="model" v-ref:cp>
3
- <criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
4
- <div class="form-horizontal select-overspread container-fluid auto" partial>
5
- <div class="row">
6
- <div class="form-group col-sm-3">
7
- <label class="font_normal_body">报建编号:</label>
8
- <input type="text" class="input_search" style="width: 60%" v-model="model.f_apply_num"
9
- v-on:keyup.enter="$parent.$parent.search()" condition="a.f_apply_num like '%{}%'" placeholder='报建编号'>
10
- </div>
11
- <div class="form-group col-sm-3">
12
- <label class="font_normal_body">用户名称:</label>
13
- <input type="text" class="input_search" style="width: 60%" v-model="model.f_user_name"
14
- v-on:keyup.enter="$parent.$parent.search()" condition="a.f_user_name like '%{}%'" placeholder='用户名称'>
15
- </div>
16
- <div class="form-group col-sm-3">
17
- <label class="font_normal_body">电&emsp;&emsp;话:</label>
18
- <input type="text" class="input_search" style="width: 60%" v-model="model.f_phone"
19
- v-on:keyup.enter="$parent.$parent.search()" condition="a.f_phone like '%{}%'" placeholder='电话'>
20
- </div>
21
- <div class="form-group col-sm-3 button-range">
22
- <button class="button_search button_spacing" @click="$parent.$parent.updateshowStatus()" v-el:cx>
23
- {{$parent.$parent.showStatus ? '已作废' : '正常'}}
24
- </button>
25
- <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
26
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
27
- <export-excel :data="$parent.$parent.getCondition"
28
- :field="$parent.$parent.getfield"
29
- sqlurl="rs/logic/applyExportfile"
30
- sql-name="getApplyCharge"
31
- template-name='收费记录信息导出'
32
- :choose-col="true"></export-excel>
33
- <div
34
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
35
- @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
36
- class="button_spacing"
37
- style="float: right">
38
- </div>
39
- </div>
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>电&emsp;&emsp;话:</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>流&ensp;水&ensp;号:</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="row" v-show="$parent.$parent.criteriaShow">
42
- <div class="form-group col-sm-3">
43
- <label class="font_normal_body">报建类型:</label>
44
- <v-select
45
- v-model="model.f_apply_type"
46
- placeholder='请选择'
47
- condition="a.f_apply_type = '{}'"
48
- :value.sync="model.f_apply_type"
49
- :options='$parent.$parent.applytype'
50
- class="select select_list"
51
- :value-single="true"
52
- close-on-select ></v-select>
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">流&ensp;水&ensp;号:</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
- </criteria>
146
- <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
147
- <template partial='head'>
148
- <tr>
149
- <th style="white-space: nowrap;">序号</th>
150
- <th style="white-space: nowrap;">报建编号</th>
151
- <th style="white-space: nowrap;">用户名称</th>
152
- <th style="white-space: nowrap;">电话</th>
153
- <th style="white-space: nowrap;">合同编号</th>
154
- <th style="white-space: nowrap;">报建类型</th>
155
- <th style="white-space: nowrap;">报建性质</th>
156
- <th style="white-space: nowrap;">收费金额</th>
157
- <th style="white-space: nowrap;">户数</th>
158
- <th style="white-space: nowrap;">付款方式</th>
159
- <th style="white-space: nowrap;">收费人员</th>
160
- <th style="white-space: nowrap;">收费日期</th>
161
- <th style="white-space: nowrap;">缴费状态</th>
162
- <th style="white-space: nowrap;" v-if="!$parent.$parent.$parent.showStatus">作废人员</th>
163
- <th style="white-space: nowrap;" v-if="!$parent.$parent.$parent.showStatus">作废时间</th>
164
- <th style="white-space: nowrap;" v-if="!$parent.$parent.$parent.showStatus">作废原因</th>
165
- <th style="white-space: nowrap;">票据类型</th>
166
- <th style="white-space: nowrap;">发票代码</th>
167
- <th style="white-space: nowrap;">发票号码</th>
168
- <th style="white-space: nowrap;">票据状态</th>
169
- <th style="white-space: nowrap;">操作</th>
170
- <th style="white-space: nowrap;">流水号</th>
171
- </tr>
172
- </template>
173
- <template partial='body'>
174
- <tr >
175
- <td style="text-align: center;">
176
- <nobr><font>{{$index+1}}</font></nobr>
177
- </td>
178
- <td style="text-align: center;">
179
- <nobr><font>{{row.f_apply_num}}</font></nobr>
180
- </td>
181
- <td style="text-align: center;">
182
- <nobr><font>{{row.f_user_name}}</font></nobr>
183
- </td>
184
- <td style="text-align: center;">
185
- <nobr><font>{{row.f_phone}}</font></nobr>
186
- </td>
187
- <td style="text-align: center;">
188
- <nobr><font>{{row.f_contract_number}}</font></nobr>
189
- </td>
190
- <td style="text-align: center;">
191
- <nobr><font>{{row.f_apply_type}}</font></nobr>
192
- </td>
193
- <td style="text-align: center;">
194
- <nobr><font>{{row.f_apply_nature}}</font></nobr>
195
- </td>
196
- <td style="text-align: center;">
197
- <nobr><font>{{row.f_charge_money}}</font></nobr>
198
- </td>
199
- <td style="text-align: center;">
200
- <nobr><font>{{row.f_feecount}}</font></nobr>
201
- </td>
202
- <td style="text-align: center;">
203
- <nobr><font>{{row.f_payment_method}}</font></nobr>
204
- </td>
205
- <td style="text-align: center;">
206
- <nobr><font>{{row.f_charge_collectors}}</font></nobr>
207
- </td>
208
- <td style="text-align: center;">
209
- <nobr><font>{{row.f_charge_date}}</font></nobr>
210
- </td>
211
- <td style="text-align: center;">
212
- <nobr><font>{{row.f_charge_status}}</font></nobr>
213
- </td>
214
- <td style="text-align: center;" v-if="!$parent.$parent.$parent.showStatus">
215
- <nobr><font>{{row.f_void_staff}}</font></nobr>
216
- </td>
217
- <td style="text-align: center;" v-if="!$parent.$parent.$parent.showStatus">
218
- <nobr><font>{{row.f_void_date}}</font></nobr>
219
- </td>
220
- <td style="text-align: center;" v-if="!$parent.$parent.$parent.showStatus">
221
- <nobr><font>{{row.f_void_remarks}}</font></nobr>
222
- </td>
223
- <td style="text-align: center;">
224
- <nobr><font>{{row.f_bill_style}}</font></nobr>
225
- </td>
226
- <td style="text-align: center;">
227
- <nobr><font>{{row.f_bill_code}}</font></nobr>
228
- </td>
229
- <td style="text-align: center;">
230
- <nobr><font>{{row.f_bill_number}}</font></nobr>
231
- </td>
232
- <td style="text-align: center;">
233
- <nobr><font>{{row.f_bill_state}}</font></nobr>
234
- </td>
235
- <td style="text-align: center;">
236
- <nobr v-if="row.f_charge_status !== '作废'">
237
- <button
238
- type="button" name="button" class="btn btn-link"
239
- v-if="row.f_bill_state !== '开票成功'"
240
- @click="$parent.$parent.$parent.openBill(row)"
241
- >开票</button>
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
- <button
244
- type="button" name="button" class="btn btn-link"
245
- v-else
246
- @click="$parent.$parent.$parent.showPrintModal(row)"
247
- >查看发票</button>
248
- <button
249
- type="button" name="button" class="btn btn-link"
250
- v-if="$parent.$parent.$parent.getUserRolesname && row.f_charge_money > 0"
251
- @click="$parent.$parent.$parent.showChongZhengModal(row)"
252
- >作废</button>
253
- </nobr>
254
- </td>
255
- <td style="text-align: center;">
256
- <nobr><font>{{row.f_payer_number}}</font></nobr>
257
- </td>
258
- </tr>
259
- </template>
260
- </data-grid>
261
- </criteria-paged>
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
- <modal v-if="showPrint" :show.sync="showPrint" v-ref:modal :large="true" :backdrop="false">
264
- <header slot="modal-header" class="modal-header">
265
- <button type="button" class="close" @click="showPrint = !showPrint"><span>&times;</span></button>
266
- <h4 class="modal-title">票据信息</h4>
267
- </header>
268
- <article slot="modal-body" class="modal-body clearfix">
269
- <iframe width="100%" height="500px" :src="charge.f_bill_link" v-if="charge.f_bill_link"></iframe>
270
- </article>
271
- <footer slot="modal-footer" class="modal-footer">
272
- </footer>
273
- </modal>
274
- <modal v-if="showChongZheng" :show.sync="showChongZheng" v-ref:modal :large="true" :backdrop="false" style="overflow:auto">
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>&times;</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 type="button" class="close" @click="showChongZheng = !showChongZheng"><span>&times;</span></button>
475
+ <button
476
+ type="button"
477
+ class="close"
478
+ @click="showChongZheng = !showChongZheng"
479
+ >
480
+ <span>&times;</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 type="text"
284
- class="form-control input_view"
285
- style="width: 100%"
286
- readonly
287
- v-model="charge.f_charge_money" />
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 type="text"
294
- class="form-control input_view"
295
- style="width: 100%"
296
- readonly
297
- v-model="charge.f_amount_words" />
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 type="text"
304
- class="form-control input_view"
305
- style="width: 100%"
306
- readonly
307
- v-model="charge.f_payment_method" />
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 type="text"
314
- class="form-control input_view"
315
- style="width: 100%"
316
- readonly
317
- v-model="charge.f_charge_collectors" />
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
- <div class="form-group col-sm-5">
321
- <label class=" col-sm-4 control-label">发票代码:</label>
322
- <div class="col-sm-8">
323
- <input type="text"
324
- class="form-control input_view"
325
- style="width: 100%"
326
- readonly
327
- v-model="detail.fpdm" />
328
- </div>
329
- </div>
330
- <div class="form-group col-sm-5">
331
- <label class=" col-sm-4 control-label">发票号码:</label>
332
- <div class="col-sm-8">
333
- <input type="text"
334
- class="form-control input_view"
335
- style="width: 100%"
336
- readonly
337
- v-model="detail.fphm" />
338
- </div>
339
- </div>
340
- <div class="form-group col-sm-5">
341
- <label class=" col-sm-4 control-label">购方单位名称:</label>
342
- <div class="col-sm-8">
343
- <input type="text"
344
- class="form-control input_view"
345
- style="width: 100%"
346
- readonly
347
- v-model="detail.ghdwmc" />
348
- </div>
349
- </div>
350
- <div class="form-group col-sm-5">
351
- <label class=" col-sm-4 control-label">开票人:</label>
352
- <div class="col-sm-8">
353
- <input type="text"
354
- class="form-control input_view"
355
- style="width: 100%"
356
- readonly
357
- v-model="detail.kpr" />
358
- </div>
359
- </div>
360
- <div class="form-group col-sm-5">
361
- <label class=" col-sm-4 control-label">开票日期:</label>
362
- <div class="col-sm-8">
363
- <input type="text"
364
- class="form-control input_view"
365
- style="width: 100%"
366
- readonly
367
- v-model="detail.kprq" />
368
- </div>
369
- </div>
370
- <div class="form-group col-sm-5">
371
- <label class=" col-sm-4 control-label">合计金额:</label>
372
- <div class="col-sm-8">
373
- <input type="text"
374
- class="form-control input_view"
375
- style="width: 100%"
376
- readonly
377
- v-model="detail.hjje" />
378
- </div>
379
- </div>
380
- <div class="form-group col-sm-5">
381
- <label class=" col-sm-4 control-label">合计税额:</label>
382
- <div class="col-sm-8">
383
- <input type="text"
384
- class="form-control input_view"
385
- style="width: 100%"
386
- readonly
387
- v-model="detail.hjse" />
388
- </div>
389
- </div>
390
- <div class="form-group col-sm-5">
391
- <label class=" col-sm-4 control-label">价税合计:</label>
392
- <div class="col-sm-8">
393
- <input type="text"
394
- class="form-control input_view"
395
- style="width: 100%"
396
- readonly
397
- v-model="detail.jshj" />
398
- </div>
399
- </div>
400
- <div class="form-group col-sm-10" :class="charge.f_void_remarks ? '':'has-error'">
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 type="text"
404
- class="form-control input_view"
405
- style="width: 100%"
406
- v-model="charge.f_void_remarks" />
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 :blodid="charge.f_process_id"
410
- :isupload = "true"
411
- :isdelete="true"
412
- :isusetype="true"
413
- :isremark = "true"
414
- :takeimg="false"
415
- :issearch="false"
416
- defname='冲正'>
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 type="button" class="btn btn-primary" :disabled="!charge.f_void_remarks" @click="invalidApplyCharge()">确认作废</button>
421
- <button type="button" class="btn btn-default" @click='showChongZheng = !showChongZheng'>取消</button>
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 'vue-client'
428
- import {HttpResetClass} from 'vue-client'
429
- import {isEmpty} from '../../Util'
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('rs/sql/getApplyCharge', 30, null, {
436
- f_charge_money: 0
684
+ model: new PagedList("rs/sql/getApplyCharge", 30, null, {
685
+ f_charge_money: 0,
437
686
  }),
438
- applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
439
- paymentMethod: [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')],
440
- billStyles: [{label: '全部', value: ''}, {label: '电子票', value: '电子票'}, {label: '专票', value: '专票'}],
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: '全部', value: ''},
443
- {label: '有效', value: '有效'},
444
- {label: '作废', value: '作废'}
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
- 'f_apply_num': '报建编号',
451
- 'f_user_name': '用户名称',
452
- 'f_phone': '电话',
453
- 'f_contract_number': '合同编号',
454
- 'f_apply_type': '报建类型',
455
- 'f_apply_nature': '报建性质',
456
- 'f_charge_money': '收费金额',
457
- 'f_feecount': '收费户数',
458
- 'f_payment_method': '付款方式',
459
- 'f_charge_collectors': '收费人员',
460
- 'f_charge_date': '收费日期',
461
- 'f_charge_status': '缴费状态',
462
- 'f_bill_style': '票据类型',
463
- 'f_bill_code': '发票代码',
464
- 'f_bill_number': '发票号码',
465
- 'f_bill_state': '票据状态'
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 (args) {
489
- if (this.showStatus){
490
- args.condition = args.condition + ` and f_charge_status = '有效'`
491
- }else {
492
- args.condition = args.condition + ` and (f_charge_status = '作废' or f_charge_money < 0)`
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 ? '0' + month : month
513
- let day = date.getDate()
514
- let day2 = day <= 9 ? '0' + day : day
515
- let chargedate = year + '-' + month2 + '-' + day2
516
- this.charge.f_bill_link = `http://193.168.1.6:8082/eticket/` + chargedate + '/' + this.charge.f_filepath + '.pdf'
517
- }else if(!this.charge.f_bill_link){
518
- this.charge.f_bill_link = this.charge.f_bill_url
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 (charge) {
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
- if (this.charge.f_apply_type === '改线业务'){
537
- data.charge_type = '整改收费'
538
- }
539
- res = await http.load('POST', 'rs/logic/bjEticketCharge', {data:data}, {
540
- resolveMsg: null,
541
- rejectMsg: '开票失败!!!'
542
- })
543
- this.charge.f_bill_id = res.data
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('POST', 'rs/logic/bjOpenEticket', {data: data}, {
553
- resolveMsg: null,
554
- rejectMsg: '开票失败!!!'
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 ? '0' + month : month
567
- let day2 = day <= 9 ? '0' + day : day
568
- let chargedate = year + '-' + month2 + '-' + day2
569
- this.charge.f_bill_link = `http://193.168.1.6:8082/eticket/` + chargedate + '/' + res.data.f_filepath + '.pdf'
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('POST', 'rs/logic/updataChargeRecord', {data: pram}, {
575
- resolveMsg: null,
576
- rejectMsg: null
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('POST', 'rs/logic/updateChargeBill', {data: data}, {
592
- resolveMsg: null,
593
- rejectMsg: '收费信息更新失败!!!'
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('POST', 'rs/sql/getEticketData', {data: data}, {
604
- resolveMsg: null,
605
- rejectMsg: '开票数据查询失败!!!'
606
- })
607
- let openBillData = JSON.parse(res.data[0].f_bill_data)
608
- openBillData.kpzdbs = this.$login.f.taxnum
609
- const nowDate = new Date()
610
- let year = nowDate.getFullYear()
611
- let mouth = nowDate.getMonth() + 1
612
- let day = nowDate.getDate()
613
- openBillData.f_operate_date = year+'-'+mouth+'-'+day
614
- openBillData.f_operator = this.$login.f.name
615
- openBillData.outlets = this.$login.f.f_parentname
616
- openBillData.hjse = ''
617
- openBillData.jshh = ''
618
- openBillData.tzdbh = ''
619
- openBillData.yfpdm = ''
620
- openBillData.yfphm = ''
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( '返回开票信息。。 ',openBillData)
623
- let billInfo = await this.$resetpost('http://127.0.0.1:8003/Goldtax',openBillData,{resolveMsg: null, rejectMsg: '专用发票开具失败!'})
624
- console.log( '返回票据信息。。 ',JSON.parse(billInfo.data))//保存发票明细
625
- if (!JSON.parse(billInfo.data).fphm){
626
- this.charge.f_bill_state = '开票失败'
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('POST', 'rs/logic/updateChargeBill', {data: data}, {
632
- resolveMsg: null,
633
- rejectMsg: '收费信息更新失败!!!'
634
- })
635
- this.$showAlert('开票失败!!!', 'warning', 3000)
636
- throw '开票失败!!'
637
- }else {
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 ? JSON.parse(billInfo.data).dzpkex : '',
643
- charge_id: this.charge.id
644
- }
645
- res = await http.load('POST', 'rs/logic/updateEticketBill', {data: data}, {
646
- resolveMsg: null,
647
- rejectMsg: '开票信息更新失败!!!'
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
- this.detailGen(this, '发票作废信息', '确认作废', 'cancel')
660
- }else {
661
- this.showChongZheng = false
662
- this.$showAlert(`您现在没有权限进行冲正,请联系管理员进行授权!`, 'warning', 3000)
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 (self, title, content, type) {
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('rs/logic/queryEticket', {data: param},{resolveMsg: null, rejectMsg: '获取发票明细失败!!!'})
677
- console.log('详情', getDetail)
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('获取票据明细信息', self.detail)
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('该发票号码和发票代码没有对应的收费详情,请确认发票信息', 'warning', 3000)
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 (self) {
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: '1',
1027
+ zflx: "1",
699
1028
  kpzdbs: self.$login.f.taxnum,
700
- zfr: self.$login.f.name
701
- }
702
- console.log('发票作废参数,,', param)
703
- let res = await self.$resetpost('http://127.0.0.1:8003/Goldtax', param, {resolveMsg: '发票作废成功', rejectMsg: '电子发票开具失败!!!'}, 0)
704
- console.log('发票冲正', res)
705
- self.detailShow = false
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('发票作废失败', 'danger', 0)
708
- self.detailShow = false
1041
+ self.$showAlert("发票作废失败", "danger", 0);
1042
+ self.detailShow = false;
709
1043
  }
710
- this.$dispatch('breakControl', this.selectdata)
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('POST', 'rs/logic/invalidApplyCharge', {data:data}, {
721
- resolveMsg: null,
722
- rejectMsg: '作废失败!!!'
723
- })
724
- this.selectdata = res.data
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
- getUserRolesname(){
739
- return this.$login.f.rolesnames.includes('营业厅报装')
740
- }
741
- }
742
- }
1079
+ },
1080
+ };
743
1081
  </script>
744
1082
 
745
- <style scoped>
746
- </style>
1083
+ <style scoped></style>