Commit 39309a99 by chenwq

fix: 修正门店列表API方法名和返回值处理

修复scrm.api.shopmall.points.order.merchant.lis拼写错误为list
调整getCurMerList返回结果直接使用res而非res.list
1 parent 9b3d931c
......@@ -97,7 +97,7 @@ const goodsUpdatePoinnt = params => {
}
// 门店列表
const getCurMerList = params => {
params.method = `scrm.api.shopmall.points.order.merchant.lis`
params.method = `scrm.api.shopmall.points.order.merchant.list`
return http({
url,
data: params,
......
......@@ -301,7 +301,7 @@ export default {
getCurMerList() {
this.$apis.platformGoods.getCurMerList({ pageSize: 9999, currentPage: 1 }).then(res => {
console.log(res)
this.orderFormData[3].optionList = res.list
this.orderFormData[3].optionList = res
this.orderFormData[3].optionList.unshift({
merchantId: '',
merchantName: '全部'
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!