Commit aacc5724 authored by 李智书's avatar 李智书

Merge branch 'v_c_application_feature_1031' into 'develop'

V c application feature 1031

See merge request !28
parents 2aaee418 3d413275
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<view class="store_data" v-if="!isperiod"> <view class="store_data" v-if="!isperiod">
<view class="rowboxh"> <view class="rowboxh">
<view class="rowl" @tap="selectStore"> <view class="rowl" @tap="selectStore">
<view class="rowltxt2">{{StoreInfo_['storeName']||'全部门店'}}</view> <view class="rowltxt2" style="max-width: 219rpx; white-space: nowrap; overflow-x: clip;text-overflow: ellipsis;">{{StoreInfo_['storeName']||'全部门店'}}</view>
<image :class="showPicker?'xiaframes':'xia'" style="margin-left: 16rpx;" <image :class="showPicker?'xiaframes':'xia'" style="margin-left: 16rpx;"
:src="ImgUrl+'xzf/h5/xia.png'" mode="aspectFit"></image> :src="ImgUrl+'xzf/h5/xia.png'" mode="aspectFit"></image>
</view> </view>
......
...@@ -10,7 +10,9 @@ ...@@ -10,7 +10,9 @@
<view class="store_data" v-if="!isperiod"> <view class="store_data" v-if="!isperiod">
<view class="rowboxh"> <view class="rowboxh">
<view class="rowl" @tap="selectStore"> <view class="rowl" @tap="selectStore">
<view class="rowltxt2">{{StoreInfo_['storeName']||'全部门店'}}</view> <view class="rowltxt2"
style="max-width: 219rpx; white-space: nowrap; overflow-x: clip;text-overflow: ellipsis;">
{{StoreInfo_['storeName']||'全部门店'}}</view>
<image :class="showPicker?'xiaframes':'xia'" style="margin-left: 16rpx;" <image :class="showPicker?'xiaframes':'xia'" style="margin-left: 16rpx;"
:src="ImgUrl+'xzf/h5/xia.png'" mode="aspectFit"></image> :src="ImgUrl+'xzf/h5/xia.png'" mode="aspectFit"></image>
</view> </view>
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
<van-picker title="门店选择" show-toolbar :columns="stores" @confirm="onConfirmStore" <van-picker title="门店选择" show-toolbar :columns="stores" @confirm="onConfirmStore"
@cancel="onCancelStore" @change="onChangeStore"> @cancel="onCancelStore" @change="onChangeStore">
<template #option="option"> <template #option="option">
<view class=""> <view class="" style="white-space: nowrap; text-overflow: ellipsis; width: 100%;text-align: center;">
{{option.storeName}} {{option.storeName}}
</view> </view>
</template> </template>
...@@ -197,7 +197,7 @@ ...@@ -197,7 +197,7 @@
console.warn(item, index) console.warn(item, index)
uni.setStorageSync("details", item) uni.setStorageSync("details", item)
uni.navigateTo({ uni.navigateTo({
url: "../transactionDetails/transactionDetails", url: `../transactionDetails/transactionDetails?starttime=${this.starttime}&endtime=${this.endtime}`,
success: () => { success: () => {
loading.clear(); loading.clear();
} }
...@@ -220,7 +220,7 @@ ...@@ -220,7 +220,7 @@
}, },
onCancelStore() { onCancelStore() {
this.selectStore() this.showPicker = false
}, },
// 选择门店 // 选择门店
selectStore() { selectStore() {
......
...@@ -126,6 +126,10 @@ ...@@ -126,6 +126,10 @@
} }
}, },
onLoad: function(options) { onLoad: function(options) {
if (options['endtime'] && options['starttime']) {
this.starttime = options['starttime']
this.endtime = options['endtime']
}
this.DeviceInfo() this.DeviceInfo()
this.DeviceFlows() this.DeviceFlows()
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment