bugfix
This commit is contained in:
@@ -12,11 +12,11 @@ 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: "dosLow", label: "加料下限" },
|
||||
{ prop: "dosHigh", label: "加料上限" },
|
||||
// { prop: "material", label: "物料" },
|
||||
// { prop: "materialTypeDictValue", label: "物料类型", filter: dictFilter('material_category') },
|
||||
// { prop: "density", label: "物料堆积密度" },
|
||||
// { prop: "dosLow", label: "加料下限" },
|
||||
// { prop: "dosHigh", label: "加料上限" },
|
||||
{ prop: "description", label: "描述" },
|
||||
{ prop: "remark", label: "备注" },
|
||||
{
|
||||
@@ -74,6 +74,8 @@ export default function () {
|
||||
rules: { required: true, message: "必填项不能为空", trigger: "blur" },
|
||||
elparams: { placeholder: "请输入料仓名称" },
|
||||
},
|
||||
],
|
||||
[
|
||||
{
|
||||
input: true,
|
||||
label: "料仓编码",
|
||||
@@ -96,15 +98,15 @@ export default function () {
|
||||
rules: { required: true, message: "必填项不能为空", trigger: "change" },
|
||||
elparams: { placeholder: "请选择料仓类型" },
|
||||
},
|
||||
{
|
||||
select: true,
|
||||
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: "请选择物料" },
|
||||
},
|
||||
// {
|
||||
// select: true,
|
||||
// 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: "请选择物料" },
|
||||
// },
|
||||
// {
|
||||
// input: true,
|
||||
// label: "加料下限",
|
||||
|
||||
Reference in New Issue
Block a user