Commit 5a3c76d6 authored by zhengke's avatar zhengke

修改资金调拨单显示

parent c9ff877a
...@@ -263,7 +263,8 @@ ...@@ -263,7 +263,8 @@
<p class="_tit">{{GetDetail.FinanceName}}</p> <p class="_tit">{{GetDetail.FinanceName}}</p>
<div class="_conten"> <div class="_conten">
<template v-if="GetDetail.Type!==1 && GetDetail.Type!==7"> <template v-if="GetDetail.Type!==1 && GetDetail.Type!==7">
<my-Bill :ID="GetDetail.FrID" v-on:headCallBack="headCall" :width="widthSon" :color="colorSon"></my-Bill> <!-- <my-Bill :ID="GetDetail.FrID" v-on:headCallBack="headCall" :width="widthSon" :color="colorSon"></my-Bill> -->
<new-Bill :ID="GetDetail.FrID"></new-Bill>
</template> </template>
<template v-else-if="GetDetail.Type===1 && GetDetail.Type!==7"> <template v-else-if="GetDetail.Type===1 && GetDetail.Type!==7">
<my-RVB-Bill :ID="GetDetail.FrID" :width="widthSon" :color="colorSon"></my-RVB-Bill> <my-RVB-Bill :ID="GetDetail.FrID" :width="widthSon" :color="colorSon"></my-RVB-Bill>
...@@ -1105,6 +1106,8 @@ import teamProductModule from "../commonPage/teamProductModule.vue"; ...@@ -1105,6 +1106,8 @@ import teamProductModule from "../commonPage/teamProductModule.vue";
import TicketFinace from "../commonPage/TicketFinace.vue"; import TicketFinace from "../commonPage/TicketFinace.vue";
import SaleOrderModule from "../commonPage/SaleOrderModule.vue"; import SaleOrderModule from "../commonPage/SaleOrderModule.vue";
import TicketingModule from "../commonPage/TicketingModule.vue"; import TicketingModule from "../commonPage/TicketingModule.vue";
import newBill from "./FinancialSubmodule/NewBillModule.vue";
// import MsgBus from '../../assets/utils/msgBus.js'; // import MsgBus from '../../assets/utils/msgBus.js';
export default { export default {
data(){ data(){
...@@ -1237,6 +1240,7 @@ export default { ...@@ -1237,6 +1240,7 @@ export default {
'SaleOrderModule':SaleOrderModule, 'SaleOrderModule':SaleOrderModule,
'TicketFinace':TicketFinace, 'TicketFinace':TicketFinace,
'my-HB-Bill':myhrBill, 'my-HB-Bill':myhrBill,
'new-Bill':newBill
},methods:{ },methods:{
payMsgListShow: function (type, index) { payMsgListShow: function (type, index) {
if(this.choiceMsg.Status==1){ if(this.choiceMsg.Status==1){
...@@ -1784,7 +1788,6 @@ export default { ...@@ -1784,7 +1788,6 @@ export default {
this.apipost('Financial_post_GetDetail',{ID:id,Type:2}, res => { this.apipost('Financial_post_GetDetail',{ID:id,Type:2}, res => {
if(res.data.resultCode == 1) { if(res.data.resultCode == 1) {
let data= res.data.data; let data= res.data.data;
console.log(data,'datas');
data.DetailList.forEach(x=>{ data.DetailList.forEach(x=>{
x.UnitPrice = this.$commonUtils.addCommas(x.UnitPrice.toFixed(2)) x.UnitPrice = this.$commonUtils.addCommas(x.UnitPrice.toFixed(2))
x.Money = x.Money.toFixed(2) x.Money = x.Money.toFixed(2)
...@@ -1814,10 +1817,11 @@ export default { ...@@ -1814,10 +1817,11 @@ export default {
this.isShowChoice = true; this.isShowChoice = true;
} }
//遍历默认不勾选 //遍历默认不勾选
this.GetDetail.TradeDetailList.forEach(x=>{ if(this.GetDetail.TradeDetailList&&this.GetDetail.TradeDetailList.length>0){
x.isChecked = false; this.GetDetail.TradeDetailList.forEach(x=>{
}) x.isChecked = false;
console.log(this.GetDetail,'getdetails'); })
}
// 拼接团号显示团信息 // 拼接团号显示团信息
let str = ''; let str = '';
if(data.TCIDList.length>0){ if(data.TCIDList.length>0){
......
...@@ -668,7 +668,6 @@ export default { ...@@ -668,7 +668,6 @@ export default {
x.comText = this.$t('fnc.xsfujian'); x.comText = this.$t('fnc.xsfujian');
x.isShow = false; x.isShow = false;
}); });
console.log(this.GetDetail)
}else{ }else{
this.Error(res.data.message); 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