This commit is contained in:
邹宗楠
2024-12-16 17:36:15 +08:00
parent 3687ba1e87
commit 49a95c17a6
6 changed files with 86 additions and 8 deletions

View File

@@ -565,6 +565,11 @@ func SwitchAttr(apiObj *mtwmapi.API, vendorStoreID string, vendorCatID int64, na
Value: "其他",
}}
}
} else if v.AttrID == mtwmapi.SpecialAttrOrigin { // 产地默认国产
attrValue.ValueList = []ValueList{{
ValueID: 1300000003,
Value: "国产",
}}
} else {
if len(v.ValueList) > 0 {
attrValue.ValueList = []ValueList{{