diff --git a/src/pages/exchangecode/add/add.js b/src/pages/exchangecode/add/add.js index 2a3782b8..5ec659b9 100644 --- a/src/pages/exchangecode/add/add.js +++ b/src/pages/exchangecode/add/add.js @@ -1159,7 +1159,7 @@ export default class acclist extends React.Component { prop: 'cost_price', name: 'cost_price', width: '250px', - type: 'normal' + type: 'slot' }, { title: '合同价', @@ -1628,6 +1628,15 @@ export default class acclist extends React.Component { if (com == 'type') { return <>{rowData.type === 2 ? '立减金' : '商品'} } + if (com == 'cost_price') { + return ( + <> + {rowData.type === 2 + ? rowData.official_price + : rowData.cost_price} + + ) + } if (com == 'edit') { return ( {rowData.type === 2 ? '立减金' : '商品'} } + if (com == 'cost_price') { + return ( + <> + {rowData.type === 2 + ? rowData.official_price + : rowData.cost_price} + + ) + } if (com == 'edit') { return ( {rowData.type === 2 ? '立减金' : '商品'} } + if (com == 'cost_price') { + return ( + <> + {rowData.type === 2 + ? rowData.official_price + : rowData.cost_price} + + ) + } if (com == 'edit') { return ( {rowData.type === 2 ? '立减金' : '商品'} } + if (com == 'cost_price') { + return ( + <> + {rowData.type === 2 + ? rowData.official_price + : rowData.cost_price} + + ) + } if (com == 'edit') { return (