Commit dba24ac5 authored by xiejb's avatar xiejb

高级搜索 添加删除功能

parent 18b9039f
......@@ -126,6 +126,7 @@ export default {
if (val) {
this.postDataList = []
this.checkedList = []
this.isAllChecked = false
this.choosedPost = JSON.parse(JSON.stringify(this.customer))
// this.checked = !this.customer.comPartyId ? '' : this.customer.comPartyId
// console.log(this.checked)
......@@ -268,7 +269,11 @@ export default {
this.postDataList = this.postDataList.concat(this.postDataListAction(rt.data))
// console.log('222222')
}
// _this.postDataListSetAction(rt.data)
if (this.choosedPost.length === this.postDataList.length) {
this.isAllChecked = true
} else {
this.isAllChecked = false
}
// 重置刷新提示
_this.isRefreshing = false
// 重置加载更多提示
......
......@@ -20,8 +20,7 @@
<div class="title font-bold font-16"><span style="color: red;">* </span>货主</div>
</template>
<div @click="showPost('consignor')" v-if="moreSearchInfo.consignor.length === 0" style="background-color: #EFF5F9;" contenteditable="false" placeholder="请选择货主" class="inputInfo">{{consignor}}</div>
<div v-for="(item,index) in moreSearchInfo.consignor" :key="index" @click="showPost('consignor')"
style="background-color: #EFF5F9;overflow-y:hidden" contenteditable="false" placeholder="请选择货主" class="inputInfo">
<div v-for="(item,index) in moreSearchInfo.consignor" :key="index" @click="showPost('consignor')" contenteditable="false" placeholder="请选择货主" class="nom inputInfo">
{{consignorInfoStitching(item)}}</div>
</van-collapse-item>
</van-collapse>
......@@ -275,6 +274,10 @@ export default {
}
},
methods: {
// 删除货主
deleteRepeat () {
},
changeData (event) {
let str = event.srcElement.innerHTML + ''
this.moreSearchInfo.orderNo = str
......@@ -592,7 +595,7 @@ export default {
overflow-x: hidden;
overflow-y: auto;
.high-info{
margin: 0PX 15PX;
margin: 0PX 10PX;
font-size: 14PX;
/deep/ .van-cell{
padding: 5px 0px;
......
This diff is collapsed.
......@@ -32,7 +32,7 @@
<script>
import myOrderList from './myOrderList.vue'
// import HighSearch from './components/HighSearch.vue'
import HighSearch from './components/HighSearchNew.vue'
import HighSearch from './components/HighSearchNewDelete.vue'
import {getEmployeeOrgQueryList, getConsignorSetList} from '@/api/common'
import {getFormateDate} from '@/utils/common'
import { bridge } from "@/utils";
......
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