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

main
JiilingLee 1 year ago
parent c0c2611b32
commit b2402eb28e

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

Loading…
Cancel
Save