renkang
2024-12-23 26b93e84d4153039ef3600355308d2a743dc3be7
Merge remote-tracking branch 'origin/master'
已修改5个文件
105 ■■■■■ 文件已修改
admin/.env 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
admin/.env.development 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
admin/src/views/contract/components/contractEdit.vue 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
admin/src/views/finance/components/bullEditFu.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
admin/src/views/finance/components/details.vue 75 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
admin/.env
@@ -3,7 +3,7 @@
# 路由方式
VUE_APP_ROUTER_MODE = 'hash'
# 项目上下文路径
# 项目上下文路径
VUE_APP_CONTEXT_PATH = '/fn_admin'
# 接口前缀
admin/.env.development
@@ -3,8 +3,8 @@
# 项目上下文路径
VUE_APP_CONTEXT_PATH = './'
#VUE_APP_API_URL  = 'http://localhost:10010'
VUE_APP_API_URL  = 'http://192.168.0.163:10010'
# VUE_APP_API_URL  = 'https://dmtest.ahapp.net/fn_admin'
#  VUE_APP_API_URL  = 'http://10.50.250.253:8088/gateway_interface'
# VUE_APP_API_URL  = 'http://localhost:10010'
# VUE_APP_API_URL  = 'http://192.168.0.163:10010'
VUE_APP_API_URL  = 'https://dmtest.ahapp.net/fn_admin'
# VUE_APP_API_URL  = 'http://10.50.250.253:8088/gateway_interface'
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" />
@@ -841,6 +841,7 @@
    close () {
      if (this.activeTabs === 0) {
        this.$emit('close')
        this.visible = false
      } else {
        this.activeTabs = 0
        this.zlList = []
@@ -860,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;
admin/src/views/finance/components/bullEditFu.vue
@@ -30,7 +30,7 @@
                                <el-option :value="0" label="租赁费"></el-option>
                                <el-option :value="1" label="物业费"></el-option>
                                <el-option :value="2" label="租赁押金"></el-option>
                                <el-option :value="3" label="物业证金"></el-option>
                                <el-option :value="3" label="物业押金"></el-option>
                                <el-option :value="4" label="水电费"></el-option>
                                <el-option :value="5" label="杂项费"></el-option>
                                <el-option :value="6" label="其他"></el-option>
@@ -210,7 +210,7 @@
        this.$refs.selectHouse.open('选择房源', { contractId: this.form.contractId, type: 0 })
      },
      getCompanyList () {
        companyList({})
        companyList({ type: 2 })
          .then(res => {
            this.comparyList = res
          })
admin/src/views/finance/components/details.vue
@@ -1,41 +1,43 @@
<template>
    <GlobalWindow :title="title" :withFooter="false" :visible.sync="visible" :confirm-working="isWorking" @close="close"
        @confirm="confirm">
        <div class="home_title">
            <div class="left">
                <span class="mr10">对方单位名称:{{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 style="position: sticky; top: 0; left: 0; width: 100%; background: #ffffff;">
            <div class="home_title">
                <div class="left">
                    <span class="mr10">对方单位名称:{{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>
                <el-button type="danger" v-if="isShow(info.status, info.contractStatus)" @click="closeDW()">关闭流水</el-button>
            </div>
            <el-button type="danger" v-if="info.status !== 1 || !['3','4'].includes(info.contractStatus)" @click="closeDW()">关闭流水</el-button>
        </div>
        <div class="line"></div>
        <div class="main">
            <div class="list" style="background: rgba(0,0,0,0); padding: 0; margin-bottom: 0;">
                <div class="item" style="flex: 1;">
                    <div class="la">结清状态</div>
                    <div class="val" style="margin-top: 10px;" v-if="info1.payStatus === 0">待收款</div>
                    <div class="val" style="margin-top: 10px;" v-if="info1.payStatus === 1">已结清</div>
                    <div class="val" style="margin-top: 10px;" v-if="info1.payStatus === 2">部分结清</div>
                    <div class="val" style="margin-top: 10px;" v-if="info1.payStatus === 3">待付款</div>
                    <div class="val" style="margin-top: 10px;" v-if="info1.payStatus === 4">待退款</div>
                    <div class="val" style="margin-top: 10px;" v-if="info1.payStatus === 5">已关闭</div>
                </div>
                <div class="item" style="flex: 1;">
                    <div class="la">应{{info.revenueType === 0 ? '收' : '付'}}金额(元)</div>
                    <div class="val" style="margin-top: 10px;">{{info1.receivableFee}}</div>
                </div>
                <div class="item" style="flex: 1;">
                    <div class="la">实{{info.revenueType === 0 ? '收' : '付'}}金额(元)</div>
                    <div class="val" style="margin-top: 10px;">{{info1.actReceivableFee}}</div>
                </div>
                <div class="item" style="flex: 1;">
                    <div class="la">需{{info.revenueType === 0 ? '收' : '付'}}金额(元)</div>
                    <div class="val" style="margin-top: 10px;">{{info1.needReceivableFee}}</div>
                </div>
                <div class="item" style="flex: 1;">
                    <div class="la">应{{info.revenueType === 0 ? '收' : '付'}}日期</div>
                    <div class="val" style="margin-top: 10px;">{{info1.planPayDate}}</div>
            <div class="line"></div>
            <div class="main">
                <div class="list" style="background: rgba(0,0,0,0); padding: 0; margin-bottom: 0;">
                    <div class="item" style="flex: 1;">
                        <div class="la">结清状态</div>
                        <div class="val" style="margin-top: 10px;" v-if="info1.payStatus === 0">待收款</div>
                        <div class="val" style="margin-top: 10px;" v-if="info1.payStatus === 1">已结清</div>
                        <div class="val" style="margin-top: 10px;" v-if="info1.payStatus === 2">部分结清</div>
                        <div class="val" style="margin-top: 10px;" v-if="info1.payStatus === 3">待付款</div>
                        <div class="val" style="margin-top: 10px;" v-if="info1.payStatus === 4">待退款</div>
                        <div class="val" style="margin-top: 10px;" v-if="info1.payStatus === 5">已关闭</div>
                    </div>
                    <div class="item" style="flex: 1;">
                        <div class="la">应{{info.revenueType === 0 ? '收' : '付'}}金额(元)</div>
                        <div class="val" style="margin-top: 10px;">{{info1.receivableFee}}</div>
                    </div>
                    <div class="item" style="flex: 1;">
                        <div class="la">实{{info.revenueType === 0 ? '收' : '付'}}金额(元)</div>
                        <div class="val" style="margin-top: 10px;">{{info1.actReceivableFee}}</div>
                    </div>
                    <div class="item" style="flex: 1;">
                        <div class="la">需{{info.revenueType === 0 ? '收' : '付'}}金额(元)</div>
                        <div class="val" style="margin-top: 10px;">{{info1.needReceivableFee}}</div>
                    </div>
                    <div class="item" style="flex: 1;">
                        <div class="la">应{{info.revenueType === 0 ? '收' : '付'}}日期</div>
                        <div class="val" style="margin-top: 10px;">{{info1.planPayDate}}</div>
                    </div>
                </div>
            </div>
        </div>
@@ -225,6 +227,11 @@
      tabsClick(val) {
        this.activeTabs = val
      },
      isShow (status, contractStatus) {
        if (status === 1) return false
        if (contractStatus === '3' || contractStatus === '4') return false
        return true
      },
      closeDW () {
        this.$confirm('确认关闭此流水吗?', '提示', {
          confirmButtonText: '确定',