update 0625 配方同步

This commit is contained in:
lb 2023-06-27 14:23:42 +08:00
parent 0c6646dd29
commit a16ae4922f
3 changed files with 23 additions and 15 deletions

View File

@ -27,19 +27,19 @@ export default function () {
actionName: "to-bom-detail", actionName: "to-bom-detail",
emitFullData: true, emitFullData: true,
}, },
{ // {
prop: "operations", // prop: "operations",
name: "操作", // name: "操作",
fixed: "right", // fixed: "right",
width: 120, // width: 120,
subcomponent: TableOperaionComponent, // subcomponent: TableOperaionComponent,
options: [ // options: [
{ name: "sync", label: "同步", icon: "refresh", emitFull: true, showOverlay: true } // { name: "sync", label: "同步", icon: "refresh", emitFull: true, showOverlay: true }
// { name: "copy", label: "复制", icon: "copy-document" }, // // { name: "copy", label: "复制", icon: "copy-document" },
// { name: "edit", label: "编辑", icon: "edit-outline" }, // // { name: "edit", label: "编辑", icon: "edit-outline" },
// { name: "delete", icon: "delete", label: "删除", emitFull: true, permission: "pms:bom:delete" }, // // { name: "delete", icon: "delete", label: "删除", emitFull: true, permission: "pms:bom:delete" },
], // ],
}, // },
]; ];
const headFormFields = [ const headFormFields = [

View File

@ -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",

View File

@ -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...