成品库和原料库

This commit is contained in:
lq
2025-09-20 16:43:29 +08:00
parent fb00c0a0b8
commit c03142b85f

View File

@ -378,15 +378,20 @@ const columns2 = ref([
slots: { customRender: 'uploader' },
},
]);
const handleAddMaterial = () => {
handleSearch();
showDrawer2.value = true;
};
const handleAddContent = () => {
handleSearchWork();
showDrawer3.value = true;
};
const handleSelect = (value) => {
isActive.value = value;
if (value == 'ai') {
showDrawer3.value = false;
handleSearch();
} else {
showDrawer2.value = false;
handleSearchWork();
}
};
@ -544,12 +549,7 @@ watch(showDriwer, (newVal) => {
const handleTabSelect = (value) => {
isActive.value = value;
};
const handleAddMaterial = () => {
showDrawer2.value = true;
};
const handleAddContent = () => {
showDrawer3.value = true;
};
const handleDateChange = (date) => {};
// 暴露方法给父组件
const showDrawer = (accountInfo = null) => {