Commit f2ec355a authored by youjie's avatar youjie

no message

parent 10fcac66
......@@ -1026,7 +1026,7 @@
<th width="200">当前审核人</th>
</tr>
<template v-for="item in DataList.FinicePayList">
<tr v-if="isExists(item.CostTypeList,'签证')">
<tr v-if="isExists(item.CostTypeList,'签证费') || isExists(item.CostTypeList,'签证佣金')">
<td>
<el-checkbox v-model="item.checked"></el-checkbox>
<span class="Team_income" @click="goUrl('FinancialDocumentsDetail',item.FrID)">{{item.FrID}}</span>
......@@ -2142,7 +2142,7 @@
isExists(array, str) {
var flag = false;
array.forEach(item => {
if (item.indexOf(str)!=-1 && !flag) {
if (item == str && !flag) {
flag = true;
}
});
......@@ -2477,7 +2477,6 @@
// }
}
});
},
//收入跳转
AddIncomeDetail() {
......@@ -2606,16 +2605,16 @@
// )
},
//判断数组是否存在 值
// isExists(arr, item) {
// var flag = false;
// for (var i = 0; i < arr.length; i++) {
// if (arr[i].indexOf(item)!=-1) {
// flag = true;
// break;
// }
// }
// return flag;
// }
isExists(arr, item) {
var flag = false;
for (var i = 0; i < arr.length; i++) {
if (arr[i] == item) {
flag = true;
break;
}
}
return flag;
}
// isExists: function (arr, item) {
// var flag = false;
// for (var i = 0; i < arr.length; i++) {
......
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