...
|
...
|
@@ -115,6 +115,8 @@ export default class Product extends Component { |
|
|
let {editedIndex} = globalProduct;
|
|
|
editedRow = editedIndex;
|
|
|
}
|
|
|
let {yh_exposureData} = rowData.toJS();
|
|
|
|
|
|
|
|
|
let buttons = editing?null: this.rightButtons(rowData, rowID);
|
|
|
return (
|
...
|
...
|
@@ -129,6 +131,7 @@ export default class Product extends Component { |
|
|
<ProductCell
|
|
|
key={'row' + rowID}
|
|
|
data={rowData}
|
|
|
yh_exposureData={yh_exposureData}
|
|
|
onPressProduct={this.props.onPressProduct}
|
|
|
onPressFindSimilar={this.props.onPressFindSimilar}
|
|
|
editing={editing}
|
...
|
...
|
@@ -247,6 +250,7 @@ export default class Product extends Component { |
|
|
ref={(c) => {
|
|
|
this.listView = c;
|
|
|
}}
|
|
|
yh_viewVisible = {true}
|
|
|
enableEmptySections={true}
|
|
|
dataSource={this.dataSource.cloneWithRows(dataArray)}
|
|
|
renderRow={this.renderRow}
|
...
|
...
|
|