apply-clients 5.0.35-42 → 5.0.35-45

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.
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div class="auto form-horizontal" >
3
- <modal :show.sync="show" v-ref:modal large backdrop="false">
3
+ <modal :show.sync="show" v-ref:modal large backdrop="false">
4
4
  <header slot="modal-header" class="modal-header">
5
5
  <h3 style="color:black" class="modal-title" >{{billConfig.billtype}}</h3>
6
6
  <button type="button" class="close" @click="closebuyerinfo"><span>&times;</span></button>
@@ -35,6 +35,7 @@
35
35
  import Vue from "vue";
36
36
 
37
37
  let getBillData = async function(self, val) {
38
+ debugger
38
39
  self.bill = new DataModel(self.billData.url, {reprint: "'正常'"})
39
40
  await self.bill.search(self.data.chargeid)
40
41
  // self.bill.condition=
@@ -54,7 +55,7 @@
54
55
  messShow: false
55
56
  }
56
57
  },
57
- props: ['show', 'data', 'billData', 'billConfig','titleName'],
58
+ props: ['show', 'data', 'billData', 'billConfig','titleName','billDataantai'],
58
59
  ready () {
59
60
  console.log('打票!!!!!!!!!!!!!!!!!')
60
61
 
@@ -230,10 +230,15 @@
230
230
  @validate-bill="validateBill"></apply-validate-bill>
231
231
  <printbill :show="print" :data='model' :selfclean="selfclean" :bill-config='config' :bill-data='billData'
232
232
  v-on:toggle="close" :selfsearch="load" @printok="printok" v-ref:printbill></printbill>
233
+ <printbill :show="printat" :data='model' :selfclean="selfclean" :bill-config='config' :bill-data='billDataantai'
234
+ v-on:toggle="close" :selfsearch="load" @printok="printok" v-ref:printbill></printbill>
233
235
  <bjpaper-ticket-bill :show="paperticket" :data='ids' @toggle="closeticket"></bjpaper-ticket-bill>
234
236
  <printbill :show="delprint" :data='model' :selfclean="selfclean" :bill-config='config2'
235
237
  :bill-data='billData' v-on:toggle="close" :selfsearch="load" @printok="printok"
236
238
  v-ref:printbill></printbill>
239
+ <printbill :show="delprintat" :data='model' :selfclean="selfclean" :bill-config='config2'
240
+ :bill-data='billDataantai' v-on:toggle="close" :selfsearch="load" @printok="printok"
241
+ v-ref:printbill></printbill>
237
242
  <div class="row" style="text-align:right;">
238
243
  <button :readonly="!validateOk" type="button" class="btn btn-success" style="" @click='confirm'>确认
239
244
  </button>
@@ -389,12 +394,18 @@
389
394
  paymenttypes: this.$appdata.getParam('付款方式'),
390
395
  printstyle: this.$appdata.getParam('打印格式'),
391
396
  print: false,
397
+ printat: false,
392
398
  delprint: false,
399
+ delprintat:false,
393
400
  taxprint: false,
394
401
  billData: {
395
402
  url: 'rs/report/applyCharge_bill',
396
403
  bill: ''
397
404
  },
405
+ billDataantai: {
406
+ url: 'rs/report/applyChargeAT_bill',
407
+ bill: ''
408
+ },
398
409
  config: {
399
410
  hasPrint: true, //默认打票
400
411
  hasBillManage: true, //默认不启用发票管理
@@ -595,7 +606,9 @@
595
606
  console.log("关闭打印框")
596
607
  this.taxprint = false
597
608
  this.print = false
609
+ this.printat = false
598
610
  this.delprint = false
611
+ this.delprintat = false
599
612
  this.clean()
600
613
  },
601
614
  printok() {
@@ -605,6 +618,7 @@
605
618
  validateBill(val) {
606
619
  this.validateOk = !val.isOk
607
620
  this.billData.bill = val.bill
621
+ this.billDataantai.bill = val.bill
608
622
  },
609
623
 
610
624
  confirmbuyerinfo(args) {
@@ -792,12 +806,25 @@
792
806
 
793
807
  this.model.f_bill_type = this.model.f_print[0]
794
808
  this.model.f_bill_style = this.model.f_print[0]
795
- this.print = true
809
+ debugger
810
+ console.log('打印this.model.f_print[0]',this.model.f_print[0])
811
+ debugger
812
+ if(this.model.f_payment_account==='欣泰'){
813
+ this.print = true
814
+ }else{
815
+ this.printat = true
816
+ }
817
+
796
818
 
797
819
  console.log('f_bill_style' + this.model.f_bill_style)
798
820
 
799
821
  } else {
800
- this.print = true
822
+ debugger
823
+ if(this.model.f_payment_account==='欣泰'){
824
+ this.print = true
825
+ }else{
826
+ this.printat = true
827
+ }
801
828
  }
802
829
  } else if (this.model.f_print[0] === '纸质普票') {
803
830
  this.param.f_print = this.model.f_print[0],
@@ -847,7 +874,6 @@
847
874
  this.model.rows[index].f_charge_money = -this.model.rows[index].f_charge_money;
848
875
  var val = this.model.rows[index];
849
876
  this.model.chargeid = val.id;
850
-
851
877
  this.delprint = false;
852
878
  this.charges = [{f_project_item: '合同总额', f_amount: 0, f_price: 0, f_money: 0}],
853
879
  console.log(JSON.stringify(val))
@@ -867,12 +893,25 @@
867
893
  this.model.chargeid = res.data.charge_id;
868
894
  if (val.f_bill_style === '增值税电子发票') {
869
895
  this.$showAlert('申请增值税电子发票冲正成功,请稍后到报建功能中【报建收费】中查看电子发票', 'success', 5000)
870
- this.delprint = true;
896
+ if(this.model.f_payment_account==='欣泰'){
897
+ this.delprint = true;
898
+ }else{
899
+ this.delprintat = true
900
+ }
901
+
871
902
  } else {
872
903
  this.$showAlert('冲正成功', 'success', 2000)
904
+ if(this.model.f_payment_account==='欣泰'){
905
+ this.delprint = true;
906
+ }else{
907
+ this.delprintat = true
908
+ }
909
+ }
910
+ if(this.model.f_payment_account==='欣泰'){
873
911
  this.delprint = true;
912
+ }else{
913
+ this.delprintat = true
874
914
  }
875
- this.delprint = true;
876
915
  this.load()
877
916
  } else {
878
917
  this.$showAlert('冲正失败', 'warning', 5000)