Commit 5c471035 authored by 黄媛媛's avatar 黄媛媛

财务单据新增责让单

parent 82b11fc7
......@@ -25,14 +25,21 @@
<li :class="active==1?'_active':''" @click="active=1,tabData(1)">{{$t('fnc.shoukuandan')}}</li>
<li :class="active==2?'_active':''" @click="active=2,tabData(2)">{{$t('fnc.fukuandan')}}</li>
<li :class="active==3?'_active':''" @click="active=3,tabData(3)">挂账单</li>
<li :class="active==4?'_active':''" @click="active=4,tabData(4)">责让单</li>
</ul>
<ul class="_nav clearfix" v-else>
<li :class="active==1?'_active':''" v-if="showTab==1">{{$t('fnc.shoukuandan')}}</li>
<li :class="active==2?'_active':''" v-if="showTab==2">{{$t('fnc.fukuandan')}}</li>
<li :class="active==3?'_active':''" v-else>挂账单</li>
<li :class="active==3?'_active':''" v-if="showTab==3">挂账单</li>
<li :class="active==4?'_active':''" v-else>责让单</li>
</ul>
<!-- 搜索框匹配 -->
<div style="margin:10px 0;">
<span style="margin: 0 20px;">筛选:</span>
<el-input v-model="searchVal" placeholder="请输入内容" style="width:200px"></el-input>
</div>
<ul class="_conten">
<li v-for="(item,index) in GetList" v-if="(item.IsShow === 1 || item.showYes) && item.bigShow">
<li v-for="(item,index) in NewItems" v-if="(item.IsShow === 1 || item.showYes) && item.bigShow">
<div class="_left">
<span class="_Icon">{{item.Name.substring(0,1)}}</span>
<div>
......@@ -71,6 +78,7 @@
export default {
data(){
return{
searchVal:'',
GetList:[],
active:1,
AuditListData:{
......@@ -79,6 +87,7 @@
collectList:[],
payList:[],
GZList: [],
ZRList: [],
total:0,
currentPage:1,
noData:false,
......@@ -90,7 +99,20 @@
EmployeeId: null,
OrderSource: null,
}
},methods:{
},
computed: {
NewItems() {
var _this = this;
var NewItems = [];
this.GetList.map(function(item) {
if (item.Name.search(_this.searchVal) != -1) {
NewItems.push(item);
}
});
return NewItems;
}
},
methods:{
goUrl(path,id,Name,Type,IsUploadPic) {
if(this.active==1){
this.$router.push({ name: "addReceivablesDocuments",query:{"id":id,"Name":Name,"Type":Type,"orderObj":this.orderObj,'path':this.$route.query.path,'IsUploadPic':IsUploadPic,'Cmd':this.$route.query.Cmd,'companyID':this.$route.query.companyID,blank:'y',tab:'新增收款单'}})
......@@ -120,6 +142,9 @@
}else if (t==3) {
this.GetList = this.GZList;
}
else if (t==4) {
this.GetList = this.ZRList;
}
if(this.GetList.length<1){
this.noData = true;
}else{
......@@ -137,7 +162,7 @@
}
})
})
this.GetList = newList
this.GetList = newList;
}
},
Financial_post_GetList(){ //获取
......@@ -189,7 +214,10 @@
this.payList.push(x);
}else if (x.Type==7){
this.GZList.push(x);
}else if (x.Type==8){
this.ZRList.push(x);
}
});
}
this.GetList = this.collectList;
......
......@@ -643,7 +643,7 @@ export default {
defaultImg: 'this.src="' + require('../../assets/img/litheader.png') + '"',
loading:false,
Month:'2019-09',
Month:'2019-10',
depAList:[],
depBList:[],
......
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