From 17589ab6f5043049d7a6a5a3f276b0d3ef35e68a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=90=8C=E6=B5=B7?= <963808678@qq.com> Date: Tue, 7 Mar 2023 14:00:36 +0800 Subject: [PATCH] 3/7 --- .../main/EDIParameterSettingService.js | 25 +++++++++++++++- src/views/main/EDI/addForm.vue | 4 +-- src/views/main/EDI/editForm.vue | 4 +-- src/views/main/EDI/index.vue | 30 +++++++++++++++++-- 4 files changed, 56 insertions(+), 7 deletions(-) diff --git a/src/api/modular/main/EDIParameterSettingService.js b/src/api/modular/main/EDIParameterSettingService.js index 38e64a2..bb47ec2 100644 --- a/src/api/modular/main/EDIParameterSettingService.js +++ b/src/api/modular/main/EDIParameterSettingService.js @@ -38,7 +38,18 @@ export function DjyEdiSettingEdit(parameter) { data: parameter }) } - +/** + * 保存EDI参数设置 + * + * @author Myshipping + */ +export function DjyEdiSettingSave(parameter) { + return axios({ + url: '/DjyEdiSetting/save', + method: 'post', + data: parameter + }) +} /** * 删除EDI参数设置 * @@ -51,3 +62,15 @@ export function DjyEdiSettingDelete(parameter) { data: parameter }) } +/** + * 设置启用(启用后,同船司、同发送类型的其他EDI通道会被取消启用) + * + * @author Myshipping + */ +export function DjyEdiSettingSetEnable(parameter) { + return axios({ + url: '/DjyEdiSetting/SetEnable', + method: 'post', + params: parameter + }) +} diff --git a/src/views/main/EDI/addForm.vue b/src/views/main/EDI/addForm.vue index ab82d29..9ae6fab 100644 --- a/src/views/main/EDI/addForm.vue +++ b/src/views/main/EDI/addForm.vue @@ -188,7 +188,7 @@