Commit 97845125 by zhangmeng

1

parent 0f7a2d6a
......@@ -195,6 +195,10 @@
border-radius: 4px;
}
.no-wrap {
white-space: nowrap;
}
/* 左侧菜单 */
......
......@@ -18,7 +18,7 @@
<div class="singelinfo-cost">
<div class="singelinfo-costitem"><p>{{ singleInfo.costFee || 0 }}</p><p>消费总额</p></div>
<div class="singelinfo-costitem"><p>{{ singleInfo.costTimes || 0 }}</p><p>消费次数</p></div>
<div class="singelinfo-costitem"><p>{{ singleInfo.lastCostTime}}</p><p>最近消费</p></div>
<div class="singelinfo-costitem"><p class="no-wrap">{{ singleInfo.lastCostTime || '--'}}</p><p>最近消费</p></div>
</div>
</div>
</div>
......@@ -41,6 +41,7 @@
</template>
<script>
import {formateDateTimeByType} from '@/utils/index.js';
import {getMemberInfo} from '@/service/api/mallApi.js';
export default {
......
......@@ -231,6 +231,7 @@ export default {
let list = [];
let flag = false;
let arr = [];
console.log(JSON.stringify(this.timeRangeList))
this.timeRangeList.forEach(v => {
if (!v.timeRange || !v.timeRange[0]) {
flag = true;
......@@ -243,6 +244,7 @@ export default {
this.$tips({ type: 'warning', message: '部分时段未填写完整' });
return;
}
// list.sort((a,b) => {a.timeRange[0] - b.timeRange[0]})
// 如果数组为1的话也要传 #分割
if (list.length === 1) {
params.timeZones = list[0] + '#';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment