apply-clients 4.1.2 → 4.1.3-weinan

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 (33) hide show
  1. package/index.html +1 -1
  2. package/package.json +6 -4
  3. package/src/apply.js +81 -66
  4. package/src/applyAndroid.js +41 -39
  5. package/src/components/app_apply/AppChargeManagement.vue +619 -0
  6. package/src/components/product/ApplyCharge/ApplyChargeList.vue +251 -251
  7. package/src/components/product/Function/InstallInfoSelect.vue +40 -27
  8. package/src/components/product/Function/StopApplyCrrdList.vue +1 -1
  9. package/src/components/product/Function/functions/StopInstall.vue +7 -1
  10. package/src/components/product/Process/ExplorationSelect.vue +82 -59
  11. package/src/components/product/Process/Processes/InstallationDetails.vue +276 -246
  12. package/src/components/product/Process/Processes/UserFireInfo.vue +409 -0
  13. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +1458 -99
  14. package/src/components/product/Process/Processes/addressAndUserinfoManagementPro.vue +1221 -0
  15. package/src/components/product/Process/Processes/chargeManagement.vue +47 -53
  16. package/src/components/product/Process/Processes/devicesDetails.vue +834 -0
  17. package/src/components/product/Process/Processes/materialshoufei.vue +182 -0
  18. package/src/components/product/Process/Processes/printCharge.vue +130 -130
  19. package/src/components/product/Process/Processes/recordcancel.vue +50 -0
  20. package/src/components/product/Process/Processes/selectUserinfo.vue +199 -0
  21. package/src/components/product/Process/Processes/splitMaterial.vue +358 -0
  22. package/src/components/product/Process/Service/ServiceControl.vue +1124 -703
  23. package/src/components/product/Process/ShowBackReason.vue +1 -0
  24. package/src/components/product/ServiceView.vue +82 -35
  25. package/src/components/product/Stop/StopApply.vue +101 -0
  26. package/src/components/product/Stop/StopApplyList.vue +257 -0
  27. package/src/components/product/Supervisory/SupervisoryControl.vue +7 -4
  28. package/src/components/product/Supervisory/SupervisoryList.vue +40 -27
  29. package/src/components/product/Supervisory/SupervisoryhCart.vue +0 -7
  30. package/src/components/product/Test.vue +8 -4
  31. package/src/components/product/VueUtils/ApplyUpload.vue +4 -4
  32. package/src/main.js +25 -23
  33. package/static/images/lefticon//347/237/251/345/275/2421183.png +0 -0
@@ -20,6 +20,7 @@
20
20
  <button
21
21
  type="button"
22
22
  class="btn btn-info head-but"
23
+ v-if="$parent.$parent.mark !== 1"
23
24
  @click="$parent.$parent.showChargeModal()"
24
25
  >新增收费</button>
25
26
  </th>
@@ -72,16 +73,16 @@
72
73
  type="button"
73
74
  name="button"
74
75
  class="btn btn-link"
75
- :disabled="$parent.$parent.mark === 1 || row.f_charging_status === '作废'"
76
+ :disabled="$parent.$parent.mark === 1 || row.f_charge_status === '作废'"
76
77
  @click="$parent.$parent.showInvalidModal(row)"
77
78
  >作废</button>
78
79
 
79
- <button
80
- type="button"
81
- name="button"
82
- class="btn btn-link"
83
- @click="$parent.$parent.showPrintModal(row)"
84
- >打印预览</button>
80
+ <!-- <button-->
81
+ <!-- type="button"-->
82
+ <!-- name="button"-->
83
+ <!-- class="btn btn-link"-->
84
+ <!-- @click="$parent.$parent.showPrintModal(row)"-->
85
+ <!-- >打印预览</button>-->
85
86
  </nobr>
86
87
  </td>
87
88
  </tr>
@@ -94,25 +95,25 @@
94
95
  <h4 class="modal-title">收费明细</h4>
95
96
  </header>
96
97
  <article slot="modal-body" class="modal-body clearfix">
