瀏覽代碼

Update GoodsSale.vue

lex 2 年之前
父節點
當前提交
c04ad52ef2
共有 1 個文件被更改,包括 8 次插入6 次删除
  1. 8 6
      src/views/shopMall/GoodsSale.vue

+ 8 - 6
src/views/shopMall/GoodsSale.vue

@@ -470,8 +470,9 @@ export default {
       let form = {
         studentId: this.studentId,
         goodsList: JSON.stringify(this.goodsList),
-        marketAmount: this.marketAmount ? this.marketAmount : 0,
-        couponIdList: this.obj.couponIdList,
+        addressInfo: JSON.stringify(this.addressInfo),
+        // marketAmount: this.marketAmount ? this.marketAmount : 0,
+        // couponIdList: this.obj.couponIdList,
       };
       let formCheckChange = false;
       let tempForm = this.tempForm;
@@ -479,8 +480,9 @@ export default {
       if (
         form.studentId == tempForm.studentId &&
         form.goodsList == tempForm.goodsList &&
-        form.marketAmount == tempForm.marketAmount &&
-        JSON.stringify(form.couponList) == JSON.stringify(tempForm.couponList)
+        form.addressInfo == tempForm.addressInfo
+        // form.marketAmount == tempForm.marketAmount &&
+        // JSON.stringify(form.couponList) == JSON.stringify(tempForm.couponList)
       ) {
         formCheckChange = true;
       }
@@ -549,7 +551,7 @@ export default {
             query: {
               type: "on",
               isBack: "off",
-              groupType: "GOODS_SELL",
+              groupType: "MALL_BUY",
             },
           });
         } else {
@@ -1042,4 +1044,4 @@ export default {
     height: 0.2rem;
   }
 }
-</style>
+</style>