bugfix
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user