|
@@ -760,10 +760,12 @@ var shoppingConfirm = new Vue({
|
|
_self.userToken = globalUserData.token;
|
|
_self.userToken = globalUserData.token;
|
|
// type:(1购物车提交[对应表cm_cart],2直接购买提交, 3协销下单)
|
|
// type:(1购物车提交[对应表cm_cart],2直接购买提交, 3协销下单)
|
|
if(_self.type === 1) {
|
|
if(_self.type === 1) {
|
|
|
|
+ _self.productParam.cartType = 1;
|
|
_self.cartParam.productIds = _self.postageParam.productIds = _self.productIds = window.localStorage.getItem("shoppingProductIds");
|
|
_self.cartParam.productIds = _self.postageParam.productIds = _self.productIds = window.localStorage.getItem("shoppingProductIds");
|
|
// 获取列表数据
|
|
// 获取列表数据
|
|
_self.getCartCreateOrderInfo();
|
|
_self.getCartCreateOrderInfo();
|
|
- }else if(this.type === 2){
|
|
|
|
|
|
+ }else if(_self.type === 2){
|
|
|
|
+ _self.productParam.cartType = 2;
|
|
_self.productParam.productId = _self.postageParam.productIds = _self.productIds = getUrlParam("productId");
|
|
_self.productParam.productId = _self.postageParam.productIds = _self.productIds = getUrlParam("productId");
|
|
_self.productParam.productCount = getUrlParam("count");
|
|
_self.productParam.productCount = getUrlParam("count");
|
|
if(_self.productParam.productId && _self.productParam.productCount) {
|
|
if(_self.productParam.productId && _self.productParam.productCount) {
|