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