xuqiang 4 anos atrás
pai
commit
ee743bfe8c

+ 1 - 1
src/components/AllorderInfo.vue

@@ -279,7 +279,7 @@ export default {
                     .get('/orderInfo/get/' + this.id)
                     .then(res => {
                         this.refundId = res.refundId;
-                        console.log(this.refundId);
+                        // console.log(this.refundId);
                         this.hideLoading();
                     })
                     .catch(e => {

+ 1 - 1
src/components/AllselloutInfo.vue

@@ -244,7 +244,7 @@ export default {
             //     title: '敬请开放',
             //     icon: 'none'
             // });
-            this.$http.post('orderInfo/send', { logisticNo: '' });
+            // this.$http.post('orderInfo/send', { logisticNo: '' });
         }
     }
 };

+ 1 - 1
src/pages/confirmorder.vue

@@ -163,7 +163,7 @@ export default {
                 })
                 .then(res => {
                     this.hideLoading();
-                    console.log(res);
+                    // console.log(res);
                     this.total = res.total;
                     this.store = res.store;
                     this.Boxes = res.selectedBoxes;

+ 1 - 1
src/pages/minePublish.vue

@@ -92,7 +92,7 @@ export default {
             this.navigateTo('/pages/details?id=' + cardCaseId);
         },
         live(cardCaseId) {
-            this.navigateTo('/pages/store/productEdit?id=' + cardCaseId);
+            this.navigateTo('/pages/store/productEdit?id=' + cardCaseId + '&name=' + this.info.caseName);
         },
         loginMethods() {
             this.loading = true;

+ 5 - 3
src/pages/orderdetails.vue

@@ -302,7 +302,7 @@ export default {
             this.$http
                 .get('/orderInfo/get/' + this.$mp.query.id)
                 .then(res => {
-                    console.log(res);
+                    // console.log(res);
                     this.hideLoading();
                     this.caseId = res.caseId;
                     this.status = res;
@@ -345,7 +345,8 @@ export default {
                     });
                 });
             // setTimeout(() => {
-            //     if (this.status.orderStatus == 'COMPETED' || this.status.orderStatus == 'SEND') {
+            // this.$nextTick(() => {
+            // if (this.status.orderStatus == 'COMPETED' || this.status.orderStatus == 'SEND') {
             // console.log(this.status.orderStatus);
             this.$http.get('/orderInfo/checkLogistic', { orderInfoId: this.$mp.query.id }).then(res => {
                 this.hideLoading();
@@ -361,7 +362,8 @@ export default {
                 this.stepsList = steps;
                 this.stepsShow = res.logistic.result.list[0];
             });
-            //     }
+            // }
+            // });
             // }, 1000);
         },
         again() {

+ 4 - 12
src/pages/store/productEdit.vue

@@ -252,7 +252,6 @@ export default {
                 .then(res => {
                     this.hideLoading();
                     this.actions = res.content;
-                    // console.log(this.actions);
                     this.sotrId = this.actions.find(item => {
                         return item.id;
                     });
@@ -408,7 +407,7 @@ export default {
                     this.imagesList.push({ ...file, url: res });
                     this.images = [...this.imagesList];
                     this.imageUrls.push(res);
-                    console.log(this.images);
+                    // console.log(this.images);
                 })
                 .catch(e => {
                     this.hideLoading();
@@ -455,17 +454,10 @@ export default {
                 });
                 return;
             }
-            // if (this.images.length == 0) {
-            //     wx.showToast({
-            //         icon: 'none',
-            //         title: '请添加图片'
-            //     });
-            //     return;
-            // }
-            if (this.form.groupDTOS.length == 0) {
+            if (this.imageUrls.length == 0) {
                 wx.showToast({
                     icon: 'none',
-                    title: '请添加卡包'
+                    title: '请添加图片'
                 });
                 return;
             }
@@ -480,7 +472,7 @@ export default {
                     }
                 })
                 .then(res => {
-                    console.log(res);
+                    // console.log(res);
                     this.id = res.id;
                     this.hideLoading();
                     this.form = {