| | |
| | | // 引入字典数据 |
| | | const { proxy } = getCurrentInstance(); |
| | | const dialogFormVisible = ref(false); |
| | | const form = ref({}); |
| | | const form = ref({ |
| | | taxRate: "13" |
| | | }); |
| | | const title = ref(""); |
| | | // 状态变量 |
| | | const loading = ref(false); |
| | |
| | | // 方法定义 |
| | | const handleQuery = () => { |
| | | loading.value = true; |
| | | current.value = 1; |
| | | pageSize.value = 10; |
| | | // 这里添加实际的查询逻辑 |
| | | getList(); |
| | | }; |
| | |
| | | totalPriceExcludingTax: "", |
| | | priceIncludingTax: "", |
| | | totalPriceIncludingTax: "", |
| | | taxRate: "", |
| | | taxRate: "13", |
| | | registrantId: userInfo.value.userId, |
| | | registrationDate: new Date().toISOString().split("T")[0], |
| | | }; |
| | |
| | | }); |
| | | const handleDeleteSuccess = (row) => { |
| | | ElMessage.success("删除成功:" + row.supplierName); |
| | | handleQuery() |
| | | }; |
| | | // 成功 |
| | | const handleSuccess = (val) => { |