|
|
|
@ -47,11 +47,14 @@ func (s *supplierApply) Lists(ctx context.Context, args ArgsSupplierApplyLists)
|
|
|
|
|
|
|
|
|
|
type ReplySupplierApplyInfo struct {
|
|
|
|
|
AuditStatus uint
|
|
|
|
|
SupplierName string
|
|
|
|
|
Account string
|
|
|
|
|
Liaison string
|
|
|
|
|
Phone string
|
|
|
|
|
Annex string
|
|
|
|
|
SupplierName string // 供应商名称
|
|
|
|
|
Account string // 账户
|
|
|
|
|
Liaison string // 联系人
|
|
|
|
|
Phone string // 手机号
|
|
|
|
|
Annex string // 附件
|
|
|
|
|
Reason string // 驳回原因
|
|
|
|
|
AuditUserId uint // 审核人id
|
|
|
|
|
AuditTime int64 // 审核时间
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Info @Title 审核详情
|
|
|
|
@ -94,3 +97,23 @@ func (s *supplierApply) Reject(ctx context.Context, args ArgsSupplierApplyReject
|
|
|
|
|
reply := 0
|
|
|
|
|
return xClient.Call(ctx, "Reject", args, &reply)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type ArgsSupplierApplyReAudit struct {
|
|
|
|
|
ApplyId uint
|
|
|
|
|
SupplierName string // 供应商名称
|
|
|
|
|
Account string // 账户
|
|
|
|
|
Password string // 密码
|
|
|
|
|
Liaison string // 联系人
|
|
|
|
|
Phone string // 手机号
|
|
|
|
|
Annex string // 附件
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// ReAudit @Title 重新审核
|
|
|
|
|
func (s *supplierApply) ReAudit(ctx context.Context, args ArgsSupplierApplyReAudit) error {
|
|
|
|
|
xClient, err := client.GetClient(s)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return err
|
|
|
|
|
}
|
|
|
|
|
reply := 0
|
|
|
|
|
return xClient.Call(ctx, "ReAudit", args, &reply)
|
|
|
|
|
}
|
|
|
|
|