凭证附件、审批流程改通过voucherId查询

main
JiilingLee 1 year ago
parent c0c2611b32
commit b2402eb28e

@ -690,14 +690,14 @@ export default {
/** 查询列表 */ /** 查询列表 */
getLineList(val) { getLineList(val) {
// //
getVoucherDetailsPage({ voucherNum: val }).then((response) => { getVoucherDetailsPage({ voucherId: val }).then((response) => {
this.tableData = response.data.list; this.tableData = response.data.list;
}); });
}, },
/** 查询附件 */ /** 查询附件 */
getFJ(val) { getFJ(val) {
// //
getAttachmentPage({ voucherNum: val }).then((response) => { getAttachmentPage({ voucherId: val }).then((response) => {
if (response.data.total == 0) { if (response.data.total == 0) {
this.showNull = true; this.showNull = true;
} else { } else {
@ -885,8 +885,8 @@ export default {
this.title = "查看会计凭证"; this.title = "查看会计凭证";
this.optType = "view"; this.optType = "view";
}); });
this.getLineList(row.voucherNum); this.getLineList(row.id);
this.getFJ(row.voucherNum); this.getFJ(row.id);
this.getSPLC(row.id); this.getSPLC(row.id);
this.getDZFP(row.id); this.getDZFP(row.id);
this.getYHHD(row.id); this.getYHHD(row.id);
@ -901,8 +901,8 @@ export default {
this.title = "修改会计凭证"; this.title = "修改会计凭证";
this.optType = "edit"; this.optType = "edit";
}); });
this.getLineList(row.voucherNum); this.getLineList(row.id);
this.getFJ(row.voucherNum); this.getFJ(row.id);
this.getSPLC(row.id); this.getSPLC(row.id);
this.getDZFP(row.id); this.getDZFP(row.id);
this.getYHHD(row.id); this.getYHHD(row.id);

Loading…
Cancel
Save