进件修改

This commit is contained in:
2026-01-17 09:40:18 +08:00
parent 6535b6f580
commit 2bd52f85b9
8 changed files with 151 additions and 78 deletions

View File

@@ -71,7 +71,7 @@
const show = ref(false);
const modelValue = defineModel();
const bankbank_branch_name = defineModel('bankbank_branch_name', {
const bank_branch_name = defineModel('bank_branch_name', {
default: '',
});
@@ -79,7 +79,11 @@
function returnLabel() {
const findShop = list.value.find(v => v.bank_branch_id == modelValue.value)
return findShop ? findShop.bank_branch_name : ''
if(findShop){
return findShop ? findShop.bank_branch_name : ''
}else{
return bank_branch_name.value||'请选择'
}
}
const selItem = ref(null)
@@ -98,7 +102,7 @@
function submit() {
modelValue.value = selItem.value.bank_branch_id
bankbank_branch_name.value = selItem.value.bank_branch_name
bank_branch_name.value = selItem.value.bank_branch_name
show.value = false;
}