修复bug
This commit is contained in:
parent
40c8b5725e
commit
9364edef73
|
@ -7,6 +7,15 @@ import request from "@/utils/request.js";
|
|||
export function microSeachBarCode(data) {
|
||||
return request.get('micro/seach_bar_code', data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 添加商品库审核
|
||||
*
|
||||
*/
|
||||
export function microProductAdd(data) {
|
||||
return request.post('micro/product_add', data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取收款二维码
|
||||
* @returns {*}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -513,7 +513,13 @@
|
|||
// 获取品牌
|
||||
this.brand = (await categoryBrandlist(this.merId)).data;
|
||||
// 获取平台分类
|
||||
this.platformClassificationData = (await categoryList(this.merId)).data;
|
||||
let { data } = await categoryList(this.merId);
|
||||
data.forEach((item1)=>{
|
||||
item1.children.forEach((item2)=>{
|
||||
item2.children = null;
|
||||
})
|
||||
})
|
||||
this.platformClassificationData = data;
|
||||
// 数据回显
|
||||
},
|
||||
//获取送货方式信息
|
||||
|
|
|
@ -716,13 +716,6 @@
|
|||
// this.getAgreement();
|
||||
let _this = this
|
||||
this.textareaStatus = true;
|
||||
if (this.isLogin && this.toPay == false && !this.orderPay) {
|
||||
this.getaddressInfo();
|
||||
this.$nextTick(function() {
|
||||
this.$refs.addressWindow.getAddressList();
|
||||
this.getUserInfo()
|
||||
})
|
||||
}
|
||||
uni.setStorage({
|
||||
key: 'invoice_Data',
|
||||
data: {},
|
||||
|
@ -742,6 +735,13 @@
|
|||
uni.$off('handClick');
|
||||
})
|
||||
that.invoice.invoice = false
|
||||
if (this.isLogin && this.toPay == false && !this.orderPay) {
|
||||
this.getaddressInfo();
|
||||
this.$nextTick(function() {
|
||||
this.$refs.addressWindow.getAddressList();
|
||||
this.getUserInfo()
|
||||
})
|
||||
}
|
||||
},
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
|
@ -1187,12 +1187,16 @@
|
|||
if (that.addressInfo.real_name) {
|
||||
that.textareaStatus = false;
|
||||
that.address.address = true;
|
||||
that.pagesUrl = '/pages/users/user_address/index?cartId=' + this.cartId + '&pinkId=' + this
|
||||
.pinkId + '&couponId=' + this.couponId;
|
||||
// that.pagesUrl = '/pages/users/user_address/index?cartId=' + this.cartId + '&pinkId=' + this
|
||||
// .pinkId + '&couponId=' + this.couponId;
|
||||
that.pagesUrl = '/pages/users/user_address_list/index'
|
||||
} else {
|
||||
uni.navigateTo({
|
||||
url: `/pages/users/user_address/index?cartId=${this.cartId}`,
|
||||
});
|
||||
// uni.navigateTo({
|
||||
// url: `/pages/users/user_address/index?cartId=${this.cartId}`,
|
||||
// });
|
||||
uni.navigateTo({
|
||||
url: `pages/users/user_address_list/index`,
|
||||
});
|
||||
}
|
||||
},
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue