|
@@ -1402,6 +1402,7 @@ class OrderEdit extends Component {
|
|
|
if (item.baseGoodsOptId) {
|
|
|
item.isOptional = 1
|
|
|
}
|
|
|
+ item.rowNum = (indexParent + 1) * 10
|
|
|
if (item.isOptional) {
|
|
|
isOptArrs.push(item.isOptional)
|
|
|
} else if (item.reqOrderItemBoms && item.reqOrderItemBoms.length > 0) {
|
|
@@ -1433,7 +1434,7 @@ class OrderEdit extends Component {
|
|
|
<View style={{ marginLeft: 10, flex: 1 }}>
|
|
|
<View style={{flexDirection:'row'}}>
|
|
|
<Text style={{ fontSize: 13, lineHeight: 18, color: '#333',width:'90%' }}>
|
|
|
- {item.goodsDisplayName}
|
|
|
+ {item.rowNum}--{item.goodsDisplayName}
|
|
|
</Text>
|
|
|
<TouchableOpacity onPress={() =>this.deleteGoodsFn(indexParent)}>
|
|
|
<Image
|