update
This commit is contained in:
@@ -12,6 +12,7 @@ export default function () {
|
||||
{ prop: "tel", label: "联系电话" },
|
||||
{ prop: "email", label: "联系邮箱" },
|
||||
{ prop: "address", label: "地址" },
|
||||
{ prop: "prtTag", label: "是否打印标签", filter: val => ({ yes: '是', no: '否' })[val] ?? '-' },
|
||||
{ prop: "description", label: "描述" },
|
||||
{ prop: "remark", label: "备注" },
|
||||
{
|
||||
@@ -75,14 +76,6 @@ export default function () {
|
||||
rules: { required: true, message: "必填项不能为空", trigger: "blur" },
|
||||
elparams: { placeholder: "请输入编码" },
|
||||
},
|
||||
],
|
||||
[
|
||||
{
|
||||
input: true,
|
||||
label: "联系人",
|
||||
prop: "contact",
|
||||
elparams: { placeholder: "请输入联系人" },
|
||||
},
|
||||
{
|
||||
input: true,
|
||||
label: "地址",
|
||||
@@ -91,6 +84,12 @@ export default function () {
|
||||
},
|
||||
],
|
||||
[
|
||||
{
|
||||
input: true,
|
||||
label: "联系人",
|
||||
prop: "contact",
|
||||
elparams: { placeholder: "请输入联系人" },
|
||||
},
|
||||
{
|
||||
input: true,
|
||||
label: "联系电话",
|
||||
@@ -104,7 +103,19 @@ export default function () {
|
||||
elparams: { placeholder: "请输入联系邮箱" },
|
||||
},
|
||||
],
|
||||
[
|
||||
{
|
||||
select: true,
|
||||
label: "是否打印标签",
|
||||
prop: "prtTag",
|
||||
elparams: { placeholder: "是否打印标签" },
|
||||
options: [
|
||||
{ label: '是', value: 'yes' },
|
||||
{ label: '否', value: 'no' },
|
||||
]
|
||||
},
|
||||
|
||||
],
|
||||
[{ textarea: true, label: "描述信息", prop: "description", elparams: { placeholder: "描述信息" } }],
|
||||
[{ input: true, label: "备注", prop: "remark", elparams: { placeholder: "备注" } }],
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user