|
|
|
@ -132,6 +132,16 @@ func (s *supplier) InfoByBatchOrderSn(ctx context.Context, batchOrderSn string)
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// InfoByRetailOrderSn @Title 通过零售订单获取供应商信息
|
|
|
|
|
func (s *supplier) InfoByRetailOrderSn(ctx context.Context, retailOrderSn string) (reply ReplySupplierInfo, err error) {
|
|
|
|
|
xClient, err := client.GetClient(s)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return ReplySupplierInfo{}, err
|
|
|
|
|
}
|
|
|
|
|
err = xClient.Call(ctx, "InfoByRetailOrderSn", retailOrderSn, &reply)
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type ArgsSupplierEdit struct {
|
|
|
|
|
SupplierId uint
|
|
|
|
|
SupplierName string // 供应商名称
|
|
|
|
|