jiangping
2024-12-23 f3ce3a1f136f359ae872a223aada9e0d23afa9a0
admin/src/views/contract/components/contractEdit.vue
@@ -295,7 +295,7 @@
        </div>
      </div>
    </div>
    <div class="window__footer" style="position: sticky; bottom: 0; left: 0; z-index: 9; background: #ffffff;">
    <div class="window__footer">
      <slot name="footer">
        <el-button @click="confirm" :loading="confirmWorking" type="primary">{{activeTabs === 0 ? '下一步' : '提交'}}</el-button>
        <slot name="btns" />
@@ -316,7 +316,7 @@
import { ywList } from '@/api/customer'
import { getUserList } from '@/api/system/user'
import { getProjectList, tree } from '@/api/project/ywProject'
import { companyList } from '@/api/company'
import {companyListConstract as companyList } from '@/api/company'
import { Message, Loading } from 'element-ui'
import { mapState } from 'vuex'
export default {
@@ -347,7 +347,7 @@
        memberId: '',
        memberName: '',
        fileList: [],
        zlDeposit: '',
        zlPayType: '',
        zlFreeStartDate: '',
@@ -363,7 +363,7 @@
            advanceDays: ''
          }
        ],
        wyDeposit: '',
        wyPayType: '',
        wyFreeStartDate: '',
@@ -379,17 +379,17 @@
            advanceDays: ''
          }
        ],
        roomIds: []
      },
      ids: [],
      zlList: [],
      wyList: [],
      rules,
      contactsList: [],
      loadingInstance: null,
@@ -432,7 +432,7 @@
        { name: '元/m²·年', value: 2 },
        { name: '元/场', value: 6 },
      ],
      houseLvThree: []
    }
  },
@@ -841,8 +841,11 @@
    close () {
      if (this.activeTabs === 0) {
        this.$emit('close')
        this.visible = false
      } else {
        this.activeTabs = 0
        this.zlList = []
        this.wyList = []
      }
    }
  }
@@ -858,6 +861,19 @@
  left: 0;
  z-index: 999;
}
.window__footer {
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 0;
  z-index: 9;
  background: #ffffff;
  user-select: none;
  border-top: 1px solid #eee;
  height: 60px;
  line-height: 60px;
  text-align: center;
}
.tabs {
  border-bottom: 1px solid #DFE2E8;
  display: flex;