Commit bf91fe26 authored by youjie's avatar youjie

no message

parent 0196c676
......@@ -655,8 +655,8 @@
<czBillModule :FrID='ID' />
<!-- 预收款抵用 -->
<UserCredit v-if="(GetDetail.OtherType==74&&GetDetail.ReFinanceId)||GetDetail.DepositCustomerId" :GetDetail="GetDetail"></UserCredit>
<!-- 关联单号 -->
<CostmonthDetails v-if="GetDetail.OtherType==75||(GetDetail.CostMonthTemplate&&getTemplate(GetDetail))" :GetDetail="GetDetail">
<!-- 成本月结关联单号 -->
<CostmonthDetails v-if="GetDetail.OtherType==75||getTemplate(GetDetail)" :GetDetail="GetDetail">
</CostmonthDetails>
<myGuanBill :ID="FrID" :FrID='FrID' :TemplateId='GetDetail.TemplateId' v-if="(((GetDetail.TemplateId === 36 || GetDetail.TemplateId === 37) && LeadState) || GetDetail.TemplateId === 63 || GetDetail.TemplateId === 59 || GetDetail.TemplateId === 43 || GetDetail.TemplateId === 48 || GetDetail.TemplateId === 53 || GetDetail.TemplateId === 56) && showModel" />
<myJiPiaoBill :ID="FrID" :FrID='FrID' :TemplateId='GetDetail.TemplateId' v-if="GetDetail.TemplateId === 2 || GetDetail.TemplateId === 12 && showModel" />
......@@ -1729,10 +1729,9 @@ export default {
arr&&arr.forEach(x=>{
if(x==GetDetail.TemplateId){
status = true
return true
}
})
if(!status) return false
return status
},
goSigningCustomer(id,name) {
this.$router.push({
......
......@@ -1121,8 +1121,8 @@
<czBillModule :FrID='ID' />
<!-- 预收款抵用 -->
<UserCredit v-if="(GetDetail.OtherType==74&&GetDetail.ReFinanceId)||GetDetail.DepositCustomerId" :GetDetail="GetDetail"></UserCredit>
<!-- 关联单号 -->
<CostmonthDetails v-if="GetDetail.OtherType==75||(GetDetail.CostMonthTemplate&&getTemplate(GetDetail))" :GetDetail="GetDetail">
<!-- 成本月结关联单号 -->
<CostmonthDetails v-if="GetDetail.OtherType==75||getTemplate(GetDetail)" :GetDetail="GetDetail">
</CostmonthDetails>
<myGuanBill :ID="FrID" :FrID='FrID' :TemplateId='GetDetail.TemplateId'
v-if="(((GetDetail.TemplateId === 36 || GetDetail.TemplateId === 37) && LeadState) || GetDetail.TemplateId === 63 || GetDetail.TemplateId === 59 || GetDetail.TemplateId === 43 || GetDetail.TemplateId === 48 || GetDetail.TemplateId === 53 || GetDetail.TemplateId === 56) && showModel" />
......@@ -1596,10 +1596,9 @@
arr&&arr.forEach(x=>{
if(x==GetDetail.TemplateId){
status = true
return true
}
})
if(!status) return false
return status
},
showUpLoadFile2(i) { // 预览上传文件
if (i.substring(i.lastIndexOf('.') + 1, i.length).toUpperCase() == 'PDF') {
......
......@@ -83,21 +83,29 @@
}
}
},watch:{
GetDetail:{
handler(val, oldVal) {
this.msg.ReFinanceId = this.GetDetail.FrID
if(this.GetDetail.OtherType==75){
this.msg.OtherType = this.GetDetail.OtherType
this.msg.TemplateId = 0
}else if(this.GetDetail.CostMonthTemplate){
this.msg.OtherType = 0
this.msg.TemplateId = this.GetDetail.TemplateId
}
this.Financial_post_GetDetail();
},
deep: true,
immediate: true,
}
},
created(){
},created(){
},
mounted(){
},mounted(){
this.msg.ReFinanceId = this.GetDetail.FrID
if(this.GetDetail.OtherType==75){
this.msg.OtherType = this.GetDetail.OtherType
this.msg.TemplateId = 0
}else if(this.GetDetail.CostMonthTemplate){
this.msg.OtherType = 0
this.msg.TemplateId = this.GetDetail.TemplateId
}
this.Financial_post_GetDetail();
},
methods:{
......@@ -124,6 +132,7 @@
this.cdtotal = cdtotal/100
this.ybtotal = ybtotal/100
this.DataList = data
console.log(this.DataList,'------------')
}else{
this.Error(res.data.message)
......
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