This commit is contained in:
lb 2023-06-27 14:23:42 +08:00
джерело 0c6646dd29
коміт a16ae4922f
3 змінених файлів з 23 додано та 15 видалено

@ -27,19 +27,19 @@ export default function () {
actionName: "to-bom-detail",
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 = [

@ -215,7 +215,7 @@ export default function () {
urls: {
base: "/pms/bom",
page: "/pms/bom/pageVersion",
syncUrl: "/pms/bom/sync",
syncUrl: "/pms/bom/bomSync",
copyUrl: "/pms/bom/copy",
subase: "/pms/bomMaterial",
subpage: "/pms/bomMaterial/page",

@ -41,12 +41,19 @@ export default function () {
button: {
type: "primary",
name: "新增",
permission: "pms:materialType:save",
permission: "",
},
bind: {
plain: true,
},
},
{
button: {
type: "normal",
name: "同步",
permission: "",
},
},
];
@ -119,6 +126,7 @@ export default function () {
urls: {
base: "/pms/baseMaterial",
page: "/pms/baseMaterial/page",
syncUrl: "/pms/trans/baseMatSync",
// subase: '/pms/blenderStepParam',
// subpage: '/pms/blenderStepParam/page',
// more...