Commit 2bdaaf50 authored by liudong1993's avatar liudong1993

1

parent 3565e197
...@@ -265,7 +265,7 @@ ...@@ -265,7 +265,7 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="Money" prop="Money"
:label="$t('fnc.jine')" width="70" show-overflow-tooltip> :label="$t('fnc.jine')" :width="IsExpensesMonthlyShare?70:80" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
<template v-if="activeIndx!=scope.$index">{{scope.row.Money}}</template> <template v-if="activeIndx!=scope.$index">{{scope.row.Money}}</template>
<el-input v-else v-model="msg.Money" :placeholder="$t('fnc.jine')" disabled></el-input> <el-input v-else v-model="msg.Money" :placeholder="$t('fnc.jine')" disabled></el-input>
...@@ -273,7 +273,7 @@ ...@@ -273,7 +273,7 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="CreateDate" prop="CreateDate"
label="" width="75" show-overflow-tooltip> label="" :width="IsExpensesMonthlyShare?75:95" show-overflow-tooltip>
<template slot="header" slot-scope="scope"> <template slot="header" slot-scope="scope">
<el-tooltip class="item" effect="dark" :content="$t('objFill.v101.LeaderManagement.fentanqsyf')" placement="top"> <el-tooltip class="item" effect="dark" :content="$t('objFill.v101.LeaderManagement.fentanqsyf')" placement="top">
<span class="OrderTitle">{{$t('objFill.v101.LeaderManagement.fentanqsyf')}}</span> <span class="OrderTitle">{{$t('objFill.v101.LeaderManagement.fentanqsyf')}}</span>
...@@ -293,7 +293,7 @@ ...@@ -293,7 +293,7 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="RelevanceFrId2" prop="RelevanceFrId2"
label="" width="40" show-overflow-tooltip> label="" :width="IsExpensesMonthlyShare?40:60" show-overflow-tooltip>
<template slot="header" slot-scope="scope"> <template slot="header" slot-scope="scope">
<el-tooltip class="item" effect="dark" :content="$t('objFill.v101.LeaderManagement.yueshu')" placement="top"> <el-tooltip class="item" effect="dark" :content="$t('objFill.v101.LeaderManagement.yueshu')" placement="top">
<span class="OrderTitle">{{$t('objFill.v101.LeaderManagement.yueshu')}}</span> <span class="OrderTitle">{{$t('objFill.v101.LeaderManagement.yueshu')}}</span>
...@@ -304,16 +304,16 @@ ...@@ -304,16 +304,16 @@
<el-input v-else v-model="msg.RelevanceFrId2" type="Number" min="1" :placeholder="$t('objFill.v101.LeaderManagement.yueshu')"></el-input> <el-input v-else v-model="msg.RelevanceFrId2" type="Number" min="1" :placeholder="$t('objFill.v101.LeaderManagement.yueshu')"></el-input>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column v-if="IsExpensesMonthlyShare"
prop="" prop=""
label="" width="45" align="right"> label="" width="45" align="right">
<template slot="header" slot-scope="scope"> <template slot="header" slot-scope="scope">
<div class="row"> <div class="row">
<!-- <span>{{$t('system.table_operation')}}</span> --> <!-- <span>{{$t('system.table_operation')}}</span> -->
<div class="cursor-p el-icon-circle-plus" @click="addData"></div> <div v-if="IsExpensesMonthlyShare" class="cursor-p el-icon-circle-plus" @click="addData"></div>
</div> </div>
</template> </template>
<template slot-scope="scope"> <template slot-scope="scope" v-if="IsExpensesMonthlyShare">
<i v-if="activeIndx!=scope.$index" class="cursor-p el-icon-edit" <i v-if="activeIndx!=scope.$index" class="cursor-p el-icon-edit"
@click="editData(scope.row,scope.$index)"></i> @click="editData(scope.row,scope.$index)"></i>
<div v-else> <div v-else>
...@@ -350,6 +350,7 @@ ...@@ -350,6 +350,7 @@
}, },
activeIndx: null, activeIndx: null,
FDList: [], FDList: [],
IsExpensesMonthlyShare:false
} }
}, },
watch: { watch: {
...@@ -362,6 +363,12 @@ ...@@ -362,6 +363,12 @@
} }
}, },
created() { created() {
let userInfo = this.getLocalStorage();
let ActionMenuCode = userInfo.ActionMenuCode;
if (ActionMenuCode.indexOf('Finance_ExpenseType') != -1) {
this.IsExpensesMonthlyShare=true;
}
this.msg.BaseFinanceId = this.GetDetail.FrID this.msg.BaseFinanceId = this.GetDetail.FrID
if(this.GetDetail.SpecialType==11) this.GetExpensesMonthlyShare() if(this.GetDetail.SpecialType==11) this.GetExpensesMonthlyShare()
}, },
......
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