This commit is contained in:
邹宗楠
2023-09-22 10:16:15 +08:00
parent a94ccc975c
commit 37d26e22d4

View File

@@ -63,7 +63,9 @@ func CopyOnStoreSkuToOther(ctx *jxcontext.Context, fromVendorStoreId, toStoreId
if v.Children != nil && len(v.Children) != 0 {
for _, c := range v.Children {
if err := toApi.RetailCatUpdate(toStore.VendorStoreID, c.Name, &mtwmapi.Param4UpdateCat{
//CategoryCode: v.Code,
//CategoryNameOrigin: v.Name,
CategoryCodeOrigin: v.Code,
CategoryCode: v.Code,
SecondaryCategoryCode: c.Code,
SecondaryCategoryName: c.Name,
Sequence: c.Sequence,