对接完毕下单

This commit is contained in:
gyq
2024-03-04 15:48:40 +08:00
parent 6e796c1855
commit 27721ca096
21 changed files with 1010 additions and 237 deletions

View File

@@ -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