update upload&download
This commit is contained in:
@@ -13,8 +13,10 @@ export default function () {
|
||||
{ prop: "type", label: "物料类型" },
|
||||
{ prop: "enName", label: "英文名称" },
|
||||
{ prop: "enAb", label: "英文缩写" },
|
||||
{ prop: "description", label: "详情", subcomponent: TableTextComponent },
|
||||
{ prop: "remark", label: "备注" },
|
||||
{ prop: "density", label: "堆积密度" },
|
||||
// { prop: "description", label: "详情", subcomponent: TableTextComponent },
|
||||
{ prop: "description", label: "原料描述", },
|
||||
{ prop: "remark", label: "中文描述" },
|
||||
/** TODO: parentId 是用来前端重构成树形结构的... */
|
||||
{
|
||||
prop: "operations",
|
||||
@@ -81,7 +83,8 @@ export default function () {
|
||||
rules: { required: true, message: "not empty", trigger: "blur" },
|
||||
elparams: { placeholder: "请输入物料编码" },
|
||||
},
|
||||
{ input: true, label: "规格", prop: "specifications", elparams: { placeholder: "规格" } },
|
||||
{ input: true, label: "堆积密度(g/cm3)", prop: "density", elparams: { placeholder: "堆积密度" } },
|
||||
|
||||
],
|
||||
[
|
||||
{
|
||||
@@ -152,7 +155,10 @@ export default function () {
|
||||
},
|
||||
|
||||
],
|
||||
[{ textarea: true, label: "备注", prop: "remark", elparams: { placeholder: "备注" } }],
|
||||
[
|
||||
{ input: true, label: "原料描述", prop: "description", elparams: { placeholder: "原料描述" } },
|
||||
],
|
||||
[{ input: true, label: "中文描述", prop: "remark", elparams: { placeholder: "备注" } }],
|
||||
],
|
||||
operations: [
|
||||
{ name: "add", label: "保存", type: "primary", permission: "pms:material:save", showOnEdit: false },
|
||||
|
||||
Reference in New Issue
Block a user