| | |
| | | openTip ? "关闭提示" : "开启提示" |
| | | }}</Button> |
| | | <Input |
| | | v-model="searchForm.carNo" |
| | | v-model="searchForm2.carNo" |
| | | suffix="ios-search" |
| | | @on-change="getDataList" |
| | | @on-change="getDataList2" |
| | | placeholder="输入车牌号搜索" |
| | | clearable |
| | | style="width: 250px" |
| | |
| | | order: "desc", // 默认排序方式 |
| | | key: "", |
| | | }, |
| | | searchForm2: { |
| | | // 搜索框初始化对象 |
| | | pageNumber: 1, // 当前页数 |
| | | pageSize: 10, // 页面大小 |
| | | sort: "createTime", // 默认排序字段 |
| | | order: "desc", // 默认排序方式 |
| | | key: "", |
| | | }, |
| | | addOilForm: { |
| | | status : 0 |
| | | }, |
| | |
| | | getDataList() { |
| | | this.loading = true; |
| | | getAddOilList(this.searchForm).then((res) => { |
| | | this.loading = false; |
| | | if (res.success) { |
| | | this.data = res.result.records; |
| | | this.total = res.result.total; |
| | | } |
| | | }); |
| | | }, |
| | | getDataList2() { |
| | | this.loading = true; |
| | | getAddOilList(this.searchForm2).then((res) => { |
| | | this.loading = false; |
| | | if (res.success) { |
| | | this.data = res.result.records; |
| | |
| | | this.init(); |
| | | }, |
| | | }; |
| | | </script> |
| | | </script> |
| | |
| | | openTip ? "关闭提示" : "开启提示" |
| | | }}</Button> |
| | | <Input |
| | | v-model="searchForm.name" |
| | | v-model="searchForm2.name" |
| | | suffix="ios-search" |
| | | @on-change="getDataList" |
| | | @on-change="getDataList2" |
| | | placeholder="输入配送地区搜索" |
| | | clearable |
| | | style="width: 250px" |
| | |
| | | modalTitle3: "", |
| | | carList:[], |
| | | searchForm: { |
| | | // 搜索框初始化对象 |
| | | pageNumber: 1, // 当前页数 |
| | | pageSize: 10, // 页面大小 |
| | | sort: "createTime", // 默认排序字段 |
| | | order: "desc", // 默认排序方式 |
| | | key: "", |
| | | }, |
| | | searchForm2: { |
| | | // 搜索框初始化对象 |
| | | pageNumber: 1, // 当前页数 |
| | | pageSize: 10, // 页面大小 |
| | |
| | | } |
| | | }); |
| | | }, |
| | | getDataList2() { |
| | | this.loading = true; |
| | | getArea(this.searchForm2).then((res) => { |
| | | this.loading = false; |
| | | if (res.success) { |
| | | this.data = res.result.records; |
| | | this.total = res.result.total; |
| | | } |
| | | }); |
| | | }, |
| | | getCustList() { |
| | | this.loading = true; |
| | | this.searchForm.pageNumber=1; |
| | |
| | | this.loading = true; |
| | | this.searchForm.areaId=areaId; |
| | | getAreaSection(this.searchForm).then((res) => { |
| | | this.loading = false; |
| | | if (res.success) { |
| | | this.data2 = res.result.records; |
| | | } |
| | | }); |
| | | }, |
| | | getAreaSectionList2(areaId) { |
| | | this.loading = true; |
| | | this.searchForm2.areaId=areaId; |
| | | getAreaSection(this.searchForm2).then((res) => { |
| | | this.loading = false; |
| | | if (res.success) { |
| | | this.data2 = res.result.records; |
| | |
| | | }, |
| | | equipment(row) { |
| | | this.areaId = row.id |
| | | this.getAreaSectionList(row.id); |
| | | this.getAreaSectionList2(row.id); |
| | | this.modalType = 0; |
| | | this.modalTitle2 = "片区段信息"; |
| | | this.$refs.areaForm.resetFields(); |
| | |
| | | this.init(); |
| | | }, |
| | | }; |
| | | </script> |
| | | </script> |
| | |
| | | openTip ? "关闭提示" : "开启提示" |
| | | }}</Button> |
| | | <Input |
| | | v-model="searchForm.carNo" |
| | | v-model="searchForm2.carNo" |
| | | suffix="ios-search" |
| | | @on-change="getDataList" |
| | | @on-change="getDataList2" |
| | | placeholder="输入车牌号搜索" |
| | | clearable |
| | | style="width: 250px" |
| | |
| | | depModalVisible: false, |
| | | modalTitle: "", |
| | | searchForm: { |
| | | // 搜索框初始化对象 |
| | | pageNumber: 1, // 当前页数 |
| | | pageSize: 10, // 页面大小 |
| | | sort: "createTime", // 默认排序字段 |
| | | order: "desc", // 默认排序方式 |
| | | key: "", |
| | | }, |
| | | searchForm2: { |
| | | // 搜索框初始化对象 |
| | | pageNumber: 1, // 当前页数 |
| | | pageSize: 10, // 页面大小 |
| | |
| | | } |
| | | }); |
| | | }, |
| | | getDataList2() { |
| | | this.loading = true; |
| | | getCarList(this.searchForm2).then((res) => { |
| | | this.loading = false; |
| | | if (res.success) { |
| | | this.data = res.result.records; |
| | | this.total = res.result.total; |
| | | } |
| | | }); |
| | | }, |
| | | getEquipmentList(carId) { |
| | | this.loading = true; |
| | | this.searchForm.carId=carId; |
| | | getEquipment(this.searchForm).then((res) => { |
| | | this.searchForm2.carId=carId; |
| | | getEquipment(this.searchForm2).then((res) => { |
| | | this.loading = false; |
| | | if (res.success) { |
| | | this.data2 = res.result.records; |
| | |
| | | this.init(); |
| | | }, |
| | | }; |
| | | </script> |
| | | </script> |
| | |
| | | openTip ? "关闭提示" : "开启提示" |
| | | }}</Button> |
| | | <Input |
| | | v-model="searchForm.name" |
| | | v-model="searchForm2.name" |
| | | suffix="ios-search" |
| | | @on-change="getDataList" |
| | | @on-change="getDataList2" |
| | | placeholder="输入商户名称搜索" |
| | | clearable |
| | | style="width: 250px" |
| | |
| | | depModalVisible: false, |
| | | modalTitle: "", |
| | | searchForm: { |
| | | // 搜索框初始化对象 |
| | | pageNumber: 1, // 当前页数 |
| | | pageSize: 10, // 页面大小 |
| | | sort: "createTime", // 默认排序字段 |
| | | order: "desc", // 默认排序方式 |
| | | key: "", |
| | | }, |
| | | searchForm2: { |
| | | // 搜索框初始化对象 |
| | | pageNumber: 1, // 当前页数 |
| | | pageSize: 10, // 页面大小 |
| | |
| | | getDataList() { |
| | | this.loading = true; |
| | | getCustomerReceive(this.searchForm).then((res) => { |
| | | this.loading = false; |
| | | if (res.success) { |
| | | this.data = res.result.records; |
| | | this.total = res.result.total; |
| | | } |
| | | }); |
| | | }, |
| | | getDataList2() { |
| | | this.loading = true; |
| | | getCustomerReceive(this.searchForm2).then((res) => { |
| | | this.loading = false; |
| | | if (res.success) { |
| | | this.data = res.result.records; |
| | |
| | | this.init(); |
| | | }, |
| | | }; |
| | | </script> |
| | | </script> |
| | |
| | | <div class="search"> |
| | | <Card> |
| | | <Row class="operation"> |
| | | <Input v-model="searchForm.userName" suffix="ios-search" @on-change="getDataList" placeholder="输入配送人" clearable style="width: 250px"/> |
| | | <Input v-model="searchForm.customerName" suffix="ios-search" @on-change="getDataList" placeholder="输入商户名称" clearable style="width: 250px;margin-left: 20px"/> |
| | | <Input v-model="searchForm2.userName" suffix="ios-search" @on-change="getDataList2" placeholder="输入配送人" clearable style="width: 250px"/> |
| | | <Input v-model="searchForm2.customerName" suffix="ios-search" @on-change="getDataList2" placeholder="输入商户名称" clearable style="width: 250px;margin-left: 20px"/> |
| | | <Date-picker clearable @on-change="time1" format="yyyy-MM-dd" type="date" placement="bottom-end" placeholder="请选择配送日期" style="width: 240px;margin-left: 20px"> |
| | | </Date-picker> |
| | | <Select v-model="searchForm.status" style="width:200px;margin-left: 20px" clearable> |
| | | <Select v-model="searchForm2.status" style="width:200px;margin-left: 20px" clearable> |
| | | <Option v-for="item in cityList" :value="item.value" :key="item">{{ item.label }}</Option> |
| | | </Select> |
| | | <Button @click="init" icon="md-refresh">查询</Button> |
| | | <Button @click="init2" icon="md-refresh">查询</Button> |
| | | </Row> |
| | | <Table |
| | | :loading="loading" |
| | |
| | | modalTitle: "", |
| | | modalVisible:false, |
| | | searchForm: { |
| | | pageNumber: 1, // 当前页数 |
| | | pageSize: 10, // 页面大小 |
| | | sort: "sendDate", // 默认排序字段 |
| | | order: "desc", // 默认排序方式 |
| | | }, |
| | | searchForm2: { |
| | | pageNumber: 1, // 当前页数 |
| | | pageSize: 10, // 页面大小 |
| | | sort: "sendDate", // 默认排序字段 |
| | |
| | | init() { |
| | | this.getDataList(); |
| | | }, |
| | | init2() { |
| | | this.getDataList2(); |
| | | }, |
| | | time1(e){ |
| | | this.searchForm.sendDate = e; |
| | | this.getDataList(); |
| | |
| | | getDataList() { |
| | | this.loading = true; |
| | | findPageOrderTask2(this.searchForm).then((res) => { |
| | | this.loading = false; |
| | | if (res.success) { |
| | | this.data = res.result.records; |
| | | this.total = res.result.total; |
| | | } |
| | | }); |
| | | }, |
| | | getDataList2() { |
| | | this.loading = true; |
| | | findPageOrderTask2(this.searchForm2).then((res) => { |
| | | this.loading = false; |
| | | if (res.success) { |
| | | this.data = res.result.records; |
| | |
| | | this.init(); |
| | | }, |
| | | }; |
| | | </script> |
| | | </script> |
| | |
| | | openTip ? "关闭提示" : "开启提示" |
| | | }}</Button> |
| | | <Input |
| | | v-model="searchForm.content" |
| | | v-model="searchForm2.content" |
| | | suffix="ios-search" |
| | | @on-change="getDataList" |
| | | @on-change="getDataList2" |
| | | placeholder="输入反馈内容搜索" |
| | | clearable |
| | | style="width: 250px" |
| | |
| | | order: "desc", // 默认排序方式 |
| | | key: "", |
| | | }, |
| | | searchForm2: { |
| | | // 搜索框初始化对象 |
| | | pageNumber: 1, // 当前页数 |
| | | pageSize: 10, // 页面大小 |
| | | sort: "createTime", // 默认排序字段 |
| | | order: "desc", // 默认排序方式 |
| | | key: "", |
| | | }, |
| | | addOilForm: { |
| | | status : 0 |
| | | }, |
| | |
| | | getDataList() { |
| | | this.loading = true; |
| | | getSuggest(this.searchForm).then((res) => { |
| | | this.loading = false; |
| | | if (res.success) { |
| | | this.data = res.result.records; |
| | | this.total = res.result.total; |
| | | } |
| | | }); |
| | | }, |
| | | getDataList2() { |
| | | this.loading = true; |
| | | getSuggest(this.searchForm2).then((res) => { |
| | | this.loading = false; |
| | | if (res.success) { |
| | | this.data = res.result.records; |
| | |
| | | this.init(); |
| | | }, |
| | | }; |
| | | </script> |
| | | </script> |