update 2023.4.23
This commit is contained in:
@@ -27,18 +27,19 @@ export default function () {
|
||||
actionName: "to-bom-detail",
|
||||
emitFullData: true,
|
||||
},
|
||||
// {
|
||||
// prop: "operations",
|
||||
// name: "操作",
|
||||
// fixed: "right",
|
||||
// width: 120,
|
||||
// subcomponent: TableOperaionComponent,
|
||||
// options: [
|
||||
// { 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 = [
|
||||
@@ -71,9 +72,8 @@ export default function () {
|
||||
// },
|
||||
// {
|
||||
// button: {
|
||||
// // type: "plain",
|
||||
// type: "plain",
|
||||
// name: "同步",
|
||||
// type: 'primary'
|
||||
// },
|
||||
// },
|
||||
];
|
||||
@@ -265,6 +265,7 @@ export default function () {
|
||||
subpage: "/pms/bomMaterial/page",
|
||||
importUrl: "/pms/order/importExcelBom", // 导入的api
|
||||
templateUrl: "/importTemplates/bomImport.xlsx",
|
||||
syncSingleUrl: "/pms/trans/bomSync"
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
:dialog-config="dialogConfigs"
|
||||
@refresh-tables="handleRefreshTable"
|
||||
/>
|
||||
<ListSectionWithHead
|
||||
<!-- <ListSectionWithHead
|
||||
id="finished"
|
||||
:refresh-key="keys.finished"
|
||||
:extra-search-conditions="{ code: '' }"
|
||||
@@ -37,7 +37,7 @@
|
||||
:head-config="{ title: '完成的订单', form: headFormConfigs.finishedTableSearch }"
|
||||
:dialog-config="dialogConfigs"
|
||||
@refresh-tables="handleRefreshTable"
|
||||
/>
|
||||
/> -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ export default function () {
|
||||
width: 120,
|
||||
subcomponent: TableOperaionComponent,
|
||||
options: [
|
||||
{ name: "copy", label: "复制", icon: "copy-document" },
|
||||
{ name: "copy", label: "复制", icon: "copy-document", showOverlay: true, emitFull: true }, // showOverlay 和 emitFull 需同时使用
|
||||
{ name: "edit", label: "编辑", icon: "edit-outline" },
|
||||
{ name: "delete", icon: "delete", label: "删除", promptField: 'code', emitFull: true, permission: "pms:shapeStep:delete" }],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user