eMaterial组件中只传递了一个值
this.$emit("change", row);
父组件使用的时候想要传递索引,$event接收eMaterial组件传过来的默认参数
<e-material @change="fMaterialNumberChange(scope.$index,$event)"/>
eMaterial组件中只传递了一个值
this.$emit("change", row);
父组件使用的时候想要传递索引,$event接收eMaterial组件传过来的默认参数
<e-material @change="fMaterialNumberChange(scope.$index,$event)"/>