|
|
|
@ -257,14 +257,14 @@ class _Settlement extends State<Settlement> {
|
|
|
|
|
|
|
|
|
|
///小程序下单 |
|
|
|
|
queryPlaceOrderFirst() async { |
|
|
|
|
for (int i = 0; i < settleOrderInfo.orderProductList.length; i++) { |
|
|
|
|
settleOrderInfo.orderProductList.forEach((element1) { |
|
|
|
|
if (settleOrderInfo.orderProductList[i].productId == |
|
|
|
|
element1.productId) { |
|
|
|
|
settleOrderInfo.orderProductList[i].skuId = element1.skuId; |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
// for (int i = 0; i < settleOrderInfo.orderProductList.length; i++) { |
|
|
|
|
// settleOrderInfo.orderProductList.forEach((element1) { |
|
|
|
|
// if (settleOrderInfo.orderProductList[i].productId == |
|
|
|
|
// element1.productId) { |
|
|
|
|
// settleOrderInfo.orderProductList[i].skuId = element1.skuId; |
|
|
|
|
// } |
|
|
|
|
// }); |
|
|
|
|
// } |
|
|
|
|
|
|
|
|
|
placeOrderFirst = PlaceOrderFirst(); |
|
|
|
|
placeOrderFirst.cartNum = settleOrderInfo.orderNum; |
|
|
|
|