|
@@ -24,7 +24,7 @@
|
|
|
<!-- <ws-button type="primary" @click="screen(2)">待结算</ws-button>
|
|
|
<ws-button type="primary" @click="screen(0)">待审核</ws-button>
|
|
|
<ws-button type="primary" @click="screen()">全部</ws-button>-->
|
|
|
- <ws-button :type="searchType == 0 ? 'primary' : ''" @click="screen(1)" v-if="isShowAdopt == 'true'">待审核
|
|
|
+ <ws-button :type="searchType == 0 ? 'primary' : ''" @click="screen(1)" >待审核
|
|
|
</ws-button>
|
|
|
<ws-button :type="searchType == 0 ? 'primary' : ''" @click="screen(7)"
|
|
|
v-hasPermission="`acquisitionManagement.acquisitionPay.pay`">待付款</ws-button>
|
|
@@ -35,6 +35,7 @@
|
|
|
<ws-button type="primary" @click="reject">驳回</ws-button>
|
|
|
<ws-button type="primary" @click="adopt">通过</ws-button>
|
|
|
<ws-button type="primary" @click="invoicingClick" v-hasPermission="`acquisitionManagement.acquisitionPay.finace`">开票</ws-button>
|
|
|
+ <!-- <a href="https://taohaoliang.oss-cn-beijing.aliyuncs.com/FP/7313fc0f25ed41879826bba5c737d688.xml" download='112'>立即下载</a> -->
|
|
|
<ws-button type="primary" @click="exportlist" v-hasPermission="`acquisitionManagement.acquisitionPay.print`">导出</ws-button>
|
|
|
<!-- <ws-button type="primary" @click="handlepass" v-if="isShowAdopt">审核</ws-button> -->
|
|
|
<ws-button type="primary" @click="payment" v-hasPermission="`acquisitionManagement.acquisitionPay.pay`">付款
|
|
@@ -391,13 +392,12 @@ import {
|
|
|
invoicing(data)
|
|
|
.toPromise()
|
|
|
.then(response => {
|
|
|
- debugger
|
|
|
console.log(response)
|
|
|
if (response.length > 0) {
|
|
|
for (let i = 0; i < response.length; i++) {
|
|
|
//创建标签下载文件
|
|
|
let a = document.createElement('a');
|
|
|
- a.href = response[i];
|
|
|
+ a.href = '#';
|
|
|
a.setAttribute('download', response[i]);
|
|
|
a.click();
|
|
|
a.remove();
|
|
@@ -482,6 +482,7 @@ import {
|
|
|
return prev
|
|
|
}
|
|
|
}, 0)
|
|
|
+ sums[index] = sums[index].toFixed(3)
|
|
|
} else {
|
|
|
sums[index] = '元'
|
|
|
}
|