在 submitDetail 函数中,将 acTaxPiIncomeReportingDetail 的值存储到 submitForm 函数中的 form.acTaxPiIncomeReportingDetail,可以直接进行赋值操作,如下所示:

submitForm() { this.form.acTaxPiIncomeReportingDetail = acTaxPiIncomeReportingDetail; // 其他代码... }

例如,如果在 submitDetail 函数中,acTaxPiIncomeReportingDetail 的值为:

const acTaxPiIncomeReportingDetail = {
  // ...
};

那么在 submitForm 函数中,可以这样赋值:

submitForm() {
  this.form.acTaxPiIncomeReportingDetail = acTaxPiIncomeReportingDetail;
  // 其他代码...
}

这样,acTaxPiIncomeReportingDetail 的值就会被存储到 form.acTaxPiIncomeReportingDetail 中,供后续代码使用。

如何在 submitForm 函数中存储 acTaxPiIncomeReportingDetail 值

原文地址: https://www.cveoy.top/t/topic/pdu7 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录