Commit d689c51f authored by guang.wu's avatar guang.wu

fix: 添加字段

parent cc2f041b
...@@ -42,7 +42,8 @@ const ImportGoods = React.memo(props => { ...@@ -42,7 +42,8 @@ const ImportGoods = React.memo(props => {
if (result?.success) { if (result?.success) {
setImportFile([]); setImportFile([]);
notification.success({ notification.success({
message: '导入成功', message:
'已操作上传,稍后上传成功后,请在操作历史中,查看上传结果,如有未上传成功的数据,请根据返回原因,及时处理,修改后重新上传。',
}); });
} }
}; };
......
...@@ -21,10 +21,12 @@ const UpdatePriceStock = options => { ...@@ -21,10 +21,12 @@ const UpdatePriceStock = options => {
skus: value.data, skus: value.data,
}; };
setLoading(true); setLoading(true);
await apiProductBiddingUpdate(params); const res = await apiProductBiddingUpdate(params);
setLoading(false); setLoading(false);
options.refresh(); if (res?.success) {
options.onCancel(); options.refresh();
options.onCancel();
}
}; };
const EditableContext = createContext(null); const EditableContext = createContext(null);
...@@ -69,7 +71,7 @@ const UpdatePriceStock = options => { ...@@ -69,7 +71,7 @@ const UpdatePriceStock = options => {
onCancel={options.onCancel} onCancel={options.onCancel}
onOk={onSubmit} onOk={onSubmit}
confirmLoading={loading} confirmLoading={loading}
width={800} width={900}
className={styles.priceStockTable} className={styles.priceStockTable}
destroyOnClose destroyOnClose
> >
......
...@@ -225,7 +225,7 @@ class supplyPriceUpdate extends Component { ...@@ -225,7 +225,7 @@ class supplyPriceUpdate extends Component {
)} )}
<Drawer <Drawer
visible={this.state.previewVisible} open={this.state.previewVisible}
width="450" width="450"
onClose={() => { onClose={() => {
this.setState({ previewVisible: false }); this.setState({ previewVisible: false });
......
...@@ -5,6 +5,12 @@ import styles from './style.less'; ...@@ -5,6 +5,12 @@ import styles from './style.less';
export function column(specArr = []) { export function column(specArr = []) {
return [ return [
{
title: 'SKU编码',
dataIndex: 'id',
width: 200,
align: 'center',
},
...specArr, ...specArr,
{ {
title: '供货价', title: '供货价',
......
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