Commit 8b1ef6a8 authored by guang.wu's avatar guang.wu

fix: 修改市场价显示

parent 102cd9fd
...@@ -4,7 +4,6 @@ import { SwapRightOutlined } from '@ant-design/icons'; ...@@ -4,7 +4,6 @@ import { SwapRightOutlined } from '@ant-design/icons';
import { connect } from 'dva'; import { connect } from 'dva';
import ImportGoodsModal from '@/components/ImportGoodsModal'; import ImportGoodsModal from '@/components/ImportGoodsModal';
import styles from '../../style.less'; import styles from '../../style.less';
import { stateList } from '../../staticdata';
import { apiDownBiddingTemplate, apiUploadGoodsFile } from '../../service'; import { apiDownBiddingTemplate, apiUploadGoodsFile } from '../../service';
const FormItem = Form.Item; const FormItem = Form.Item;
...@@ -174,20 +173,6 @@ class goodsManage extends Component { ...@@ -174,20 +173,6 @@ class goodsManage extends Component {
</FormItem> </FormItem>
{this.state.productType !== 5 && ( {this.state.productType !== 5 && (
<> <>
<FormItem label="审核状态" name="state">
<Select
style={selectW}
placeholder="请选择审核状态"
allowClear
filterOption={filterOption}
>
{stateList?.map(item => (
<Option key={item.value} value={item.value}>
{item.label}
</Option>
))}
</Select>
</FormItem>
<FormItem label="供货价区间"> <FormItem label="供货价区间">
<FormItem name="supplyPriceMin" className={styles.iptNumRight} noStyle> <FormItem name="supplyPriceMin" className={styles.iptNumRight} noStyle>
<InputNumber placeholder="请输入" min={0} max={999999999} style={iptNumWidth} /> <InputNumber placeholder="请输入" min={0} max={999999999} style={iptNumWidth} />
......
...@@ -98,16 +98,12 @@ export function columnManage() { ...@@ -98,16 +98,12 @@ export function columnManage() {
dataIndex: 'skuName', dataIndex: 'skuName',
}, },
{ {
title: '供应商价格', title: '市场价',
dataIndex: 'marketPrice', dataIndex: 'marketPrice',
width: 160, width: 160,
align: 'center', align: 'center',
sorter: (a, b) => a.supplyPrice - b.supplyPrice, sorter: (a, b) => a.supplyPrice - b.supplyPrice,
render: (_, row) => ( render: (_, row) => <div>{(row.marketPrice || 0).toFixed(2)}</div>,
<div className={styles.price}>
<p>市场价:{(row.marketPrice || 0).toFixed(2)}</p>
</div>
),
}, },
{ {
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