<template>
  <div>
    <span v-if="row.mp" style="color: #5875eb; cursor: pointer;" @click="handleClick">{{row.mp}}</span>
    <span v-else>0</span>
    <qpzt v-if="showDialogVisible" ref="qpztDialog"></qpzt>
  </div>
</template>

<script>
import qpzt from "./component/qpzt";

export default {
  name: "qpmp",
  components:{
    qpzt
  },
  props:{
    row: {
      type: Object
    },
  },
  data(){
    return{
      showDialogVisible:false
    }
  },
  methods:{
    handleClick(){
      this.showDialogVisible = true;
      this.$nextTick(()=>{
        this.$refs.qpztDialog.open('mp',this.row);
      })
    },
  }
}
</script>

<style scoped>

</style>
