@@ -27,19 +27,19 @@ export default function () { | |||||
actionName: "to-bom-detail", | actionName: "to-bom-detail", | ||||
emitFullData: true, | emitFullData: true, | ||||
}, | }, | ||||
{ | |||||
prop: "operations", | |||||
name: "操作", | |||||
fixed: "right", | |||||
width: 120, | |||||
subcomponent: TableOperaionComponent, | |||||
options: [ | |||||
{ name: "sync", label: "同步", icon: "refresh", emitFull: true, showOverlay: true } | |||||
// { name: "copy", label: "复制", icon: "copy-document" }, | |||||
// { name: "edit", label: "编辑", icon: "edit-outline" }, | |||||
// { name: "delete", icon: "delete", label: "删除", emitFull: true, permission: "pms:bom:delete" }, | |||||
], | |||||
}, | |||||
// { | |||||
// prop: "operations", | |||||
// name: "操作", | |||||
// fixed: "right", | |||||
// width: 120, | |||||
// subcomponent: TableOperaionComponent, | |||||
// options: [ | |||||
// { name: "sync", label: "同步", icon: "refresh", emitFull: true, showOverlay: true } | |||||
// // { name: "copy", label: "复制", icon: "copy-document" }, | |||||
// // { name: "edit", label: "编辑", icon: "edit-outline" }, | |||||
// // { name: "delete", icon: "delete", label: "删除", emitFull: true, permission: "pms:bom:delete" }, | |||||
// ], | |||||
// }, | |||||
]; | ]; | ||||
const headFormFields = [ | const headFormFields = [ | ||||
@@ -215,7 +215,7 @@ export default function () { | |||||
urls: { | urls: { | ||||
base: "/pms/bom", | base: "/pms/bom", | ||||
page: "/pms/bom/pageVersion", | page: "/pms/bom/pageVersion", | ||||
syncUrl: "/pms/bom/sync", | |||||
syncUrl: "/pms/bom/bomSync", | |||||
copyUrl: "/pms/bom/copy", | copyUrl: "/pms/bom/copy", | ||||
subase: "/pms/bomMaterial", | subase: "/pms/bomMaterial", | ||||
subpage: "/pms/bomMaterial/page", | subpage: "/pms/bomMaterial/page", | ||||
@@ -41,12 +41,19 @@ export default function () { | |||||
button: { | button: { | ||||
type: "primary", | type: "primary", | ||||
name: "新增", | name: "新增", | ||||
permission: "pms:materialType:save", | |||||
permission: "", | |||||
}, | }, | ||||
bind: { | bind: { | ||||
plain: true, | plain: true, | ||||
}, | }, | ||||
}, | }, | ||||
{ | |||||
button: { | |||||
type: "normal", | |||||
name: "同步", | |||||
permission: "", | |||||
}, | |||||
}, | |||||
]; | ]; | ||||
@@ -119,6 +126,7 @@ export default function () { | |||||
urls: { | urls: { | ||||
base: "/pms/baseMaterial", | base: "/pms/baseMaterial", | ||||
page: "/pms/baseMaterial/page", | page: "/pms/baseMaterial/page", | ||||
syncUrl: "/pms/trans/baseMatSync", | |||||
// subase: '/pms/blenderStepParam', | // subase: '/pms/blenderStepParam', | ||||
// subpage: '/pms/blenderStepParam/page', | // subpage: '/pms/blenderStepParam/page', | ||||
// more... | // more... | ||||