97
- <div class="form-group col-sm-12" :class="chargeUseraddress ? '':'has-error'" v-if="selectdata.f_apply_type !== '开发商集体报建'">
98
- <label class="col-sm-2 control-label">缴费地址:</label>
99
- <div class="col-sm-10">
100
- <input-select
101
- v-model="chargeUseraddress"
102
- placeholder='请选择'
103
- :value.sync="chargeUseraddress"
104
- :options='useraddressList'
105
- @change="changeUseraddress()"
106
- class="select select_list"
107
- :value-single="true"
108
- width="100%"
109
- close-on-select ></input-select>
110
- </div>
111
- </div>
98
+ <!-- <div class="form-group col-sm-12" :class="chargeUseraddress ? '':'has-error'" v-if="selectdata.f_apply_type == '散户报建'">-->
99
+ <!-- <label class="col-sm-2 control-label">缴费地址:</label>-->
100
+ <!-- <div class="col-sm-10">-->
101
+ <!-- <input-select-->
102
+ <!-- v-model="chargeUseraddress"-->
103
+ <!-- placeholder='请选择'-->
104
+ <!-- :value.sync="chargeUseraddress"-->
105
+ <!-- :options='useraddressList'-->
106
+ <!-- @change="changeUseraddress()"-->
107
+ <!-- class="select select_list"-->
108
+ <!-- :value-single="true"-->
109
+ <!-- width="100%"-->
110
+ <!-- close-on-select ></input-select>-->
111
+ <!-- </div>-->
112
+ <!-- </div>-->
112
113
  <div class="form-group col-sm-12" :class="charge.f_charge_money ? '':'has-error'">
113
114
  <label class="col-sm-2 control-label">收费金额:</label>
114
115
  <div class="col-sm-10">
115
- <input type="number"
116
+ <input type="input"
116
117
  class="form-control input_view"
117
118
  style="width: 100%"
118
119
  placeholder="0.00"
@@ -146,7 +147,7 @@
146
147
  </div>
147
148
  </div>
148
149
  <div class="form-group col-sm-12"
149
- v-if="selectdata.f_apply_type === '散户集体报建' || selectdata.f_apply_type === '煤改气报建'"
150
+ v-if="selectdata.f_apply_type === '散户集体报建'"
150
151
  >
151
152
  <label class="col-sm-2 control-label">单价(户):</label>
152
153
  <div class="col-sm-10">
@@ -158,7 +159,7 @@
158
159
  </div>
159
160
  </div>
160
161
  <div class="form-group col-sm-12"
161
- v-if="selectdata.f_apply_type === '散户集体报建' || selectdata.f_apply_type === '煤改气报建'"
162
+ v-if="selectdata.f_apply_type === '散户集体报建'"
162
163
  >
163
164
  <label class="col-sm-2 control-label">累计缴费金额:</label>
164
165
  <div class="col-sm-10">
@@ -170,7 +171,7 @@
170
171
  </div>
171
172
  </div>
172
173
  <div class="form-group col-sm-12"
173
- v-if="selectdata.f_apply_type === '散户集体报建' || selectdata.f_apply_type === '煤改气报建'"
174
+ v-if="selectdata.f_apply_type === '散户集体报建'"
174
175
  >
175
176
  <label class="col-sm-2 control-label">未结金额:</label>
176
177
  <div class="col-sm-10">
@@ -232,16 +233,6 @@
232
233
  <h4 class="modal-title">作废收费</h4>
233
234
  </header>
234
235
  <article slot="modal-body" class="modal-body clearfix">
235
- <div class="form-group col-sm-12" v-if="selectdata.f_apply_type !== '开发商集体报建'">
236
- <label class="col-sm-2 control-label">缴费地址:</label>
237
- <div class="col-sm-10">
238
- <input type="text"
239
- class="form-control input_view"
240
- style="width: 100%"
241
- readonly
242
- v-model="charge.f_useraddress" />
243
- </div>
244
- </div>
245
236
  <div class="form-group col-sm-12">
