Commit 8103e23c authored by guang.wu's avatar guang.wu

fix: 修改供货价信息

parent 9faf9551
...@@ -73,7 +73,7 @@ const UpdatePriceStock = options => { ...@@ -73,7 +73,7 @@ const UpdatePriceStock = options => {
className={styles.priceStockTable} className={styles.priceStockTable}
destroyOnClose destroyOnClose
> >
<div className={styles.modalTitle}>{spuName}</div> <div className={styles.modalTitle}>SPU名称:{spuName}</div>
<Form form={form} scrollToFirstError component={false}> <Form form={form} scrollToFirstError component={false}>
<EditableContext.Provider value={form}> <EditableContext.Provider value={form}>
<Table <Table
......
...@@ -155,7 +155,8 @@ class supplyPriceUpdate extends Component { ...@@ -155,7 +155,8 @@ class supplyPriceUpdate extends Component {
if (!data) return; if (!data) return;
this.setState({ this.setState({
spuId: row.spuId, spuId: row.spuId,
skuPriceStockList: data, spuName: data.productName,
skuPriceStockList: data.itemList,
visibleUpdatePrice: true, visibleUpdatePrice: true,
}); });
} catch (e) { } catch (e) {
......
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