|
|
@ -47,11 +47,14 @@ func (s *supplierApply) Lists(ctx context.Context, args ArgsSupplierApplyLists)
|
|
|
|
|
|
|
|
|
|
|
|
type ReplySupplierApplyInfo struct {
|
|
|
|
type ReplySupplierApplyInfo struct {
|
|
|
|
AuditStatus uint
|
|
|
|
AuditStatus uint
|
|
|
|
SupplierName string
|
|
|
|
SupplierName string // 供应商名称
|
|
|
|
Account string
|
|
|
|
Account string // 账户
|
|
|
|
Liaison string
|
|
|
|
Liaison string // 联系人
|
|
|
|
Phone string
|
|
|
|
Phone string // 手机号
|
|
|
|
Annex string
|
|
|
|
Annex string // 附件
|
|
|
|
|
|
|
|
Reason string // 驳回原因
|
|
|
|
|
|
|
|
AuditUserId uint // 审核人id
|
|
|
|
|
|
|
|
AuditTime int64 // 审核时间
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Info @Title 审核详情
|
|
|
|
// Info @Title 审核详情
|
|
|
@ -94,3 +97,23 @@ func (s *supplierApply) Reject(ctx context.Context, args ArgsSupplierApplyReject
|
|
|
|
reply := 0
|
|
|
|
reply := 0
|
|
|
|
return xClient.Call(ctx, "Reject", args, &reply)
|
|
|
|
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)
|
|
|
|
|
|
|
|
}
|
|
|
|