Fix:5882 【商城小程序】【商户入驻-特产供应商/文玩供应商】填写特产供应商的基本信息资料,文玩供应商的基本信息会被自动同步填写成一模一样的(测试用户ID:5838 配)
This commit is contained in:
+2
-2
@@ -17,8 +17,8 @@ export function getShopData(params) {
|
|||||||
|
|
||||||
// 查看商户申请
|
// 查看商户申请
|
||||||
// 1-特产供应商 2-店铺 3-文玩供应商
|
// 1-特产供应商 2-店铺 3-文玩供应商
|
||||||
export function getShopInfo() {
|
export function getShopInfo(params) {
|
||||||
return request.get("/merchantApply/info", {}, {login: true})
|
return request.get("/merchantApply/info", params, {login: true})
|
||||||
}
|
}
|
||||||
|
|
||||||
// 4-采购批发商
|
// 4-采购批发商
|
||||||
|
|||||||
@@ -904,7 +904,11 @@ export default {
|
|||||||
},
|
},
|
||||||
initInfo() {
|
initInfo() {
|
||||||
// 是否缺少参数区分文玩和特产?
|
// 是否缺少参数区分文玩和特产?
|
||||||
getShopInfo().then((res) => {
|
// 2026-08-25 BUG 5882 确实需要区分参数
|
||||||
|
const params = {
|
||||||
|
subType: this.pageType
|
||||||
|
}
|
||||||
|
getShopInfo(params).then((res) => {
|
||||||
this.showUpload = true
|
this.showUpload = true
|
||||||
const {data} = res
|
const {data} = res
|
||||||
// console.log(res, 'initInfo--------');
|
// console.log(res, 'initInfo--------');
|
||||||
|
|||||||
Reference in New Issue
Block a user