-
{{item.title}}
+
{{item.title}} :{{data.map(o=>o[key]).reduce(item.reduce)}}
diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/base-data/bei-jian.js b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/base-data/bei-jian.js
index aa02e8a0..1dbaf4c1 100644
--- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/base-data/bei-jian.js
+++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/base-data/bei-jian.js
@@ -12,11 +12,15 @@ const schema = {
},
beginDate: {
title: "开始时间",
- type: "DateTime",
+ type: "string",
+ input: "datetime",
+ clearable: true,
},
endDate: {
title: "结束时间",
- type: "DateTime",
+ type: "string",
+ input: "datetime",
+ clearable: true,
},
clientCode: {
title: "客户编码",
@@ -72,6 +76,20 @@ export default function () {
},
},
default: [
+ {
+ logic: "and",
+ column: "beginDate",
+ action: "biggerThanOrEqual",
+ value: null,
+ readOnly: true,
+ },
+ {
+ logic: "and",
+ column: "endDate",
+ action: "smallThanOrEqual",
+ value: null,
+ readOnly: true,
+ },
{
logic: "and",
column: "lu",
@@ -79,6 +97,13 @@ export default function () {
value: null,
readOnly: true,
},
+ {
+ logic: "and",
+ column: "contractNo",
+ action: "like",
+ value: null,
+ readOnly: true,
+ },
],
},
skipCount: {
diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/settle/_check.js b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/settle/_check.js
index 11ee5aee..d6d9ba8b 100644
--- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/settle/_check.js
+++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/settle/_check.js
@@ -374,10 +374,12 @@ export default {
qty: {
type: "number",
title: "数量",
+ reduce: (x, y) => x + y,
},
amt: {
type: "number",
title: "金额",
+ reduce: (x, y) => x + y,
},
},
};
From 16dd3c6acf3f0f9ad2dd0bf693f2ae538e283cf2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=AD=A6=20=E8=B5=B5?= <89237069@qq.com>
Date: Sat, 9 Sep 2023 09:31:42 +0800
Subject: [PATCH 04/14] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=89=88=E6=9C=AC?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Bases/ADJ_SERVICE.cs | 20 ++++---
.../Bases/BA_SERVICE.cs | 52 +++++++++----------
.../Bases/CAN_SA_SERVICE.cs | 6 +--
.../Entities/BQ/BBAC_BA_SERVICE.cs | 9 ++--
.../Entities/BQ/BBAC_CAN_SA_SERVICE.cs | 5 +-
.../Entities/BQ/HBPO_BA_SERVICE.cs | 4 +-
.../Entities/BQ/HBPO_CAN_SA_SERVICE.cs | 4 +-
.../Entities/BQ/INVOICE_SERVICE.cs | 11 ++++
.../Entities/BQ/PUB_BA_SERVICE.cs | 6 +--
.../Entities/BQ/PUB_CAN_SA_SERVICE.cs | 5 +-
.../BaseDomainServices/BaseDomainService.cs | 7 +--
.../SettleAccount.Domain/Bases/EntityBase.cs | 7 +++
.../Entities/BQ/BBAC_CAN_SA.cs | 4 +-
.../Entities/BQ/HBPO_CAN_SA.cs | 4 +-
.../Entities/BQ/INVOICE_GRP.cs | 3 ++
.../Entities/BQ/Managers/BBAC_NOT_SA_MNG.cs | 4 +-
.../Entities/BQ/Managers/HBPO_NOT_SA_MNG.cs | 4 +-
.../Entities/BQ/Managers/INV_MNG.cs | 25 ++++++++-
.../Entities/BQ/Managers/PUB_NOT_SA_MNG.cs | 6 ++-
.../Entities/BQ/PUB_CAN_SA.cs | 4 +-
20 files changed, 123 insertions(+), 67 deletions(-)
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Bases/ADJ_SERVICE.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Bases/ADJ_SERVICE.cs
index 3615febe..450d0719 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Bases/ADJ_SERVICE.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Bases/ADJ_SERVICE.cs
@@ -133,7 +133,7 @@ public class ADJ_SERVICE : BASE_SERVICE
errorList.Add(
new ErrorExportDto() { ItemCode = $"{itm}", Message = $"[客户零件关系表]不存在客户零件号{itm}" });
}
- var errorEntitylist = await _baseDomainService.CheckPriceList(entityList);
+ var errorEntitylist = await _baseDomainService.CheckPriceList(entityList,"1040");
if (errorEntitylist.Count > 0)
{
foreach (var itm in errorEntitylist)
@@ -193,10 +193,14 @@ public class ADJ_SERVICE : BASE_SERVICE
int flag = 0;
var keylist = p_list.Select(p => p.KeyCode).Distinct();
List