add
This commit is contained in:
parent
c3c658671b
commit
0c6e085b65
|
@ -903,7 +903,6 @@
|
||||||
if (this.loadEndFlag) {
|
if (this.loadEndFlag) {
|
||||||
this.getUserInfo();
|
this.getUserInfo();
|
||||||
this.codelist();
|
this.codelist();
|
||||||
console.log('wcnmonshow')
|
|
||||||
} else {
|
} else {
|
||||||
this.isNewUser()
|
this.isNewUser()
|
||||||
console.log('1111111111')
|
console.log('1111111111')
|
||||||
|
@ -1404,7 +1403,6 @@
|
||||||
this.userid = res.data.uid
|
this.userid = res.data.uid
|
||||||
this.userInfoData = res.data;
|
this.userInfoData = res.data;
|
||||||
this.$store.commit('SET_USERINFO', res.data);
|
this.$store.commit('SET_USERINFO', res.data);
|
||||||
console.log('resdata', res.data)
|
|
||||||
this.isNewUser(res.data)
|
this.isNewUser(res.data)
|
||||||
this.merchantData.phone = res.data.phone;
|
this.merchantData.phone = res.data.phone;
|
||||||
if (res.data.mer_info.is_company == 0) !this.merchantData.company_name ? this.merchantData
|
if (res.data.mer_info.is_company == 0) !this.merchantData.company_name ? this.merchantData
|
||||||
|
|
|
@ -445,9 +445,13 @@
|
||||||
Modal('提交成功', '点击确定,前往商品列表页面').then(() => {
|
Modal('提交成功', '点击确定,前往商品列表页面').then(() => {
|
||||||
if (this.import == 1) {
|
if (this.import == 1) {
|
||||||
uni.$emit('importAttrValueOK', this.setFormData.import_id);
|
uni.$emit('importAttrValueOK', this.setFormData.import_id);
|
||||||
uni.navigateBack();
|
uni.redirectTo({
|
||||||
|
url: `/pages/product/list/index?mer_id=${this.mer_id}&type=6`
|
||||||
|
})
|
||||||
} else {
|
} else {
|
||||||
uni.navigateBack();
|
uni.redirectTo({
|
||||||
|
url: `/pages/product/list/index?mer_id=${this.mer_id}&type=6`
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
uni.navigateBack();
|
uni.navigateBack();
|
||||||
|
|
|
@ -333,9 +333,16 @@
|
||||||
this.loading = false
|
this.loading = false
|
||||||
this.loaded = false
|
this.loaded = false
|
||||||
this.productList = []
|
this.productList = []
|
||||||
|
this.getProductTitle()
|
||||||
this.getList(this.mer_id, false);
|
this.getList(this.mer_id, false);
|
||||||
uni.stopPullDownRefresh()
|
uni.stopPullDownRefresh()
|
||||||
},
|
},
|
||||||
|
onBackPress: function(e) {
|
||||||
|
uni.switchTab({
|
||||||
|
url: '/pages/index/index'
|
||||||
|
})
|
||||||
|
return true
|
||||||
|
},
|
||||||
onReachBottom() {
|
onReachBottom() {
|
||||||
if (this.status == 'nomore') return;
|
if (this.status == 'nomore') return;
|
||||||
this.status = 'loading';
|
this.status = 'loading';
|
||||||
|
|
Loading…
Reference in New Issue