Browse Source

最新代码提交

master
HY 6 months ago
parent
commit
bf21b3332b
3 changed files with 39 additions and 30 deletions
  1. +14
    -12
      admin-hanhai-vue/src/views/system/LeaseOrderList.vue
  2. +18
    -18
      admin-hanhai-vue/src/views/system/modules/TencentMapPicker.vue
  3. +7
    -0
      jeecg-boot-module-system/src/main/java/org/jeecg/modules/xcx/order/service/impl/OrderServiceImpl.java

+ 14
- 12
admin-hanhai-vue/src/views/system/LeaseOrderList.vue View File

@ -122,12 +122,14 @@
</div> </div>
<hotel-order-modal ref="modalForm" @ok="modalFormOk"></hotel-order-modal> <hotel-order-modal ref="modalForm" @ok="modalFormOk"></hotel-order-modal>
<lease-order-modal ref="modalForm2" @ok="modalFormOk"></lease-order-modal>
<lease-order-modal ref="modalForm3" @ok="modalFormOk"></lease-order-modal>
</a-card> </a-card>
</a-col> </a-col>
<a-col :md="rightColMd" :sm="24" v-if="this.rightcolval == 1"> <a-col :md="rightColMd" :sm="24" v-if="this.rightcolval == 1">
<a-card :bordered="false"> <a-card :bordered="false">
<div style="text-align: right;">
<a-icon type="close-circle" @click="hideUserList" />
</div>
<!-- 查询区域 --> <!-- 查询区域 -->
<div class="table-page-search-wrapper"> <div class="table-page-search-wrapper">
<a-form layout="inline"> <a-form layout="inline">
@ -258,12 +260,12 @@
align:"center", align:"center",
dataIndex: 'title' dataIndex: 'title'
}, },
{
title:'商品图片',
align:"center",
dataIndex: 'pic',
scopedSlots: {customRender: 'imgSlot'}
},
// {
// title:'',
// align:"center",
// dataIndex: 'pic',
// scopedSlots: {customRender: 'imgSlot'}
// },
{ {
title:'客户姓名', title:'客户姓名',
align:"center", align:"center",
@ -458,9 +460,9 @@
this.superFieldList = fieldList this.superFieldList = fieldList
}, },
handleSend(obj){ handleSend(obj){
this.$refs.modalForm2.edit(obj);
this.$refs.modalForm2.title = "审核";
this.$refs.modalForm2.disableSubmit = false;
this.$refs.modalForm3.edit(obj);
this.$refs.modalForm3.title = "发货";
this.$refs.modalForm3.disableSubmit = false;
console.log(obj) console.log(obj)
}, },
searchQuery2() { searchQuery2() {
@ -482,7 +484,7 @@
}, },
hideUserList(){ hideUserList(){
//this.rightcolval = 0 //this.rightcolval = 0
this.selectedRowKeys1 = []
this.selectedRowKeys = []
}, },
handlePerssion(roleId){ handlePerssion(roleId){
this.$refs.modalUserRole.show(roleId); this.$refs.modalUserRole.show(roleId);


+ 18
- 18
admin-hanhai-vue/src/views/system/modules/TencentMapPicker.vue View File

@ -1,18 +1,18 @@
<template> <template>
<div> <div>
<div class="map-box">
<div class="map" ref="map" style="height: 400px" ></div>
<div class="map-search">
<div>
<a-input-search id="place" v-model="searchValue" placeholder="请输入详细地址" enter-button @search="searchAddress(searchValue)" />
</div>
<div>
<ul v-if="kwData.length">
<li v-for="(item, index) in kwData" :key="index" @click="selectKeyword(item)">{{ item.address }}</li>
</ul>
</div>
</div>
<div class="map-box2">
<div class="map" ref="map" style="height: 400px" ></div>
<div class="map-search2">
<div>
<a-input-search id="place" v-model="searchValue" placeholder="请输入详细地址" enter-button @search="searchAddress(searchValue)" />
</div>
<div>
<ul v-if="kwData.length" class="ul2">
<li class="li2" v-for="(item, index) in kwData" :key="index" @click="selectKeyword(item)">{{ item.address }}</li>
</ul>
</div>
</div> </div>
</div>
</div> </div>
</template> </template>
<script> <script>
@ -180,11 +180,11 @@ export default {
} }
</script> </script>
<style> <style>
.map-box {
.map-box2 {
position: relative; position: relative;
} }
.map-search {
.map-search2 {
z-index: 1000; z-index: 1000;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@ -195,7 +195,7 @@ export default {
} }
button {
button2 {
border-radius: 0; border-radius: 0;
} }
@ -212,14 +212,14 @@ button {
flex-wrap: wrap; flex-wrap: wrap;
height: 70%; height: 70%;
} }
ul{
.ul2{
background: white; background: white;
list-style-type: none; list-style-type: none;
padding-left: 0px; padding-left: 0px;
height: 280px; height: 280px;
overflow: scroll; overflow: scroll;
} }
li{
.li2{
padding-left: 6px; padding-left: 6px;
font-size: 10px; font-size: 10px;
text-align: left; text-align: left;
@ -228,7 +228,7 @@ li{
display: flex; display: flex;
align-items: center; align-items: center;
} }
li:hover{
.li2:hover{
cursor: pointer; cursor: pointer;
background: #f5f5f5; background: #f5f5f5;
} }

+ 7
- 0
jeecg-boot-module-system/src/main/java/org/jeecg/modules/xcx/order/service/impl/OrderServiceImpl.java View File

@ -1281,6 +1281,13 @@ public class OrderServiceImpl implements IOrderService {
for (HotelLeaseLog hotelLeaseLog2:hotelLeaseLogList){ for (HotelLeaseLog hotelLeaseLog2:hotelLeaseLogList){
// if(hotelLeaseLog.getLeaseFlag() == 1){ // if(hotelLeaseLog.getLeaseFlag() == 1){
HotelOrder hotelOrder1 = hotelOrderService.lambdaQuery()
.eq(HotelOrder::getId, hotelLeaseLog2.getOrderId())
.eq(HotelOrder::getStatus, 15)
.one();
if(hotelOrder1 == null){
continue;
}
HotelGoodsSku hotelGoodsSku = hotelGoodsSkuService.lambdaQuery() HotelGoodsSku hotelGoodsSku = hotelGoodsSkuService.lambdaQuery()
.eq(HotelGoodsSku::getDelFlag, 0) .eq(HotelGoodsSku::getDelFlag, 0)
.eq(HotelGoodsSku::getId, hotelLeaseLog2.getSkuId()) .eq(HotelGoodsSku::getId, hotelLeaseLog2.getSkuId())


Loading…
Cancel
Save