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

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

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