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

fix: 添加字段

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