update: 更新经营概况
This commit is contained in:
parent
447d9ab591
commit
7f89c108cf
|
@ -21,7 +21,7 @@
|
|||
<view class="box">
|
||||
<view v-for="(item, index) in gridList1" :key="index">
|
||||
<text v-if="item.name">{{ item.name }}:</text
|
||||
><text
|
||||
><text v-if="item.name"
|
||||
>{{ item.isBefore ? item.unit : "" }} {{ formatMoney(item.num) }}
|
||||
{{ item.isBefore ? "" : item.unit }}
|
||||
</text>
|
||||
|
@ -31,7 +31,8 @@
|
|||
<view class="box">
|
||||
<view v-for="(item, index) in gridList2" :key="index">
|
||||
<text v-if="item.name">{{ item.name }}:</text
|
||||
><text :class="item.isHighLight ? 'highLight' : ''"
|
||||
>
|
||||
<text :class="{'highLight': item.isHighLight || false}" v-if="item.name"
|
||||
>{{ item.isBefore ? item.unit : "" }} {{ formatMoney(item.num) }}
|
||||
{{ item.isBefore ? "" : item.unit }}
|
||||
</text>
|
||||
|
|
|
@ -84,11 +84,14 @@ const pageList: PageResult<StockCard> = reactive({
|
|||
pageSize: 10,
|
||||
});
|
||||
const resetPageList = () => {
|
||||
pageList.noMoreData = false;
|
||||
pageList.total = 0;
|
||||
pageList.list = [];
|
||||
pageList.pageNum = 1;
|
||||
pageList.pageSize = 10;
|
||||
const obj = {
|
||||
noMoreData: false,
|
||||
total: 0,
|
||||
list: [],
|
||||
pageNum: 1,
|
||||
pageSize: 10
|
||||
}
|
||||
Object.assign(pageList, obj)
|
||||
};
|
||||
const add = () => {
|
||||
uni.navigateTo({
|
||||
|
|
Loading…
Reference in New Issue