<template>
  <div>

    <el-dialog
      title="特价申请"
      :visible.sync="dialogVisible"
      width="900px"
      :before-close="handleClose()">
      <div>
        订单号： {{ number }}
      </div>
      <el-table
        :data="[]"
        style="width: 100%">
        <el-table-column
          prop="address"
          label="品名">
        </el-table-column>
        <el-table-column
          prop="address"
          label="填单货物属性">
        </el-table-column>
        <el-table-column
          prop="address"
          label="入库货物属性">
        </el-table-column>
        <el-table-column
          prop="address"
          label="最后操作时间">
        </el-table-column>
        <el-table-column
          prop="address"
          label="原价">
        </el-table-column>
        <el-table-column
          prop="address"
          label="成本价">
        </el-table-column>
        <el-table-column
          prop="address"
          label="销售价">
        </el-table-column>
        <el-table-column
          prop="address"
          label="操作">
        </el-table-column>
      </el-table>
      <span slot="footer" class="dialog-footer">
        <el-button @click="dialogVisible = false">取 消</el-button>
        <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
      </span>
    </el-dialog>
  </div>
</template>

<script>
export default {
  name: "Special",
  props: {
    id: {
      type: String
    },
    visible: {
      tpe: Boolean,
      default: false
    },
    number: {
      tpe: String,
      default: ''
    }
  },
  mounted() {
    this.dialogVisible = visible
  },
  data() {
    return {
      dialogVisible: false
    }
  },
  methods: {
    handleClose() {}
  },
  watch: {
    visible(val) {
      this.dialogVisible = val
    },
    dialogVisible(val) {
      this.$emit('update:visible', this.dialogVisible, val)
    }
  }
}
</script>

<style scoped>

</style>
