YY 2 éve
szülő
commit
13d4a96082

+ 1 - 1
src/views/selfShop/message/index.vue

@@ -167,7 +167,7 @@ export default {
         let data = { _id: res.data.room, customer: this.customer, shop: this.shop };
         this.toClose();
         this.search();
-        if (this.customer_id) this.searchDetail(data);
+        if (this.customer_id) this.searchDetail();
         if (!this.customer_id) this.toView(data);
       }
     },

+ 2 - 1
src/views/selfShop/sales/index.vue

@@ -96,7 +96,7 @@ export default {
     // 查询
     async search({ skip = 0, limit = this.$limit, ...info } = {}) {
       if (this.$route.query.id) {
-        let data = { data: { id: this.$route.query.id } };
+        let data = { data: { _id: this.$route.query.id } };
         this.toExam(data);
       } else {
         info.shop = this.user.shop.id;
@@ -112,6 +112,7 @@ export default {
       this.loadings = false;
     },
     toExam({ data }) {
+      console.log(data);
       this.$set(this, `id`, data._id);
       this.$set(this, `view`, 'order');
     },