wuhongyu 5 년 전
부모
커밋
40a9959be7
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      src/layout/market/context.vue
  2. 1 1
      src/layout/market/zhuanjia.vue

+ 1 - 1
src/layout/market/context.vue

@@ -151,7 +151,7 @@ export default {
           this.$message.error('缺少卖家信息,请联系卖家或管理员');
           return;
         } else {
-          obj.seller_id = this.detailInfo.uid;
+          obj.seller_id = this.detailInfo.userid;
           obj.seller_name = this.detailInfo.contact_user;
         }
         console.log(obj);

+ 1 - 1
src/layout/market/zhuanjia.vue

@@ -121,7 +121,7 @@ export default {
           obj.buyer_id = this.user.uid;
           obj.buyer_name = this.user.name;
         }
-        if (!this.zhuanjiainfo.userid) {
+        if (!this.zhuanjiainfo.id) {
           this.$message.error('缺少卖家信息,请联系卖家或管理员');
           return;
         } else {