tianyi 1 week ago
parent
commit
3a365a177a
  1. 43
      src/views/app/bill/current/current.vue

43
src/views/app/bill/current/current.vue

@ -103,12 +103,12 @@
},
{
title: "商家营收",
key: "BigDecimal",
key: "totalSettlementAmount",
width: 150,
},
{
title: "平台营收",
key: "BigDecimal",
key: "totalCommissionAmount",
width: 150,
},
{
@ -118,21 +118,7 @@
align: "center",
fixed: "right",
render: (h, params) => {
return h("div", [h(
"a", {
on: {
click: () => {
this.findAllRecord(params.row);
},
},
},
"确认"
),
h("Divider", {
props: {
type: "vertical",
},
}),
return h("div", [
h(
"a", {
on: {
@ -142,22 +128,7 @@
},
},
"详情"
),
h("Divider", {
props: {
type: "vertical",
},
}),
h(
"a", {
on: {
click: () => {
this.edit(params.row);
},
},
},
"修改"
),
)
]);
},
},
@ -178,13 +149,11 @@
},
getTime() {
const date = new Date();
//
// 24 * 60 * 60 * 1000 setDate
date.setDate(date.getDate() - 1);
const year = date.getFullYear();
// (getMonth 0-11 +1)0
const month = String(date.getMonth() + 1).padStart(2, '0');
// (getDate)0
const day = String(date.getDate()).padStart(2, '0');
// -- ::
return `${year}-${month}-${day}`;
},
allSelect(v){

Loading…
Cancel
Save