diff --git a/src/components/shopping-cart/shopping-cart-cell.vue b/src/components/shopping-cart/shopping-cart-cell.vue index fd0863615c3417d46b1adaa01ee01f50342bc26f..1458f8e379b7d7a57e30a953c8181126d7bee420 100644 --- a/src/components/shopping-cart/shopping-cart-cell.vue +++ b/src/components/shopping-cart/shopping-cart-cell.vue @@ -315,13 +315,8 @@ export default { this.specificationApplicationPop = val; }, submitPop() { - this.cellItems.service.spcs_info = - this.specificationPop.spcs_type == 1 - ? this.cellItems.service.request_spcs_info.spcs_type_1[val] - : this.specificationPop.spcs_type == 2 - ? this.cellItems.service.request_spcs_info.spcs_type_2[val] - : ""; - this.updateShoppingCart(); + this.cellItems.service.spcs_info = this.specificationPop; + this.visible = false; this.updateShoppingCart(); }, setSpecificationPop() { diff --git a/src/components/shopping-cart/shopping-cart-com.vue b/src/components/shopping-cart/shopping-cart-com.vue index a8edb7d0207b846a529ad401dd86dd07293bf56e..1efa833186be0d36ecad913b97e8150930ac45f0 100644 --- a/src/components/shopping-cart/shopping-cart-com.vue +++ b/src/components/shopping-cart/shopping-cart-com.vue @@ -165,6 +165,7 @@ export default { this.listIn = response.data.data.invalid || []; this.checkList = []; this.checkListIn = []; + this.checkShopAll = false; for (let index in this.list) { this.checkList.push(false); }