-
空
@@ -430,7 +390,6 @@ import { getAttachmentPage } from "@/api/accounting/attachment";
import { getFlowPage } from "@/api/accounting/flow";
import { getInvoicesPage } from "@/api/accounting/invoices";
import { getBankSlipPage } from "@/api/accounting/bankSlip";
-import { getAccessToken, getTenantId } from "@/utils/auth";
export default {
name: "Voucher",
@@ -497,29 +456,11 @@ export default {
depotId: null,
cabinetId: null,
},
- fileList1: [], // 文件列表
- fileList2: [],
- fileList3: [],
fjList1: [],
fjList2: [],
dzfpList1: [],
dzfpList2: [],
dzfpList3: [],
- uploadUrl1:
- process.env.VUE_APP_BASE_API +
- "/admin-api/accounting/attachment/upload", // 附件上传地址
- uploadUrl2:
- process.env.VUE_APP_BASE_API + "/admin-api//archives/flow/upload", // 审批流程上传地址
- uploadUrl3:
- process.env.VUE_APP_BASE_API +
- "/admin-api/accounting/invoices/identify", // 电子发票上传地址
- uploadUrl4:
- process.env.VUE_APP_BASE_API +
- "/admin-api/accounting/attachment/upload", // 银行回单上传地址
- headers: {
- Authorization: "Bearer " + getAccessToken(),
- "tenant-id": getTenantId(),
- }, // 设置上传的请求头
// 表单参数
form: {},
// 表单校验
@@ -528,11 +469,11 @@ export default {
siteOptions: [], //归档位置数据
siteArray: [], //归档位置选中值
typeOptions: [], //凭证类别
- url: "",
showNull: "",
showNul2: "",
showNul3: true,
showNul4: true,
+ fjUrl: "",
};
},
created() {
@@ -568,6 +509,7 @@ export default {
} else {
this.showNull = false;
}
+ this.fjList1 = response.data.list;
this.fjList2 = response.data.list.filter(function (item) {
return item.suffix == "pdf";
});
@@ -576,10 +518,6 @@ export default {
handleClickPdf(val) {
window.open(val.fileUrl);
},
- handleSuccess1(response, file, fileList) {
- console.log(response, file, fileList);
- this.getFJ();
- },
/** 查询审批流程 */
getSPLC(val) {
// 执行查询