bug修复
This commit is contained in:
parent
26e7bb4403
commit
a9f7adc541
|
|
@ -414,6 +414,11 @@ const onConfirm = () => {
|
||||||
cartList.value[activeIndex.value].devInfoVoList[goodsIndex.value].rentBeginTime =
|
cartList.value[activeIndex.value].devInfoVoList[goodsIndex.value].rentBeginTime =
|
||||||
leaseTime.value.join('-')
|
leaseTime.value.join('-')
|
||||||
} else {
|
} else {
|
||||||
|
console.log("xxxxxxxxxxxxx",cartList.value[activeIndex.value].devInfoVoList[goodsIndex.value].rentBeginTime)
|
||||||
|
if(cartList.value[activeIndex.value].devInfoVoList[goodsIndex.value].rentBeginTime==''){
|
||||||
|
showFailToast('请先选择租赁开始日期')
|
||||||
|
return
|
||||||
|
}
|
||||||
if (
|
if (
|
||||||
moment(leaseTime.value.join('-')).isBefore(
|
moment(leaseTime.value.join('-')).isBefore(
|
||||||
moment(
|
moment(
|
||||||
|
|
|
||||||
|
|
@ -6,11 +6,27 @@
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<van-search
|
<!-- <van-search
|
||||||
v-model="queryParams.keyWord"
|
v-model="queryParams.keyWord"
|
||||||
placeholder="请输入搜索关键词"
|
placeholder="请输入搜索关键词"
|
||||||
@blur="getList"
|
@blur="getList"
|
||||||
|
/> -->
|
||||||
|
<view style="display: flex; align-items: center;margin-bottom: 5px">
|
||||||
|
<van-field
|
||||||
|
v-model="queryParams.keyWord"
|
||||||
|
placeholder="请输入搜索关键词"
|
||||||
|
@keydown.enter="getList"
|
||||||
|
style="flex: 1; margin-bottom: 0;margin-left: 10px;"
|
||||||
/>
|
/>
|
||||||
|
<van-button
|
||||||
|
type="primary"
|
||||||
|
size="small"
|
||||||
|
@click="getList"
|
||||||
|
style="width: 50px; margin-left: 10px;"
|
||||||
|
>
|
||||||
|
查询
|
||||||
|
</van-button>
|
||||||
|
</view>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<scroll-view scroll-y :style="{ height: scrollHeight + 'px' }" @scrolltolower="loadMore">
|
<scroll-view scroll-y :style="{ height: scrollHeight + 'px' }" @scrolltolower="loadMore">
|
||||||
|
|
@ -102,6 +118,7 @@ const getList = async () => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// 滚动
|
// 滚动
|
||||||
const loadMore = () => {
|
const loadMore = () => {
|
||||||
console.log('loadMore')
|
console.log('loadMore')
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
<view style="display: flex; align-items: center;margin-bottom:10px">
|
<view style="display: flex; align-items: center;margin-bottom:10px">
|
||||||
<van-field
|
<van-field
|
||||||
v-model="orderQueryParams.keyWord"
|
v-model="orderQueryParams.keyWord"
|
||||||
placeholder="请输入搜索内容"
|
placeholder="请输入搜索关键词"
|
||||||
@keydown.enter="onSearch"
|
@keydown.enter="onSearch"
|
||||||
style="flex: 1; margin-bottom: 0;"
|
style="flex: 1; margin-bottom: 0;"
|
||||||
/>
|
/>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue