|
@@ -746,7 +746,8 @@ class OrderEdit extends Component {
|
|
|
result = await authService.postOrder(editSubmlitData).catch(err => {
|
|
|
this.setState({ submitLoading: false })
|
|
|
errReturn = true
|
|
|
- this.toast = Toast.show(err.response.data.message, { position: toastHeight })
|
|
|
+ this.toast = Toast.show(err.response.data.message + ";开始暂存订单!", { position: toastHeight })
|
|
|
+ this.editFinish("Temporary")
|
|
|
console.log(
|
|
|
err,
|
|
|
'-----订单编辑-提交订单报错的完整信息' +
|
|
@@ -1402,6 +1403,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 +1435,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
|