246
237
  <label class="col-sm-2 control-label">收费金额:</label>
247
238
  <div class="col-sm-10">
@@ -391,10 +382,10 @@ export default {
391
382
  this.charge.f_amount_words = this.smalltoBIG(e.target.value)
392
383
  },
393
384
  async saveCharge() {
394
- if (isEmpty(this.charge.f_useraddress_id) && this.selectdata.f_apply_type !== '开发商集体报建') {
395
- this.$showAlert('请选择缴费的地址信息!!!', 'warning', 3000)
396
- return
397
- }
385
+ // if (isEmpty(this.charge.f_useraddress_id) && this.selectdata.f_apply_type == '散户报建') {
386
+ // this.$showAlert('请选择缴费的地址信息!!!', 'warning', 3000)
387
+ // return
388
+ // }
398
389
  if (Number(this.charge.f_charge_money) === 0 || isEmpty(this.charge.f_charge_money)) {
399
390
  this.$showAlert('单笔收费不能为0元!!!', 'warning', 3000)
400
391
  return
@@ -403,16 +394,16 @@ export default {
403
394
  this.$showAlert('单笔收费不能超过未交总金额!!!', 'warning', 3000)
404
395
  return
405
396
  }
406
- if (this.selectdata.f_apply_type === '散户集体报建' || this.selectdata.f_apply_type === '煤改气报建') {
407
- if (Number(this.charge.f_charge_money) > Number(this.selectdata.f_price)) {
408
- this.$showAlert('单笔收费不能超过单价!!!', 'warning', 3000)
409
- return
410
- }
411
- if (Number(this.charge.f_charge_money) > Number(this.outstandingAmount)) {
412
- this.$showAlert('单笔收费不能超过当前用户未结金额!!!', 'warning', 3000)
413
- return
414
- }
415
- }
397
+ // if (this.selectdata.f_apply_type === '散户集体报建' || this.selectdata.f_apply_type === '散户报建') {
398
+ // if (Number(this.charge.f_charge_money) > Number(this.selectdata.f_price)) {
399
+ // this.$showAlert('单笔收费不能超过单价!!!', 'warning', 3000)
400
+ // return
401
+ // }
402
+ // if (Number(this.charge.f_charge_money) > Number(this.outstandingAmount)) {
403
+ // this.$showAlert('单笔收费不能超过当前用户未结金额!!!', 'warning', 3000)
404
+ // return
405
+ // }
406
+ // }
416
407
  if (isEmpty(this.charge.f_payment_method)) {
417
408
  this.$showAlert('请选择付款方式!!!', 'warning', 3000)
418
409
  return
@@ -432,8 +423,6 @@ export default {
432
423
  } catch (e) {
433
424
  this.$showAlert(e.data, 'danger', 3000)
434
425
  }
435
-
436
-
437
426
  this.$dispatch('breakControl', this.selectdata)
438
427
  },
439
428
  // 金额转大写
@@ -474,7 +463,7 @@ export default {
474
463
  })
475
464
 
476
465
  this.useraddressList = res.data
477
- if (this.selectdata.f_apply_type === '散户集体报建' || this.selectdata.f_apply_type === '煤改气报建') {
466
+ if (this.selectdata.f_apply_type === '开发商集体报建' || this.selectdata.f_apply_type === '散户报建') {
478
467
  // 去除累计缴费金额大于等于单价的用户地址
479
468
  this.useraddressList = res.data.filter(item => {
480
469
  let f_cumulative_payment_money = isEmpty(item.f_cumulative_payment_money) ? 0 : item.f_cumulative_payment_money
@@ -494,6 +483,11 @@ export default {
494
483
 
495
484
  },
496
485
  async showChargeModal() {
486
+ let http = new HttpResetClass()
487
+ await http.load('POST', 'rs/entity/t_apply', {data:this.selectdata}, {
488
+ resolveMsg: null,
489
+ rejectMsg: null
490
+ })
497
491
  this.getUserAddress()
498
492
 
499
493
  this.showCharge = true