diff --git a/src/views/modules/pms/material/config.js b/src/views/modules/pms/material/config.js index 386320a..0fa5fc9 100644 --- a/src/views/modules/pms/material/config.js +++ b/src/views/modules/pms/material/config.js @@ -94,13 +94,6 @@ export default function () { form: { rows: [ [ - { - input: true, - label: "原料名称", - prop: "name", - rules: { required: true, message: "必填项不能为空", trigger: "blur" }, - elparams: { placeholder: "请输入原料名称" }, - }, { input: true, label: "原料编码", @@ -109,6 +102,13 @@ export default function () { elparams: { placeholder: "请输入原料编码" }, }, { input: true, label: "原料描述", prop: "description", elparams: { placeholder: "原料描述" } }, + { + input: true, + label: "中文名称", // 即,原料名称 + prop: "name", + rules: { required: true, message: "必填项不能为空", trigger: "blur" }, + elparams: { placeholder: "请输入中文名称" }, + }, ], [ // { diff --git a/src/views/modules/pms/packingStep/config.js b/src/views/modules/pms/packingStep/config.js index 2874694..934dbde 100644 --- a/src/views/modules/pms/packingStep/config.js +++ b/src/views/modules/pms/packingStep/config.js @@ -11,17 +11,18 @@ export default function () { // { prop: 'version', label: '配方号' }, // { prop: "shapeCode", label: "砖型" }, // { prop: 'status', label: '状态', subcomponent: StatusComponent }, // subcomponent - { prop: "description", label: "详情", subcomponent: TableTextComponent }, + // { prop: "description", label: "详情", subcomponent: TableTextComponent }, { prop: "remark", label: "备注" }, { prop: "createTime", label: "添加时间", filter: timeFilter }, { prop: "operations", name: "操作", fixed: "right", - width: 120, + // width: 120, + width: 90, subcomponent: TableOperaionComponent, options: [ - { name: "copy", label: "复制", icon: "copy-document" }, + // { name: "copy", label: "复制", icon: "copy-document" }, { name: "edit", label: "编辑", icon: "edit-outline" }, { name: "delete", icon: "delete", label: "删除", emitFull: true, permission: "pms:packingStep:delete" }, ], @@ -62,13 +63,13 @@ export default function () { name: "查询", }, }, - // { - // button: { - // type: "plain", - // name: "新增", - // permission: "pms:packingStep:save", - // }, - // }, + { + button: { + type: "plain", + name: "新增", + // permission: "pms:packingStep:save", + }, + }, ]; const dialogConfigs = { @@ -76,7 +77,7 @@ export default function () { extraIds: { wsId: 5 }, // 工艺管理里面的相关模块的 dialogWithMenu 需要额外的工序 id menu: [ { name: "包装工艺", key: "info" }, - { name: "工艺参数", key: "attr", onlyEditMode: true }, + // { name: "工艺参数", key: "attr", onlyEditMode: true }, ], form: { rows: [ diff --git a/src/views/modules/pms/product/config.js b/src/views/modules/pms/product/config.js index 3a00eb9..e3686c1 100644 --- a/src/views/modules/pms/product/config.js +++ b/src/views/modules/pms/product/config.js @@ -8,9 +8,9 @@ export default function () { { type: "index", label: "序号" }, { prop: "name", label: "物料名称" }, { prop: "code", label: "物料编码" }, - { prop: "typeDictValue", label: "物料类型", filter: dictFilter("product_type") }, + // { prop: "typeDictValue", label: "物料类型", filter: dictFilter("product_type") }, { prop: "specifications", label: "规格" }, - { prop: "unitDictValue", label: "单位", filter: dictFilter("unit") }, + // { prop: "unitDictValue", label: "单位", filter: dictFilter("unit") }, { prop: "weight", label: "重量", filter: (val) => (val ? val + " kg" : "-") }, { prop: "processTime", label: "产线完成单位产品用时", width: 200, filter: (val) => val + " (分钟)" }, { prop: "remark", label: "备注" }, diff --git a/src/views/modules/sys/role.vue b/src/views/modules/sys/role.vue index 6208a3e..72e172c 100644 --- a/src/views/modules/sys/role.vue +++ b/src/views/modules/sys/role.vue @@ -1,7 +1,8 @@