lijingjia 3 weeks ago
commit 7d9574efa7

@ -126,57 +126,64 @@
}}</span> }}</span>
<span v-else class="ds-purple-tag">{{ record.statusText }}</span> <span v-else class="ds-purple-tag">{{ record.statusText }}</span>
</template> </template>
<template v-if="column.dataIndex == 'etd'">
<span>{{ record.etd ? record.etd.substring(0, 11) : '' }}</span>
</template>
<template v-if="column.dataIndex == 'stlDate'">
<span>{{ record.stlDate ? record.stlDate.substring(0, 11) : '' }}</span>
</template>
</template> </template>
</BasicTable> </BasicTable>
</div> </div>
<div style="padding-left: 20px;height: 250px"> <div style="padding-left: 20px;height: 250px">
<div style="display: flex;height: 100%;"> <div style="display: flex;height: 100%;">
<div class="left"> <div class="left">
<div class="title-bold">日志</div> <div class="title-bold">日志</div>
<BasicTable class="ds-mini-table-detail pay-table" @register="registerTable2"> <BasicTable class="ds-mini-table-detail pay-table" @register="registerTable2">
</BasicTable> </BasicTable>
</div> </div>
<div class="middle"> <div class="middle">
<div style="display: flex;width: 100%;"> <div style="display: flex;width: 100%;">
<div style="width: 63%;margin-right: 2%"> <div style="width: 63%;margin-right: 2%">
<div class="title-bold">欠费信息</div> <div class="title-bold">欠费信息</div>
<BasicTable class="ds-mini-table-detail pay-table" @register="registerTable3"> <BasicTable class="ds-mini-table-detail pay-table" @register="registerTable3">
</BasicTable> </BasicTable>
</div>
<div style="width: 35%">
<div class="title-bold" style="display: flex;line-height: 18.84px;height: 18.84px">
<span>附件</span>
<DsFile @handleSuccess="fileSuccess" ref="dsFile" :showFileList="false" :id="bookid" :show="false"
height="300">
<i style="margin-left: 15px;color: #257afa;cursor: pointer;" @click="addFile"
class="iconfont icon-fujian"></i>
</DsFile>
</div> </div>
<div style="width: 35%"> <BasicTable class="ds-mini-table-detail pay-table" @register="registerTable5">
<div class="title-bold" style="display: flex;line-height: 18.84px;height: 18.84px"> <template v-slot:bodyCell="{ column, record }">
<span>附件</span> <template v-if="column.dataIndex == 'fileName'">
<DsFile @handleSuccess="fileSuccess" ref="dsFile" :showFileList="false" :id="bookid" :show="false" <a @click="download(record)">{{ record.fileName }}</a>
height="300">
<i style="margin-left: 15px;color: #257afa;cursor: pointer;" @click="addFile"
class="iconfont icon-fujian"></i>
</DsFile>
</div>
<BasicTable class="ds-mini-table-detail pay-table" @register="registerTable5">
<template v-slot:bodyCell="{ column, record }">
<template v-if="column.dataIndex == 'fileName'">
<a @click="download(record)">{{ record.fileName }}</a>
</template>
</template> </template>
</BasicTable> </template>
</div> </BasicTable>
</div> </div>
</div> </div>
<div class="right"> </div>
<div style="font-size: 12px;color: black;font-weight: bold;margin-bottom: 10px">相关信息</div> <div class="right">
<div> <div style="font-size: 12px;color: black;font-weight: bold;margin-bottom: 10px">相关信息</div>
客户结费类型为{{ checkInfo.stlTypeName }} 结算日期{{ checkInfo.stlDate }} <div>
</div> 客户结费类型为{{ checkInfo.stlTypeName }} 结算日期{{ checkInfo.stlDate }}
<div> </div>
未结算费用USD{{ checkInfo.noPayAmountUSD }} RMB{{ checkInfo.noPayAmountCNY }} 合计{{ <div>
checkInfo.noPayAmountTotal }} 未结算费用USD{{ checkInfo.noPayAmountUSD }} RMB{{ checkInfo.noPayAmountCNY }} 合计{{
</div> checkInfo.noPayAmountTotal }}
<div> </div>
信用额度{{ checkInfo.allowAmount }} <div>
</div> 信用额度{{ checkInfo.allowAmount }}
</div> </div>
</div> </div>
</div>
</div> </div>
<a-modal width="600px" @cancel="checkFlag = false" @ok="sureCheckIn" :visible="checkFlag" <a-modal width="600px" @cancel="checkFlag = false" @ok="sureCheckIn" :visible="checkFlag"
:title="checkType == 2 ? '签出' : '签入'"> :title="checkType == 2 ? '签出' : '签入'">
@ -342,11 +349,13 @@ const [registerTable5, { setTableData: setTableDataFile }] = useTable({
function exportExcel() { function exportExcel() {
const list = [] as any const list = [] as any
getColumns().forEach((item) => { getColumns().forEach((item) => {
list.push({ if (item.dataIndex) {
dataIndex: item.dataIndex, list.push({
title: item.title, dataIndex: item.dataIndex,
width: item.width, title: item.title,
}) width: item.width,
})
}
}) })
const postData = { const postData = {
url: 'http://118.190.144.189:3008/opApi/BLIssueManage/GetExportList', url: 'http://118.190.144.189:3008/opApi/BLIssueManage/GetExportList',
@ -543,10 +552,10 @@ function checkIn(type) {
const idList = ref([]) const idList = ref([])
function checkClick() { function checkClick() {
let ids = [] as any let ids = [] as any
getSelectRows().forEach(item=>{ getSelectRows().forEach(item => {
ids.push({ ids.push({
bookid:item.bookingId, bookid: item.bookingId,
MHBillType:item.masterHBill MHBillType: item.masterHBill
}) })
}) })
idList.value = ids idList.value = ids
@ -637,11 +646,7 @@ function cancelCheckIn(type) {
padding-bottom: 10px; padding-bottom: 10px;
} }
.main { .main {}
}
.left { .left {
width: 29%; width: 29%;

Loading…
Cancel
Save