update: 经营概况优化
This commit is contained in:
parent
efc830622e
commit
66e4bfcb47
|
@ -22,7 +22,7 @@
|
|||
<view v-for="(item, index) in gridList1" :key="index">
|
||||
<text v-if="item.name">{{ item.name }}:</text
|
||||
><text v-if="item.name"
|
||||
>{{ item.isBefore ? item.unit : "" }} {{ formatMoney(item.num, 0) }}
|
||||
>{{ item.isBefore ? item.unit : "" }} {{ formatMoney(item.num, item.decimal) }}
|
||||
{{ item.isBefore ? "" : item.unit }}
|
||||
</text>
|
||||
</view>
|
||||
|
@ -33,7 +33,7 @@
|
|||
<text v-if="item.name">{{ item.name }}:</text
|
||||
>
|
||||
<text :class="{'highLight': item.isHighLight || false}" v-if="item.name"
|
||||
>{{ item.isBefore ? item.unit : "" }} {{ formatMoney(item.num, 0) }}
|
||||
>{{ item.isBefore ? item.unit : "" }} {{ formatMoney(item.num, item.decimal) }}
|
||||
{{ item.isBefore ? "" : item.unit }}
|
||||
</text>
|
||||
</view>
|
||||
|
@ -43,7 +43,7 @@
|
|||
<view v-for="(item, index) in gridList3" :key="index">
|
||||
<text>{{ item.name }}:</text
|
||||
><text :class="item.isHighLight ? 'highLight' : ''"
|
||||
>{{ item.isBefore ? item.unit : "" }} {{ formatMoney(item.num, 0)}}
|
||||
>{{ item.isBefore ? item.unit : "" }} {{ formatMoney(item.num, item.decimal)}}
|
||||
{{ item.isBefore ? "" : item.unit }}
|
||||
</text>
|
||||
</view>
|
||||
|
@ -117,6 +117,7 @@ const gridList1 = reactive([
|
|||
num: "",
|
||||
unit: "¥",
|
||||
isBefore: true,
|
||||
decimal: 2,
|
||||
},
|
||||
{
|
||||
name: "出货收入",
|
||||
|
@ -124,6 +125,7 @@ const gridList1 = reactive([
|
|||
num: "",
|
||||
unit: "¥",
|
||||
isBefore: true,
|
||||
decimal: 2,
|
||||
},
|
||||
{
|
||||
name: "其他收入",
|
||||
|
@ -131,6 +133,7 @@ const gridList1 = reactive([
|
|||
num: "",
|
||||
unit: "¥",
|
||||
isBefore: true,
|
||||
decimal: 2,
|
||||
},
|
||||
{},
|
||||
{
|
||||
|
@ -139,6 +142,7 @@ const gridList1 = reactive([
|
|||
num: "",
|
||||
unit: "¥",
|
||||
isBefore: true,
|
||||
decimal: 2,
|
||||
},
|
||||
{
|
||||
name: "收货支出",
|
||||
|
@ -146,6 +150,7 @@ const gridList1 = reactive([
|
|||
num: "",
|
||||
unit: "¥",
|
||||
isBefore: true,
|
||||
decimal: 2,
|
||||
},
|
||||
{
|
||||
name: "其他支出",
|
||||
|
@ -153,6 +158,7 @@ const gridList1 = reactive([
|
|||
num: "",
|
||||
unit: "¥",
|
||||
isBefore: true,
|
||||
decimal: 2,
|
||||
},
|
||||
{
|
||||
name: "杂费支出",
|
||||
|
@ -160,6 +166,7 @@ const gridList1 = reactive([
|
|||
num: "",
|
||||
unit: "¥",
|
||||
isBefore: true,
|
||||
decimal: 2,
|
||||
},
|
||||
{
|
||||
name: "运费支出",
|
||||
|
@ -167,6 +174,7 @@ const gridList1 = reactive([
|
|||
num: "",
|
||||
unit: "¥",
|
||||
isBefore: true,
|
||||
decimal: 2,
|
||||
},
|
||||
]);
|
||||
const gridList2 = reactive([
|
||||
|
|
Loading…
Reference in New Issue