// 查询参数 form: { companyId: null, personId: null, reportingPeriodDate: null, other: '', // 应纳税额 cost: '', // 应纳税额 taxExemptIncome: '', // 备注 remark: '', // 小计 subtotal: '', // 减免税额 reductionTaxAmount: '', // companyId: null, // incomeReportingCode: null, // 所得期间起 incomePeriodDateStart: null, // 所得期间至 incomePeriodDateEnd: null, // 应纳税额 // 扣除及减除项目合计 deductProjectTotal: null, // applicableFormula applicableFormula: null, // 本月股权激励收入 equityIncentiveIncome: null, // 本年累计免税收入 accumulateTaxFreeIncome: null, // 本年累计股权激励收入 accumulateEquityIncentiveIncome: null, // 本年累计其他 accumulateOther: null, // 本年累计准予扣除的捐赠额 accumulateDeductionAllowedDonate: null, acTaxPiPersonVo: { // 人员id personId: null, // 姓名 name: '', // 证件号码 identificationNum: '', // 证件类型 identificationType: '', // 工号 employeeId: '', // 其他 }, acTaxPiPersonCalculationSchedule: { // 应纳税额 acTaxableAmount: '', // 减免税额 acTaxSavings: '', // 应纳税所得额 acTaxableIncome: '', // 已预缴税额 prepaidTaxAmount: '', // 税率/预扣率 taxRate: '', // 速算扣除数 quickCalculationDeduction: 0, // 应补(退)税额 payableTaxAmount: '', // 累计应扣缴税额 acDeductiblePaymentAmount: '', }, acTaxPiIncomeReportingDetail: { abroadPayment: 0, abroadWorkDays: 0, domesticPayment: 0, domesticWorkDays: 0, gregorianCalendarDays: 0, // incomeReportingCode: '', personId: 0, // reportingPeriodDate: '', totalRevenue: 0, }, }, submitForm() { const acTaxPiIncomeReportingDetail = this.form1.acTaxPiIncomeReportingDetail; this.form.acTaxPiIncomeReportingDetail = acTaxPiIncomeReportingDetail; // 其他操作... } // 查询参数 form: { companyId: null, personId: null, reportingPeriodDate: null, other: '', // 应纳税额 cost: '', // 应纳税额 taxExemptIncome: '', // 备注 remark: '', // 小计 subtotal: '', // 减免税额 reductionTaxAmount: '', // companyId: null, // incomeReportingCode: null, // 所得期间起 incomePeriodDateStart: null, // 所得期间至 incomePeriodDateEnd: null, // 应纳税额 // 扣除及减除项目合计 deductProjectTotal: null, // applicableFormula applicableFormula: null, // 本月股权激励收入 equityIncentiveIncome: null, // 本年累计免税收入 accumulateTaxFreeIncome: null, // 本年累计股权激励收入 accumulateEquityIncentiveIncome: null, // 本年累计其他 accumulateOther: null, // 本年累计准予扣除的捐赠额 accumulateDeductionAllowedDonate: null, acTaxPiPersonVo: { // 人员id personId: null, // 姓名 name: '', // 证件号码 identificationNum: '', // 证件类型 identificationType: '', // 工号 employeeId: '', // 其他 }, acTaxPiPersonCalculationSchedule: { // 应纳税额 acTaxableAmount: '', // 减免税额 acTaxSavings: '', // 应纳税所得额 acTaxableIncome: '', // 已预缴税额 prepaidTaxAmount: '', // 税率/预扣率 taxRate: '', // 速算扣除数 quickCalculationDeduction: 0, // 应补(退)税额 payableTaxAmount: '', // 累计应扣缴税额 acDeductiblePaymentAmount: '', }, acTaxPiIncomeReportingDetail: { abroadPayment: 0, abroadWorkDays: 0, domesticPayment: 0, domesticWorkDays: 0, gregorianCalendarDays: 0, // incomeReportingCode: '', personId: 0, // reportingPeriodDate: '', totalRevenue: 0, }, }, submitForm() { const acTaxPiIncomeReportingDetail = this.subDetail; this.submitDetail(acTaxPiIncomeReportingDetail); // this.form.acTaxPiIncomeReportingDetail = acTaxPiIncomeReportingDetail;s // this.submitDetail(acTaxPiIncomeReportingDetail); // this.form = { ...formdata } console.log(acTaxPiIncomeReportingDetail, 'deeeeeee'); console.log(this.form.incomePeriodDateEnd, 'person'); this.$refs['form'].validate((valid) => { if (valid) { this.$refs.form.validateField(); // this.$refs.form.validateField(() => { // 将 acTaxPiIncomeReportingDetail 赋值给 this.form.acTaxPiIncomeReportingDetail this.form.acTaxPiIncomeReportingDetail = acTaxPiIncomeReportingDetail; console.log(this.form.acTaxPiIncomeReportingDetail, 'acTaxPiIncomeReportingDetail'); // this.form.acTaxPiIncomeReportingDetail = this.subDetail; this.form.acTaxPiPersonCalculationSchedule.acTaxableIncome = this.acTaxableincome; this.form.acTaxPiPersonCalculationSchedule.acTaxableAmount = this.acTaxableamount; this.form.acTaxPiPersonCalculationSchedule.acDeductiblePaymentAmount = this.acDeductibleAmount; this.form.acTaxPiPersonCalculationSchedule.payableTaxAmount = this.payableTaxamount; this.form.reportingPeriodDate = this.collection; // const existperson = this.personInfo.find( // (item) => item.personId === this.form.acTaxPiPersonVo.personId // ); // if (existperson) { // this.$message.error('person 已存在'); // return; // } if (this.form.personId != null) { this.form.companyId = this.companyId; updateReportingEquityIncentive(this.form,acTaxPiIncomeReportingDetail).then((response) => { console.log(this.form.acTaxPiIncomeReportingDetail, 'acTaxPiIncomeReportingDetail'); this.msgSuccess('修改成功'); this.open = false; this.getList(); }); } else { this.form.acTaxPiPersonCalculationSchedule.taxRate = this.defaultTax; this.form.personId = this.form.acTaxPiPersonVo.personId; // this.form.reportingPeriodDate = this.collection; this.form.companyId = this.companyId; console.log(this.form.personId, 'acTaxPiPersonVo'); addReportingEquityIncentive(this.form,acTaxPiIncomeReportingDetail).then((response) => { console.log(acTaxPiIncomeReportingDetail, 'acTaxPiIncomeReportingDetail'); this.msgSuccess('新增成功'); this.open = false; this.getList(); }); } // }); } else { console.log('error submit!!'); return false; } }); },怎么把form1的acTaxPiIncomeReportingDetail传给form的acTaxPiIncomeReportingDetail 解决方法内容:要将form1的acTaxPiIncomeReportingDetail传给form的acTaxPiIncomeReportingDetail,可以在submitForm方法中进行赋值操作,如下所示:javascriptsubmitForm() { const acTaxPiIncomeReportingDetail = this.form1.acTaxPiIncomeReportingDetail; this.form.acTaxPiIncomeReportingDetail = acTaxPiIncomeReportingDetail; // 其他操作...}

在这个例子中,首先将form1的acTaxPiIncomeReportingDetail赋值给一个变量acTaxPiIncomeReportingDetail,然后通过this.form.acTaxPiIncomeReportingDetail = acTaxPiIncomeReportingDetail将其赋值给form的acTaxPiIncomeReportingDetail属性。这样就完成了将form1的acTaxPiIncomeReportingDetail传给form的acTaxPiIncomeReportingDetail的操作

股权激励收入申报 - 境内外所得明细填写

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

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