src/views/procureMent/index.vue
@@ -196,18 +196,18 @@ // 触发ref里面的方法 return; } console.log(userInfo.value) // 新建时初始化表单 form.value = { supplierName: "", coal: "", unit: "吨", purchaseQuantity: "", priceExcludingTax: "", totalPriceExcludingTax: "", priceIncludingTax: "", totalPriceIncludingTax: "", taxRate: "", registrantId: userInfo.value.userName, registrantId: userInfo.value.userId, registrationDate: new Date().toISOString().split("T")[0], }; // 新建时也需要设置 copyForm 用于重置功能