Browse Source

規格更改

remove_uniapp
w-R 3 years ago
parent
commit
8a47c0e102
  1. 16
      lib/settlement/settlement.dart
  2. 2
      pubspec.yaml

16
lib/settlement/settlement.dart

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

2
pubspec.yaml

@ -106,6 +106,8 @@ flutter:
assets:
- assets/image/
- assets/image/2x/
- assets/image/3x/
- assets/map_style/
- assets/riv/
- assets/svg/

Loading…
Cancel
Save