Commit 2feaf804 authored by 靳野's avatar 靳野

feat:回退skuInfo为skuList

parent 7a0740ff
...@@ -346,7 +346,6 @@ class goodsManage extends Component { ...@@ -346,7 +346,6 @@ class goodsManage extends Component {
this.setState({ createloading: true }); this.setState({ createloading: true });
const { data, msg } = await spuDetail({ skuId }); // spuId const { data, msg } = await spuDetail({ skuId }); // spuId
if (data) { if (data) {
data.skuList = data.skuInfo ? [data.skuInfo] : [];
const SourceData = ProcessEditData(data, row); const SourceData = ProcessEditData(data, row);
console.log('index.js=============>', SourceData); console.log('index.js=============>', SourceData);
// 投资金商品重量单位转换 从g转换为kg // 投资金商品重量单位转换 从g转换为kg
......
...@@ -139,7 +139,6 @@ const ServiceGoods = options => { ...@@ -139,7 +139,6 @@ const ServiceGoods = options => {
const { spuId, shopId, skuId } = params; const { spuId, shopId, skuId } = params;
const temp = { skuId }; const temp = { skuId };
const { data } = await apiGetShopDetail(temp); const { data } = await apiGetShopDetail(temp);
data.skuList = data.skuInfo ? [data.skuInfo] : [];
const { const {
name, name,
storageRackIds, storageRackIds,
......
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