apply-clients 5.0.35-99 → 5.0.35-ezhou-2

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 (43) hide show
  1. package/dist.7z +0 -0
  2. package/package.json +111 -111
  3. package/src/apply.js +1 -13
  4. package/src/components/app_apply/ApplyToDoList.vue +2586 -76
  5. package/src/components/app_apply/PlaceControler.vue +0 -12
  6. package/src/components/app_apply/ServiceControl.vue +348 -687
  7. package/src/components/app_apply/ezhou/ServiceView.vue +57 -139
  8. package/src/components/product/Common/ApplyValidateBill.vue +6 -13
  9. package/src/components/product/Common/PrintBill.vue +6 -7
  10. package/src/components/product/Function/InstallInfoSelect.vue +2 -3
  11. package/src/components/product/Function/Service/FunctionServiceControl.vue +1 -37
  12. package/src/components/product/Function/functions/BuyerMessage.vue +1 -1
  13. package/src/components/product/Function/functions/InstallFee.vue +22 -103
  14. package/src/components/product/Function/functions/InstallFeeInfo.vue +1 -6
  15. package/src/components/product/Process/ExplorationSelect.vue +678 -653
  16. package/src/components/product/Process/Processes/CustomerRecordMessage.vue +907 -907
  17. package/src/components/product/Process/Processes/Service/ApplyChargeSearch.vue +39 -126
  18. package/src/components/product/Process/Processes/Service/PaperTicketBill.vue +1 -1
  19. package/src/components/product/Process/Processes/Service/ServiceControl.vue +1495 -1880
  20. package/src/components/product/ServiceView.vue +5 -15
  21. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +10 -56
  22. package/src/components/product/Supervisory/SupervisoryList.vue +12 -76
  23. package/src/components/product/stopInfo/ApplyStopInfo.vue +1 -2
  24. package/src/ezhouAndroid.js +0 -4
  25. package/src/plugins/commonService.js +1 -1
  26. package/yarn-error.log +8796 -9048
  27. package/src/components/app_apply/Gongcheng.vue +0 -3631
  28. package/src/components/app_apply/OneToMany.vue +0 -194
  29. package/src/components/image/doc.jpg +0 -0
  30. package/src/components/image/dwg.png +0 -0
  31. package/src/components/image/dxf.png +0 -0
  32. package/src/components/image/excel.jpg +0 -0
  33. package/src/components/image/pdf.jpg +0 -0
  34. package/src/components/product/EngineeringManagement/EngineerUpload.vue +0 -304
  35. package/src/components/product/EngineeringManagement/EngineeringManagement.vue +0 -137
  36. package/src/components/product/EngineeringManagement/EngineeringSelect.vue +0 -586
  37. package/src/components/product/EngineeringSupervisory/EngineeringApplyStopInfo.vue +0 -281
  38. package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryControl.vue +0 -132
  39. package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryList.vue +0 -340
  40. package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryServiceControl.vue +0 -490
  41. package/src/components/product/Function/functions/ApplyUpload.vue +0 -556
  42. package/src/components/product/applyReport/ApplyReport.vue +0 -205
  43. package/src/components/product/applyReport/PrintApplyReport.vue +0 -116
@@ -64,9 +64,6 @@
64
64
  <th>
65
65
  <nobr>地址</nobr>
66
66
  </th>
67
- <th>
68
- <nobr>缴费状态</nobr>
69
- </th>
70
67
  <th>
71
68
  <nobr>操作</nobr>
72
69
  </th>
@@ -77,9 +74,8 @@
77
74
  <td style="text-align: center">{{row.f_user_name}}</td>
78
75
  <td style="text-align: center">{{row.f_user_phone}}</td>
79
76
  <td style="text-align: center">{{row.address}}</td>
80
- <td style="text-align: center">{{row.f_charging_status=='有效'?'已缴':'未缴'}}</td>
81
77
  <button type="button" name="button" class="btn btn-link"
82
- @click.stop="$parent.$parent.$parent.getUserinfo($index)">{{row.f_charging_status=='有效'?'已收':'收费'}}
78
+ @click.stop="$parent.$parent.$parent.getUserinfo($index)">收费
83
79
  </button>
84
80
  </template>
85
81
  </data-grid>
@@ -184,9 +180,9 @@
184
180
  <div class="form-input-group col-sm-12">
185
181
  <div class="form-input-group col-sm-3">
186
182
  <label for="f_charge_item" class="control-label col-sm-2">
187
- <button class="glyphicon glyphicon-minus btn-danger" type="button" v-if="$index>0"
183
+ <button class="glyphicon glyphicon-minus btn-danger" v-if="$index>0"
188
184
  @click.stop="delItems($index)"></button>&nbsp;&nbsp;&nbsp;
189
- <button class="glyphicon glyphicon-plus btn-success" type="button" @click.stop="addItems()"></button>
185
+ <button class="glyphicon glyphicon-plus btn-success" @click.stop="addItems()"></button>
190
186
  </label>
191
187
  <div class="col-sm-2">
192
188
  <v-select id="f_charge_item" +$index
@@ -234,15 +230,10 @@
234
230
  @validate-bill="validateBill"></apply-validate-bill>
235
231
  <printbill :show="print" :data='model' :selfclean="selfclean" :bill-config='config' :bill-data='billData'
236
232
  v-on:toggle="close" :selfsearch="load" @printok="printok" v-ref:printbill></printbill>
237
- <printbill :show="printat" :data='model' :selfclean="selfclean" :bill-config='config' :bill-data='billDataantai'
238
- v-on:toggle="close" :selfsearch="load" @printok="printok" v-ref:printbill></printbill>
239
233
  <bjpaper-ticket-bill :show="paperticket" :data='ids' @toggle="closeticket"></bjpaper-ticket-bill>
240
234
  <printbill :show="delprint" :data='model' :selfclean="selfclean" :bill-config='config2'
241
235
  :bill-data='billData' v-on:toggle="close" :selfsearch="load" @printok="printok"
242
236
  v-ref:printbill></printbill>
243
- <printbill :show="delprintat" :data='model' :selfclean="selfclean" :bill-config='config2'
244
- :bill-data='billDataantai' v-on:toggle="close" :selfsearch="load" @printok="printok"
245
- v-ref:printbill></printbill>
246
237
  <div class="row" style="text-align:right;">
247
238
  <button :readonly="!validateOk" type="button" class="btn btn-success" style="" @click='confirm'>确认
248
239
  </button>
@@ -261,11 +252,11 @@
261
252
 
262
253
  <validator name='v'>
263
254
  <form class="form-horizontal select-overspread">
264
- <div class="row" style="display: flex;justify-content: center;" id='normal-bill2'>
255
+ <div class="row" style="display: flex;justify-content: center;" id='normal-bill'>
265
256
  <div class="form-group col-sm-6">
266
257
  <label class=" col-sm-2 control-label">购买方名称:</label>
267
258
  <input type="text" class="form-control" v-model="paperinfo.f_buy_name" style="width:60%"
268
- :value.sync="model.f_user_name" placeholder="购买方名称"
259
+ :value.sync="paperinfo.f_buy_name" placeholder="购买方名称"
269
260
  >
270
261
  </div>
271
262
  <div class="form-group col-sm-6">
@@ -279,7 +270,7 @@
279
270
  <div class="form-group col-sm-6">
280
271
  <label class=" col-sm-2 control-label">购买方地址电话:</label>
281
272
  <input type="text" class="form-control" v-model="paperinfo.f_buy_address" style="width:60%"
282
- placeholder="购买方地址" :value.sync="model.adressphone"
273
+ placeholder="购买方地址" :value.sync="paperinfo.f_buy_address"
283
274
  >
284
275
  </div>
285
276
  <div class="form-group col-sm-6">
@@ -351,7 +342,6 @@
351
342
  rows: [] // 购货方信息
352
343
  },
