update copy
This commit is contained in:
@@ -18,7 +18,7 @@ export default function () {
|
||||
prop: "operations",
|
||||
name: "操作",
|
||||
fixed: "right",
|
||||
width: 120,
|
||||
width: 128,
|
||||
subcomponent: TableOperaionComponent,
|
||||
options: [ { name: "copy", label: "复制", icon: "copy-document" }, { name: "edit", label: "编辑", icon: "edit-outline" }, { name: "delete", icon: "delete", label: "删除", emitFull: true, permission: "pms:blenderStep:delete" }],
|
||||
},
|
||||
|
||||
@@ -7,12 +7,12 @@ export default function () {
|
||||
const tableProps = [
|
||||
{ type: "index", label: "序号" },
|
||||
{ width: 90, prop: "code", label: "原料编码" },
|
||||
{ width: 240, prop: "description", label: "原料描述" },
|
||||
{ width: 90, prop: "name", label: "中文名称" },
|
||||
{ width: 320, prop: "description", label: "原料描述" },
|
||||
{ width: 160, prop: "name", label: "中文名称" },
|
||||
{ width: 120, prop: "maxSize", label: "原料最大尺寸", filter: val => val ?? '-' },
|
||||
{ width: 90, prop: "typeDictValue", label: "类型", filter: dictFilter("material_category") }, // subcomponent: {/** TODO: create a new component for this option */} },
|
||||
{ prop: "baseMaterialCode", label: "基础原料编码" },
|
||||
{ prop: "baseMaterialDescription", label: "基础原料描述" },
|
||||
// { prop: "baseMaterialCode", label: "基础原料编码" },
|
||||
// { prop: "baseMaterialDescription", label: "基础原料描述" },
|
||||
// { prop: "type", label: "原料类型" },
|
||||
{ width: 90, prop: "density", label: "堆积密度" },
|
||||
// { prop: "brandsOwner", label: "品牌" },
|
||||
|
||||
@@ -18,7 +18,7 @@ export default function () {
|
||||
prop: "operations",
|
||||
name: "操作",
|
||||
fixed: "right",
|
||||
width: 120,
|
||||
width: 128,
|
||||
subcomponent: TableOperaionComponent,
|
||||
options: [
|
||||
{ name: "copy", label: "复制", icon: "copy-document", showOverlay: true, emitFull: true }, // showOverlay 和 emitFull 需同时使用
|
||||
|
||||
@@ -18,7 +18,7 @@ export default function () {
|
||||
prop: "operations",
|
||||
name: "操作",
|
||||
fixed: "right",
|
||||
width: 120,
|
||||
width: 128,
|
||||
subcomponent: TableOperaionComponent,
|
||||
options: [
|
||||
{ name: "copy", label: "复制", icon: "copy-document" },
|
||||
|
||||
Reference in New Issue
Block a user