Commit b79867e7 authored by 吴春's avatar 吴春

显示酒店对应的成本单据信息

parent f51c3b05
......@@ -1526,8 +1526,9 @@
showBtnList: false, //是否下载、确认按钮
ShowTaxType: false, //显示税入税别
ShowRebateRatio: false, //显示返佣比列
ShowSupplier: true, //是否显示供应商
ShowSupplier: false, //是否显示供应商
showCaozuoTime: true, //操作时间
caiwu: true, //显示财务单据
colspanLength: 5 //跨行
},
//更新可售机票数量
......
......@@ -54,6 +54,8 @@
<th width="130" v-if="showHotelObj.showZhan">{{$t('salesModule.UseRoomTime')}}</th>
<th width="100" v-if="showHotelObj.showZhan">{{$t('salesModule.SureTime')}}</th>
<th width="100" v-if="showHotelObj.ShowSupplier">{{$t('hotel.hotel_Supplier')}}</th>
<th width="180" v-if="showHotelObj.caiwu">{{$t('salesModule.DJNUM')}}{{$t('hotel.hotel_corrlelatition')}}</th>
<th width="70" v-if="showHotelObj.showPrice">
{{$t('fnc.rizhi')}}
</th>
......@@ -126,6 +128,19 @@
<td v-if="showHotelObj.ShowSupplier">
{{hotelSubItem.SupplierName}}
</td>
<td v-if="showHotelObj.caiwu">
<div>
<div v-if="hotelSubItem.FrList&&hotelSubItem.FrList.length > 0" v-for="(item2, index2) in hotelSubItem.FrList" :key="index2">
<span style="cursor:pointer;text-decoration:underline;" @click="goUrl('财务单据','FinancialDocumentsDetail',item2.FrID,'')">
{{ item2.FrID }}({{item2.StatusStr}})
</span>
</div>
<span v-else
style="cursor: default">{{ $t("system.content_noData") }}</span>
</div>
</td>
<td v-if="showHotelObj.showPrice">
<el-popover width="200" trigger="click" popper-class="Bus_HotelPop">
<commonHotelLog :ref="'comHotelLog'+index+hotelSubIndex+''"> </commonHotelLog>
......@@ -173,7 +188,24 @@
<span v-else>{{$t('active.cl_zanwu')}}</span>
</td>
</tr>
<tr v-if="showHotelObj.caiwu&&HotelObj&&HotelObj.length>0&&HotelObj[0].FrList&&HotelObj[0].FrList.length > 0">
<td class="tdRight">
{{$t('salesModule.DJNUM')}}
</td>
<td class="tdLeft" colspan="3" style="padding:10px 0;text-align:left;">
<div v-for="(item2, index2) in HotelObj[0].FrList" :key="index2">
<span style="cursor:pointer;text-decoration:underline;" @click="goUrl('财务单据','FinancialDocumentsDetail',item2.FrID,'')">
{{ item2.FrID }}{{item2.StatusStr}}
</span>
</div>
</td>
</tr>
</template>
<template v-if="showHotelObj.showBtnList">
<tr>
<td colspan="4" style="padding:10px 0;text-align:center;">
......@@ -226,6 +258,17 @@
that.$emit('SetShouPeiShu');
});
},
goUrl(name, path, id, tcmun) {
this.$router.push({
name: path,
query: {
id: id,
tcmun: tcmun,
blank: "y",
tab: name,
},
});
},
//根据日期返回星期几
getDayByDate(dateString) {
if (dateString) {
......
......@@ -681,7 +681,8 @@
showBtnList: true, //是否下载、确认按钮
ShowTaxType: true, //显示税入税别
ShowRebateRatio: true, //显示返佣比列
ShowSupplier: true, //是否显示供应商
ShowSupplier: false, //是否显示供应商
caiwu: true, //操作时间
showCaozuoTime: true, //操作时间
colspanLength: 6 //跨行
},
......
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