|
|
@@ -161,7 +161,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="applyinvoice-ul">
|
|
|
+ <div class="applyinvoice-ul" v-else>
|
|
|
<div class="addinvoice-focus clearfix">
|
|
|
<div class="pull-left addinvoice-focus-name">暂无发票信息:</div>
|
|
|
<div class="pull-left clearfix" @click="addInvoiceNew()">
|
|
|
@@ -274,11 +274,13 @@
|
|
|
return item.kind === 1205
|
|
|
})
|
|
|
let chooseItem = showSpeciBtn ? showSpeciBtn : showNormalBtn
|
|
|
+ let waitinvoiceType = showSpeciBtn ? 'speci' : 'normal'
|
|
|
return {
|
|
|
invoiceArr: data,
|
|
|
showNormalBtn: showNormalBtn ? true: false,
|
|
|
showSpeciBtn: showSpeciBtn ? true : false,
|
|
|
- chooseItem: chooseItem
|
|
|
+ chooseItem: chooseItem,
|
|
|
+ waitinvoiceType: waitinvoiceType
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
@@ -311,10 +313,12 @@
|
|
|
return item.kind === 1205
|
|
|
})
|
|
|
let chooseItem = showSpeciBtn ? showSpeciBtn : showNormalBtn
|
|
|
+ let waitinvoiceType = showSpeciBtn ? 'speci' : 'normal'
|
|
|
this.invoiceArr = data
|
|
|
this.showNormalBtn = showNormalBtn ? true: false
|
|
|
this.showSpeciBtn = showSpeciBtn ? true : false
|
|
|
this.chooseItem = chooseItem
|
|
|
+ this.waitinvoiceType = waitinvoiceType
|
|
|
}
|
|
|
this.showSend = true
|
|
|
},
|
|
|
@@ -374,7 +378,7 @@
|
|
|
str === '' ? str += obj.orderid : str += ',' + obj.orderid
|
|
|
})
|
|
|
let json = {
|
|
|
- invoiceid: 3034,
|
|
|
+ invoiceid: this.chooseItem.id,
|
|
|
orderids: str
|
|
|
}
|
|
|
this.$http.post('/trade/billSubmit', json).then(res => {
|