diff --git a/src/App.vue b/src/App.vue index be2808dc2..13d7c51eb 100644 --- a/src/App.vue +++ b/src/App.vue @@ -57,4 +57,18 @@ body { .el-select{ width: 100%; } +/* 垂直滚动条样式 */ +/* 宽度 */ +::-webkit-scrollbar { + width: 12px; +} +/* 背景色 */ +::-webkit-scrollbar-track { + background-color: #f5f5f5; +} +/* 滑块颜色 */ +::-webkit-scrollbar-thumb { + background-color: #c1c1c1; + border-radius: 12px; +} diff --git a/src/views/wms/itembasic/ItembasicForm.vue b/src/views/wms/itembasic/ItembasicForm.vue index 2bc0903e7..890c54283 100644 --- a/src/views/wms/itembasic/ItembasicForm.vue +++ b/src/views/wms/itembasic/ItembasicForm.vue @@ -1,217 +1,198 @@ + diff --git a/src/views/wms/itembasic/ItembasicImportForm.vue b/src/views/wms/itembasic/ItembasicImportForm.vue new file mode 100644 index 000000000..41c2c69a5 --- /dev/null +++ b/src/views/wms/itembasic/ItembasicImportForm.vue @@ -0,0 +1,133 @@ + + diff --git a/src/views/wms/itembasic/index.vue b/src/views/wms/itembasic/index.vue index ba2c1cac4..2284a3734 100644 --- a/src/views/wms/itembasic/index.vue +++ b/src/views/wms/itembasic/index.vue @@ -1,365 +1,163 @@ @@ -519,6 +290,7 @@ import { dateFormatter } from '@/utils/formatTime' import download from '@/utils/download' import * as ItembasicApi from '@/api/wms/itembasic' import ItembasicForm from './ItembasicForm.vue' +import ItembasicImportForm from './ItembasicImportForm.vue' defineOptions({ name: 'Itembasic' }) @@ -587,6 +359,12 @@ const resetQuery = () => { handleQuery() } +/** 用户导入 */ +const importFormRef = ref() +const handleImport = () => { + importFormRef.value.open() +} + /** 添加/修改操作 */ const formRef = ref() const openForm = (type: string, id?: number) => { @@ -603,7 +381,7 @@ const handleDelete = async (id: number) => { message.success(t('common.delSuccess')) // 刷新列表 await getList() - } catch {} + } catch { } } /** 导出按钮操作 */