|
|
@@ -16,6 +16,7 @@ Component({
|
|
|
}
|
|
|
},
|
|
|
data: {
|
|
|
+ active: 0,
|
|
|
"id": 20231010133804,
|
|
|
tabs: ['订单', '出货', '开票', '回款'],
|
|
|
dateTypes: ["本年", "本季", "本月"],
|
|
|
@@ -69,7 +70,7 @@ Component({
|
|
|
res.data = res.data.map(v => {
|
|
|
const colors = ['#F56C6C', '#EF8E51', '#FFC148', '#999999'];
|
|
|
v.color = colors[v.rowindex - 1] || colors[3];
|
|
|
- v.amount = CNY(v.amunt)
|
|
|
+ v.amount = CNY(v.amount)
|
|
|
v.outamount = CNY(v.outamount)
|
|
|
v.taxincludedamount = CNY(v.taxincludedamount)
|
|
|
v.writeoffamount = CNY(v.writeoffamount)
|
|
|
@@ -90,7 +91,6 @@ Component({
|
|
|
changeDate({
|
|
|
detail
|
|
|
}) {
|
|
|
- console.log("detail", detail)
|
|
|
this.setData({
|
|
|
"content.dateType": detail.dateType,
|
|
|
"content.where.begdate": detail.begdate || "",
|
|
|
@@ -112,7 +112,8 @@ Component({
|
|
|
let name = e.detail.name
|
|
|
if (name == this.data.id) return;
|
|
|
this.setData({
|
|
|
- id: name
|
|
|
+ id: name,
|
|
|
+ active: e.detail.index
|
|
|
})
|
|
|
this.getList(true);
|
|
|
}
|