Commit b4afa671 by 李伟康

提交

1 parent eabe4c1c
import { preReleaseAppId } from '~/config' import { preReleaseAppId } from '~/config'
const target = ['ip', 'dev', 'uat', 'prod', 'preRelease'] const target = ['ip', 'dev', 'uat', 'prod', 'preRelease']
let index = 2 let index = 4
/** /**
* *
......
...@@ -133,6 +133,7 @@ Page({ ...@@ -133,6 +133,7 @@ Page({
delete tem.id delete tem.id
} }
wx.p.api.equityApi.commodityMsg(tem).then(res => { wx.p.api.equityApi.commodityMsg(tem).then(res => {
wx.hideLoading()
res.goodsDetailList = res.goodsDetailList || [] res.goodsDetailList = res.goodsDetailList || []
let tempList = res.goodsDetailList.map((item, index) => { let tempList = res.goodsDetailList.map((item, index) => {
item.warrantyDate = new Date(item.warrantyDate).format('yyyy-MM-dd hh:mm:ss') item.warrantyDate = new Date(item.warrantyDate).format('yyyy-MM-dd hh:mm:ss')
...@@ -187,7 +188,7 @@ Page({ ...@@ -187,7 +188,7 @@ Page({
// }) // })
setTimeout(() => { setTimeout(() => {
wx.p.router.back(e => { wx.p.router.back(e => {
e.onLoad({ showToast: 1 }) if(e && e.onLoad ) e.onLoad({ showToast: 1 })
}) })
}, 500) }, 500)
return return
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!