|
|
@ -102,12 +102,32 @@ func (s *supplier) Disabled(ctx context.Context, supplierId uint) error {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type ReplySupplierInfo struct {
|
|
|
|
type ReplySupplierInfo struct {
|
|
|
|
|
|
|
|
Name string `json:"name"`
|
|
|
|
|
|
|
|
CreditCode string `json:"creditCode"`
|
|
|
|
|
|
|
|
BusinessAddress string `json:"businessAddress"`
|
|
|
|
|
|
|
|
LegalPersonName string `json:"legalPersonName"`
|
|
|
|
|
|
|
|
PayTaxes uint `json:"payTaxes"`
|
|
|
|
|
|
|
|
TaxNumber string `json:"taxNumber"`
|
|
|
|
|
|
|
|
BankName string `json:"bankName"`
|
|
|
|
|
|
|
|
BankCode string `json:"bankCode"`
|
|
|
|
|
|
|
|
BankAddress string `json:"bankAddress"`
|
|
|
|
|
|
|
|
Phone string `json:"phone"`
|
|
|
|
|
|
|
|
CreatedAt int64 `json:"createdAt"`
|
|
|
|
|
|
|
|
BusinessLicense string `json:"businessLicense"`
|
|
|
|
|
|
|
|
IdPhotoFront string `json:"idPhotoFront"`
|
|
|
|
|
|
|
|
IdPhotoBack string `json:"idPhotoBack"`
|
|
|
|
|
|
|
|
AccountPhoto string `json:"accountPhoto"`
|
|
|
|
|
|
|
|
ContactName string `json:"contactName"`
|
|
|
|
|
|
|
|
ContactEmail string `json:"contactEmail"`
|
|
|
|
|
|
|
|
ContactPhone string `json:"contactPhone"`
|
|
|
|
|
|
|
|
Position string `json:"position"`
|
|
|
|
|
|
|
|
PaytaxesPhoto string `json:"paytaxesPhoto"`
|
|
|
|
|
|
|
|
|
|
|
|
SupplierId uint
|
|
|
|
SupplierId uint
|
|
|
|
SupplierName string // 供应商名称
|
|
|
|
SupplierName string // 供应商名称
|
|
|
|
Account string // 账户名
|
|
|
|
Account string // 账户名
|
|
|
|
PayType uint // 结算方式
|
|
|
|
PayType uint // 结算方式
|
|
|
|
Liaison string // 联系人
|
|
|
|
Liaison string // 联系人
|
|
|
|
Phone string // 手机号
|
|
|
|
|
|
|
|
Annex string // 附件
|
|
|
|
Annex string // 附件
|
|
|
|
WarnStatus uint // 预警状态
|
|
|
|
WarnStatus uint // 预警状态
|
|
|
|
WarnValue decimal.Decimal // 预警值
|
|
|
|
WarnValue decimal.Decimal // 预警值
|
|
|
|