Commit 2aa28f01 authored by 前端-钟卫鹏's avatar 前端-钟卫鹏

fix: 交易规则添加skuId字段

parent d0046413
...@@ -30,8 +30,8 @@ const AddRule:React.FC<{}> = (props) => { ...@@ -30,8 +30,8 @@ const AddRule:React.FC<{}> = (props) => {
setIsDisabled(true) setIsDisabled(true)
if(values?.products) if(values?.products)
values.products = values.products.map(item => ({ values.products = values.products.map(item => ({
productId: item.id, skuId: item.id,
commodityId: item.commodityId, productId: item.commodityId,
name: item.name, name: item.name,
category: item.customerCategoryName, category: item.customerCategoryName,
priceType: item.priceType, priceType: item.priceType,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment