|
@@ -57,7 +57,7 @@
|
|
|
style="float: left; overflow: hidden"
|
|
style="float: left; overflow: hidden"
|
|
|
class="table-page-search-submitButtons"
|
|
class="table-page-search-submitButtons"
|
|
|
>
|
|
>
|
|
|
- <!--先不实现增加预定功能-->
|
|
|
|
|
|
|
+ <!--先不实现增加预定功能-->
|
|
|
<!-- <a-button v-if="model.roomSchedule.billStatus==0"
|
|
<!-- <a-button v-if="model.roomSchedule.billStatus==0"
|
|
|
@click="handleAdd"
|
|
@click="handleAdd"
|
|
|
type="danger"
|
|
type="danger"
|
|
@@ -123,8 +123,9 @@
|
|
|
<a-divider type="vertical"
|
|
<a-divider type="vertical"
|
|
|
/></template>
|
|
/></template>
|
|
|
<template v-if="record.status == 0">
|
|
<template v-if="record.status == 0">
|
|
|
- <a @click="handleEdit(record)">修改</a>
|
|
|
|
|
- <a-divider type="vertical" /></template>
|
|
|
|
|
|
|
+ <a @click="handleEdit(record)">修改</a>
|
|
|
|
|
+ <a-divider type="vertical"
|
|
|
|
|
+ /></template>
|
|
|
<template v-if="record.status == 0">
|
|
<template v-if="record.status == 0">
|
|
|
<a @click="batchConfirm(record)">确认</a>
|
|
<a @click="batchConfirm(record)">确认</a>
|
|
|
<a-divider type="vertical" />
|
|
<a-divider type="vertical" />
|
|
@@ -142,6 +143,10 @@
|
|
|
:meetingRoomScheduleId="meetingRoomScheduleId"
|
|
:meetingRoomScheduleId="meetingRoomScheduleId"
|
|
|
@ok="modalFormOk"
|
|
@ok="modalFormOk"
|
|
|
></meeting-room-schedule-detail-modal>
|
|
></meeting-room-schedule-detail-modal>
|
|
|
|
|
+ <bus-meeting-room-schedule-edit-modal-2
|
|
|
|
|
+ ref="modalForm2"
|
|
|
|
|
+ @ok="modalFormOk3"
|
|
|
|
|
+ ></bus-meeting-room-schedule-edit-modal-2>
|
|
|
</a-card>
|
|
</a-card>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
@@ -151,7 +156,7 @@ import { mixinDevice } from "@/utils/mixin";
|
|
|
import { JeecgListMixin } from "@/mixins/JeecgListMixin";
|
|
import { JeecgListMixin } from "@/mixins/JeecgListMixin";
|
|
|
import BusMeetingRoomScheduleEditModal from "./BusMeetingRoomScheduleEditModal";
|
|
import BusMeetingRoomScheduleEditModal from "./BusMeetingRoomScheduleEditModal";
|
|
|
import meetingRoomScheduleDetailModal from "./meetingRoomScheduleDetail/meetingRoomScheduleDetailModal";
|
|
import meetingRoomScheduleDetailModal from "./meetingRoomScheduleDetail/meetingRoomScheduleDetailModal";
|
|
|
-
|
|
|
|
|
|
|
+import BusMeetingRoomScheduleEditModal2 from "@/views/markets/modules/meetingRoomScheduleOrder/BusMeetingRoomScheduleEditModal";
|
|
|
import { httpAction, getAction, postAction } from "@/api/manage";
|
|
import { httpAction, getAction, postAction } from "@/api/manage";
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
@@ -160,6 +165,7 @@ export default {
|
|
|
components: {
|
|
components: {
|
|
|
BusMeetingRoomScheduleEditModal,
|
|
BusMeetingRoomScheduleEditModal,
|
|
|
meetingRoomScheduleDetailModal,
|
|
meetingRoomScheduleDetailModal,
|
|
|
|
|
+ BusMeetingRoomScheduleEditModal2,
|
|
|
},
|
|
},
|
|
|
props: {
|
|
props: {
|
|
|
couponsId: {
|
|
couponsId: {
|
|
@@ -227,7 +233,8 @@ export default {
|
|
|
},
|
|
},
|
|
|
],
|
|
],
|
|
|
url: {
|
|
url: {
|
|
|
- confirmBatch: "/business/busMeetingRoomScheduleDetail/confirmBatchByMeetingRoomScheduleId",
|
|
|
|
|
|
|
+ confirmBatch:
|
|
|
|
|
+ "/business/busMeetingRoomScheduleDetail/confirmBatchByMeetingRoomScheduleId",
|
|
|
},
|
|
},
|
|
|
dictOptions: {},
|
|
dictOptions: {},
|
|
|
superFieldList: [],
|
|
superFieldList: [],
|
|
@@ -258,12 +265,12 @@ export default {
|
|
|
},
|
|
},
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
- handleSettle(){
|
|
|
|
|
- this.$message.error("结账功能暂无实现");
|
|
|
|
|
- },
|
|
|
|
|
- handleAdd(){
|
|
|
|
|
-
|
|
|
|
|
|
|
+ handleSettle(record) {
|
|
|
|
|
+ this.$refs.modalForm2.edit(record);
|
|
|
|
|
+ this.$refs.modalForm2.title = "结账";
|
|
|
|
|
+ this.$refs.modalForm2.disableSubmit = false;
|
|
|
},
|
|
},
|
|
|
|
|
+ handleAdd() {},
|
|
|
batchConfirm(record) {
|
|
batchConfirm(record) {
|
|
|
if (!this.url.confirmBatch) {
|
|
if (!this.url.confirmBatch) {
|
|
|
this.$message.error("请设置url.confirmBatch!");
|
|
this.$message.error("请设置url.confirmBatch!");
|
|
@@ -297,9 +304,10 @@ export default {
|
|
|
this.dataSource = [Object.assign({}, record)];
|
|
this.dataSource = [Object.assign({}, record)];
|
|
|
this.$emit("ok");
|
|
this.$emit("ok");
|
|
|
},
|
|
},
|
|
|
- modalFormOk(){
|
|
|
|
|
-
|
|
|
|
|
|
|
+ modalFormOk3() {
|
|
|
|
|
+ this.dataSource = this.dataSource[0].billStatus = 1;
|
|
|
},
|
|
},
|
|
|
|
|
+ modalFormOk() {},
|
|
|
add() {
|
|
add() {
|
|
|
this.edit(this.modelDefault);
|
|
this.edit(this.modelDefault);
|
|
|
},
|
|
},
|