xuqiang 4 лет назад
Родитель
Сommit
b7ff4b8c9b
3 измененных файлов с 11 добавлено и 5 удалено
  1. 3 1
      src/components/AllselloutInfo.vue
  2. 7 3
      src/pages/minePublish.vue
  3. 1 1
      src/pages/store/productEdit.vue

+ 3 - 1
src/components/AllselloutInfo.vue

@@ -244,7 +244,9 @@ export default {
             //     title: '敬请开放',
             //     icon: 'none'
             // });
-            // this.$http.post('orderInfo/send', { logisticNo: '' });
+            this.$http.post('orderInfo/send', { logisticNo: 'SF1102671764014', type: '', remark: '' }).then(res => {
+                console.log(res);
+            });
         }
     }
 };

+ 7 - 3
src/pages/minePublish.vue

@@ -26,7 +26,10 @@
                                 <span>{{ item.price }}</span>
                             </div>
                             <div class="button">
-                                <van-button type="primary" size="small" @click.stop="live(item.cardCaseId)"
+                                <van-button
+                                    type="primary"
+                                    size="small"
+                                    @click.stop="live(item.cardCaseId, item.caseName)"
                                     >管理拼箱</van-button
                                 >
                             </div>
@@ -91,8 +94,8 @@ export default {
         detail(cardCaseId) {
             this.navigateTo('/pages/details?id=' + cardCaseId);
         },
-        live(cardCaseId) {
-            this.navigateTo('/pages/store/productEdit?id=' + cardCaseId + '&name=' + this.info.caseName);
+        live(cardCaseId, caseName) {
+            this.navigateTo('/pages/store/productEdit?id=' + cardCaseId + '&name=' + caseName);
         },
         loginMethods() {
             this.loading = true;
@@ -149,6 +152,7 @@ export default {
             this.showLoading();
             return this.$http.post('/store/findStoreCases', data).then(res => {
                 this.list = res.caseInfo;
+                console.log(this.list);
                 this.list.forEach(item => {
                     item.endTime = dayjs(item.endTime, 'YYYY-MM-DD HH:mm:ss').diff(dayjs());
                 });

+ 1 - 1
src/pages/store/productEdit.vue

@@ -166,7 +166,7 @@ export default {
                 seriesId: '',
                 code: 1,
                 id: '',
-                postage: 10,
+                postage: '',
                 boxesCount: '',
                 boxPrice: '',
                 startTime: '',