Commit 065ce188 authored by youjie's avatar youjie

no message

parent c1bd039a
...@@ -236,11 +236,11 @@ ...@@ -236,11 +236,11 @@
</div> </div>
<template v-if="GetDetail.SpecialType==11"> <template v-if="GetDetail.SpecialType==11">
<div class="border-b"></div> <div class="border-b"></div>
<div class="OrderReceivablesAccount-title" style="padding: 0;">{{$t('objFill.v101.LeaderManagement.tanzhangqk')}}</div> <div class="OrderReceivablesAccount-title">{{$t('objFill.v101.LeaderManagement.tanzhangqk')}}</div>
<div class="OrderReceivablesAccount-center"> <div class="OrderReceivablesAccount-center">
<el-table <el-table
:data="tableData" :data="tableData"
:height="tableData.length>2?150:''"> :height="tableData.length>2?196:'146'">
<el-table-column <el-table-column
prop="" prop=""
label="" width="50" show-overflow-tooltip> label="" width="50" show-overflow-tooltip>
...@@ -269,7 +269,7 @@ ...@@ -269,7 +269,7 @@
:label="$t('fnc.jine')" width="70" show-overflow-tooltip> :label="$t('fnc.jine')" width="70" 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')"></el-input> <el-input v-else v-model="msg.Money" :placeholder="$t('fnc.jine')" disabled></el-input>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
...@@ -319,7 +319,7 @@ ...@@ -319,7 +319,7 @@
@click="editData(scope.row,scope.$index)"></i> @click="editData(scope.row,scope.$index)"></i>
<div v-else> <div v-else>
<i type="primary" class="cursor-p fz12" @click="saveData">{{$t('pub.saveBtn')}}</i> <i type="primary" class="cursor-p fz12" @click="saveData">{{$t('pub.saveBtn')}}</i>
<i v-if="!scope.row.ID" type="primary" class="cursor-p el-icon-circle-close circleData" @click="cancelData(scope.row,scope.$index)"></i> <i type="primary" class="cursor-p el-icon-circle-close circleData" @click="cancelData(scope.row,scope.$index)"></i>
</div> </div>
</template> </template>
...@@ -368,8 +368,10 @@ ...@@ -368,8 +368,10 @@
}, },
methods: { methods: {
getCostType(){ getCostType(){
let obj = this.FDList.filter(x=>{return x.CostTypeId==this.msg.CostTypeId}) // let obj = this.FDList.filter(x=>{return x.CostTypeId==this.msg.CostTypeId})
let obj = this.GetDetail.DetailList.filter(x=>{return x.CostTypeId==this.msg.CostTypeId})
this.msg.RelevanceFrId = obj[0].ID this.msg.RelevanceFrId = obj[0].ID
this.msg.Money = obj[0].Money
}, },
cancelData(item,index){ cancelData(item,index){
this.msg = { this.msg = {
......
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