Przeglądaj źródła

update 0625 配方同步

docs_0727
lb 1 rok temu
rodzic
commit
a16ae4922f
3 zmienionych plików z 23 dodań i 15 usunięć
  1. +13
    -13
      src/views/modules/pms/bom/config.js
  2. +1
    -1
      src/views/modules/pms/bomDetails/config.js
  3. +9
    -1
      src/views/modules/pms/materialBase/config.js

+ 13
- 13
src/views/modules/pms/bom/config.js Wyświetl plik

@@ -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 = [


+ 1
- 1
src/views/modules/pms/bomDetails/config.js Wyświetl plik

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


+ 9
- 1
src/views/modules/pms/materialBase/config.js Wyświetl plik

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


Ładowanie…
Anuluj
Zapisz