Commit 79e22257 by 前端

Merge branch 'SASS+v4.24.0' into 'DJ_master'

上线后合并【Sass+v4.24.0】

See merge request !28
2 parents b5c2dbd5 6647f206
......@@ -17,7 +17,9 @@ export const fetchConfig = function(isEnv = true) {
// Object.assign(request, { timeout })
// return Promise.resolve(cfg)
// }
return new Http({ Headers: { refererurl: location.href }, request: { timeout: 30000 } }).get('https://oss-config.test.glsx.com.cn/mock/618f5cc91072f92988f05a26/services/config')
// return new Http({ Headers: { refererurl: location.href }, request: { timeout: 30000 } }).get('https://oss-config.test.glsx.com.cn/mock/618f5cc91072f92988f05a26/services/config')
return new Http({ Headers: { refererurl: location.href }, request: { timeout: 30000 } }).get('https://config-center-backend.glsx.com.cn/glsxAdmin/config?moduleUrl=services')
// return new Http({ Headers: { refererurl: location.href }, request: { timeout: 30000 } }).get('http://192.168.1.68:7001/glsxAdmin/config?moduleurl=services')
//return window.fetch('https://', {}).then(res => res.json())
// request({ url: 'https://oss-config.test.glsx.com.cn/mock/5be17454f31545347559d499/config/oss_commodity_center', method: 'get' })
}
......
......@@ -721,7 +721,6 @@ export default {
}
},
mounted() {
console.log(this.merchantId);
let openInfo = JSON.parse(localStorage.getItem('openInfo'))
let startDate = utils.dateFormat(openInfo.openDate)
let endDate = utils.dateFormat(new Date())
......@@ -969,6 +968,10 @@ export default {
item.paySuccessDate = utils.dateFormat(item.paySuccessDate, 'YYYY-MM-DD HH:mm:ss')
// item.payTypeName = item.payType == 1 ? '微信支付' : item.payType == 2 ? '线下收款' : 'POS机'
item.payTypeName = PAYTYPEOBJ[item.payType]
// 如果有虚拟对账成本virtualAccountCost则取virtualAccountCost,否则按照原有逻辑
if(item.virtualAccountCost){
item.goodsCost = item.virtualAccountCost
}
return item
})
this.tableTotal = res.total
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!