diff --git a/buyer/src/components/footer/Footer.vue b/buyer/src/components/footer/Footer.vue index 12116fa1..ff1459bb 100644 --- a/buyer/src/components/footer/Footer.vue +++ b/buyer/src/components/footer/Footer.vue @@ -40,7 +40,7 @@
@@ -58,7 +58,8 @@ export default { [ '支付方式', '货到付款', '在线支付', '分期付款', '邮局汇款', '公司转账' ], [ '售后服务', '售后政策', '价格保护', '退款说明', '返修/退换货', '取消订单' ] ], - moreLink: ['关于我们', '联系我们', '联系客服', '商家帮助', '隐私政策'] // 更多链接 + moreLink: ['关于我们', '联系我们', '联系客服', '商家帮助', '隐私政策'], // 更多链接 + year: new Date().getFullYear() // 当前年份 }; }, methods: { diff --git a/buyer/src/components/goodsDetail/ShowGoodsDetail.vue b/buyer/src/components/goodsDetail/ShowGoodsDetail.vue index c52ac831..2d2aec3c 100644 --- a/buyer/src/components/goodsDetail/ShowGoodsDetail.vue +++ b/buyer/src/components/goodsDetail/ShowGoodsDetail.vue @@ -90,7 +90,7 @@ + { - if (params.row.distributionOrderStatus == 'COMPLETE_CASH') { - return h('div', '提现完成') - } else if (params.row.distributionOrderStatus == 'WAIT_BILL') { - return h('div', '待结算') - } else if (params.row.distributionOrderStatus == 'WAIT_CASH') { - return h('div', '待提现') - } - } + slot: "distributionOrderStatus", + width: 120, + }, - { title: "佣金金额", key: "rebateGrade", @@ -219,6 +212,34 @@ }, searchChange(val) { // 店铺搜索,键盘点击回调 this.getShopList(val) + }, + filterStatus (status) { // 过滤订单状态 + const arr = [ + {status: 'WAIT_BILL', title: '待结算'}, + {status: 'WAIT_CASH', title: '待提现'}, + {status: 'COMPLETE_CASH', title: '提现完成'}, + {status: 'CANCEL', title: '订单取消'}, + {status: 'REFUND', title: '退款'}, + ] + for (let i=0;i -