jiangping
2024-12-06 dd6ac5d0620854d5fa91438214420b3579d0ac4e
Merge remote-tracking branch 'origin/master'
已修改6个文件
23 ■■■■ 文件已修改
admin/.env 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
admin/src/views/contract/components/terminateLease.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
admin/src/views/finance/bull.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
admin/src/views/finance/components/bullDetail.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
admin/src/views/finance/components/bullEdit.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
admin/src/views/finance/payments.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
admin/.env
@@ -3,8 +3,8 @@
# 路由方式
VUE_APP_ROUTER_MODE = 'hash'
# 项目上下文路径 fn_admin/#/
VUE_APP_CONTEXT_PATH = '/'
# 项目上下文路径
VUE_APP_CONTEXT_PATH = '/fn_admin/#/'
# 接口前缀
VUE_APP_API_PREFIX = '/gateway_interface'
admin/src/views/contract/components/terminateLease.vue
@@ -463,6 +463,11 @@
            flex-direction: column;
            border-bottom: 1px solid #ececec;
            margin-bottom: 15px;
            position: sticky;
            top: 0;
            left: 0;
            z-index: 999;
            background: #ffffff;
            span {
                color: black;
                font-size: 16px;
admin/src/views/finance/bull.vue
@@ -147,7 +147,7 @@
            label: '结清状态',
            options: [
              { value: 0, label: '待收款' },
              { value: 1, label: '已结算' },
              { value: 1, label: '已结清' },
              { value: 2, label: '部分结清' },
              { value: 3, label: '待付款' },
              { value: 4, label: '待退款' }
admin/src/views/finance/components/bullDetail.vue
@@ -4,7 +4,7 @@
    <div style="width: 100%; position: sticky; top: 0; left: 0; z-index: 999; background: #ffffff;">
      <div class="home_title">
        <div class="left">
          <span class="mr10">付款方:{{info.customerName}}</span>
          <span class="mr10">{{info.billType === 0 ? '收款方' : '付款方'}}:{{info.customerName}}</span>
          <el-tag type="success" v-if="info.status === 0">开启</el-tag>
          <el-tag type="info" v-if="info.status === 1">关闭</el-tag>
        </div>
admin/src/views/finance/components/bullEdit.vue
@@ -177,10 +177,11 @@
    changeContract (e) {
      this.form.renterName = this.contract.filter(item => {
        if (item.id === e) {
          this.form.companyId = item.companyId
          return item
        }
      })[0].renterName
      this.getHouseDate()
      // this.getHouseDate()
    },
    getHouseDate () {
      getContractRoom({ contractId: this.form.contractId, type: 0 })
admin/src/views/finance/payments.vue
@@ -45,7 +45,7 @@
      <el-table-column label="操作" min-width="190" fixed="right">
        <template slot-scope="{row}">
          <el-button type="text" @click="$refs.details.open('收支流水详情', row.id)">查看详情</el-button>
          <el-button type="text" @click="closeDW(row.id)" v-if="row.status !== 1 || !['3','4'].includes(row.contractStatus)">关闭流水</el-button>
          <el-button type="text" @click="closeDW(row.id)" v-if="isShow(row.status, row.contractStatus)">关闭流水</el-button>
        </template>
      </el-table-column>
    </el-table>
@@ -123,6 +123,11 @@
    this.getList()
  },
  methods: {
    isShow (status, contractStatus) {
      if (status === 1) return false
      if (contractStatus === '3' || contractStatus === '4') return false
      return true
    },
    getList(page) {
      const { pagination, filters } = this
      let form = JSON.parse(JSON.stringify(filters))