353
344
  model: {
354
- adressphone:'',
355
345
  f_isone: ['否'],
356
346
  chargeid: '',
357
347
  f_print: ['普通收据'],
@@ -399,18 +389,12 @@
399
389
  paymenttypes: this.$appdata.getParam('付款方式'),
400
390
  printstyle: this.$appdata.getParam('打印格式'),
401
391
  print: false,
402
- printat: false,
403
392
  delprint: false,
404
- delprintat:false,
405
393
  taxprint: false,
406
394
  billData: {
407
395
  url: 'rs/report/applyCharge_bill',
408
396
  bill: ''
409
397
  },
410
- billDataantai: {
411
- url: 'rs/report/applyChargeAT_bill',
412
- bill: ''
413
- },
414
398
  config: {
415
399
  hasPrint: true, //默认打票
416
400
  hasBillManage: true, //默认不启用发票管理
@@ -436,19 +420,17 @@
436
420
  f_charge_collectors: this.$login.f.name,
437
421
  f_charge_date: '',
438
422
  f_charge_remarks: '',
439
- f_filiale: '',
423
+ f_filiale: this.$login.f.f_fengongsi,
440
424
  f_process_id: '',
441
425
  f_apply_num: '',
442
426
  f_payment_method: '',
443
427
  f_charging_status: '有效',
444
428
  f_is_correct: '否',
445
- f_bill_style: '',
446
- f_charge_user: '',
447
- f_charge_address: ''
429
+ f_bill_style: ''
448
430
  },
449
431
  charges: [{f_project_item: '合同总额', f_amount: 0, f_price: 0, f_money: 0}],
450
432
  // 启用发票管理需要对票号进行验证
451
- hasValidateBill: false,
433
+ hasValidateBill: true,
452
434
  validateOk: false,
453
435
  userinfoRow: {
454
436
  rows: []
@@ -538,7 +520,6 @@
538
520
  this.$dispatch('success')
539
521
  }
540
522
  this.$showMessage('是否冲正此条记录?', ['confirm', 'cancel']).then((res) => {
541
- debugger
542
523
  if (res === 'confirm') {
543
524
  let param = {
544
525
  row: this.model.rows[index]
@@ -557,7 +538,6 @@
557
538
  console.log(index)
558
539
  console.log("a")
559
540
  this.model.f_user_name = this.userinfoRow.rows[index].f_user_name;
560
- this.model.f_process_id = this.userinfoRow.rows[index].f_process_id;
561
541
  this.model.f_phone = this.userinfoRow.rows[index].f_user_phone;
562
542
  this.model.f_address = this.userinfoRow.rows[index].address;
563
543
  this.model.f_userinfo_id = this.userinfoRow.rows[index].f_userinfo_id;
@@ -600,14 +580,12 @@
600
580
  f_charge_collectors: this.$login.f.name,
601
581
  f_charge_date: '',
602
582
  f_charge_remarks: '',
603
- f_filiale: '',
583
+ f_filiale: this.$login.f.f_fengongsi,
604
584
  f_process_id: '',
605
585
  f_apply_num: '',
606
586
  f_charging_status: '有效',
607
587
  f_is_correct: '否',
608
- f_bill_style: '',
609
- f_charge_user: '',
610
- f_charge_address: ''
588
+ f_bill_style: ''
611
589
  }
612
590
 
613
591
  // this.$dispatch('refresh', this.model)
@@ -616,9 +594,7 @@
616
594
  console.log("关闭打印框")
617
595
  this.taxprint = false
618
596
  this.print = false
619
- this.printat = false
620
597
  this.delprint = false
621
- this.delprintat = false
622
598
  this.clean()
623
599
  },
624
600
  printok() {
@@ -628,7 +604,6 @@
628
604
  validateBill(val) {
629
605
  this.validateOk = !val.isOk
630
606
  this.billData.bill = val.bill
631
- this.billDataantai.bill = val.bill
632
607
  },
633
608
 
634
609
  confirmbuyerinfo(args) {
@@ -721,9 +696,8 @@
721
696
  this.model.f_charge_money = 0
722
697
  this.model.f_amount_words = ''
723
698
  } else {
724
- debugger
725
699
  //获取购货方信息
726
- let http = new HttpResetClass()
700
+ http = new HttpResetClass()
727
701
  data = {
728
702
  tablename: 't_buyer_info',
729
703
  condition: `f_process_id = '${this.infee.f_process_id}' and f_apply_num = '${this.infee.f_apply_num}' `
@@ -744,7 +718,7 @@
744
718
  let flag2 = this.accSub(Number(this.model.f_unaccounts_money), Number(this.model.f_charge_money))
745
719
 
746
720
 
747
- http = new HttpResetClass()
721
+ let http = new HttpResetClass()
748
722
  console.log('f_charge_money' + Number(this.model.f_charge_money))
749
723
  console.log('f_unaccounts_money' + Number(this.model.f_unaccounts_money))
750
724
  this.addItem.f_charge_money = this.model.f_charge_money
@@ -754,14 +728,7 @@
754
728
  this.addItem.f_charge_collectors = this.$login.f.name
755
729
  this.addItem.f_charge_date = this.model.f_charge_date
756
730
  this.addItem.f_charge_remarks = this.model.f_charge_remarks
757
- if(this.model.f_payment_account==='安泰'){
758
- this.addItem.f_filiale ='燃气公司.安泰天然气'
759
- } else if(this.model.f_payment_account==='欣泰'){
760
- this.addItem.f_filiale ='欣泰工程公司'
761
- }else{
762
- this.addItem.f_filiale='迪泰公司'
763
- }
764
- // this.addItem.f_filiale = this.model.f_payment_account =='安泰' ? '燃气公司.安泰天然气' : '欣泰工程公司'
731
+ this.addItem.f_filiale = this.$login.f.f_fengongsi
765
732
  this.addItem.f_process_id = this.infee.f_process_id
766
733
  this.addItem.f_apply_num = this.infee.f_apply_num
767
734
  this.model.rows.push(this.addItem)
@@ -790,7 +757,6 @@
790
757
  parameters: this.addItem
791
758
  }
792
759
  // 生成收费记录的id
793
- debugger
794
760
  let sellid = ''
795
761
  let ret = await http.load('POST', 'rs/logic/saveentity', {data: data})
796
762
  this.model.chargeid = ret.data.id
@@ -800,8 +766,7 @@
800
766
  f_unaccounts_money: flag2,
801
767
  f_apply_num: this.infee.f_apply_num
802
768
  }
803
- //开始收费
804
- debugger
769
+ //开始收费
805
770
  for (let i = 0; i < this.charges.length; i++) {
806
771
  let saveen = this.charges[i]
807
772
  saveen.f_project_item = this.charges[i].f_project_item[0]
@@ -813,20 +778,6 @@
813
778
  }
814
779
  }, {resolveMsg: null, rejectMsg: "失败"})
815
780
  }
816
- // debugger
817
- // for (let i = 0; i < this.charges.length; i++) {
818
- // let saveen = this.charges[i]
819
- // debugger
820
- // saveen.f_money= 0 - saveen.f_money
821
- // saveen.f_project_item = this.charges[i].f_project_item[0]
822
- // saveen.f_charge_record_id = parseFloat(ret.data.id);
823
- // await http.load('POST', 'rs/logic/saveentity', {
824
- // data: {
825
- // tablename: 't_charge_record_item',
826
- // parameters: saveen
827
- // }
828
- // }, {resolveMsg: null, rejectMsg: "失败"})
829
- // }
830
781
 
831
782
  await http.load('POST', 'rs/logic/updatechargemoney', {data: data}, {resolveMsg: null, rejectMsg: "添加累计金额失败"})
832
783
  .then((res) => {
@@ -840,25 +791,12 @@
840
791
 
841
792
  this.model.f_bill_type = this.model.f_print[0]
842
793
  this.model.f_bill_style = this.model.f_print[0]
843
- debugger
844
- console.log('打印this.model.f_print[0]',this.model.f_print[0])
845
- debugger
846
- if(this.model.f_payment_account==='欣泰'){
847
- this.print = true
848
- }else{
849
- this.printat = true
850
- }
851
-
794
+ this.print = true
852
795
 
853
796
  console.log('f_bill_style' + this.model.f_bill_style)
854
797
 
855
798
  } else {
856
- debugger
857
- if(this.model.f_payment_account==='欣泰'){
858
- this.print = true
859
- }else{
860
- this.printat = true
861
- }
799
+ this.print = true
862
800
  }
863
801
  } else if (this.model.f_print[0] === '纸质普票') {
864
802
  this.param.f_print = this.model.f_print[0],
@@ -902,18 +840,17 @@
902
840
  this.showview = false
903
841
  },
904
842
  async tovoid(index) {
905
- debugger
906
843
  console.log(index)
907
844
  console.log(JSON.stringify(this.model.rows))
908
845
  this.model.rows[index].f_amount_words = "负" + this.model.rows[index].f_amount_words;
909
846
  this.model.rows[index].f_charge_money = -this.model.rows[index].f_charge_money;
910
847
  var val = this.model.rows[index];
911
848
  this.model.chargeid = val.id;
849
+
912
850
  this.delprint = false;
913
851
  this.charges = [{f_project_item: '合同总额', f_amount: 0, f_price: 0, f_money: 0}],
914
852
  console.log(JSON.stringify(val))
915
853
  // this.charges =[{f_project_item:'合同总额', f_amount: 0, f_price: 0,f_money:0}],
916
- debugger
917
854
  if (val.f_is_correct === '是' || val.f_charging_status !== '有效' || val.f_is_correct === '冲正中') {
918
855
  this.$showMessage('已冲正或正在冲正,不能操作!')
919
856
  } else {
@@ -929,25 +866,12 @@
929
866
  this.model.chargeid = res.data.charge_id;
930
867
  if (val.f_bill_style === '增值税电子发票') {
931
868
  this.$showAlert('申请增值税电子发票冲正成功,请稍后到报建功能中【报建收费】中查看电子发票', 'success', 5000)
932
- if(this.model.f_payment_account==='欣泰'){
933
- this.delprint = true;
934
- }else{
935
- this.delprintat = true
936
- }
937
-
869
+ this.delprint = true;
938
870
  } else {
939
871
  this.$showAlert('冲正成功', 'success', 2000)
940
- if(this.model.f_payment_account==='欣泰'){
941
- this.delprint = true;
942
- }else{
943
- this.delprintat = true
944
- }
945
- }
946
- if(this.model.f_payment_account==='欣泰'){
947
872
  this.delprint = true;
948
- }else{
949
- this.delprintat = true
950
873
  }
874
+ this.delprint = true;
951
875
  this.load()
952
876
  } else {
953
877
  this.$showAlert('冲正失败', 'warning', 5000)
@@ -1028,7 +952,7 @@
1028
952
 
1029
953
  // 获取数据
1030
954
  async load() {
1031
- console.log('load被重新调用111')
955
+
1032
956
  this.refresh = !this.refresh
1033
957
  console.log("刷新validate,重新加载" + this.refresh)
1034
958
  // this.ifsearch = !this.ifsearch
@@ -1054,7 +978,7 @@
1054
978
  this.model.rows = res.data
1055
979
  this.model.f_cumulative_money = 0;
1056
980
  for (let i = 0; i < res.data.length; i++) {
1057
- this.model.f_cumulative_money =parseFloat(parseFloat(this.model.f_cumulative_money) + parseFloat(res.data[i].f_charge_money)).toFixed(2) ;
981
+ this.model.f_cumulative_money = this.model.f_cumulative_money + parseInt(res.data[i].f_charge_money);
1058
982
  }
1059
983
 
1060
984
 
@@ -1074,18 +998,13 @@
1074
998
  resolveMsg: null,
1075
999
  rejectMsg: '获取用户信息失败!'
1076
1000
  })
1077
- console.dir(userinfores.data)
1078
1001
  this.userinfoRow.rows = userinfores.data;
1079
1002
 
1080
-
1081
1003
  this.oldInfo.f_user_name = this.model.f_user_name;
1082
1004
  this.oldInfo.f_phone = this.model.f_phone;
1083
1005
  this.oldInfo.f_address = this.model.f_address;
1084
1006
  this.model.f_isone = ['否'];
1085
- this.model.adressphone = this.model.f_address + ' ' + this.model.f_phone;
1086
1007
  this.charges = [{f_project_item: '合同总额', f_amount: 0, f_price: 0, f_money: 0}];
1087
- this.hasValidateBill=true
1088
- console.log('load被重新调用222')
1089
1008
  }
1090
1009
  },
1091
1010
  computed: {
@@ -26,10 +26,6 @@
26
26
  <label class = "col-sm-5 control-label">用户类型:</label>
27
27
  <span class = "col-sm-7">{{model.f_user_type}}</span>
28
28
  </div>
29
- <div class="row">
30
- <label class = "col-sm-5 control-label">支付账户:</label>
31
- <span class = "col-sm-7">{{model.f_payment_account}}</span>
32
- </div>
33
29
  <div class="row">
34
30
  <label class = "col-sm-5 control-label">申请户数:</label>
35
31
  <span class = "col-sm-7">{{model.f_user_type}}</span>
@@ -100,8 +96,7 @@
100
96
  f_user_type: '无',
101
97
  f_house_type: '无',
102
98
  f_residential_area: '无',
103
- f_apply_remarks: '无',
104
- f_payment_account: '无'
99
+ f_apply_remarks: '无'
105
100
  }
106
101
  }
107
102
  },