Commit 04b0d3e9 authored by youjie's avatar youjie

no message

parent 39b22716
......@@ -132,7 +132,7 @@ export default defineComponent({
{ name: 'CustomerPayMoney', label: t('v101.scatteredOrderList.table5'), field: (row: any) => row.CustomerPayMoney.toFixed(2), align: 'left' },
{ name: 'OrderStatus', label: t('v101.scatteredOrderList.table6'), align: 'left' },
{ name: 'CreateDateStr', label: t('v101.scatteredOrderList.table7'), field: (row: any) => row.CreateDateStr, align: 'left' },
{ name: 'operation', label: t('v101.scatteredOrderList.table8'), align: 'left' },
{ name: 'operation', label: t('v101.scatteredOrderList.table8'), align: 'center' },
] as any,
mobileCols: [
{ name: 'HotelName', label: t('v101.scatteredOrderList.table1'), align: 'left' },
......
......@@ -405,7 +405,8 @@
</template>
<script lang="ts">
import svgIcon from '../../components/global/svg-icon.vue'
import Store from '../../store'
import svgIcon from '../../components/global/svg-icon.vue'
import { defineComponent, ref, reactive, toRef, toRefs, provide, onMounted, inject, watch } from 'vue'
import { useI18n } from 'vue-i18n'
import { DirtionmaryHelper } from '../../config/dictionary'
......@@ -602,9 +603,15 @@
}
})
})
if(data.sureMsg.CustomerId==null||data.sureMsg.CustomerId==""){
data.sureMsg.CustomerId=0
let CustomerId
if (localStorage.vuex && JSON.parse(localStorage.vuex).user?.userDetail) {
CustomerId = Store.state.user?.userDetail?.customerId
data.sureMsg.CustomerId=CustomerId
}
// if(data.sureMsg.CustomerId==null||data.sureMsg.CustomerId==""){
// data.sureMsg.CustomerId=0
// }
console.log(data.sureMsg,'----')
data.submLoading = true
let param = Object.assign(data.sureMsg)
HotelService.GetHotelHotelBooking(param)
......
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