|
@@ -0,0 +1,492 @@
|
|
|
|
|
+<template>
|
|
|
|
|
+ <a-spin :spinning="confirmLoading">
|
|
|
|
|
+ <j-form-container :disabled="formDisabled">
|
|
|
|
|
+ <a-form-model
|
|
|
|
|
+ ref="form"
|
|
|
|
|
+ :model="model"
|
|
|
|
|
+ :rules="validatorRules"
|
|
|
|
|
+ slot="detail"
|
|
|
|
|
+ >
|
|
|
|
|
+ <a-row>
|
|
|
|
|
+ <div style="display: flex; gap: 15px">
|
|
|
|
|
+ <div style="width: 39%">
|
|
|
|
|
+ <h4 style="color: rgba(255, 141, 26, 1); font-weight: 600">
|
|
|
|
|
+ 订价信息
|
|
|
|
|
+ </h4>
|
|
|
|
|
+ <a-divider />
|
|
|
|
|
+ <a-col :span="24">
|
|
|
|
|
+ <a-form-model-item
|
|
|
|
|
+ label="入住类型"
|
|
|
|
|
+ :labelCol="labelCol"
|
|
|
|
|
+ :wrapperCol="wrapperCol"
|
|
|
|
|
+ prop="sex"
|
|
|
|
|
+ >
|
|
|
|
|
+ <a-select placeholder="入住类型">
|
|
|
|
|
+ <a-select-option value="全天"> 全天 </a-select-option>
|
|
|
|
|
+ <a-select-option value="钟点"> 钟点 </a-select-option>
|
|
|
|
|
+ </a-select>
|
|
|
|
|
+ </a-form-model-item>
|
|
|
|
|
+ </a-col>
|
|
|
|
|
+
|
|
|
|
|
+ <a-col :span="24">
|
|
|
|
|
+ <a-form-model-item
|
|
|
|
|
+ label="预抵时间"
|
|
|
|
|
+ :labelCol="labelCol"
|
|
|
|
|
+ :wrapperCol="wrapperCol"
|
|
|
|
|
+ prop="sex"
|
|
|
|
|
+ >
|
|
|
|
|
+ <j-date
|
|
|
|
|
+ placeholder="预抵时间"
|
|
|
|
|
+ v-model="model.endTime"
|
|
|
|
|
+ style="width: 180px"
|
|
|
|
|
+ />
|
|
|
|
|
+ <a-time-picker
|
|
|
|
|
+ style="width: 80px; margin-left: 2px"
|
|
|
|
|
+ :default-value="moment('18:00', 'HH:mm')"
|
|
|
|
|
+ format="HH:mm"
|
|
|
|
|
+ />
|
|
|
|
|
+ </a-form-model-item>
|
|
|
|
|
+ </a-col>
|
|
|
|
|
+ <a-col :span="24">
|
|
|
|
|
+ <a-form-model-item
|
|
|
|
|
+ label="预离时间"
|
|
|
|
|
+ :labelCol="labelCol"
|
|
|
|
|
+ :wrapperCol="wrapperCol"
|
|
|
|
|
+ prop="sex"
|
|
|
|
|
+ >
|
|
|
|
|
+ <j-date
|
|
|
|
|
+ placeholder="预离时间"
|
|
|
|
|
+ v-model="model.endTime"
|
|
|
|
|
+ style="width: 180px"
|
|
|
|
|
+ />
|
|
|
|
|
+ <a-time-picker
|
|
|
|
|
+ style="width: 80px; margin-left: 2px"
|
|
|
|
|
+ :default-value="moment('12:00', 'HH:mm')"
|
|
|
|
|
+ format="HH:mm"
|
|
|
|
|
+ />
|
|
|
|
|
+ </a-form-model-item>
|
|
|
|
|
+ </a-col>
|
|
|
|
|
+ <a-col :span="24">
|
|
|
|
|
+ <a-form-model-item
|
|
|
|
|
+ label="客人来源"
|
|
|
|
|
+ :labelCol="labelCol"
|
|
|
|
|
+ :wrapperCol="wrapperCol"
|
|
|
|
|
+ prop="sex"
|
|
|
|
|
+ >
|
|
|
|
|
+ <a-select placeholder="订单来源">
|
|
|
|
|
+ <a-select-option value="散客"> 散客 </a-select-option>
|
|
|
|
|
+ <a-select-option value="美团"> 美团 </a-select-option>
|
|
|
|
|
+ </a-select>
|
|
|
|
|
+ </a-form-model-item>
|
|
|
|
|
+ </a-col>
|
|
|
|
|
+ <a-col :span="24">
|
|
|
|
|
+ <a-form-model-item
|
|
|
|
|
+ label="天数"
|
|
|
|
|
+ :labelCol="labelCol"
|
|
|
|
|
+ :wrapperCol="wrapperCol"
|
|
|
|
|
+ prop="sex"
|
|
|
|
|
+ >
|
|
|
|
|
+ <a-input-number
|
|
|
|
|
+ v-model="model.userName"
|
|
|
|
|
+ placeholder="天数"
|
|
|
|
|
+ :min="1"
|
|
|
|
|
+ ></a-input-number>
|
|
|
|
|
+ </a-form-model-item>
|
|
|
|
|
+ </a-col>
|
|
|
|
|
+ <a-col :span="24">
|
|
|
|
|
+ <a-form-model-item
|
|
|
|
|
+ label="预定方式"
|
|
|
|
|
+ :labelCol="labelCol"
|
|
|
|
|
+ :wrapperCol="wrapperCol"
|
|
|
|
|
+ prop="sex"
|
|
|
|
|
+ >
|
|
|
|
|
+ <a-select placeholder="预定方式">
|
|
|
|
|
+ <a-select-option value="美团酒店">
|
|
|
|
|
+ 美团酒店
|
|
|
|
|
+ </a-select-option>
|
|
|
|
|
+ <a-select-option value="携程酒店">
|
|
|
|
|
+ 携程酒店
|
|
|
|
|
+ </a-select-option>
|
|
|
|
|
+ </a-select>
|
|
|
|
|
+ </a-form-model-item>
|
|
|
|
|
+ </a-col>
|
|
|
|
|
+ <a-col :span="24">
|
|
|
|
|
+ <a-form-model-item
|
|
|
|
|
+ label="客人类型"
|
|
|
|
|
+ :labelCol="labelCol"
|
|
|
|
|
+ :wrapperCol="wrapperCol"
|
|
|
|
|
+ prop="sex"
|
|
|
|
|
+ >
|
|
|
|
|
+ <a-select placeholder="客人类型">
|
|
|
|
|
+ <a-select-option value="散客"> 散客 </a-select-option>
|
|
|
|
|
+ <a-select-option value="会员"> 会员 </a-select-option>
|
|
|
|
|
+ </a-select>
|
|
|
|
|
+ </a-form-model-item>
|
|
|
|
|
+ </a-col>
|
|
|
|
|
+ <a-col :span="24">
|
|
|
|
|
+ <a-form-model-item
|
|
|
|
|
+ label="房价方案"
|
|
|
|
|
+ :labelCol="labelCol"
|
|
|
|
|
+ :wrapperCol="wrapperCol"
|
|
|
|
|
+ prop="sex"
|
|
|
|
|
+ >
|
|
|
|
|
+ <a-select placeholder="房价方案">
|
|
|
|
|
+ <a-select-option value="会员价"> 会员价 </a-select-option>
|
|
|
|
|
+ <a-select-option value="平日价"> 平日价 </a-select-option>
|
|
|
|
|
+ </a-select>
|
|
|
|
|
+ </a-form-model-item>
|
|
|
|
|
+ </a-col>
|
|
|
|
|
+ <h4 style="color: rgba(255, 141, 26, 1); font-weight: 600">
|
|
|
|
|
+ 其他信息
|
|
|
|
|
+ </h4>
|
|
|
|
|
+ <a-divider />
|
|
|
|
|
+ <a-col :span="24">
|
|
|
|
|
+ <a-form-model-item
|
|
|
|
|
+ label="联系人"
|
|
|
|
|
+ :labelCol="labelCol"
|
|
|
|
|
+ :wrapperCol="wrapperCol"
|
|
|
|
|
+ prop="sex"
|
|
|
|
|
+ >
|
|
|
|
|
+ <a-auto-complete
|
|
|
|
|
+ v-model="model.key1"
|
|
|
|
|
+ placeholder="联系人"
|
|
|
|
|
+ @search="handleSearch"
|
|
|
|
|
+ @select="(e) => handleSelectMember(e)"
|
|
|
|
|
+ >
|
|
|
|
|
+ <template slot="dataSource">
|
|
|
|
|
+ <a-select-option v-for="item in result" :key="item">{{
|
|
|
|
|
+ item
|
|
|
|
|
+ }}</a-select-option>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </a-auto-complete>
|
|
|
|
|
+ </a-form-model-item>
|
|
|
|
|
+ </a-col>
|
|
|
|
|
+ <a-col :span="24">
|
|
|
|
|
+ <a-form-model-item
|
|
|
|
|
+ label="电话"
|
|
|
|
|
+ :labelCol="labelCol"
|
|
|
|
|
+ :wrapperCol="wrapperCol"
|
|
|
|
|
+ prop="sex"
|
|
|
|
|
+ >
|
|
|
|
|
+ <a-input v-model="model.mobile" placeholder="电话"></a-input>
|
|
|
|
|
+ </a-form-model-item>
|
|
|
|
|
+ </a-col>
|
|
|
|
|
+ <a-col :span="24">
|
|
|
|
|
+ <a-form-model-item
|
|
|
|
|
+ label="担保方式"
|
|
|
|
|
+ :labelCol="labelCol"
|
|
|
|
|
+ :wrapperCol="wrapperCol"
|
|
|
|
|
+ prop="sex"
|
|
|
|
|
+ >
|
|
|
|
|
+ <a-select placeholder="担保方式">
|
|
|
|
|
+ <a-select-option value="无担保"> 无担保 </a-select-option>
|
|
|
|
|
+ <a-select-option value="有担保"> 有担保 </a-select-option>
|
|
|
|
|
+ </a-select>
|
|
|
|
|
+ </a-form-model-item>
|
|
|
|
|
+ </a-col>
|
|
|
|
|
+ <a-col :span="24">
|
|
|
|
|
+ <a-form-model-item
|
|
|
|
|
+ label="销售员"
|
|
|
|
|
+ :labelCol="labelCol"
|
|
|
|
|
+ :wrapperCol="wrapperCol"
|
|
|
|
|
+ prop="sex"
|
|
|
|
|
+ >
|
|
|
|
|
+ <a-select placeholder="销售员">
|
|
|
|
|
+ <a-select-option value="a"> a </a-select-option>
|
|
|
|
|
+ <a-select-option value="b"> b </a-select-option>
|
|
|
|
|
+ </a-select>
|
|
|
|
|
+ </a-form-model-item>
|
|
|
|
|
+ </a-col>
|
|
|
|
|
+ <a-col :span="24">
|
|
|
|
|
+ <a-form-model-item
|
|
|
|
|
+ label="外部单号"
|
|
|
|
|
+ :labelCol="labelCol"
|
|
|
|
|
+ :wrapperCol="wrapperCol"
|
|
|
|
|
+ prop="sex"
|
|
|
|
|
+ >
|
|
|
|
|
+ <a-input
|
|
|
|
|
+ v-model="model.mobile"
|
|
|
|
|
+ placeholder="外部单号"
|
|
|
|
|
+ ></a-input>
|
|
|
|
|
+ </a-form-model-item>
|
|
|
|
|
+ </a-col>
|
|
|
|
|
+ <a-col :span="24">
|
|
|
|
|
+ <a-form-model-item
|
|
|
|
|
+ label="备注"
|
|
|
|
|
+ :labelCol="labelCol"
|
|
|
|
|
+ :wrapperCol="wrapperCol"
|
|
|
|
|
+ prop="remark"
|
|
|
|
|
+ >
|
|
|
|
|
+ <a-textarea
|
|
|
|
|
+ v-model="model.remark"
|
|
|
|
|
+ rows="4"
|
|
|
|
|
+ placeholder="备注"
|
|
|
|
|
+ />
|
|
|
|
|
+ </a-form-model-item>
|
|
|
|
|
+ </a-col>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div style="width: 61%">
|
|
|
|
|
+ <h4 style="color: rgba(255, 141, 26, 1); font-weight: 600">
|
|
|
|
|
+ 选择房间
|
|
|
|
|
+ </h4>
|
|
|
|
|
+ <a-divider />
|
|
|
|
|
+ <p>
|
|
|
|
|
+ <span>占房天数:1晚</span>
|
|
|
|
|
+ <span style="padding-left: 10px">总价:599.00</span>
|
|
|
|
|
+ </p>
|
|
|
|
|
+ <a-table
|
|
|
|
|
+ :columns="columns"
|
|
|
|
|
+ :data-source="model.data"
|
|
|
|
|
+ :pagination="false"
|
|
|
|
|
+ rowKey="id"
|
|
|
|
|
+ >
|
|
|
|
|
+ <div
|
|
|
|
|
+ slot="expandedRowRender"
|
|
|
|
|
+ slot-scope="text, record, index"
|
|
|
|
|
+ style="margin: 0"
|
|
|
|
|
+ >
|
|
|
|
|
+ <p>
|
|
|
|
|
+ 已排房:<a-tag
|
|
|
|
|
+ color="blue"
|
|
|
|
|
+ closable
|
|
|
|
|
+ :visible="visible"
|
|
|
|
|
+ @close.stop="tagClose2(rindex, index)"
|
|
|
|
|
+ v-for="(item, rindex) in text.rooms"
|
|
|
|
|
+ :key="rindex"
|
|
|
|
|
+ >{{ item.roomNo }}</a-tag
|
|
|
|
|
+ >
|
|
|
|
|
+ </p>
|
|
|
|
|
+ <p>未排房:0间</p>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <template slot="key3" slot-scope="text, record, index">
|
|
|
|
|
+ <editable-cell
|
|
|
|
|
+ :text="text"
|
|
|
|
|
+ @change="onCellChange('key3', index, $event)"
|
|
|
|
|
+ />
|
|
|
|
|
+ </template>
|
|
|
|
|
+ <template slot="key6" slot-scope="text, record, index">
|
|
|
|
|
+ <div>
|
|
|
|
|
+ <a-input-number v-model="model.data[index].key6" :min="0" />
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ <span slot="action" slot-scope="text, record, index">
|
|
|
|
|
+ <a @click="pulsRoom(index)">排房</a>
|
|
|
|
|
+ </span>
|
|
|
|
|
+ </a-table>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </a-row>
|
|
|
|
|
+ </a-form-model>
|
|
|
|
|
+ </j-form-container>
|
|
|
|
|
+ <select-room-form-modal
|
|
|
|
|
+ ref="modalSelectRoomForm"
|
|
|
|
|
+ @ok="modalFormOk"
|
|
|
|
|
+ ></select-room-form-modal>
|
|
|
|
|
+ </a-spin>
|
|
|
|
|
+</template>
|
|
|
|
|
+
|
|
|
|
|
+<script>
|
|
|
|
|
+import { httpAction, getAction } from "@/api/manage";
|
|
|
|
|
+import { validateDuplicateValue } from "@/utils/util";
|
|
|
|
|
+import moment from "moment";
|
|
|
|
|
+import EditableCell from "@views/room/modules/checkIn/EditableCell.vue";
|
|
|
|
|
+import SelectRoomFormModal from "./SelectRoomFormModal.vue";
|
|
|
|
|
+const columns = [
|
|
|
|
|
+ // {
|
|
|
|
|
+ // title: "",
|
|
|
|
|
+ // dataIndex: "key",
|
|
|
|
|
+ // width: 20,
|
|
|
|
|
+ // },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: "房型",
|
|
|
|
|
+ dataIndex: "key1",
|
|
|
|
|
+ width: 150,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: "门市价",
|
|
|
|
|
+ dataIndex: "key2",
|
|
|
|
|
+ width: 100,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: "优惠价",
|
|
|
|
|
+ dataIndex: "key3",
|
|
|
|
|
+ width: 120,
|
|
|
|
|
+ scopedSlots: { customRender: "key3" },
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: "可订数/可超数",
|
|
|
|
|
+ dataIndex: "key4",
|
|
|
|
|
+ width: 170,
|
|
|
|
|
+ customRender: function (text, record) {
|
|
|
|
|
+ return text + "/" + record.key5;
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: "预定间数",
|
|
|
|
|
+ dataIndex: "key6",
|
|
|
|
|
+ width: 100,
|
|
|
|
|
+ scopedSlots: { customRender: "key6" },
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ title: "操作",
|
|
|
|
|
+ dataIndex: "action",
|
|
|
|
|
+ align: "center",
|
|
|
|
|
+ fixed: "right",
|
|
|
|
|
+ width: 70,
|
|
|
|
|
+ scopedSlots: { customRender: "action" },
|
|
|
|
|
+ },
|
|
|
|
|
+];
|
|
|
|
|
+const data = [];
|
|
|
|
|
+for (let i = 0; i < 2; i++) {
|
|
|
|
|
+ data.push({
|
|
|
|
|
+ id: i,
|
|
|
|
|
+ key1: `双人床` + i,
|
|
|
|
|
+ key2: 298,
|
|
|
|
|
+ key3: 298,
|
|
|
|
|
+ key4: 8,
|
|
|
|
|
+ key5: 0,
|
|
|
|
|
+ key6: 0,
|
|
|
|
|
+ });
|
|
|
|
|
+}
|
|
|
|
|
+export default {
|
|
|
|
|
+ name: "ScheduleRoomForm",
|
|
|
|
|
+ components: { EditableCell, SelectRoomFormModal },
|
|
|
|
|
+ props: {
|
|
|
|
|
+ //表单禁用
|
|
|
|
|
+ disabled: {
|
|
|
|
|
+ type: Boolean,
|
|
|
|
|
+ default: false,
|
|
|
|
|
+ required: false,
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+ data() {
|
|
|
|
|
+ return {
|
|
|
|
|
+ visible: true,
|
|
|
|
|
+ columns,
|
|
|
|
|
+ model: { data: data },
|
|
|
|
|
+ labelCol: {
|
|
|
|
|
+ xs: { span: 24 },
|
|
|
|
|
+ sm: { span: 5 },
|
|
|
|
|
+ },
|
|
|
|
|
+ wrapperCol: {
|
|
|
|
|
+ xs: { span: 24 },
|
|
|
|
|
+ sm: { span: 16 },
|
|
|
|
|
+ },
|
|
|
|
|
+ confirmLoading: false,
|
|
|
|
|
+ validatorRules: {
|
|
|
|
|
+ dateRange: [{ required: true, message: "请选择维修时间!" }],
|
|
|
|
|
+ remark: [{ required: true, message: "请输入维修原因!" }],
|
|
|
|
|
+ },
|
|
|
|
|
+ url: {
|
|
|
|
|
+ add: "/business/busMeetingRoom/add",
|
|
|
|
|
+ edit: "/business/busMeetingRoom/edit",
|
|
|
|
|
+ queryById: "/business/busMeetingRoom/queryById",
|
|
|
|
|
+ },
|
|
|
|
|
+ result: [],
|
|
|
|
|
+ selectIndex: 0,
|
|
|
|
|
+ };
|
|
|
|
|
+ },
|
|
|
|
|
+ computed: {
|
|
|
|
|
+ formDisabled() {
|
|
|
|
|
+ return this.disabled;
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+ created() {
|
|
|
|
|
+ var _info = JSON.parse(localStorage.getItem("storeInfo"));
|
|
|
|
|
+ if (_info) {
|
|
|
|
|
+ this.model.hotelId = _info.id;
|
|
|
|
|
+ }
|
|
|
|
|
+ //备份model原始值
|
|
|
|
|
+ this.modelDefault = JSON.parse(JSON.stringify(this.model));
|
|
|
|
|
+ },
|
|
|
|
|
+ methods: {
|
|
|
|
|
+ tagClose2(rindex, index) {
|
|
|
|
|
+ this.model.data[index].rooms.splice(rindex, 1);
|
|
|
|
|
+ },
|
|
|
|
|
+ modalFormOk(e) {
|
|
|
|
|
+ // this.modelDefault = Object.assign({}, this.modelDefault, {
|
|
|
|
|
+ // rooms: e,
|
|
|
|
|
+ // });
|
|
|
|
|
+ // this.edit(this.modelDefault);
|
|
|
|
|
+ this.$set(this.model.data[this.selectIndex], "rooms", e);
|
|
|
|
|
+ },
|
|
|
|
|
+ pulsRoom(index) {
|
|
|
|
|
+ this.selectIndex = index;
|
|
|
|
|
+ this.$refs.modalSelectRoomForm.add();
|
|
|
|
|
+ this.$refs.modalSelectRoomForm.title = "排房";
|
|
|
|
|
+ this.$refs.modalSelectRoomForm.disableSubmit = false;
|
|
|
|
|
+ },
|
|
|
|
|
+ handleSearch(value) {
|
|
|
|
|
+ let result;
|
|
|
|
|
+ if (!value) {
|
|
|
|
|
+ result = [];
|
|
|
|
|
+ } else {
|
|
|
|
|
+ result = ["a", "b", "c"].map(
|
|
|
|
|
+ (domain) => `${value}${domain}(15888888888)`
|
|
|
|
|
+ );
|
|
|
|
|
+ }
|
|
|
|
|
+ this.result = result;
|
|
|
|
|
+ },
|
|
|
|
|
+ handleSelectMember(e) {
|
|
|
|
|
+ this.model.mobile = "158888888888";
|
|
|
|
|
+ },
|
|
|
|
|
+ moment,
|
|
|
|
|
+ onChange(date, dateString) {
|
|
|
|
|
+ console.log(date, dateString);
|
|
|
|
|
+ },
|
|
|
|
|
+ add() {
|
|
|
|
|
+ this.edit(this.modelDefault);
|
|
|
|
|
+ },
|
|
|
|
|
+ addList(roomLiveList) {
|
|
|
|
|
+ this.modelDefault = Object.assign({}, this.modelDefault, {
|
|
|
|
|
+ rooms: roomLiveList,
|
|
|
|
|
+ });
|
|
|
|
|
+ this.edit(this.modelDefault);
|
|
|
|
|
+ },
|
|
|
|
|
+ edit(record) {
|
|
|
|
|
+ this.model = Object.assign({}, record);
|
|
|
|
|
+ this.visible = true;
|
|
|
|
|
+ },
|
|
|
|
|
+ submitForm() {
|
|
|
|
|
+ const that = this;
|
|
|
|
|
+ that.$message.warning("未实现");
|
|
|
|
|
+ return;
|
|
|
|
|
+ // 触发表单验证
|
|
|
|
|
+ this.$refs.form.validate((valid) => {
|
|
|
|
|
+ if (valid) {
|
|
|
|
|
+ that.confirmLoading = true;
|
|
|
|
|
+ let httpurl = "";
|
|
|
|
|
+ let method = "";
|
|
|
|
|
+ if (!this.model.id) {
|
|
|
|
|
+ httpurl += this.url.add;
|
|
|
|
|
+ method = "post";
|
|
|
|
|
+ } else {
|
|
|
|
|
+ httpurl += this.url.edit;
|
|
|
|
|
+ method = "put";
|
|
|
|
|
+ }
|
|
|
|
|
+ httpAction(httpurl, this.model, method)
|
|
|
|
|
+ .then((res) => {
|
|
|
|
|
+ if (res.success) {
|
|
|
|
|
+ that.$message.success(res.message);
|
|
|
|
|
+ that.$emit("ok");
|
|
|
|
|
+ } else {
|
|
|
|
|
+ that.$message.warning(res.message);
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
|
|
+ .finally(() => {
|
|
|
|
|
+ that.confirmLoading = false;
|
|
|
|
|
+ });
|
|
|
|
|
+ }
|
|
|
|
|
+ });
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
|
|
+};
|
|
|
|
|
+</script>
|
|
|
|
|
+<style scoped>
|
|
|
|
|
+/deep/.ant-divider-horizontal {
|
|
|
|
|
+ margin: 12px 0 !important;
|
|
|
|
|
+}
|
|
|
|
|
+/deep/ .ant-form-item {
|
|
|
|
|
+ margin-bottom: 5px !important;
|
|
|
|
|
+}
|
|
|
|
|
+</style>
|