Commit 363bb01f by 张立顺

fixbug

1 parent e4e03ee8
......@@ -103,11 +103,10 @@ Component({
let that = this
let { serviceMerchantId, type, warReportList, messageList } = this.data
let list = type[typeName]['list']
// console.log('list', this.data[list])
// return
let params = {
serviceMerchantId: '44211459',
serviceMerchantId: serviceMerchantId,
...type[typeName]
}
// console.log(Math.ceil(2.8))
......
......@@ -141,15 +141,15 @@ Component({
outputApi
.partnerMerchantTotal({ merchantId: userInfo.merchantId })
.then(result => {
// debugger
// console.log('result', result)
debugger
console.log('result', result)
let { dataList, yqMerchantIds } = result
const list = yqMerchantIds.reduce((list, item, index) => {
let obj = {}
obj.totalMoney = dataList[index]?.totalMoney || 0
obj.totalOrder = dataList[index]?.totalOrder || 0
obj.merchantName = dataList[index].merchantName
obj.merchantName = dataList[index]?.merchantName
obj.merchantId = item
obj.startInd =
dataList[index]?.sceneList.findIndex(item => {
......
......@@ -18,6 +18,7 @@ Component({
*/
methods: {
nav() {
// debugger
wx.$router.go('pages.index')
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!