wanggang 1 year ago
parent
commit
057a79fa03
  1. 54
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/settle/_check.js
  2. 8
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/VmiAppService.cs

54
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/settle/_check.js

@ -13,32 +13,28 @@ export default {
components: { AppForm, AppTable }, components: { AppForm, AppTable },
template: html`<el-drawer v-if="refreshRef" v-model="show" destroy-on-close size="50%" class="page-drawer" :close-on-click-modal="false"> 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> <template #header> <span class="el-dialog__title"> 结算明细 </span> </template>
<el-row style="height:calc(100% - 160px);" v-loading="loading"> <el-tabs style="height:100%;">
<el-col> <el-tab-pane :label="columns1.title" v-if="model.invoicE_MAP_GROUP.length">
<el-tabs> <el-scrollbar style="height:100%;">
<el-tab-pane :label="columns1.title" v-if="model.invoicE_MAP_GROUP.length"> <app-table :data="model.invoicE_MAP_GROUP" :columns="columns1" />
<el-scrollbar> </el-scrollbar>
<app-table :data="model.invoicE_MAP_GROUP" :columns="columns1" /> </el-tab-pane>
</el-scrollbar> <el-tab-pane :label="columns2.title" v-if="model.invoicE_WAIT_DETAIL.length">
</el-tab-pane> <el-scrollbar>
<el-tab-pane :label="columns2.title" v-if="model.invoicE_WAIT_DETAIL.length"> <app-table :data="model.invoicE_WAIT_DETAIL" :columns="columns2" />
<el-scrollbar> </el-scrollbar>
<app-table :data="model.invoicE_WAIT_DETAIL" :columns="columns2" /> </el-tab-pane>
</el-scrollbar> <el-tab-pane :label="columns3.title" v-if="model.invoicE_NOT_SETTLE.length">
</el-tab-pane> <el-scrollbar>
<el-tab-pane :label="columns3.title" v-if="model.invoicE_NOT_SETTLE.length"> <app-table :data="model.invoicE_NOT_SETTLE" :columns="columns3" />
<el-scrollbar> </el-scrollbar>
<app-table :data="model.invoicE_NOT_SETTLE" :columns="columns3" /> </el-tab-pane>
</el-scrollbar> <el-tab-pane :label="columns4.title" v-if="model.adJ_DETAIL.length">
</el-tab-pane> <el-scrollbar>
<el-tab-pane :label="columns4.title" v-if="model.adJ_DETAIL.length"> <app-table :data="model.adJ_DETAIL" :columns="columns4" />
<el-scrollbar> </el-scrollbar>
<app-table :data="model.adJ_DETAIL" :columns="columns4" /> </el-tab-pane>
</el-scrollbar> </el-tabs>
</el-tab-pane>
</el-tabs>
</el-col>
</el-row>
<template #footer> <template #footer>
<span class="dialog-footer"> <span class="dialog-footer">
<el-button type="primary" @click="show=false"> 返回 </el-button> <el-button type="primary" @click="show=false"> 返回 </el-button>
@ -155,14 +151,18 @@ export default {
</template> </template>
</el-dialog>`, </el-dialog>`,
styles: html` <style> styles: html` <style>
.page-drawer .el-tabs,
.page-drawer .el-tab-pane { .page-drawer .el-tab-pane {
height: 100%;
}
.page-drawer .el-tabs__content {
width: 100%; width: 100%;
height: calc(100% - 160px); height: calc(100% - 160px);
} }
.page-drawer .el-tabs__content, .page-drawer .el-tabs__content,
.page-drawer .el-scrollbar { .page-drawer .el-scrollbar {
width: 100%; width: 100%;
height: calc(100% - 160px - 40px); height: calc(100% - 40px);
} }
.re-open .el-dialog__footer { .re-open .el-dialog__footer {
display: flex; display: flex;

8
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/VmiAppService.cs

@ -243,10 +243,10 @@ public class VmiAppService : ApplicationService, IJobService, ITransientDependen
{ {
Debug.WriteLine($"{tableName}不存在"); Debug.WriteLine($"{tableName}不存在");
//以为代码为测试建表建唯一索引和物理索引 //以为代码为测试建表建唯一索引和物理索引
command.CommandText = $"select * into {tableName} from Set_VmiLog where 1=0;"; //command.CommandText = $"select * into {tableName} from Set_VmiLog where 1=0;";
command.CommandText += $"create unique index IX_{tableName}_Id on {tableName} (Id);"; //command.CommandText += $"create unique index IX_{tableName}_Id on {tableName} (Id);";
command.CommandText += $"create clustered index IX_{tableName}_ChangedTime on {tableName} (ChangedTime);"; //command.CommandText += $"create clustered index IX_{tableName}_ChangedTime on {tableName} (ChangedTime);";
command.ExecuteNonQuery(); //command.ExecuteNonQuery();
} }
} }
} }

Loading…
Cancel
Save