优化商品库存耗材
This commit is contained in:
@@ -73,13 +73,13 @@ const contentConfig: IContentConfig<UserPageQuery> = {
|
||||
name: "sync",
|
||||
auth: "import",
|
||||
},
|
||||
{
|
||||
icon: "edit",
|
||||
text: "库存预警",
|
||||
type: "danger",
|
||||
name: "custom1",
|
||||
auth: "import",
|
||||
},
|
||||
// {
|
||||
// icon: "edit",
|
||||
// text: "库存预警",
|
||||
// type: "danger",
|
||||
// name: "custom1",
|
||||
// auth: "import",
|
||||
// },
|
||||
{
|
||||
icon: "Download",
|
||||
text: "导出",
|
||||
@@ -98,15 +98,15 @@ const contentConfig: IContentConfig<UserPageQuery> = {
|
||||
slotName: "type",
|
||||
},
|
||||
// { label: "库存", align: "center", prop: "stockNumber" },
|
||||
{ label: "库存", align: "center", slotName: "kucunedit", templet: "custom", prop: "stockNumber" },
|
||||
// { label: "库存", align: "center", slotName: "kucunedit", templet: "custom", prop: "stockNumber" },
|
||||
{ label: "耗材信息", align: "center", prop: "consName", slotName: "consumables", templet: "custom", },
|
||||
{
|
||||
label: "库存开关",
|
||||
align: "center",
|
||||
prop: "isStock",
|
||||
templet: "custom",
|
||||
slotName: "isStock",
|
||||
},
|
||||
// {
|
||||
// label: "库存开关",
|
||||
// align: "center",
|
||||
// prop: "isStock",
|
||||
// templet: "custom",
|
||||
// slotName: "isStock",
|
||||
// },
|
||||
{
|
||||
label: "上架",
|
||||
align: "center",
|
||||
@@ -122,7 +122,14 @@ const contentConfig: IContentConfig<UserPageQuery> = {
|
||||
slotName: "sellOut",
|
||||
},
|
||||
{
|
||||
label: "退款退回库存",
|
||||
label: "自动售罄",
|
||||
align: "center",
|
||||
prop: "isAutoSoldStock",
|
||||
templet: "custom",
|
||||
slotName: "autoSellOut",
|
||||
},
|
||||
{
|
||||
label: "退菜是否退库存",
|
||||
align: "center",
|
||||
prop: "isRefundStock",
|
||||
templet: "custom",
|
||||
@@ -134,7 +141,11 @@ const contentConfig: IContentConfig<UserPageQuery> = {
|
||||
fixed: "right",
|
||||
width: 280,
|
||||
templet: "tool",
|
||||
operat: [{ text: "报损", name: '' }, { text: "编辑", icon: 'edit', name: "edit" }, { text: "删除", icon: 'delete', type: 'danger', name: "delete" }],
|
||||
operat: [
|
||||
{ text: "报损", icon: '', name: 'cons' },
|
||||
{ text: "报损记录", name: 'consRecord' },
|
||||
{ text: "编辑", icon: 'edit', name: "edit" },
|
||||
{ text: "删除", icon: 'delete', type: 'danger', name: "delete" }],
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user