fix: 🧩 修复bug

This commit is contained in:
2025-10-11 10:51:20 +08:00
parent 190be3b7ce
commit ef38880743
8 changed files with 113 additions and 30 deletions

View File

@@ -188,6 +188,7 @@ const emits = defineEmits<{
}>();
const handleRomoveTag = (item: any) => {
console.log(_searchResult.value, "=-_searchResult.value=");
emits("selectMultipleRemoveTag", { item, org_number: _searchResult.value.org_number });
};
const handleTagRemove1 = (item: any) => {
@@ -205,8 +206,10 @@ const getCustomers = async (keywords: any, item: any) => {
let options: any = [];
data.forEach((item: any) => {
options.push({
value: item.customer_number,
label: item.customer_name
value: item.customer_number + "_" + item.use_org_number,
label: item.customer_name + " " + `(${item.use_org_name})`,
id: item.use_org_number,
useOrgName: item.use_org_name
});
});
item.options = options;

View File

@@ -228,8 +228,10 @@ const getCustomers = async (keywords: any, item: any) => {
let options: any = [];
data.forEach((it: any) => {
options.push({
value: it.customer_number,
label: it.customer_name
value: it.customer_number + "_" + it.use_org_number,
label: it.customer_name + " " + `(${it.use_org_name})`,
id: it.use_org_number,
useOrgName: it.use_org_name
});
});
item.options = options;