|
|
@ -16,46 +16,27 @@ export default { |
|
|
|
<el-tab-pane label="invoicE_WAIT_DETAIL" v-if="model.invoicE_WAIT_DETAIL.length"> |
|
|
|
<el-auto-resizer> |
|
|
|
<template #default="{ height, width }"> |
|
|
|
<el-table-v2 |
|
|
|
fixed |
|
|
|
:data="model.invoicE_WAIT_DETAIL" |
|
|
|
:columns="columns1" |
|
|
|
:width="width" |
|
|
|
:height="height" |
|
|
|
/> |
|
|
|
<el-table-v2 :data="model.invoicE_WAIT_DETAIL" :columns="columns1" :width="width" :height="height" /> |
|
|
|
</template> |
|
|
|
</el-auto-resizer> |
|
|
|
</el-tab-pane> |
|
|
|
<el-tab-pane label="invoicE_MAP_GROUP" v-if="model.invoicE_MAP_GROUP.length"> |
|
|
|
<el-auto-resizer> |
|
|
|
<template #default="{ height, width }"> |
|
|
|
<el-table-v2 |
|
|
|
fixed |
|
|
|
:data="model.invoicE_MAP_GROUP" |
|
|
|
:columns="columns2" |
|
|
|
:width="width" |
|
|
|
:height="height" |
|
|
|
/> |
|
|
|
<el-table-v2 :data="model.invoicE_MAP_GROUP" :columns="columns2" :width="width" :height="height" /> |
|
|
|
</template> |
|
|
|
</el-auto-resizer> |
|
|
|
</el-tab-pane> |
|
|
|
<el-tab-pane label="invoicE_NOT_SETTLE" v-if="model.invoicE_NOT_SETTLE.length"> |
|
|
|
<el-auto-resizer> |
|
|
|
<template #default="{ height, width }"> |
|
|
|
<el-table-v2 |
|
|
|
fixed |
|
|
|
:data="model.invoicE_NOT_SETTLE" |
|
|
|
:columns="columns3" |
|
|
|
:width="width" |
|
|
|
:height="height" |
|
|
|
/> |
|
|
|
<el-table-v2 :data="model.invoicE_NOT_SETTLE" :columns="columns3" :width="width" :height="height" /> |
|
|
|
</template> |
|
|
|
</el-auto-resizer> |
|
|
|
</el-tab-pane> |
|
|
|
</el-tabs> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
|
|
|
|
<template #footer> |
|
|
|
<span class="dialog-footer"> |
|
|
|
<el-button type="primary" @click="drawer=false"> {{$t('confirm')}} </el-button> |
|
|
@ -76,7 +57,28 @@ export default { |
|
|
|
const drawer = ref(false); |
|
|
|
const loading = ref(false); |
|
|
|
const model = ref({ |
|
|
|
invoicE_WAIT_DETAIL: [{ version: "version" }], |
|
|
|
invoicE_WAIT_DETAIL: [ |
|
|
|
{ |
|
|
|
version: 11111, |
|
|
|
invbillNum: "INV230725142640-001", |
|
|
|
inGroupNum: "INV2023", |
|
|
|
lu: "lu", |
|
|
|
price: 11111, |
|
|
|
qty: 11111, |
|
|
|
amt: 11111, |
|
|
|
bussiessType: "bussiessType", |
|
|
|
}, |
|
|
|
{ |
|
|
|
version: 22222, |
|
|
|
invbillNum: "INV230725142640-002", |
|
|
|
inGroupNum: "INV2023", |
|
|
|
lu: "lu", |
|
|
|
price: 22222, |
|
|
|
qty: 22222, |
|
|
|
amt: 22222, |
|
|
|
bussiessType: "bussiessType", |
|
|
|
}, |
|
|
|
], |
|
|
|
invoicE_MAP_GROUP: [{ version: "version" }], |
|
|
|
invoicE_NOT_SETTLE: [{ version: "version" }], |
|
|
|
}); |
|
|
@ -96,18 +98,78 @@ export default { |
|
|
|
dataKey: "version", |
|
|
|
title: "期间", |
|
|
|
}, |
|
|
|
{ |
|
|
|
dataKey: "invbillNum", |
|
|
|
title: "发票号", |
|
|
|
}, |
|
|
|
{ |
|
|
|
dataKey: "invGroupNum", |
|
|
|
title: "发票分组号", |
|
|
|
}, |
|
|
|
{ |
|
|
|
dataKey: "lu", |
|
|
|
title: "零件号", |
|
|
|
}, |
|
|
|
{ |
|
|
|
dataKey: "price", |
|
|
|
title: "单价", |
|
|
|
}, |
|
|
|
{ |
|
|
|
dataKey: "qty", |
|
|
|
title: "数量", |
|
|
|
}, |
|
|
|
{ |
|
|
|
dataKey: "amt", |
|
|
|
title: "金额", |
|
|
|
}, |
|
|
|
{ |
|
|
|
dataKey: "bussiessType", |
|
|
|
title: "业务分类", |
|
|
|
}, |
|
|
|
]; |
|
|
|
const columns2 = [ |
|
|
|
{ |
|
|
|
dataKey: "version", |
|
|
|
title: "期间", |
|
|
|
}, |
|
|
|
{ |
|
|
|
dataKey: "invbillNum", |
|
|
|
title: "发票号", |
|
|
|
}, |
|
|
|
{ |
|
|
|
dataKey: "inGroupNum", |
|
|
|
title: "发票分组号", |
|
|
|
}, |
|
|
|
{ |
|
|
|
dataKey: "settleGroupNum", |
|
|
|
title: "结算分组号", |
|
|
|
}, |
|
|
|
{ |
|
|
|
dataKey: "amt", |
|
|
|
title: "金额", |
|
|
|
}, |
|
|
|
]; |
|
|
|
const columns3 = [ |
|
|
|
{ |
|
|
|
dataKey: "version", |
|
|
|
title: "期间", |
|
|
|
}, |
|
|
|
{ |
|
|
|
dataKey: "invGroupNum", |
|
|
|
title: "发票分组号", |
|
|
|
}, |
|
|
|
{ |
|
|
|
dataKey: "settleGroupNum", |
|
|
|
title: "结算分组号", |
|
|
|
}, |
|
|
|
{ |
|
|
|
dataKey: "lu", |
|
|
|
title: "可结算分组号", |
|
|
|
}, |
|
|
|
{ |
|
|
|
dataKey: "lu1", |
|
|
|
title: "不可结算分组号", |
|
|
|
}, |
|
|
|
]; |
|
|
|
return { config, onCommand, drawer, loading, model, columns1, columns2, columns3 }; |
|
|
|
}, |
|
|
|