diff --git a/src/views/modules/pms/materialStorage/config.js b/src/views/modules/pms/materialStorage/config.js index 2120990..6467248 100644 --- a/src/views/modules/pms/materialStorage/config.js +++ b/src/views/modules/pms/materialStorage/config.js @@ -12,6 +12,7 @@ export default function () { { prop: "code", label: "料仓编码" }, { prop: "typeDictValue", label: "料仓类型", filter: dictFilter('liaocang') }, // { prop: "enabled", label: "状态", subcomponent: switchBtn }, // subcomponent + { prop: "material", label: "物料" }, { prop: "materialTypeDictValue", label: "物料类型", filter: dictFilter('material_category') }, { prop: "density", label: "物料堆积密度" }, { prop: "dosLow", label: "加料下限" }, diff --git a/src/views/modules/pms/product/config.js b/src/views/modules/pms/product/config.js index c2ced79..d094c00 100644 --- a/src/views/modules/pms/product/config.js +++ b/src/views/modules/pms/product/config.js @@ -47,6 +47,13 @@ export default function () { permission: "pms:product:save", }, }, + { + button: { + type: "plain", + name: "导入", + permission: "", + }, + }, ]; const dictList = JSON.parse(localStorage.getItem("dictList") || {});