对接完毕下单
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
</div>
|
||||
<div class="footer_wrap">
|
||||
<div class="btn">
|
||||
<el-button type="primary" style="width: 100%;">确认</el-button>
|
||||
<el-button type="primary" style="width: 100%;" @click="confirmHandle">确认</el-button>
|
||||
</div>
|
||||
</div>
|
||||
</el-dialog>
|
||||
@@ -18,6 +18,8 @@
|
||||
|
||||
<script setup>
|
||||
import { ref } from 'vue'
|
||||
const emit = defineEmits(['success'])
|
||||
|
||||
const dialogVisible = ref(false)
|
||||
|
||||
const remark = ref('')
|
||||
@@ -31,6 +33,11 @@ const tagList = ref([
|
||||
}
|
||||
])
|
||||
|
||||
function confirmHandle() {
|
||||
emit('success', remark.value)
|
||||
dialogVisible.value = false
|
||||
}
|
||||
|
||||
// 显示组件
|
||||
const show = () => {
|
||||
dialogVisible.value = true
|
||||
|
||||
Reference in New Issue
Block a user