传出页面数据
:Quotation=“this”
<calculation :Quotation="this"></calculation>
引入页面接收 用值
export default {
props:['Quotation'],
data(){
return{
}
},
// 生命周期调式
mounted(){
console.log(this.Quotation.tableForm.Num,'Quotation');
},
methods:{
},
}
表单里调用值使用
<tr>
<td>数量:
</td> <td>{{Quotation.tableForm.Num}}</td><td></td> <td></td>
</tr>