Commit 4e4a96b2 authored by Marcus's avatar Marcus

重泡货配置 改文案,关弹窗重置表单

parent 5fa2c517
<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>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment