| | |
| | | const { proxy } = getCurrentInstance(); |
| | | const dialogFormVisible = ref(false); |
| | | const form = ref({ |
| | | taxRate: "13" |
| | | taxRate: 13, |
| | | freight: 20, |
| | | }); |
| | | const title = ref(""); |
| | | // 状态变量 |
| | |
| | | { prop: "purchaseQuantity", label: "采购数量", minWidth: 100 }, |
| | | { prop: "priceIncludingTax", label: "单价(含税)", minWidth: 150 }, |
| | | { prop: "totalPriceIncludingTax", label: "总价(含税)", minWidth: 100 }, |
| | | { prop: "freight", label: "运费", minWidth: 100 }, |
| | | { prop: "taxRate", label: "税率", minWidth: 100 }, |
| | | { prop: "priceExcludingTax", label: "不含税单价", minWidth: 100 }, |
| | | { prop: "registrantId", label: "登记人", minWidth: 100, |
| | |
| | | totalPriceExcludingTax: "", |
| | | priceIncludingTax: "", |
| | | totalPriceIncludingTax: "", |
| | | taxRate: "13", |
| | | taxRate: 13, |
| | | freight:20, |
| | | registrantId: userInfo.value.userId, |
| | | registrationDate: new Date().toISOString().split("T")[0], |
| | | }; |