feat:完善项目

This commit is contained in:
henry
2021-11-09 14:42:16 +08:00
parent d544b7f80c
commit be0ef1a1d0
5 changed files with 512 additions and 33 deletions

View File

@ -26,9 +26,9 @@ type (
}
// SupplierParams 参数信息
SupplierParams struct {
ID uint64
Name, Mobile, Address, Remark string
Kind model2.ManageSupplierKind
ID uint64
Name, Contacts, Mobile, Address, Remark string
Kind model2.ManageSupplierKind
}
)
@ -129,6 +129,7 @@ func (c *Supplier) Form(params *SupplierParams) error {
}
mManageSupplier.Name = params.Name
mManageSupplier.Mobile = params.Mobile
mManageSupplier.Contacts = params.Contacts
mManageSupplier.Address = params.Address
mManageSupplier.Remark = params.Remark