소스 검색

修复下单

zhengjinyi 2 년 전
부모
커밋
11982ccd55
2개의 변경된 파일410개의 추가작업 그리고 335개의 파일을 삭제
  1. 4 4
      pages/seller/order/create-order.vue
  2. 406 331
      pages/user/order/create-order.vue

+ 4 - 4
pages/seller/order/create-order.vue

@@ -310,7 +310,7 @@
 					this.allPrice = data.totalPrice
 					this.rechargeGoods = data.includeRecharge
 					this.clauseList = data.clauseList
-					this.postageParam.productIds  = this.getProductIds(data.list)
+					this.postageParam.skuIds  = this.getProductIds(data.list)
 					this.isCouponShow = true
 					if(this.couponList.length>0){
 						this.couponAmount = data.couponList[0].couponAmount
@@ -341,13 +341,13 @@
 				})
 			},
 			getProductIds(list){// 获取订单商品id列表
-				let productIds = []
+				let skuId = []
 				list.forEach(function(supplier){
 					supplier.cartList.forEach(function(product){
-						productIds.push(product.productId)
+						skuId.push(product.skuId)
 					})
 				})
-				return productIds.join(',')
+				return skuId.join(',')
 			},
 			getFreightData(){//获取邮费信息
 				this.OrderService.GetOrderPostage(this.postageParam).then(response =>{

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 406 - 331
pages/user/order/create-order.vue


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.