apply-clients 5.0.35-42 → 5.0.35-43
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.
package/package.json
CHANGED
|
@@ -481,7 +481,7 @@ export default {
|
|
|
481
481
|
if (this.data.fields[i].type === 'datepicker' && !this.data.fields[i].value) {
|
|
482
482
|
this.data.fields[i].value = new Date().Format("yyyy-MM-dd HH:mm:ss")
|
|
483
483
|
}
|
|
484
|
-
if(this.data.
|
|
484
|
+
if(this.data.f_user_type ==='非民用'){
|
|
485
485
|
this.data.fields[i].required = false
|
|
486
486
|
}
|
|
487
487
|
if (this.data.fields[i].label==='气价名称'){
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="auto form-horizontal" >
|
|
3
|
-
<modal
|
|
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>×</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() {
|
|
@@ -792,12 +805,25 @@
|
|
|
792
805
|
|
|
793
806
|
this.model.f_bill_type = this.model.f_print[0]
|
|
794
807
|
this.model.f_bill_style = this.model.f_print[0]
|
|
795
|
-
|
|
808
|
+
debugger
|
|
809
|
+
console.log('打印this.model.f_print[0]',this.model.f_print[0])
|
|
810
|
+
debugger
|
|
811
|
+
if(this.model.f_payment_account==='欣泰'){
|
|
812
|
+
this.print = true
|
|
813
|
+
}else{
|
|
814
|
+
this.printat = true
|
|
815
|
+
}
|
|
816
|
+
|
|
796
817
|
|
|
797
818
|
console.log('f_bill_style' + this.model.f_bill_style)
|
|
798
819
|
|
|
799
820
|
} else {
|
|
800
|
-
|
|
821
|
+
debugger
|
|
822
|
+
if(this.model.f_payment_account==='欣泰'){
|
|
823
|
+
this.print = true
|
|
824
|
+
}else{
|
|
825
|
+
this.printat = true
|
|
826
|
+
}
|
|
801
827
|
}
|
|
802
828
|
} else if (this.model.f_print[0] === '纸质普票') {
|
|
803
829
|
this.param.f_print = this.model.f_print[0],
|
|
@@ -847,7 +873,6 @@
|
|
|
847
873
|
this.model.rows[index].f_charge_money = -this.model.rows[index].f_charge_money;
|
|
848
874
|
var val = this.model.rows[index];
|
|
849
875
|
this.model.chargeid = val.id;
|
|
850
|
-
|
|
851
876
|
this.delprint = false;
|
|
852
877
|
this.charges = [{f_project_item: '合同总额', f_amount: 0, f_price: 0, f_money: 0}],
|
|
853
878
|
console.log(JSON.stringify(val))
|
|
@@ -867,12 +892,25 @@
|
|
|
867
892
|
this.model.chargeid = res.data.charge_id;
|
|
868
893
|
if (val.f_bill_style === '增值税电子发票') {
|
|
869
894
|
this.$showAlert('申请增值税电子发票冲正成功,请稍后到报建功能中【报建收费】中查看电子发票', 'success', 5000)
|
|
870
|
-
this.
|
|
895
|
+
if(this.model.f_payment_account==='欣泰'){
|
|
896
|
+
this.delprint = true;
|
|
897
|
+
}else{
|
|
898
|
+
this.delprintat = true
|
|
899
|
+
}
|
|
900
|
+
|
|
871
901
|
} else {
|
|
872
902
|
this.$showAlert('冲正成功', 'success', 2000)
|
|
903
|
+
if(this.model.f_payment_account==='欣泰'){
|
|
904
|
+
this.delprint = true;
|
|
905
|
+
}else{
|
|
906
|
+
this.delprintat = true
|
|
907
|
+
}
|
|
908
|
+
}
|
|
909
|
+
if(this.model.f_payment_account==='欣泰'){
|
|
873
910
|
this.delprint = true;
|
|
911
|
+
}else{
|
|
912
|
+
this.delprintat = true
|
|
874
913
|
}
|
|
875
|
-
this.delprint = true;
|
|
876
914
|
this.load()
|
|
877
915
|
} else {
|
|
878
916
|
this.$showAlert('冲正失败', 'warning', 5000)
|