web/src/views/modules/taskReliability/ModelRbd.vue
@@ -69,6 +69,7 @@ modelState:'', productId: '', modelTag: '', shipId: '', } } }, @@ -82,10 +83,11 @@ }, methods: { add() { this.$refs.AddOrUpdate.$refs.dialog.init(null, this.dataForm.productId) this.$refs.AddOrUpdate.$refs.dialog.init(null, {productId:this.dataForm.productId,shipId:this.dataForm.shipId}) }, onProductSelected(data) { this.dataForm.productId = data.id this.dataForm.shipId = data.shipId console.log(data, 'onProductSelected(data)') this.$refs.tableObj.query() },