apply-clients 3.5.5-7 → 3.5.5-70

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 (92) hide show
  1. package/build/dev-server.js +7 -19
  2. package/package.json +5 -3
  3. package/src/App.vue +25 -25
  4. package/src/apply.js +141 -141
  5. package/src/components/QXClient.js +333 -0
  6. package/src/components/SignTools.js +65 -0
  7. package/src/components/android/Process/AppChargeList.vue +391 -383
  8. package/src/components/android/Process/AppExplorationUser.vue +508 -508
  9. package/src/components/product/Function/Service/FunctionServiceControl.vue +497 -497
  10. package/src/components/product/MaterialsManage/MaterialsBase.vue +181 -181
  11. package/src/components/product/MaterialsManage/MaterialsManage.vue +60 -60
  12. package/src/components/product/Process/Processes/contractModel.vue +436 -454
  13. package/src/components/product/Supervisory/SupervisoryControl.vue +141 -141
  14. package/src/components/product/Supervisory/SupervisoryList.vue +452 -452
  15. package/src/filiale/baiyin/android/ByAddMaterialScience.vue +860 -858
  16. package/src/filiale/dingcheng/pc/SupervisoryList.vue +441 -441
  17. package/src/filiale/fugou/android/AppAddMaterialScience.vue +20 -16
  18. package/src/filiale/fugou/android/AppDevicesManagement.vue +3 -1
  19. package/src/filiale/fugou/android/AppExplorationUser.vue +2 -2
  20. package/src/filiale/fugou/android/AppInstallationDetails.vue +2 -1
  21. package/src/filiale/fugou/android/AppServiceControl.vue +11 -7
  22. package/src/filiale/fugou/android/AppZhihuanManagement.vue +3 -1
  23. package/src/filiale/fugou/pc/ApplyChargeList.vue +4 -0
  24. package/src/filiale/fugou/pc/ExplorationSelect.vue +3 -4
  25. package/src/filiale/fugou/pc/ServiceControl.vue +19 -10
  26. package/src/filiale/fugou/pc/StopApplyList.vue +291 -0
  27. package/src/filiale/fugou/pc/SupervisoryServiceControl.vue +881 -0
  28. package/src/filiale/fugou/pc/addressAndUserinfoManagement.vue +1 -1
  29. package/src/filiale/fugou/pc/chargeReport.vue +87 -15
  30. package/src/filiale/fugou/pc/devicesManagement.vue +1 -0
  31. package/src/filiale/fugou/pc.js +3 -1
  32. package/src/filiale/gongyi/android/AppDisclosurerecord.vue +214 -214
  33. package/src/filiale/gongyi/android/AppInstallationDetails.vue +500 -500
  34. package/src/filiale/gongyi/android/AppLegacyIssues.vue +309 -309
  35. package/src/filiale/gongyi/android/AppSign.vue +170 -170
  36. package/src/filiale/gongyi/android/AppSupplementalAgreement.vue +298 -298
  37. package/src/filiale/gongyi/android.js +18 -18
  38. package/src/filiale/gongyi/pc/ApplyUpload.vue +371 -371
  39. package/src/filiale/gongyi/pc/PcAddLogs.vue +221 -221
  40. package/src/filiale/gongyi/pc/PcDisclosurerecord.vue +218 -218
  41. package/src/filiale/gongyi/pc/PcLegacyIssues.vue +309 -309
  42. package/src/filiale/gongyi/pc/SupervisoryServiceControl.vue +894 -894
  43. package/src/filiale/gongyi/pc/SupervisoryServiceView.vue +1005 -1005
  44. package/src/filiale/gongyi/pc/addMaterialScience.vue +575 -575
  45. package/src/filiale/gongyi/pc/chargeManagement.vue +765 -765
  46. package/src/filiale/gongyi/pc/supplementalAgreement.vue +277 -277
  47. package/src/filiale/gongyi/pc.js +24 -24
  48. package/src/filiale/hongda/pc/SupervisoryList.vue +422 -422
  49. package/src/filiale/jingyang/pc/SupervisoryList.vue +459 -459
  50. package/src/filiale/jinhuang/android/AppAddMaterialScience.vue +635 -0
  51. package/src/filiale/jinhuang/android.js +6 -0
  52. package/src/filiale/jinhuang/pc/ContractList.vue +220 -0
  53. package/src/filiale/jinhuang/pc/ExplorationSelect.vue +497 -0
  54. package/src/filiale/jinhuang/pc/ServiceControl.vue +1932 -1925
  55. package/src/filiale/jinhuang/pc/addMaterialScience.vue +638 -0
  56. package/src/filiale/jinhuang/pc/addressAndUserinfoManagement.vue +41 -1
  57. package/src/filiale/jinhuang/pc.js +3 -0
  58. package/src/filiale/qianneng/android/AppServiceView.vue +13 -13
  59. package/src/filiale/qianneng/pc/ApplyMaterialDetailed.vue +1 -1
  60. package/src/filiale/qianneng/pc/Applydetail.vue +1 -1
  61. package/src/filiale/qianneng/pc/FunctionServiceControl.vue +10 -3
  62. package/src/filiale/qianneng/pc/ServiceControl.vue +8 -3
  63. package/src/filiale/ruihua/pc/ServiceControl.vue +2 -1
  64. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +6 -2
  65. package/src/filiale/yangchunboneng/android/AppExplorationUser.vue +585 -518
  66. package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +1116 -1087
  67. package/src/filiale/yangchunboneng/android/AppProcessSupervisory.vue +331 -0
  68. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +217 -43
  69. package/src/filiale/yangchunboneng/android/AppSuperServiceControl.vue +1524 -1524
  70. package/src/filiale/yangchunboneng/android/AppUpload.vue +205 -205
  71. package/src/filiale/yangchunboneng/android/MaterIialOne.vue +21 -1
  72. package/src/filiale/yangchunboneng/android.js +2 -1
  73. package/src/filiale/yangchunboneng/pc/ApplyChargeList.vue +32 -4
  74. package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +392 -392
  75. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +114 -49
  76. package/src/filiale/yangchunboneng/pc/ExplorationUser.vue +191 -191
  77. package/src/filiale/yangchunboneng/pc/InstallInfoSelect.vue +365 -365
  78. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +2 -2
  79. package/src/filiale/yangchunboneng/pc/StopApplyList.vue +294 -0
  80. package/src/filiale/yangchunboneng/pc/SupervisoryControlNew.vue +142 -142
  81. package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +617 -605
  82. package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +5 -1
  83. package/src/filiale/yangchunboneng/pc/SupervisoryServiceControl.vue +902 -902
  84. package/src/filiale/yangchunboneng/pc/SupervisoryServiceControlNew.vue +901 -901
  85. package/src/filiale/yangchunboneng/pc/SupervisoryServiceView.vue +1 -1
  86. package/src/filiale/yangchunboneng/pc/buildOrderList.vue +337 -0
  87. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +5 -1
  88. package/src/filiale/yangchunboneng/pc/constructionInfo.vue +84 -0
  89. package/src/filiale/yangchunboneng/pc/printBuildOrder.vue +175 -0
  90. package/src/filiale/yangchunboneng/pc.js +28 -24
  91. package/src/main.js +1 -1
  92. package/~/chatbot/main.py +0 -57
