Browse Source

update

master
wanggang 1 year ago
parent
commit
2bf299cd57
  1. 5
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Startup.cs
  2. 7
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/list/index.js
  3. 4
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/invoice/invoice_map_group.js

5
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Startup.cs

@ -1,6 +1,5 @@
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
using Coravel; using Coravel;
using Coravel.Scheduling.Schedule;
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc.ApplicationModels; using Microsoft.AspNetCore.Mvc.ApplicationModels;
@ -47,7 +46,9 @@ public class Startup
{ {
app.UseRouting(); app.UseRouting();
app.UseEndpoints(endpoints => endpoints.MapHub<PageHub>("/api/hub")); app.UseEndpoints(endpoints => endpoints.MapHub<PageHub>("/api/hub"));
app.ApplicationServices.UseScheduler(scheduler =>{ }); app.ApplicationServices.UseScheduler(scheduler =>
{
});
var contentTypeProvider = new FileExtensionContentTypeProvider(); var contentTypeProvider = new FileExtensionContentTypeProvider();
contentTypeProvider.Mappings.Add(".mjs", "text/javascript"); contentTypeProvider.Mappings.Add(".mjs", "text/javascript");
app.UseStaticFiles(new StaticFileOptions { ContentTypeProvider = contentTypeProvider }); app.UseStaticFiles(new StaticFileOptions { ContentTypeProvider = contentTypeProvider });

7
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/list/index.js

@ -103,6 +103,13 @@ export default {
</template> </template>
</el-table-column> </el-table-column>
</template> </template>
<template v-else-if="item.link">
<el-table-column :prop="key" :label="item.title">
<template #default="scope">
<el-link type="primary" @click="click({path:key},[scope.row])"> {{scope.row[key]}} </el-link>
</template>
</el-table-column>
</template>
<template v-else> <template v-else>
<template v-if="showColumn(item,key)"> <template v-if="showColumn(item,key)">
<el-table-column <el-table-column

4
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/invoice/invoice_map_group.js

@ -9,10 +9,12 @@ const schema = {
invbillNum: { invbillNum: {
title: "系统生成发票号", title: "系统生成发票号",
type: "string", type: "string",
link: true,
}, },
invGroupNum: { invGroupNum: {
title: "发票分组号", title: "发票分组号",
type: "string", type: "string",
link: true,
}, },
settleGroupNum: { settleGroupNum: {
title: "结算分组号", title: "结算分组号",
@ -22,7 +24,7 @@ const schema = {
title: "金额", title: "金额",
type: "decimal", type: "decimal",
}, },
state , state,
taxAmt: { taxAmt: {
title: "税额", title: "税额",
type: "decimal", type: "decimal",

Loading…
Cancel
Save