This commit is contained in:
lb
2023-03-30 13:38:20 +08:00
parent 0268af8557
commit a5a28de3cf
4 changed files with 37 additions and 33 deletions

View File

@@ -12,9 +12,9 @@ export default function () {
{ prop: "code", label: "料仓编码" },
{ prop: "typeDictValue", label: "料仓类型", filter: dictFilter('liaocang') },
// { prop: "enabled", label: "状态", subcomponent: switchBtn }, // subcomponent
{ prop: "material", label: "料" },
{ prop: "materialTypeDictValue", label: "料类型", filter: dictFilter('material_category') },
{ prop: "density", label: "料堆积密度" },
{ prop: "material", label: "料" },
{ prop: "materialTypeDictValue", label: "料类型", filter: dictFilter('material_category') },
{ prop: "density", label: "料堆积密度" },
{ prop: "dosLow", label: "加料下限" },
{ prop: "dosHigh", label: "加料上限" },
{ prop: "description", label: "描述" },
@@ -46,16 +46,16 @@ export default function () {
name: "查询",
},
},
{
button: {
type: "primary",
name: "新增",
permission: "pms:materialStorage:save"
},
bind: {
plain: true,
}
},
// {
// button: {
// type: "primary",
// name: "新增",
// permission: "pms:materialStorage:save"
// },
// bind: {
// plain: true,
// }
// },
];
/**
@@ -98,12 +98,12 @@ export default function () {
},
{
select: true,
label: "料",
label: "料",
prop: "materialId",
fetchData: () => this.$http.get("/pms/material/page", { params: { key: '', limit: 999, page: 1 } }),
options: [],
rules: { required: true, message: "必填项不能为空", trigger: "change" },
elparams: { placeholder: "请选择料" },
elparams: { placeholder: "请选择料" },
},
// {
// input: true,