修复bug

This commit is contained in:
weipengfei 2023-11-04 09:31:50 +08:00
parent 40c8b5725e
commit 9364edef73
4 changed files with 1083 additions and 716 deletions

View File

@ -7,6 +7,15 @@ import request from "@/utils/request.js";
export function microSeachBarCode(data) { export function microSeachBarCode(data) {
return request.get('micro/seach_bar_code', data); return request.get('micro/seach_bar_code', data);
} }
/**
* 添加商品库审核
*
*/
export function microProductAdd(data) {
return request.post('micro/product_add', data);
}
/** /**
* 获取收款二维码 * 获取收款二维码
* @returns {*} * @returns {*}

File diff suppressed because it is too large Load Diff

View File

@ -513,7 +513,13 @@
// //
this.brand = (await categoryBrandlist(this.merId)).data; 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;
// //
}, },
// //

View File

@ -716,13 +716,6 @@
// this.getAgreement(); // this.getAgreement();
let _this = this let _this = this
this.textareaStatus = true; this.textareaStatus = true;
if (this.isLogin && this.toPay == false && !this.orderPay) {
this.getaddressInfo();
this.$nextTick(function() {
this.$refs.addressWindow.getAddressList();
this.getUserInfo()
})
}
uni.setStorage({ uni.setStorage({
key: 'invoice_Data', key: 'invoice_Data',
data: {}, data: {},
@ -742,6 +735,13 @@
uni.$off('handClick'); uni.$off('handClick');
}) })
that.invoice.invoice = false 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) { if (that.addressInfo.real_name) {
that.textareaStatus = false; that.textareaStatus = false;
that.address.address = true; that.address.address = true;
that.pagesUrl = '/pages/users/user_address/index?cartId=' + this.cartId + '&pinkId=' + this // that.pagesUrl = '/pages/users/user_address/index?cartId=' + this.cartId + '&pinkId=' + this
.pinkId + '&couponId=' + this.couponId; // .pinkId + '&couponId=' + this.couponId;
that.pagesUrl = '/pages/users/user_address_list/index'
} else { } else {
uni.navigateTo({ // uni.navigateTo({
url: `/pages/users/user_address/index?cartId=${this.cartId}`, // url: `/pages/users/user_address/index?cartId=${this.cartId}`,
}); // });
uni.navigateTo({
url: `pages/users/user_address_list/index`,
});
} }
}, },
/** /**