|
|
@ -66,10 +66,10 @@
|
|
|
|
<a-button @click="openRed" v-repeat type="link" v-if="route.query.id">
|
|
|
|
<a-button @click="openRed" v-repeat type="link" v-if="route.query.id">
|
|
|
|
<span class="iconfont icon-dengjizongshu"></span>冲红
|
|
|
|
<span class="iconfont icon-dengjizongshu"></span>冲红
|
|
|
|
</a-button>
|
|
|
|
</a-button>
|
|
|
|
<a-button v-repeat type="link" v-if="route.query.id">
|
|
|
|
<!-- <a-button v-repeat type="link" v-if="route.query.id">
|
|
|
|
<span class="iconfont icon-youjian"></span>邮件转发
|
|
|
|
<span class="iconfont icon-youjian"></span>邮件转发
|
|
|
|
</a-button>
|
|
|
|
</a-button> -->
|
|
|
|
<a-button v-repeat type="link" v-if="route.query.id">
|
|
|
|
<a-button @click="lookInvoice" v-repeat type="link" v-if="route.query.id">
|
|
|
|
<span class="iconfont icon-ic_search24px"></span>查看发票
|
|
|
|
<span class="iconfont icon-ic_search24px"></span>查看发票
|
|
|
|
</a-button>
|
|
|
|
</a-button>
|
|
|
|
<a-button @click="openHand" v-repeat type="link" v-if="route.query.id">
|
|
|
|
<a-button @click="openHand" v-repeat type="link" v-if="route.query.id">
|
|
|
@ -415,7 +415,7 @@ import applyInvoice from './applyInvoice.vue'
|
|
|
|
import invoiceFile from './invoiceFile.vue'
|
|
|
|
import invoiceFile from './invoiceFile.vue'
|
|
|
|
import { DownOutlined } from '@ant-design/icons-vue'
|
|
|
|
import { DownOutlined } from '@ant-design/icons-vue'
|
|
|
|
import {
|
|
|
|
import {
|
|
|
|
GetInvoiceCodeList, GetUserListAll, DeleteInvoiceDetail,
|
|
|
|
GetInvoiceCodeList, GetUserListAll, DeleteInvoiceDetail,ApiQuery,
|
|
|
|
GeneralInvoiceSave, GeneralInvoiceGet, FreeInvoiceSave, Reverse,
|
|
|
|
GeneralInvoiceSave, GeneralInvoiceGet, FreeInvoiceSave, Reverse,
|
|
|
|
GeneralInvoiceGetList, GeneralInvoiceInitiate, GetClientBankList
|
|
|
|
GeneralInvoiceGetList, GeneralInvoiceInitiate, GetClientBankList
|
|
|
|
} from '../api'
|
|
|
|
} from '../api'
|
|
|
@ -816,6 +816,17 @@ const handFlag = ref(false)
|
|
|
|
function openHand() {
|
|
|
|
function openHand() {
|
|
|
|
handFlag.value = true
|
|
|
|
handFlag.value = true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
function lookInvoice(){
|
|
|
|
|
|
|
|
loading.value = true
|
|
|
|
|
|
|
|
ApiQuery({id:route.query.id}).then(res=>{
|
|
|
|
|
|
|
|
if(res.succeeded){
|
|
|
|
|
|
|
|
window.open(res.data.pdfUrl)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
loading.value = false
|
|
|
|
|
|
|
|
}).catch(()=>{
|
|
|
|
|
|
|
|
loading.value = false
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
}
|
|
|
|
const invoiceFileRef = ref('')
|
|
|
|
const invoiceFileRef = ref('')
|
|
|
|
function openFile() {
|
|
|
|
function openFile() {
|
|
|
|
invoiceFileRef.value.init()
|
|
|
|
invoiceFileRef.value.init()
|
|
|
|