diff --git a/components/addInvoicing/index.vue b/components/addInvoicing/index.vue
index 0eeb1b2..511dc88 100644
--- a/components/addInvoicing/index.vue
+++ b/components/addInvoicing/index.vue
@@ -26,7 +26,8 @@
发票抬头
-
+
+
diff --git a/pages/gather/gather.vue b/pages/gather/gather.vue
index c7e7726..f0f7b98 100644
--- a/pages/gather/gather.vue
+++ b/pages/gather/gather.vue
@@ -103,7 +103,7 @@
-
+
@@ -230,7 +230,7 @@
that.userInfoData = res.data;
this.mer_id = res.data.service.mer_id
if (!res.data.mer_info) {
- that.$set(this, 'jurisdiction', true);
+ that.$set(this, 'jurisdiction', false);
}
});
}
diff --git a/pages/goods_details/index.vue b/pages/goods_details/index.vue
index 2ea1be5..60b59a7 100644
--- a/pages/goods_details/index.vue
+++ b/pages/goods_details/index.vue
@@ -894,6 +894,7 @@
//如果没有属性,赋值给商品默认库存
if (productSelect === undefined && !this.attr.productAttr.length)
productSelect = this.attr.productSelect;
+ console.log(productSelect);
//无属性值即库存为0;不存在加减;
if (productSelect === undefined) return;
let stock = productSelect.stock || 0;
@@ -904,11 +905,11 @@
this.$set(this.attr.productSelect, "cart_num", stock);
this.$set(this, "cart_num", stock);
}
- if (num.cart_num > this.storeInfo.once_max_count && this.storeInfo.once_max_count != 0) {
+ if (num.cart_num > productSelect.stock) {
this.$set(this.attr.productSelect, "cart_num", this.storeInfo.once_max_count);
this.$set(this, "cart_num", this.storeInfo.once_max_count);
return this.$util.Tips({
- title: "单次购买件数不能超过" + this.storeInfo.once_max_count + "件!"
+ title: "单次购买件数不能超过" + productSelect.stock + "件!"
});
}
} else {
diff --git a/pages/nongKe/cpns/goodsPopup.vue b/pages/nongKe/cpns/goodsPopup.vue
index b5c5156..c64d8a8 100644
--- a/pages/nongKe/cpns/goodsPopup.vue
+++ b/pages/nongKe/cpns/goodsPopup.vue
@@ -47,12 +47,12 @@
};
},
onLoad() {
-
},
methods: {
addor(item, index) {
this.info.num += item;
if (this.info.num <= 0) {
+ console.log(goods_info);
this.info.num = 1;
}
},
diff --git a/pages/nongKe/gather/select_warehouse.vue b/pages/nongKe/gather/select_warehouse.vue
index 9e97034..46831df 100644
--- a/pages/nongKe/gather/select_warehouse.vue
+++ b/pages/nongKe/gather/select_warehouse.vue
@@ -183,7 +183,7 @@
if (type === 1) {
if (this.stype == 1) {
uni.navigateTo({
- url: '/pages/product/addGoods/index'
+ url: `/pages/product/addGoods/index?mer_id=${this.mer_id}`
});
return;
}
diff --git a/pages/product/addGoods/index.vue b/pages/product/addGoods/index.vue
index 5ba3b6e..40d52a3 100644
--- a/pages/product/addGoods/index.vue
+++ b/pages/product/addGoods/index.vue
@@ -1,825 +1,869 @@
-
-
-
-
- 商品编码
-
-
-
-
-
-
- {{ setFormData.store_name.length }}
- 0
- /60
-
-
-
- 建议:图片尺寸为750*750px
-
-
-
-
-
-
-
-
-
-
-
- 添加图片
-
-
-
+
+
+
+
+ 商品编码
+
+
+
+
+
+
+ {{ setFormData.store_name.length }}
+ 0
+ /60
+
+
+
+ 建议:图片尺寸为750*750px
+
+
+
+
+
+
+
+
+
+
+
+ 添加图片
+
+
+
-
-
- 商品简介
-
- {{ setFormData.store_info.length }}
- 0
- /200
-
-
-
-
-
-
+
+
+ 商品简介
+
+ {{ setFormData.store_info.length }}
+ 0
+ /200
+
+
+
+
+
+
-
- 关键字
-
-
-
+
+ 关键字
+
+
+
-
-
-
+
+
+
+ 下一步
+
+
-
-
-
-
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
-
-
+
+
+
+
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/product/addGoods/singleSpecification.vue b/pages/product/addGoods/singleSpecification.vue
index a9c26ce..ad871b0 100644
--- a/pages/product/addGoods/singleSpecification.vue
+++ b/pages/product/addGoods/singleSpecification.vue
@@ -105,6 +105,7 @@
}
},
+
watch: {
singleSpecification: {
handler(val) {
@@ -125,6 +126,12 @@
})
}
},
+ // beforeDestroy() {
+ // console.log('123');
+ // uni.removeStorage({
+ // key: 'singleSpecification'
+ // });
+ // },
methods: {
selectMoreThan() {
this.formList = this.formList.concat(this.moreThanList);
diff --git a/pages/short_video/nvueSwiper/index.nvue b/pages/short_video/nvueSwiper/index.nvue
index 7f25313..6dfc652 100644
--- a/pages/short_video/nvueSwiper/index.nvue
+++ b/pages/short_video/nvueSwiper/index.nvue
@@ -87,7 +87,7 @@
-
@@ -203,7 +203,8 @@
+ :style="'width: '+ windowWidth +'px; height: '+ windowHeight +'px;'" :refresher-triggered="isTriggered"
+ @scrolltolower="getGoods()">
@@ -320,7 +321,7 @@
}, mapGetters(['isLogin', 'uid'])),
data() {
return {
- isTriggered:false,
+ isTriggered: false,
imgHost: HTTP_REQUEST_URL,
videoID: 0,
pinlunNum: 0,
@@ -390,8 +391,8 @@
page: 1,
limit: 5
},
- communityId:'',
- Listcount:'',
+ communityId: '',
+ Listcount: '',
loadMore: true,
}
},
@@ -427,6 +428,7 @@
}
},
onLoad(options) {
+ console.log(options);
this.getOptions(options);
this.videoID = options.id;
this.isUser = options.user == 1 ? true : false;
@@ -516,7 +518,7 @@
} = await graphicLstApi(this.where)
this.cateGoods.push(...data.list)
this.where.page++
- if(data.list.length < this.where.limit){
+ if (data.list.length < this.where.limit) {
this.loadMore = false
}
},
@@ -700,7 +702,7 @@
animationfinish(event) {
let that = this
if (!that.loadVideo || !that.loadMore) return
- if (this.k == this.dataList.length - 1 && this.currentNav === 1) {
+ if (this.k == this.dataList.length - 1 && this.currentNav == 1) {
that.loadVideo = false
this.get()
}
@@ -730,10 +732,10 @@
duration: 2000
});
}) :
- videoList({
+ graphicLstApi({
page: that.page,
limit: that.limit,
- id: that.videoID
+ category_id: -1
}).then(res => {
that.videoData(res.data.list)
if (res.data.list.length < that.limit) {
@@ -746,7 +748,7 @@
duration: 2000
});
})
- that.loadVideo = true
+ that.loadVideo = true
},
getFocusList() {
let that = this;
diff --git a/pages/users/browsingHistory/index.vue b/pages/users/browsingHistory/index.vue
index 9cafaca..66c42b0 100644
--- a/pages/users/browsingHistory/index.vue
+++ b/pages/users/browsingHistory/index.vue
@@ -331,11 +331,11 @@