成品库和原料库
This commit is contained in:
@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user