فهرست منبع

订单编辑显示行号

徐鹏 2 سال پیش
والد
کامیت
a93f32efaf
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      app/containers/order/OrderEdit.js

+ 2 - 1
app/containers/order/OrderEdit.js

@@ -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