diff --git a/App.vue b/App.vue
index e2d92bf..5f1dfab 100644
--- a/App.vue
+++ b/App.vue
@@ -219,7 +219,6 @@
-
},
onShow() {
@@ -420,7 +419,7 @@
this.setOpenShare(res.data);
// #endif
}).catch(err => {});
- }
+ },
},
onHide: function() {
//console.log('App Hide')
diff --git a/components/WaterfallsFlowItem/WaterfallsFlowItemo.vue b/components/WaterfallsFlowItem/WaterfallsFlowItemo.vue
index 3d278f7..4bf5e29 100644
--- a/components/WaterfallsFlowItem/WaterfallsFlowItemo.vue
+++ b/components/WaterfallsFlowItem/WaterfallsFlowItemo.vue
@@ -177,7 +177,7 @@
.price {
margin-left: 21rpx;
- margin-bottom: 10rpx;
+ // margin-bottom: 10rpx;
color: #F84221;
font-size: 44rpx;
font-weight: 600;
diff --git a/components/addInvoicing/index.vue b/components/addInvoicing/index.vue
index 511dc88..74ae59a 100644
--- a/components/addInvoicing/index.vue
+++ b/components/addInvoicing/index.vue
@@ -1,5 +1,5 @@
-
+ {}">
选择发票
- 规格选中
-
- {{item||'默认'}}
-
+
+ {{att.attr_name}}
+
+
+ {{item.attr}}
+
+
+
购买数量
@@ -45,7 +51,7 @@
- 商品库存 {{(sku[sku_key] && sku[sku_key].stock)||change.stock}}
+ 商品库存 {{(sku[changeSkuKey] && sku[changeSkuKey].stock)||change.stock}}
@@ -65,9 +71,16 @@
+
+
\ No newline at end of file
diff --git a/pages/store/settled/index.vue b/pages/store/settled/index.vue
index 4a64586..761b331 100644
--- a/pages/store/settled/index.vue
+++ b/pages/store/settled/index.vue
@@ -648,7 +648,7 @@
`${this.business[0][this.index2[0]].name} ${this.business[1][this.index2[1]].name} ${this.business[2][this.index2[2]].name}`
this.area_id = this.business[0][this.index2[0]].code
this.street_id = this.business[1][this.index2[1]].code
-
+ if(this.merchantData.mer_type==12) return ; //市级供应链不需要查询镇农科公司
merstreet({
street_code: this.street_id
}).then((res) => {
@@ -1046,7 +1046,7 @@
});
if (!this.mer_storeType) return that.$util.Tips({
- title: '请选择商户类型'
+ title: '请选择店铺类型'
})
if (!this.business_name) return that.$util.Tips({
title: '请选择店铺所在地'
diff --git a/pages/user/index.vue b/pages/user/index.vue
index 0414d08..91e3c40 100644
--- a/pages/user/index.vue
+++ b/pages/user/index.vue
@@ -249,7 +249,8 @@
setVisit
} from '@/api/user.js';
import {
- getVersion
+ getVersion,
+ getconfig
} from "@/api/public";
import {
orderData
@@ -437,6 +438,7 @@
let curRoute = routes[routes.length - 1].route
this.activeRouter = '/' + curRoute
this.getNav();
+ this.getConfigData();
if (that.isLogin) {
this.getUserInfo();
this.orderNum();
@@ -639,7 +641,6 @@
that.filterMenus(item)
that.personalMenu.push(item)
})
-
that.imgUrls = res.data.banner
});
},
@@ -678,6 +679,13 @@
this.openAuto()
}
},
+ // 获取配置
+ getConfigData() {
+ getconfig().then(res => {
+ uni.$emit('update', res.data)
+ this.$store.commit('GLOBAL_DATA', res.data);
+ }).catch(err => {});
+ },
}
}
diff --git a/pages/users/order_list/index.vue b/pages/users/order_list/index.vue
index dffbc8b..7acf0c2 100644
--- a/pages/users/order_list/index.vue
+++ b/pages/users/order_list/index.vue
@@ -294,7 +294,7 @@
-
+
diff --git a/pages/users/order_list/indexCopy.vue b/pages/users/order_list/indexCopy.vue
index 0ea1728..c8b06fa 100644
--- a/pages/users/order_list/indexCopy.vue
+++ b/pages/users/order_list/indexCopy.vue
@@ -331,7 +331,7 @@
-
+
diff --git a/pages/users/order_list/order.vue b/pages/users/order_list/order.vue
index 59c3119..072b2d9 100644
--- a/pages/users/order_list/order.vue
+++ b/pages/users/order_list/order.vue
@@ -293,7 +293,7 @@
-
+
diff --git a/pages/users/order_list/relase.vue b/pages/users/order_list/relase.vue
index 495fcae..d605485 100644
--- a/pages/users/order_list/relase.vue
+++ b/pages/users/order_list/relase.vue
@@ -335,7 +335,7 @@
-
+
diff --git a/pages/users/order_list/search.vue b/pages/users/order_list/search.vue
index c8d9063..bece705 100644
--- a/pages/users/order_list/search.vue
+++ b/pages/users/order_list/search.vue
@@ -224,7 +224,7 @@
-
+
diff --git a/pages/users/user_invoice_form/index.vue b/pages/users/user_invoice_form/index.vue
index d38bd44..e62aa5e 100644
--- a/pages/users/user_invoice_form/index.vue
+++ b/pages/users/user_invoice_form/index.vue
@@ -99,7 +99,7 @@
-
+
diff --git a/pages/users/user_invoice_list/index.vue b/pages/users/user_invoice_list/index.vue
index 2ae6333..ac6d8b1 100644
--- a/pages/users/user_invoice_list/index.vue
+++ b/pages/users/user_invoice_list/index.vue
@@ -60,7 +60,7 @@
-
+
diff --git a/pages/users/user_invoicing/index.vue b/pages/users/user_invoicing/index.vue
index 61fbe16..8c48d0d 100644
--- a/pages/users/user_invoicing/index.vue
+++ b/pages/users/user_invoicing/index.vue
@@ -104,7 +104,7 @@
-
+
diff --git a/pages/users/user_return_list/index.vue b/pages/users/user_return_list/index.vue
index a620ac8..5056dd1 100644
--- a/pages/users/user_return_list/index.vue
+++ b/pages/users/user_return_list/index.vue
@@ -26,7 +26,7 @@
{{loadTitle}}
-
+
diff --git a/pages/users/user_spread_code/index.vue b/pages/users/user_spread_code/index.vue
index 2b0bb2d..cff52b4 100644
--- a/pages/users/user_spread_code/index.vue
+++ b/pages/users/user_spread_code/index.vue
@@ -33,7 +33,7 @@
-
+
{
mask: true
})
else uni.showLoading({
- title: '初始化中...100%',
+ title: '初始化中...99%',
mask: true
})
}, 600)
@@ -65,7 +65,11 @@ const loadMP = async (id) => {
success(res) {
wgtFile = res.tempFilePath;
console.log('初始化完成', wgtFile);
- installMP();
+ setTimeout(()=>{
+ installMP();
+ clearInterval(timer);
+ timer = null;
+ }, 700)
},
fail(res) {
clearInterval(timer);
@@ -117,7 +121,7 @@ const loadMPx = async (id) => {
mask: true
})
else uni.showLoading({
- title: '初始化中...100%',
+ title: '初始化中...99%',
mask: true
})
}, 600)
@@ -127,7 +131,11 @@ const loadMPx = async (id) => {
success(res) {
wgtFile = res.tempFilePath;
console.log('初始化完成', wgtFile);
- installMP();
+ setTimeout(()=>{
+ installMP();
+ clearInterval(timer);
+ timer = null;
+ }, 700)
},
fail(res) {
clearInterval(timer);
@@ -178,7 +186,7 @@ const loadMPurl = async (e) => {
mask: true
})
else uni.showLoading({
- title: '初始化中...100%',
+ title: '初始化中...99%',
mask: true
})
}, 600)
@@ -187,7 +195,11 @@ const loadMPurl = async (e) => {
success(res) {
wgtFile = res.tempFilePath;
console.log('初始化完成', wgtFile);
- installMP();
+ setTimeout(()=>{
+ installMP();
+ clearInterval(timer);
+ timer = null;
+ }, 700)
},
fail(res) {
clearInterval(timer);
@@ -231,7 +243,7 @@ const loadMPdns = async (e) => {
mask: true
})
else uni.showLoading({
- title: '初始化中...100%',
+ title: '初始化中...99%',
mask: true
})
}, 600)
@@ -240,7 +252,11 @@ const loadMPdns = async (e) => {
success(res) {
wgtFile = res.tempFilePath;
console.log('初始化完成', wgtFile);
- installMP();
+ setTimeout(()=>{
+ installMP();
+ clearInterval(timer);
+ timer = null;
+ }, 700)
},
fail(res) {
clearInterval(timer);