| | |
| | | <div class="app-container"> |
| | | <div class="search_form"> |
| | | <div> |
| | | <span class="search_title">付款台账:</span> |
| | | <span class="search_title">供应商名称:</span> |
| | | <el-input |
| | | v-model="searchForm.supplierNameOrContractNo" |
| | | style="width: 240px" |
| | |
| | | |
| | | |
| | | import {getInfo} from "@/api/login.js"; |
| | | const rowClick = async (row) => { |
| | | /* let res = await getInfo(row.id) |
| | | if (res.code === 200) { |
| | | proxy.$modal.msgSuccess("获取成功") |
| | | if(res.data == "" || res.data == null){ |
| | | proxy.$modal.msgError("没有数据") |
| | | return |
| | | } |
| | | rightShow.value = !rightShow.value |
| | | form.value = res.data |
| | | |
| | | } else { |
| | | proxy.$modal.msgError(res.msg) |
| | | } */ |
| | | tableDataSon.value.push(row); |
| | | if(tableDataSon.value.length > 10) { |
| | | tableDataSon.value = [] |
| | | } |
| | | } |
| | | const rowClick = (row) => { |
| | | tableDataSon.value = Array.isArray(row.details) ? row.details : []; |
| | | console.log("111",tableDataSon.value); |
| | | }; |
| | | |
| | | |
| | | // 子模块 |
| | | const tableColumnSon = ref([ |
| | | { |
| | | label: "供应商名称", |
| | | prop: "supplierName", |
| | | label: "付款日期", |
| | | prop: "paymentDate", |
| | | }, |
| | | { |
| | | label: "发票金额(元)", |
| | | prop: "invoiceAmount", |
| | | label: "开票数", |
| | | prop: "voteCount", |
| | | }, |
| | | { |
| | | label: "付款金额(元)", |