@@ -1,383 +1,391 @@
1
- <template>
2
- <div class="auto">
3
- <criteria-paged :model="model" v-ref:paged>
4
- <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
5
- <div partial>
6
- <form>
7
- <div class="row app-row">
8
- <div class="col-xs-4">
9
- <label for="f_plan_name" class="font text-left">客户名称:</label>
10
- </div>
11
- <div class="col-xs-8">
12
- <input type="text" class="search_input input-font" v-model="model.f_user_name"
13
- condition="f_user_name like '%{}%'">
14
- </div>
15
- </div>
16
- <div class="row app-row">
17
- <div class="col-xs-4">
18
- <label for="f_plan_name" class="font text-left">联系电话:</label>
19
- </div>
20
- <div class="col-xs-8">
21
- <input type="text" class="search_input input-font"
22
- v-model=model.f_phone
23
- condition="a.f_phone like '%{}%'">
24
- </div>
25
- </div>
26
- <div class="row app-row">
27
- <div class="col-xs-4">
28
- <label for="f_plan_name" class="font text-left">用户地址:</label>
29
- </div>
30
- <div class="col-xs-8">
31
- <input type="text" class="search_input input-font"
32
- v-model=model.f_address
33
- condition="a.f_address like '%{}%'">
34
- </div>
35
- </div>
36
- <div class="row app-row">
37
- <div class="col-xs-4">
38
- <label for="f_plan_name" class="font text-left">开始时间:</label>
39
- </div>
40
- <div class="col-xs-8">
41
- <datepicker
42
- :value.sync="model.startDate"
43
- :format="'yyyy-MM-dd'"
44
- v-model="model.startDate"
45
- :isUp="true"
46
- condition="cr.f_charge_date >= '{} 00:00:00'"
47
- :show-reset-button="reset" placeholder="开始时间">
48
- </datepicker>
49
- </div>
50
- </div>
51
- <div class="row app-row">
52
- <div class="col-xs-4">
53
- <label for="f_plan_name" class="font text-left">结束时间:</label>
54
- </div>
55
- <div class="col-xs-8">
56
- <datepicker
57
- :value.sync="model.endDate"
58
- :format="'yyyy-MM-dd'"
59
- v-model="model.endDate"
60
- :isUp="true"
61
- condition="cr.f_charge_date <= '{} 23:59:59'"
62
- :show-reset-button="reset" placeholder="结束时间">
63
- </datepicker>
64
- </div>
65
- </div>
66
- <div class="row app-row">
67
- <div class="col-xs-4">
68
- <label for="f_actual_date" class="font text-left">实际时间:</label>
69
- </div>
70
- <div class="col-xs-8">
71
- <datepicker
72
- :value.sync="model.startDate1"
73
- :format="'yyyy-MM-dd'"
74
- v-model="model.startDate1"
75
- :isUp="true"
76
- condition="cr.f_actual_date >= '{} 00:00:00'"
77
- :show-reset-button="reset" placeholder="实际开始时间">
78
- </datepicker>
79
- </div>
80
- </div>
81
- <div class="row app-row">
82
- <div class="col-xs-4">
83
- <label for="f_actual_date" class="font text-left">实际时间:</label>
84
- </div>
85
- <div class="col-xs-8">
86
- <datepicker
87
- :value.sync="model.endDate1"
88
- :format="'yyyy-MM-dd'"
89
- v-model="model.endDate1"
90
- :isUp="true"
91
- condition="cr.f_actual_date <= '{} 23:59:59'"
92
- :show-reset-button="reset" placeholder="实际结束时间">
93
- </datepicker>
94
- </div>
95
- </div>
96
- <div class="row app-row" >
97
- <div class="col-xs-4">
98
- <label for="f_plan_name" class="font text-left">工程编号:</label>
99
- </div>
100
- <div class="col-xs-8">
101
- <input type="text" class="search_input input-font"
102
- v-model=model.f_apply_num condition="a.f_apply_num like '%{}%'" >
103
- </div>
104
- </div>
105
- <div class="row app-row" >
106
- <div class="col-xs-4">
107
- <label for="f_plan_name" class="font text-left">合同编号:</label>
108
- </div>
109
- <div class="col-xs-8">
110
- <input type="text" class="search_input input-font"
111
- v-model=model.f_contract_number condition="a.f_contract_number like '%{}%'" >
112
- </div>
113
- </div>
114
- <div class="row text-center app-row" >
115
- <button type="button" class="btn btn-lg btn-font btn-color" style="width: 45%;" @click="search()">查询</button>
116
- </div>
117
- </form>
118
- </div>
119
-
120
- </criteria>
121
- <list :model="model" partial='list'>
122
- <div partial>
123
- <div class="panel" style="padding: 10px 10px 5px 10px;">
124
- <div class="panel-body panel-self">
125
- <div class="row">
126
- <p class="panel-title col-xs-3 text-left font">工程编号:</p>
127
- <p class="panel-title col-xs-9 text-left input-font">{{ row.f_apply_num }}</p>
128
- </div>
129
- <div class="row">
130
- <p class="panel-title col-xs-3 text-left font">合同编号:</p>
131
- <p class="panel-title col-xs-9 text-left input-font">{{ row.f_contract_number }}</p>
132
- </div>
133
- <div class="row">
134
- <p class="panel-title col-xs-3 text-left font">报建类型:</p>
135
- <p class="panel-title col-xs-9 text-left input-font">{{ row.f_apply_type }}</p>
136
- </div>
137
- <div class="row">
138
- <p class="panel-title col-xs-3 text-left font">报建性质:</p>
139
- <p class="panel-title col-xs-9 text-left input-font">{{ row.f_apply_nature }}</p>
140
- </div>
141
- <div class="row">
142
- <p class="panel-title col-xs-3 text-left font">客户名称:</p>
143
- <p class="panel-title col-xs-9 text-left input-font">{{row.f_user_name}}</p>
144
- </div>
145
- <div class="row">
146
- <p class="panel-title col-xs-3 text-left font">客户地址:</p>
147
- <p class="panel-title col-xs-9 text-left input-font">{{row.f_address}}</p>
148
- </div>
149
- <div class="row">
150
- <p class="panel-title col-xs-3 text-left font">收费金额</p>
151
- <p class="panel-title col-xs-9 text-left input-font">{{ row.f_charge_money }}</p>
152
- </div>
153
- <div class="row">
154
- <p class="panel-title col-xs-3 text-left font">收费项目</p>
155
- <p class="panel-title col-xs-9 text-left input-font">{{ row.f_payment_term }}</p>
156
- </div>
157
- <div class="row">
158
- <p class="panel-title col-xs-3 text-left font">付款方式</p>
159
- <p class="panel-title col-xs-9 text-left input-font">{{ row.f_payment_method }}</p>
160
- </div>
161
- <div class="row">
162
- <p class="panel-title col-xs-3 text-left font">收费人员</p>
163
- <p class="panel-title col-xs-9 text-left input-font">{{ row.f_charge_collectors }}</p>
164
- </div>
165
- <div class="row">
166
- <p class="panel-title col-xs-3 text-left font">收费日期</p>
167
- <p class="panel-title col-xs-9 text-left input-font">{{ row.f_charge_date }}</p>
168
- </div>
169
- <div class="row">
170
- <p class="panel-title col-xs-3 text-left font">实际收款日期</p>
171
- <p class="panel-title col-xs-9 text-left input-font">{{ row.f_actual_date }}</p>
172
- </div>
173
- <div class="row">
174
- <p class="panel-title col-xs-3 text-left font">收费状态</p>
175
- <p class="panel-title col-xs-9 text-left input-font">{{ row.f_charge_status }}</p>
176
- </div>
177
- <div class="row">
178
- <p class="panel-title col-xs-3 text-left font">确认人</p>
179
- <p class="panel-title col-xs-9 text-left input-font">{{ row.f_confirm_person }}</p>
180
- </div>
181
- <div class="row">
182
- <p class="panel-title col-xs-3 text-left font">确认时间</p>
183
- <p class="panel-title col-xs-9 text-left input-font">{{ row.f_confirm_date }}</p>
184
- </div>
185
- <div class="row">
186
- <button v-if="$parent.$parent.$parent.isEmpty(row.f_confirm_person)" style="background-color:#499edf;float: right" class="btn btn-info" @click="$parent.$parent.$parent.confirmModal(row)">确认收款</button>
187
- </div>
188
- </div>
189
- </div>
190
- </div>
191
- </list>
192
- </criteria-paged>
193
- <validator name="v">
194
- <modal v-if="showmodel" :show.sync="showmodel" v-ref:modal title="确认收款">
195
- <header slot="modal-header" class="modal-header">
196
- <button type="button" class="close" @click="closemodel"><span>&times;</span></button>
197
- <h4 class="modal-title">确认收款</h4>
198
- </header>
199
-
200
- <article slot="modal-body" class="modal-body clearfix">
201
- <div class="form-group col-sm-12">
202
- <label class="col-sm-2 control-label">收费金额:</label>
203
- <div class="col-sm-10">
204
- <input type="text"
205
- class="form-control input_view"
206
- style="width: 100%"
207
- readonly
208
- v-model="charge.f_charge_money" />
209
- </div>
210
- </div>
211
- <div class="form-group col-sm-12">
212
- <label class="col-sm-2 control-label">付款方式:</label>
213
- <div class="col-sm-10">
214
- <input type="text"
215
- class="form-control input_view"
216
- style="width: 100%"
217
- readonly
218
- v-model="charge.f_payment_method" />
219
- </div>
220
- </div>
221
- <div class="form-group col-sm-12">
222
- <label class="col-sm-2 control-label">金额大写:</label>
223
- <div class="col-sm-10">
224
- <input type="text"
225
- class="form-control input_view"
226
- style="width: 100%"
227
- readonly
228
- v-model="charge.f_amount_words" />
229
- </div>
230
- </div>
231
- <div class="form-group col-sm-12">
232
- <label class="col-sm-2 control-label">收费人员:</label>
233
- <div class="col-sm-10">
234
- <input type="text"
235
- class="form-control input_view"
236
- style="width: 100%"
237
- readonly
238
- v-model="charge.f_charge_collectors" />
239
- </div>
240
- </div>
241
- <div class="form-group col-sm-12">
242
- <label class="col-sm-2 control-label">确认人:</label>
243
- <div class="col-sm-10">
244
- <input type="text"
245
- class="form-control input_view"
246
- style="width: 100%"
247
- v-model="charge.f_confirm_person" />
248
- </div>
249
- </div>
250
- <div class="form-group col-sm-12">
251
- <label class="col-sm-2 control-label">确认时间:</label>
252
- <div class="col-sm-10">
253
- <datepicker id="startDate" placeholder="确认时间"
254
- style="width: 60%!important;"
255
- v-model="charge.f_confirm_date"
256
- :value.sync="charge.f_confirm_date"
257
- :default="true"
258
- :format="'yyyy-MM-dd HH:mm:ss'"
259
- :show-reset-button="true"
260
- >
261
- </datepicker>
262
- </div>
263
- </div>
264
- <div class="form-group col-sm-12">
265
- <label class="col-sm-2 control-label">备注:</label>
266
- <div class="col-sm-10">
267
- <input type="text"
268
- class="form-control input_view"
269
- style="width: 100%"
270
- v-model="charge.f_charge_remarks" />
271
- </div>
272
- </div>
273
- </article>
274
-
275
- <footer slot="modal-footer" class="modal-footer">
276
- <button type="button" class="btn btn-primary" :disabled='!$v.valid' @click="ConfirmPayment()">确认收款</button>
277
- </footer>
278
- </modal>
279
- </validator>
280
- </div>
281
- </template>
282
-
283
- <script>
284
-
285
- import {HttpResetClass, PagedList} from 'vue-client'
286
- import Vue from 'vue'
287
-
288
-
289
- export default {
290
- title: '报建收费明细',
291
- data () {
292
- return {
293
- model: new PagedList(`${this.$androidUtil.getProxyUrl()}/rs/sql/getApplyCharge`,
294
- 5, {}
295
- ),
296
- showmodel:false,
297
- charge:{}
298
- }
299
- },
300
- ready () {
301
- //this.$refs.paged.$refs.cri.model.startDate=`${Util.toStandardYearMonth()}-01`
302
- //this.$refs.paged.$refs.cri.model.endDate=Util.toStartAndEndDateString()[1]
303
- this.search()
304
- },
305
- methods: {
306
- isEmpty (str) {
307
- return str === undefined || str === null || str.toString().trim() === ''
308
- },
309
- search () {
310
- this.$refs.paged.$refs.cri.search()
311
- },
312
- async selfSearch (args) {
313
- args.condition = args.condition + ` and cr.f_orgid in (${Vue.user.orgid})`
314
- this.model.search(args.condition, args.model)
315
- },
316
- confirmModal(row){
317
- this.charge = row
318
- this.charge.f_confirm_person = Vue.user.name
319
- this.showmodel = true
320
- },
321
- closemodel(){
322
- this.charge = {}
323
- this.showmodel = false
324
- this.search()
325
- },
326
- async ConfirmPayment() {
327
- let http = new HttpResetClass()
328
- let data = {
329
- charge: this.charge
330
- }
331
- let res = await http.load('POST', this.$androidUtil.getProxyUrl() +'/rs/logic/confirmCharge', {data: data}, {
332
- resolveMsg: null,
333
- rejectMsg: '提交失败!!!'
334
- })
335
- if(res.data==200){
336
- this.$showAlert('提交成功!!!', 'success', 3000)
337
- //延时1s
338
- setTimeout(() => {
339
- this.charge = {}
340
- this.showmodel = false
341
- }, 1000)
342
- }
343
- //重新查询
344
- this.search()
345
- },
346
- }
347
-
348
- }
349
- </script>
350
- <style>
351
- .app-row {
352
- background-color: white;
353
- padding: 10px 10px 0 10px;
354
- border-bottom: 1px solid rgba(235, 235, 235, 0.5);
355
- }
356
- .search_input {
357
- border: 0;
358
- outline: none;
359
- }
360
- .font{
361
- font: 15px PingFang-SC-Medium;
362
- color: #666666;
363
- }
364
- .input-font{
365
- font: 15px PingFang-SC-Medium;
366
- color: #333333;
367
- }
368
- .btn-font{
369
- font:600 16px PingFang-SC-Bold;
370
- color: #499EDF;
371
- }
372
- .btn-color{
373
- background-color: #FFFFFF;
374
- border-radius: 10px ;
375
- border: 1px solid #499EDF;
376
- }
377
- .panel-self{
378
- border-radius: 10px;
379
- border:1px solid #499EDF;
380
- background-color: #F8F8F8;
381
- }
382
- </style>
383
-
1
+ <template>
2
+ <div class="auto">
3
+ <criteria-paged :model="model" v-ref:paged>
4
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
5
+ <div partial>
6
+ <form>
7
+ <div class="row app-row">
8
+ <div class="col-xs-4">
9
+ <label for="f_plan_name" class="font text-left">客户名称:</label>
10
+ </div>
11
+ <div class="col-xs-8">
12
+ <input type="text" class="search_input input-font" v-model="model.f_user_name"
13
+ condition="f_user_name like '%{}%'">
14
+ </div>
15
+ </div>
16
+ <div class="row app-row">
17
+ <div class="col-xs-4">
18
+ <label for="f_plan_name" class="font text-left">联系电话:</label>
19
+ </div>
20
+ <div class="col-xs-8">
21
+ <input type="text" class="search_input input-font"
22
+ v-model=model.f_phone
23
+ condition="a.f_phone like '%{}%'">
24
+ </div>
25
+ </div>
26
+ <div class="row app-row">
27
+ <div class="col-xs-4">
28
+ <label for="f_plan_name" class="font text-left">用户地址:</label>
29
+ </div>
30
+ <div class="col-xs-8">
31
+ <input type="text" class="search_input input-font"
32
+ v-model=model.f_address
33
+ condition="a.f_address like '%{}%'">
34
+ </div>
35
+ </div>
36
+ <div class="row app-row">
37
+ <div class="col-xs-4">
38
+ <label for="f_plan_name" class="font text-left">开始时间:</label>
39
+ </div>
40
+ <div class="col-xs-8">
41
+ <datepicker
42
+ :value.sync="model.startDate"
43
+ :format="'yyyy-MM-dd'"
44
+ v-model="model.startDate"
45
+ :isUp="true"
46
+ condition="cr.f_charge_date >= '{} 00:00:00'"
47
+ :show-reset-button="reset" placeholder="开始时间">
48
+ </datepicker>
49
+ </div>
50
+ </div>
51
+ <div class="row app-row">
52
+ <div class="col-xs-4">
53
+ <label for="f_plan_name" class="font text-left">结束时间:</label>
54
+ </div>
55
+ <div class="col-xs-8">
56
+ <datepicker
57
+ :value.sync="model.endDate"
58
+ :format="'yyyy-MM-dd'"
59
+ v-model="model.endDate"
60
+ :isUp="true"
61
+ condition="cr.f_charge_date <= '{} 23:59:59'"
62
+ :show-reset-button="reset" placeholder="结束时间">
63
+ </datepicker>
64
+ </div>
65
+ </div>
66
+ <div class="row app-row">
67
+ <div class="col-xs-4">
68
+ <label for="f_actual_date" class="font text-left">实际时间:</label>
69
+ </div>
70
+ <div class="col-xs-8">
71
+ <datepicker
72
+ :value.sync="model.startDate1"
73
+ :format="'yyyy-MM-dd'"
74
+ v-model="model.startDate1"
75
+ :isUp="true"
76
+ condition="cr.f_actual_date >= '{} 00:00:00'"
77
+ :show-reset-button="reset" placeholder="实际开始时间">
78
+ </datepicker>
79
+ </div>
80
+ </div>
81
+ <div class="row app-row">
82
+ <div class="col-xs-4">
83
+ <label for="f_actual_date" class="font text-left">实际时间:</label>
84
+ </div>
85
+ <div class="col-xs-8">
86
+ <datepicker
87
+ :value.sync="model.endDate1"
88
+ :format="'yyyy-MM-dd'"
89
+ v-model="model.endDate1"
90
+ :isUp="true"
91
+ condition="cr.f_actual_date <= '{} 23:59:59'"
92
+ :show-reset-button="reset" placeholder="实际结束时间">
93
+ </datepicker>
94
+ </div>
95
+ </div>
96
+ <div class="row app-row" >
97
+ <div class="col-xs-4">
98
+ <label for="f_plan_name" class="font text-left">工程编号:</label>
99
+ </div>
100
+ <div class="col-xs-8">
101
+ <input type="text" class="search_input input-font"
102
+ v-model=model.f_apply_num condition="a.f_apply_num like '%{}%'" >
103
+ </div>
104
+ </div>
105
+ <div class="row app-row" >
106
+ <div class="col-xs-4">
107
+ <label for="f_plan_name" class="font text-left">合同编号:</label>
108
+ </div>
109
+ <div class="col-xs-8">
110
+ <input type="text" class="search_input input-font"
111
+ v-model=model.f_contract_number condition="a.f_contract_number like '%{}%'" >
112
+ </div>
113
+ </div>
114
+ <div class="row text-center app-row" >
115
+ <button type="button" class="btn btn-lg btn-font btn-color" style="width: 45%;" @click="search()">查询</button>
116
+ </div>
117
+ </form>
118
+ </div>
119
+
120
+ </criteria>
121
+ <list :model="model" partial='list'>
122
+ <div partial>
123
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
124
+ <div class="panel-body panel-self">
125
+ <div class="row">
126
+ <p class="panel-title col-xs-3 text-left font">工程编号:</p>
127
+ <p class="panel-title col-xs-9 text-left input-font">{{ row.f_apply_num }}</p>
128
+ </div>
129
+ <div class="row">
130
+ <p class="panel-title col-xs-3 text-left font">合同编号:</p>
131
+ <p class="panel-title col-xs-9 text-left input-font">{{ row.f_contract_number }}</p>
132
+ </div>
133
+ <div class="row">
134
+ <p class="panel-title col-xs-3 text-left font">报建类型:</p>
135
+ <p class="panel-title col-xs-9 text-left input-font">{{ row.f_apply_type }}</p>
136
+ </div>
137
+ <div class="row">
138
+ <p class="panel-title col-xs-3 text-left font">报建性质:</p>
139
+ <p class="panel-title col-xs-9 text-left input-font">{{ row.f_apply_nature }}</p>
140
+ </div>
141
+ <div class="row">
142
+ <p class="panel-title col-xs-3 text-left font">客户名称:</p>
143
+ <p class="panel-title col-xs-9 text-left input-font">{{row.f_user_name}}</p>
144
+ </div>
145
+ <div class="row">
146
+ <p class="panel-title col-xs-3 text-left font">客户编号:</p>
147
+ <p class="panel-title col-xs-9 text-left input-font">{{row.f_userinfo_code}}</p>
148
+ </div>
149
+ <div class="row">
150
+ <p class="panel-title col-xs-3 text-left font">客户地址:</p>
151
+ <p class="panel-title col-xs-9 text-left input-font">{{row.f_address}}</p>
152
+ </div>
153
+ <div class="row">
154
+ <p class="panel-title col-xs-3 text-left font">合同金额</p>
155
+ <p class="panel-title col-xs-9 text-left input-font">{{ row.f_contract_money }}</p>
156
+ </div>
157
+ <div class="row">
158
+ <p class="panel-title col-xs-3 text-left font">收费金额</p>
159
+ <p class="panel-title col-xs-9 text-left input-font">{{ row.f_charge_money }}</p>
160
+ </div>
161
+ <div class="row">
162
+ <p class="panel-title col-xs-3 text-left font">收费项目</p>
163
+ <p class="panel-title col-xs-9 text-left input-font">{{ row.f_payment_term }}</p>
164
+ </div>
165
+ <div class="row">
166
+ <p class="panel-title col-xs-3 text-left font">付款方式</p>
167
+ <p class="panel-title col-xs-9 text-left input-font">{{ row.f_payment_method }}</p>
168
+ </div>
169
+ <div class="row">
170
+ <p class="panel-title col-xs-3 text-left font">收费人员</p>
171
+ <p class="panel-title col-xs-9 text-left input-font">{{ row.f_charge_collectors }}</p>
172
+ </div>
173
+ <div class="row">
174
+ <p class="panel-title col-xs-3 text-left font">收费日期</p>
175
+ <p class="panel-title col-xs-9 text-left input-font">{{ row.f_charge_date }}</p>
176
+ </div>
177
+ <div class="row">
178
+ <p class="panel-title col-xs-3 text-left font">实际收款日期</p>
179
+ <p class="panel-title col-xs-9 text-left input-font">{{ row.f_actual_date }}</p>
180
+ </div>
181
+ <div class="row">
182
+ <p class="panel-title col-xs-3 text-left font">收费状态</p>
183
+ <p class="panel-title col-xs-9 text-left input-font">{{ row.f_charge_status }}</p>
184
+ </div>
185
+ <div class="row">
186
+ <p class="panel-title col-xs-3 text-left font">确认人</p>
187
+ <p class="panel-title col-xs-9 text-left input-font">{{ row.f_confirm_person }}</p>
188
+ </div>
189
+ <div class="row">
190
+ <p class="panel-title col-xs-3 text-left font">确认时间</p>
191
+ <p class="panel-title col-xs-9 text-left input-font">{{ row.f_confirm_date }}</p>
192
+ </div>
193
+ <div class="row">
194
+ <button v-if="$parent.$parent.$parent.isEmpty(row.f_confirm_person)" style="background-color:#499edf;float: right" class="btn btn-info" @click="$parent.$parent.$parent.confirmModal(row)">确认收款</button>
195
+ </div>
196
+ </div>
197
+ </div>
198
+ </div>
199
+ </list>
200
+ </criteria-paged>
201
+ <validator name="v">
202
+ <modal v-if="showmodel" :show.sync="showmodel" v-ref:modal title="确认收款">
203
+ <header slot="modal-header" class="modal-header">
204
+ <button type="button" class="close" @click="closemodel"><span>&times;</span></button>
205
+ <h4 class="modal-title">确认收款</h4>
206
+ </header>
207
+
208
+ <article slot="modal-body" class="modal-body clearfix">
209
+ <div class="form-group col-sm-12">
210
+ <label class="col-sm-2 control-label">收费金额:</label>
211
+ <div class="col-sm-10">
212
+ <input type="text"
213
+ class="form-control input_view"
214
+ style="width: 100%"
215
+ readonly
216
+ v-model="charge.f_charge_money" />
217
+ </div>
218
+ </div>
219
+ <div class="form-group col-sm-12">
220
+ <label class="col-sm-2 control-label">付款方式:</label>
221
+ <div class="col-sm-10">
222
+ <input type="text"
223
+ class="form-control input_view"
224
+ style="width: 100%"
225
+ readonly
226
+ v-model="charge.f_payment_method" />
227
+ </div>
228
+ </div>
229
+ <div class="form-group col-sm-12">
230
+ <label class="col-sm-2 control-label">金额大写:</label>
231
+ <div class="col-sm-10">
232
+ <input type="text"
233
+ class="form-control input_view"
234
+ style="width: 100%"
235
+ readonly
236
+ v-model="charge.f_amount_words" />
237
+ </div>
238
+ </div>
239
+ <div class="form-group col-sm-12">
240
+ <label class="col-sm-2 control-label">收费人员:</label>
241
+ <div class="col-sm-10">
242
+ <input type="text"
243
+ class="form-control input_view"
244
+ style="width: 100%"
245
+ readonly
246
+ v-model="charge.f_charge_collectors" />
247
+ </div>
248
+ </div>
249
+ <div class="form-group col-sm-12">
250
+ <label class="col-sm-2 control-label">确认人:</label>
251
+ <div class="col-sm-10">
252
+ <input type="text"
253
+ class="form-control input_view"
254
+ style="width: 100%"
255
+ v-model="charge.f_confirm_person" />
256
+ </div>
257
+ </div>
258
+ <div class="form-group col-sm-12">
259
+ <label class="col-sm-2 control-label">确认时间:</label>
260
+ <div class="col-sm-10">
261
+ <datepicker id="startDate" placeholder="确认时间"
262
+ style="width: 60%!important;"
263
+ v-model="charge.f_confirm_date"
264
+ :value.sync="charge.f_confirm_date"
265
+ :default="true"
266
+ :format="'yyyy-MM-dd HH:mm:ss'"
267
+ :show-reset-button="true"
268
+ >
269
+ </datepicker>
270
+ </div>
271
+ </div>
272
+ <div class="form-group col-sm-12">
273
+ <label class="col-sm-2 control-label">备注:</label>
274
+ <div class="col-sm-10">
275
+ <input type="text"
276
+ class="form-control input_view"
277
+ style="width: 100%"
278
+ v-model="charge.f_charge_remarks" />
279
+ </div>
280
+ </div>
281
+ </article>
282
+
283
+ <footer slot="modal-footer" class="modal-footer">
284
+ <button type="button" class="btn btn-primary" :disabled='!$v.valid' @click="ConfirmPayment()">确认收款</button>
285
+ </footer>
286
+ </modal>
287
+ </validator>
288
+ </div>
289
+ </template>
290
+
291
+ <script>
292
+
293
+ import {HttpResetClass, PagedList} from 'vue-client'
294
+ import Vue from 'vue'
295
+
296
+
297
+ export default {
298
+ title: '报建收费明细',
299
+ data () {
300
+ return {
301
+ model: new PagedList(`${this.$androidUtil.getProxyUrl()}/rs/sql/getApplyCharge`,
302
+ 5, {}
303
+ ),
304
+ showmodel:false,
305
+ charge:{}
306
+ }
307
+ },
308
+ ready () {
309
+ //this.$refs.paged.$refs.cri.model.startDate=`${Util.toStandardYearMonth()}-01`
310
+ //this.$refs.paged.$refs.cri.model.endDate=Util.toStartAndEndDateString()[1]
311
+ this.search()
312
+ },
313
+ methods: {
314
+ isEmpty (str) {
315
+ return str === undefined || str === null || str.toString().trim() === ''
316
+ },
317
+ search () {
318
+ this.$refs.paged.$refs.cri.search()
319
+ },
320
+ async selfSearch (args) {
321
+ args.condition = args.condition + ` and cr.f_orgid in (${Vue.user.orgid})`
322
+ this.model.search(args.condition, args.model)
323
+ },
324
+ confirmModal(row){
325
+ this.charge = row
326
+ this.charge.f_confirm_person = Vue.user.name
327
+ this.showmodel = true
328
+ },
329
+ closemodel(){
330
+ this.charge = {}
331
+ this.showmodel = false
332
+ this.search()
333
+ },
334
+ async ConfirmPayment() {
335
+ let http = new HttpResetClass()
336
+ let data = {
337
+ charge: this.charge
338
+ }
339
+ let res = await http.load('POST', this.$androidUtil.getProxyUrl() +'/rs/logic/confirmCharge', {data: data}, {
340
+ resolveMsg: null,
341
+ rejectMsg: '提交失败!!!'
342
+ })
343
+ if(res.data==200){
344
+ this.$showAlert('提交成功!!!', 'success', 3000)
345
+ //延时1s
346
+ setTimeout(() => {
347
+ this.charge = {}
348
+ this.showmodel = false
349
+ }, 1000)
350
+ }
351
+ //重新查询
352
+ this.search()
353
+ },
354
+ }
355
+
356
+ }
357
+ </script>
358
+ <style>
359
+ .app-row {
360
+ background-color: white;
361
+ padding: 10px 10px 0 10px;
362
+ border-bottom: 1px solid rgba(235, 235, 235, 0.5);
363
+ }
364
+ .search_input {
365
+ border: 0;
366
+ outline: none;
367
+ }
368
+ .font{
369
+ font: 15px PingFang-SC-Medium;
370
+ color: #666666;
371
+ }
372
+ .input-font{
373
+ font: 15px PingFang-SC-Medium;
374
+ color: #333333;
375
+ }
376
+ .btn-font{
377
+ font:600 16px PingFang-SC-Bold;
378
+ color: #499EDF;
379
+ }
380
+ .btn-color{
381
+ background-color: #FFFFFF;
382
+ border-radius: 10px ;
383
+ border: 1px solid #499EDF;
384
+ }
385
+ .panel-self{
386
+ border-radius: 10px;
387
+ border:1px solid #499EDF;
388
+ background-color: #F8F8F8;
389
+ }
390
+ </style>
391
+