Commit 3f52e7d9 authored by 黄媛媛's avatar 黄媛媛

购物车bug修改

parent 5a9be108
......@@ -382,7 +382,7 @@ export default {
this.TotalPrice += parseFloat((price * this.list[i].GoodsList[index].Number).toFixed(2));
let goods_list_all = true; //判断该商场是否全选
this.list[i].GoodsList.forEach(x => {
if (this.editType == false) {
if (this.editType == true) {
//编辑的时候不判断
if (x.checked == false && x.new_status == 0) {
goods_list_all = false;
......@@ -436,7 +436,6 @@ export default {
this.TotalPrice = parseFloat(this.TotalPrice.toFixed(2));
},
mch_SelectAll(checked, i) {
console.log(this.list[i].GoodsList)
if (checked == true) {
let add_cartlist = [];
let new_statusnum = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment