update 0727 docs

This commit is contained in:
lb
2023-07-27 15:58:44 +08:00
parent d35f0ba843
commit ce29b3ca9b
2 changed files with 36 additions and 28 deletions

View File

@@ -7,10 +7,12 @@ import techBox from "@/components/noTemplateComponents/techBox";
export default function () {
const tableProps = [
{ type: "index", label: "序号" },
{ prop: "code", label: "配方号" },
{ width: 160, prop: "code", label: "配方号" },
{ prop: "name", label: "牌号" },
{ prop: "syncTime", label: "同步时间", filter: timeFilter },
{ prop: "techCode", label: "烧制曲线", subcomponent: techBox },
{ width: 90, prop: "techCode", label: "烧制曲线", subcomponent: techBox },
{ prop: "upweight", label: "建议混料上限" },
{ prop: "downweight", label: "建议混料下限" },
// { prop: "externalCode", label: "版本号" },
// { prop: "specifications", label: "程序号" },
// { prop: "unitDictValue", label: "砖型", filter: dictFilter("unit") },
@@ -29,19 +31,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 = [
@@ -72,12 +74,12 @@ export default function () {
// permission: "pms:bom:save",
// },
// },
// {
// button: {
// type: "plain",
// name: "同步",
// },
// },
{
button: {
type: "warning",
name: "批量同步",
},
},
];
const dictList = JSON.parse(localStorage.getItem("dictList") || {});
@@ -267,7 +269,7 @@ export default function () {
subpage: "/pms/bomMaterial/page",
importUrl: "/pms/order/importExcelBom", // 导入的api
templateUrl: "/importTemplates/bomImport.xlsx",
syncSingleUrl: "/pms/trans/bomSync"
syncSingleUrl: "/pms/trans/bomSync",
},
};
}