Commit 77bff1d4 authored by 小费同学阿's avatar 小费同学阿 💬

67559 全局,返回二次提示修改

parent 32ef1d96
......@@ -184,26 +184,22 @@
<template slot-scope="scope">
<el-button
v-hasPermi="['finance:expenditure:detail']"
icon="el-icon-document"
plain
size="mini"
type="success"
class="el-button--success--solid"
@click="handleDetail(scope.row)"
>详情
><svg-icon icon-class="liebiao_icon_xiangqing" />详情
</el-button>
<!-- 只能入一次,押金不允许入账 -->
<!-- :disabled="scope.row.payStatus !== '1'" -->
<el-button
v-hasPermi="['finance:expenditure:expenditureSubmit']"
icon="el-icon-money"
:disabled="scope.row.entryStatus === '1'"
plain
size="mini"
type="success"
class="direction-warning el-button--success--solid"
@click="expenditureSubmit(scope.row,'direction-warning')"
>入账
><svg-icon icon-class="liebiao_icon_ruzhang" />入账
</el-button>
</template>
</el-table-column>
......
......@@ -180,33 +180,28 @@
<template slot-scope="scope">
<el-button
v-hasPermi="['finance:payment:detail']"
icon="el-icon-document"
plain
size="mini"
type="success"
class="el-button--success--solid"
@click="handleDetail(scope.row)"
>详情
><svg-icon icon-class="liebiao_icon_xiangqing" />详情
</el-button>
<!-- 结算与挂账只有是门诊诊查才显示 且<缴费状态>=挂账/已缴费时,挂账为禁用状态-->
<!-- :disabled="scope.row.payStatus !== '1'" -->
<el-button
v-if="scope.row.dataSource === '0'"
v-hasPermi="['finance:payment:settlement']"
class="el-button--primary--solid"
icon="el-icon-money"
:disabled="scope.row.payStatus === '1'"
plain
size="mini"
type="primary"
@click="settlement(scope.row)"
>结算
><svg-icon icon-class="liebiao_icon_jiesuan" />结算
</el-button>
<!-- :disabled="scope.row.payStatus !== '0'"-->
<el-button
v-if="scope.row.dataSource === '0'&& showchargeAccountButton"
v-hasPermi="['finance:payment:buyingOnCredit']"
icon="el-icon-bank-card"
plain
class="buying-credit el-button--warning--solid"
size="mini"
......@@ -214,7 +209,7 @@
:disabled="scope.row.payStatus !== '0'"
type="warning"
@click="buyingOnCredit(scope.row,'buying-credit')"
>挂账
><svg-icon icon-class="liebiao_icon_kucun" />挂账
</el-button>
</template>
</el-table-column>
......
......@@ -183,38 +183,33 @@
<template slot-scope="scope">
<el-button
v-hasPermi="['finance:revenue:detail']"
icon="el-icon-document"
plain
size="mini"
class="el-button--success--solid"
type="success"
@click="handleDetail(scope.row)"
>详情
><svg-icon icon-class="liebiao_icon_xiangqing" />详情
</el-button>
<!-- 只能入一次,押金不允许入账 -->
<!-- :disabled="scope.row.payStatus !== '1'" -->
<el-button
v-hasPermi="['finance:revenue:revenueSubmit']"
icon="el-icon-money"
:disabled="scope.row.entryStatus === '1' || scope.row.tradeType === '7'"
plain
size="mini"
class="buying-credit el-button--success--solid"
type="success"
@click="revenueSubmit(scope.row,'buying-credit ')"
>入账
><svg-icon icon-class="liebiao_icon_ruzhang" />入账
</el-button>
<!-- 会员卡不支持退费 未入账才能退费,并且只能退一次-->
<el-button
v-hasPermi="['finance:revenue:refund']"
icon="el-icon-bank-card"
plain
size="mini"
:disabled="scope.row.tradeType === '6' || scope.row.entryStatus === '1' || scope.row.refundType === '1'"
class="el-button--warning--solid"
type="warning"
@click="refund(scope.row)"
>退费
><svg-icon icon-class="liebiao_icon_tuifei" />退费
</el-button>
</template>
</el-table-column>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment