|
|
@ -14,22 +14,33 @@ export default { |
|
|
|
template: html`<el-drawer v-if="refreshRef" v-model="show" destroy-on-close size="50%" class="page-drawer" :close-on-click-modal="false">
|
|
|
|
<template #header> <span class="el-dialog__title"> 结算明细 </span> </template> |
|
|
|
<el-tabs style="height:100%;"> |
|
|
|
<el-tab-pane :label="columns1.title" v-if="model.invoicE_MAP_GROUP.length"> |
|
|
|
<el-tab-pane :label="columns1.title" v-if="model.invoicE_MAP_GROUP?.length"> |
|
|
|
<el-scrollbar style="height:100%;"> |
|
|
|
<app-table :data="model.invoicE_MAP_GROUP" :columns="columns1" /> |
|
|
|
</el-scrollbar> |
|
|
|
</el-tab-pane> |
|
|
|
<el-tab-pane :label="columns2.title" v-if="model.invoicE_WAIT_DETAIL.length"> |
|
|
|
|
|
|
|
<el-tab-pane :label="columns2.title" v-if="model.invoicE_WAIT_DETAIL?.length"> |
|
|
|
<el-scrollbar> |
|
|
|
<app-table :data="model.invoicE_WAIT_DETAIL" :columns="columns2" /> |
|
|
|
</el-scrollbar> |
|
|
|
</el-tab-pane> |
|
|
|
<el-tab-pane :label="columns3.title" v-if="model.invoicE_NOT_SETTLE.length"> |
|
|
|
<el-tab-pane :label="columns2.title" v-if="model.invoicE_WAIT_DETAIL_BBAC?.length"> |
|
|
|
<el-scrollbar> |
|
|
|
<app-table :data="model.invoicE_WAIT_DETAIL_BBAC" :columns="columns22" /> |
|
|
|
</el-scrollbar> |
|
|
|
</el-tab-pane> |
|
|
|
<el-tab-pane :label="columns2.title" v-if="model.invoicE_WAIT_DETAIL_BJ?.length"> |
|
|
|
<el-scrollbar> |
|
|
|
<app-table :data="model.invoicE_WAIT_DETAIL_BJ" :columns="columns23" /> |
|
|
|
</el-scrollbar> |
|
|
|
</el-tab-pane> |
|
|
|
<el-tab-pane :label="columns3.title" v-if="model.invoicE_NOT_SETTLE?.length"> |
|
|
|
<el-scrollbar> |
|
|
|
<app-table :data="model.invoicE_NOT_SETTLE" :columns="columns3" /> |
|
|
|
</el-scrollbar> |
|
|
|
</el-tab-pane> |
|
|
|
<el-tab-pane :label="columns4.title" v-if="model.adJ_DETAIL.length"> |
|
|
|
<el-tab-pane :label="columns4.title" v-if="model.adJ_DETAIL?.length"> |
|
|
|
<el-scrollbar> |
|
|
|
<app-table :data="model.adJ_DETAIL" :columns="columns4" /> |
|
|
|
</el-scrollbar> |
|
|
@ -242,6 +253,19 @@ export default { |
|
|
|
extraProperties, |
|
|
|
}, |
|
|
|
}; |
|
|
|
|
|
|
|
const columns22 = Object.assign({}, columns2); |
|
|
|
columns22.properties.extend1 = { |
|
|
|
type: "number", |
|
|
|
title: "SA号", |
|
|
|
}; |
|
|
|
|
|
|
|
const columns23 = Object.assign({}, columns2); |
|
|
|
columns23.properties.extend1 = { |
|
|
|
type: "number", |
|
|
|
title: "凭证号", |
|
|
|
}; |
|
|
|
|
|
|
|
const columns3 = { |
|
|
|
type: "object", |
|
|
|
title: "结算分组零件", |
|
|
@ -632,6 +656,8 @@ export default { |
|
|
|
model, |
|
|
|
columns1, |
|
|
|
columns2, |
|
|
|
columns22, |
|
|
|
columns23, |
|
|
|
columns3, |
|
|
|
columns4, |
|
|
|
columns5, |
|
|
|