提交价格功能绑定

This commit is contained in:
wuweihua
2026-09-07 10:41:21 +08:00
parent 7204497a65
commit 10352fca6d
12 changed files with 578 additions and 105 deletions
@@ -57,6 +57,11 @@ const props = defineProps({
updateSupportLabel: {
type: String,
default: '是否更新已经存在的数据'
},
// 打开时是否默认勾选“更新已存在”
defaultUpdateSupport: {
type: Boolean,
default: false
}
})
@@ -77,7 +82,7 @@ const templateUrl = computed(() => !!props.templateAction)
// 打开对话框(供父组件通过 ref 调用)
function open() {
updateSupport.value = false
updateSupport.value = props.defaultUpdateSupport
isUploading.value = false
visible.value = true
nextTick(() => {