From d7140b0703f32c0c9c25baa037e5612cf4b19a32 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: Mon, 17 Jul 2023 17:26:45 +0800 Subject: [PATCH] update --- .../wwwroot/models/material-relationship.js | 8 ++++++-- .../wwwroot/models/tb_re-parts-relationship_service.js | 0 .../wwwroot/views/base-data/tb_re-parts-relationship.js | 0 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/tb_re-parts-relationship_service.js create mode 100644 code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/base-data/tb_re-parts-relationship.js diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/material-relationship.js b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/material-relationship.js index 78196a6e..d79d1bea 100644 --- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/material-relationship.js +++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/material-relationship.js @@ -1,5 +1,5 @@ const schema = { - title: "物料主数据", + title: "客户零件关系", type: "object", properties: { erpMaterialCode: { @@ -19,8 +19,10 @@ const schema = { const baseUrl = "settleaccount/material-relationship"; const queryUrl = `${baseUrl}/get-list`; +const importUrl = `${baseUrl}/import`; const exportUrl = `${baseUrl}/export`; const queryMethod = "POST"; +const importMethod = "POST"; const exportMethod = "POST"; export default function () { @@ -30,7 +32,7 @@ export default function () { url: queryUrl, method: queryMethod, schema: { - title: "物料主数据", + title: "客户零件关系", type: "object", properties: { filters: { @@ -82,8 +84,10 @@ export default function () { }, edit: { queryUrl, + importUrl, exportUrl, queryMethod, + importMethod, exportMethod, schema: schema, }, diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/tb_re-parts-relationship_service.js b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/tb_re-parts-relationship_service.js new file mode 100644 index 00000000..e69de29b diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/base-data/tb_re-parts-relationship.js b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/base-data/tb_re-parts-relationship.js new file mode 100644 index 00000000..e69de29b