|
@@ -15,12 +15,12 @@
|
|
|
</view>
|
|
|
<view style="float: left;margin-left: 70rpx;">
|
|
|
<text @click="brand">{{$t('scancodeenter.tabs_b')}}</text>
|
|
|
- <view v-if="bottomb == true" style="width: 100%;height: 1rpx;background-color: #FFFFFF;border-radius: 10rpx;"></view>
|
|
|
+ <view v-if="bottomb == true" style="width: 100%;height: 1rpx;background-color: #FFFFFF;border-radius: 10rpx;"></view>
|
|
|
<view v-else></view>
|
|
|
</view>
|
|
|
<view style="float: left;margin-left: 70rpx;">
|
|
|
<text @click="time_s">{{$t('scancodeenter.tabs_c')}}</text>
|
|
|
- <view v-if="bottomc == true" style="width: 100%;height: 1rpx;background-color: #FFFFFF;border-radius: 10rpx;"></view>
|
|
|
+ <view v-if="bottomc == true" style="width: 100%;height: 1rpx;background-color: #FFFFFF;border-radius: 10rpx;"></view>
|
|
|
<view v-else></view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -76,7 +76,8 @@
|
|
|
<u-loadmore :status="status" :icon-type="iconType" :load-text="loadText" />
|
|
|
</view>
|
|
|
<u-action-sheet :list="list_a" @click="click" v-model="show" :mask-close-able="false" @close="close"></u-action-sheet>
|
|
|
- <u-calendar v-model="show_d" :toolTip="$t('scancodeenter.daterange')" :mode="mode" @change="time" :mask-close-able="false" :start-text="$t('scancodeenter.start')" :end-text="$t('scancodeenter.end')"></u-calendar>
|
|
|
+ <u-calendar v-model="show_d" :toolTip="$t('scancodeenter.daterange')" :mode="mode" @change="time" :mask-close-able="false"
|
|
|
+ :start-text="$t('scancodeenter.start')" :end-text="$t('scancodeenter.end')"></u-calendar>
|
|
|
</view>
|
|
|
</view>
|
|
|
</template>
|
|
@@ -147,12 +148,14 @@
|
|
|
},
|
|
|
inputbox(e) {
|
|
|
this.page = 1
|
|
|
- //
|
|
|
- //
|
|
|
+ this.bottoma = true
|
|
|
+ this.bottomb = false
|
|
|
+ this.bottomc = false
|
|
|
this.itemList = []
|
|
|
this.brandCode = null
|
|
|
this.beginDate = null
|
|
|
this.endDate = null
|
|
|
+ this.beginDate = null
|
|
|
this.content = e
|
|
|
if (this.itemList.length >= this.length) {
|
|
|
this.status = 'nomore';
|
|
@@ -320,13 +323,13 @@
|
|
|
}
|
|
|
}).then(res => {
|
|
|
//
|
|
|
- if(res.data.code == 500){
|
|
|
+ if (res.data.code == 500) {
|
|
|
uni.showToast({
|
|
|
icon: 'none',
|
|
|
title: res.data.msg,
|
|
|
position: "bottom"
|
|
|
})
|
|
|
- }else{
|
|
|
+ } else {
|
|
|
this.total = res.data.stock
|
|
|
this.length = res.data.count
|
|
|
this.itemList = this.itemList.concat(res.data.record)
|