| | |
| | | # 路由方式 |
| | | VUE_APP_ROUTER_MODE = 'hash' |
| | | |
| | | # 项目上下文路径 fn_admin/#/ |
| | | VUE_APP_CONTEXT_PATH = '/' |
| | | # 项目上下文路径 |
| | | VUE_APP_CONTEXT_PATH = '/fn_admin/#/' |
| | | |
| | | # 接口前缀 |
| | | VUE_APP_API_PREFIX = '/gateway_interface' |
| | |
| | | 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; |
| | |
| | | label: '结清状态', |
| | | options: [ |
| | | { value: 0, label: '待收款' }, |
| | | { value: 1, label: '已结算' }, |
| | | { value: 1, label: '已结清' }, |
| | | { value: 2, label: '部分结清' }, |
| | | { value: 3, label: '待付款' }, |
| | | { value: 4, label: '待退款' } |
| | |
| | | <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> |
| | |
| | | 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 }) |
| | |
| | | <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> |
| | |
| | | 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)) |