bugfix
This commit is contained in:
@@ -8,10 +8,10 @@ export default function () {
|
||||
{ prop: "createTime", label: "添加时间", filter: timeFilter },
|
||||
{ prop: "name", label: "客户名称" },
|
||||
{ prop: "code", label: "编码" },
|
||||
{ prop: "contact", label: "联系人" },
|
||||
{ prop: "tel", label: "联系电话" },
|
||||
{ prop: "email", label: "联系邮箱" },
|
||||
{ prop: "address", label: "地址" },
|
||||
{ prop: "contact", label: "联系人" },
|
||||
{ prop: "description", label: "描述" },
|
||||
{ prop: "remark", label: "备注" },
|
||||
{
|
||||
@@ -20,7 +20,7 @@ export default function () {
|
||||
fixed: "right",
|
||||
width: 120,
|
||||
subcomponent: TableOperaionComponent,
|
||||
options: ["edit", { name: "delete", permission: "pms:customer:delete" }],
|
||||
options: ["edit", { name: "delete", emitFull: true, permission: "pms:customer:delete" }],
|
||||
},
|
||||
];
|
||||
|
||||
@@ -65,17 +65,31 @@ export default function () {
|
||||
input: true,
|
||||
label: "客户名称",
|
||||
prop: "name",
|
||||
rules: { required: true, message: "not empty", trigger: "blur" },
|
||||
rules: { required: true, message: "必填项不能为空", trigger: "blur" },
|
||||
elparams: { placeholder: "请输入客户名称" },
|
||||
},
|
||||
{
|
||||
input: true,
|
||||
label: "编码",
|
||||
prop: "code",
|
||||
rules: { required: true, message: "not empty", trigger: "blur" },
|
||||
rules: { required: true, message: "必填项不能为空", trigger: "blur" },
|
||||
elparams: { placeholder: "请输入编码" },
|
||||
},
|
||||
],
|
||||
[
|
||||
{
|
||||
input: true,
|
||||
label: "联系人",
|
||||
prop: "contact",
|
||||
elparams: { placeholder: "请输入联系人" },
|
||||
},
|
||||
{
|
||||
input: true,
|
||||
label: "地址",
|
||||
prop: "address",
|
||||
elparams: { placeholder: "请输入客户地址" },
|
||||
},
|
||||
],
|
||||
[
|
||||
{
|
||||
input: true,
|
||||
@@ -90,20 +104,7 @@ export default function () {
|
||||
elparams: { placeholder: "请输入联系邮箱" },
|
||||
},
|
||||
],
|
||||
[
|
||||
{
|
||||
input: true,
|
||||
label: "地址",
|
||||
prop: "address",
|
||||
elparams: { placeholder: "请输入客户地址" },
|
||||
},
|
||||
{
|
||||
input: true,
|
||||
label: "联系人",
|
||||
prop: "contact",
|
||||
elparams: { placeholder: "请输入联系人" },
|
||||
},
|
||||
],
|
||||
|
||||
[{ textarea: true, label: "描述信息", prop: "description", elparams: { placeholder: "描述信息" } }],
|
||||
[{ input: true, label: "备注", prop: "remark", elparams: { placeholder: "备注" } }],
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user