@ -3,7 +3,7 @@
<u-popup v-model="props.isShowSelectItem" mode="center" border-radius="14">
<view class="popup-title">选择备件</view>
<view class="popup">
<u-search :placeholder="props.searchPlaceholder" v-model="form1.searchName" @change="searchItem" clearabled="false"></u-search>
<u-search :placeholder="props.searchPlaceholder" v-model="form1.searchName" @search="searchItem" @custom="searchItem" clearabled="false"></u-search>
<scroll-view class="list" scroll-y="true" style="max-height: 800rpx" @scrolltolower="scrolltolower">
<view class="item" v-for="(item, index) in tableData" :key="index" @click="chooseItem(item)">
<u-checkbox v-model="item.checked" shape="circle" style="margin-top: 8rpx"></u-checkbox>
@ -104,7 +104,18 @@ watch(
}
)
watch(
() => props.singleColumnList,
(newValue, oldValue) => {
if (newValue) {
currentPage.value = 1
showTableData()
},
{
deep: true
const { proxy } = getCurrentInstance()
const repairOrderList = ref([])
const itemList = ref([])