|
@@ -119,22 +119,22 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="feeType" label="类型">
|
|
|
<template slot-scope="scope">
|
|
|
- <div v-if="scope.row.expensesType == 1">收入</div>
|
|
|
- <div v-if="scope.row.expensesType == 2">支出</div>
|
|
|
+ <div v-show="scope.row.expensesType == 1">收入</div>
|
|
|
+ <div v-show="scope.row.expensesType == 2">支出</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="purpose" label="用途" width="150px">
|
|
|
<template slot-scope="scope">
|
|
|
<div v-if="scope.row.expensesPurpose == 1">
|
|
|
合同费用
|
|
|
- <span v-if="scope.row.costType == 1">-粮款</span>
|
|
|
- <span v-if="scope.row.costType == 3">-非粮款</span>
|
|
|
- <span v-if="scope.row.costType == 5">-保证金</span>
|
|
|
- <span v-if="scope.row.costType == 7">-利息</span>
|
|
|
+ <span v-show="scope.row.costType == 1">-粮款</span>
|
|
|
+ <span v-show="scope.row.costType == 3">-非粮款</span>
|
|
|
+ <span v-show="scope.row.costType == 5">-保证金</span>
|
|
|
+ <span v-show="scope.row.costType == 7">-利息</span>
|
|
|
</div>
|
|
|
<div v-else-if="scope.row.expensesPurpose == 3">
|
|
|
库点费用
|
|
|
- <span v-if="scope.row.wareExpenseType">-{{ scope.row.wareExpenseType }}</span>
|
|
|
+ <span v-show="scope.row.wareExpenseType">-{{ scope.row.wareExpenseType }}</span>
|
|
|
</div>
|
|
|
<div v-else-if="scope.row.expensesPurpose == 5">经营性费用</div>
|
|
|
<div v-else-if="scope.row.expensesPurpose == 7">备用金</div>
|
|
@@ -169,7 +169,7 @@
|
|
|
<template slot-scope="scope">
|
|
|
<img width="18" height="20" style="vertical-align: text-top; position: relative; top: -1px"
|
|
|
src="../../../public/img/fujian.png" @click="fujian(scope.row)" alt="" />
|
|
|
- <span v-if="scope.row.addressUrlArray != null">
|
|
|
+ <span v-show="scope.row.addressUrlArray != null">
|
|
|
{{
|
|
|
scope.row.addressUrlArray.length == 0
|
|
|
? ''
|
|
@@ -190,21 +190,21 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="address" label="操作" width="500">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-button v-if="scope.row.expenseName != '保证金抵粮款'" @click="look(scope.row)" type="primary">查看</el-button>
|
|
|
- <el-button v-if="
|
|
|
+ <el-button v-show="scope.row.expenseName != '保证金抵粮款'" @click="look(scope.row)" type="primary">查看</el-button>
|
|
|
+ <el-button v-show="
|
|
|
(scope.row.expensesPurpose == 1 &&
|
|
|
scope.row.status == '待确认')
|
|
|
" @click="chehui(scope.row)" type="primary">撤回</el-button>
|
|
|
<div v-hasPermission="`lirunhesuan.feiyongguanli.queshou`" style="display: inline-block">
|
|
|
- <el-button v-if="
|
|
|
+ <el-button v-show="
|
|
|
scope.row.status == '待确认' && scope.row.expenseName != '保证金抵粮款'
|
|
|
" @click="shoukuanqueren(scope.row)" type="primary">确认</el-button>
|
|
|
- <el-button v-if="
|
|
|
+ <el-button v-show="
|
|
|
scope.row.status == '待确认' && scope.row.expenseName == '保证金抵粮款'
|
|
|
" @click="shoukuanqueren1(scope.row)" type="primary">确认</el-button>
|
|
|
</div>
|
|
|
<!-- <el-button v-if='scope.row.approveStatus=="待确认"' @click="accomplish(scope.row)" type="primary">完成</el-button> -->
|
|
|
- <el-button v-if="
|
|
|
+ <el-button v-show="
|
|
|
(scope.row.expensesPurpose == 1 &&
|
|
|
scope.row.status == '已收款' &&
|
|
|
!scope.row.approveStatus) ||
|
|
@@ -215,11 +215,11 @@
|
|
|
scope.row.status == '已付款' &&
|
|
|
!scope.row.approveStatus)
|
|
|
" @click="accomplish(scope.row)" type="primary">完成</el-button>
|
|
|
- <div v-if="scope.row.showFlag" style="display: inline-block"><el-button v-if="scope.row.approveStatus && scope.row.approveStatus != '发起人撤回'"
|
|
|
+ <div v-show="scope.row.showFlag" style="display: inline-block"><el-button v-show="scope.row.approveStatus && scope.row.approveStatus != '发起人撤回'"
|
|
|
@click="withdraw(scope.row)" type="primary">撤回</el-button></div>
|
|
|
- <el-button v-if="(scope.row.status == '已驳回' ) || (scope.row.approveStatus == '发起人撤回' && scope.row.expensesType != 1)|| (scope.row.status == '已撤回' && scope.row.expensesType== 1)" @click="edit(scope.row)"
|
|
|
+ <el-button v-show="(scope.row.status == '已驳回' ) || (scope.row.approveStatus == '发起人撤回' && scope.row.expensesType != 1)|| (scope.row.status == '已撤回' && scope.row.expensesType== 1)" @click="edit(scope.row)"
|
|
|
type="primary">编辑</el-button>
|
|
|
- <el-button v-if="
|
|
|
+ <el-button v-show="
|
|
|
(!scope.row.distributionStatus &&
|
|
|
scope.row.expensesPurpose == 1 &&
|
|
|
scope.row.costType == 3 &&
|
|
@@ -236,20 +236,20 @@
|
|
|
!scope.row.distributionStatus &&
|
|
|
scope.row.unallocatedAmount > 0)
|
|
|
" @click="allot(scope.row)" type="primary">分配</el-button>
|
|
|
- <!-- <el-button v-if='scope.row.approveStatus=="已驳回"' @click="del(0,scope.row)" type="primary">删除</el-button> -->
|
|
|
- <el-button v-if='scope.row.status == "已驳回" || scope.row.approveStatus == "发起人撤回"' @click="del(0, scope.row)"
|
|
|
+ <!-- <el-button v-show='scope.row.approveStatus=="已驳回"' @click="del(0,scope.row)" type="primary">删除</el-button> -->
|
|
|
+ <el-button v-show='scope.row.status == "已驳回" || scope.row.approveStatus == "发起人撤回"' @click="del(0, scope.row)"
|
|
|
type="danger">删除</el-button>
|
|
|
<el-button
|
|
|
- v-if='scope.row.approveStatus == "待财务审核" || scope.row.approveStatus == "待杜大光审核" || scope.row.approveStatus == "待决策人审核" || scope.row.approveStatus == "待内勤审核" || scope.row.approveStatus == "待单证中心审核"'
|
|
|
+ v-show='scope.row.approveStatus == "待财务审核" || scope.row.approveStatus == "待杜大光审核" || scope.row.approveStatus == "待决策人审核" || scope.row.approveStatus == "待内勤审核" || scope.row.approveStatus == "待单证中心审核"'
|
|
|
@click="aduit(scope.row)" type="primary">审核</el-button>
|
|
|
- <el-button v-if='!scope.row.approveStatus && scope.row.expensesType == 2 && scope.row.status == "待付款"'
|
|
|
+ <el-button v-show='!scope.row.approveStatus && scope.row.expensesType == 2 && scope.row.status == "待付款"'
|
|
|
@click="payment(scope.row)" type="primary">付款</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="expenseRemarks" label="分配状态">
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ scope.row.distributionStatus }}</span>
|
|
|
- <el-tooltip v-if="scope.row.rejectionReason && scope.row.distributionStatus" class="item" effect="dark"
|
|
|
+ <el-tooltip v-show="scope.row.rejectionReason && scope.row.distributionStatus" class="item" effect="dark"
|
|
|
:content="scope.row.rejectionReason" placement="top-start">
|
|
|
<i class="el-icon-question"></i>
|
|
|
</el-tooltip>
|
|
@@ -257,18 +257,18 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="address" label="分配相关" width="300">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-button v-if="
|
|
|
+ <el-button v-show="
|
|
|
scope.row.expensesType == 2 &&
|
|
|
scope.row.distributionStatus == '待确认' &&
|
|
|
!scope.row.approveStatus &&
|
|
|
scope.row.status != '已驳回'
|
|
|
" @click="allotaduit(scope.row)" type="primary">确认</el-button>
|
|
|
- <el-button v-if="
|
|
|
+ <el-button v-show="
|
|
|
scope.row.expensesType == 2 &&
|
|
|
scope.row.distributionStatus == '已驳回' &&
|
|
|
!scope.row.approveStatus
|
|
|
" @click="expenseedit(scope.row)" type="primary">编辑</el-button>
|
|
|
- <el-button v-if="
|
|
|
+ <el-button v-show="
|
|
|
scope.row.expensesType == 2 &&
|
|
|
scope.row.distributionStatus == '已驳回' &&
|
|
|
!scope.row.approveStatus
|