|
|
|
@ -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);
|
|
|
|
|