From 49eab561b788642108e68597749e9ddd27f3815f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9C=E6=97=AD=E4=B9=8B?= <12930972+jiang-xuzhi@user.noreply.gitee.com> Date: Fri, 11 Aug 2023 10:07:37 +0800 Subject: [PATCH 01/13] =?UTF-8?q?=E5=8F=AA=E6=9C=89=E5=9C=A8succeeded?= =?UTF-8?q?=E7=9A=84=E6=83=85=E5=86=B5=E4=B8=8B=EF=BC=8C=E4=B8=8B=E8=BD=BD?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E5=8F=AF=E4=BB=A5=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wwwroot/router/business.js | 128 ++++++++++++++++++ 1 file changed, 128 insertions(+) diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/router/business.js b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/router/business.js index dcf18f4b..f174d981 100644 --- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/router/business.js +++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/router/business.js @@ -210,6 +210,7 @@ export default [ title: "下载", icon: "file", pattern: "paged", + disabled: "o=>o.stateName!='Succeeded'", }, }, ], @@ -423,6 +424,23 @@ export default [ pattern: "paged", }, }, + { + path: "passed", + meta: { + type: "button", + title: "审核通过", + icon: "file", + isTop: true, + }, + }, + { + path: "reopen", + meta: { + type: "button", + title: "重开", + icon: "file", + }, + }, ], }, { @@ -941,6 +959,23 @@ export default [ pattern: "paged", }, }, + { + path: "passed", + meta: { + type: "button", + title: "审核通过", + icon: "file", + isTop: true, + }, + }, + { + path: "reopen", + meta: { + type: "button", + title: "重开", + icon: "file", + }, + }, ], }, { @@ -1393,6 +1428,23 @@ export default [ pattern: "paged", }, }, + { + path: "passed", + meta: { + type: "button", + title: "审核通过", + icon: "file", + isTop: true, + }, + }, + { + path: "reopen", + meta: { + type: "button", + title: "重开", + icon: "file", + }, + }, ], }, { @@ -1837,6 +1889,23 @@ export default [ pattern: "paged", }, }, + { + path: "passed", + meta: { + type: "button", + title: "审核通过", + icon: "file", + isTop: true, + }, + }, + { + path: "reopen", + meta: { + type: "button", + title: "重开", + icon: "file", + }, + }, ], }, { @@ -2501,6 +2570,23 @@ export default [ pattern: "paged", }, }, + { + path: "passed", + meta: { + type: "button", + title: "审核通过", + icon: "file", + isTop: true, + }, + }, + { + path: "reopen", + meta: { + type: "button", + title: "重开", + icon: "file", + }, + }, ], }, { @@ -2918,6 +3004,23 @@ export default [ pattern: "paged", }, }, + { + path: "passed", + meta: { + type: "button", + title: "审核通过", + icon: "file", + isTop: true, + }, + }, + { + path: "reopen", + meta: { + type: "button", + title: "重开", + icon: "file", + }, + }, ], }, { @@ -3332,6 +3435,23 @@ export default [ pattern: "paged", }, }, + { + path: "passed", + meta: { + type: "button", + title: "审核通过", + icon: "file", + isTop: true, + }, + }, + { + path: "reopen", + meta: { + type: "button", + title: "重开", + icon: "file", + }, + }, ], }, { @@ -3490,6 +3610,14 @@ export default [ pattern: "paged", }, }, + { + path: "reopen", + meta: { + type: "button", + title: "重开", + icon: "file", + }, + }, ], }, { From d7f78d2cea86c9c2386d403655090e5473fa8e14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9C=E6=97=AD=E4=B9=8B?= <12930972+jiang-xuzhi@user.noreply.gitee.com> Date: Fri, 11 Aug 2023 10:11:09 +0800 Subject: [PATCH 02/13] =?UTF-8?q?=E4=BF=AE=E6=94=B9log?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wwwroot/models/inventory/log.js | 45 ++++++++++--------- .../wwwroot/views/inventory/log.js | 6 +-- 2 files changed, 27 insertions(+), 24 deletions(-) diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/inventory/log.js b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/inventory/log.js index 6003865a..3e38b21a 100644 --- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/inventory/log.js +++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/inventory/log.js @@ -152,27 +152,30 @@ export default function () { value: null, readOnly: true, }, - { - logic: "and", - column: "billTime", - action: "BiggerThanOrEqual", - value: null, - readOnly: true, - }, - { - logic: "and", - column: "billTime", - action: "SmallThanOrEqual", - value: null, - readOnly: true, - }, - { - logic: "and", - column: "isReplenished", - action: "equal", - value: true, - readOnly: true, - }, + // { + // logic: "and", + // column: "billTime", + // action: "biggerThanOrEqual", + // value: null, + // readOnly: true, + // hidden: true, + // }, + // { + // logic: "and", + // column: "billTime", + // action: "smallThanOrEqual", + // value: null, + // readOnly: true, + // hidden: true, + // }, + // { + // logic: "and", + // column: "isReplenished", + // action: "equal", + // value: true, + // readOnly: true, + // hidden: true, + // }, { logic: "and", column: "billType", diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/inventory/log.js b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/inventory/log.js index e47f63fa..6bd46998 100644 --- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/inventory/log.js +++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/inventory/log.js @@ -33,9 +33,9 @@ export default { return postData; } const openDialog = async () => { - // const url = - // const method = - // const postData = buildQuery(); + const url = "settleaccount/vmi/replenished-export"; + const method = "POST"; + const postData = buildQuery(); const response = await request(url, postData, { method }); if (!response.errors) { window.open(getUrl(`settleaccount/getblobfile/download/${response.data}`)); From 6e165656033d3b519cb8e1da5859337ce18f7468 Mon Sep 17 00:00:00 2001 From: wanggang <76527413@qq.com> Date: Fri, 11 Aug 2023 10:57:01 +0800 Subject: [PATCH 03/13] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=AF=84=E5=94=AE?= =?UTF-8?q?=E5=BA=93=E5=AD=98=E5=AF=BC=E5=87=BA=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wwwroot/components/form/form-input.js | 6 +- .../wwwroot/components/table/index.js | 60 ++- .../views/invoice/invoice_map_group.js | 397 +++++++++++------- .../Entities/BQ/VmiAppService.cs | 68 ++- 4 files changed, 349 insertions(+), 182 deletions(-) diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/form/form-input.js b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/form/form-input.js index 969aef8e..9e9df487 100644 --- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/form/form-input.js +++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/form/form-input.js @@ -31,7 +31,11 @@ export default {