From e202a6cc9f29b08230ce681aa07e958a911aa361 Mon Sep 17 00:00:00 2001 From: liuxiaoxue <1126966868@qq.com> Date: Wed, 4 Jan 2023 10:03:24 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=96=87=E6=9C=AC=E6=A1=86=E9=AB=98?= =?UTF-8?q?=E5=BA=A6=E5=92=8C=E5=AF=B9=E9=BD=90=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/main/BookingLedger/detail/modules/basicInfo.vue | 5 ++++- src/views/main/BookingLedger/detail/modules/mailingInfo.vue | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/views/main/BookingLedger/detail/modules/basicInfo.vue b/src/views/main/BookingLedger/detail/modules/basicInfo.vue index 17955dc..20171d2 100644 --- a/src/views/main/BookingLedger/detail/modules/basicInfo.vue +++ b/src/views/main/BookingLedger/detail/modules/basicInfo.vue @@ -1431,7 +1431,7 @@ export default { .customer-box { display: flex; - + margin-top: 2px; .customer-input { flex: 1; } @@ -1461,6 +1461,9 @@ export default { /deep/ .date-box { padding-top: 7px !important; } +.ant-input[type="text"]{ + height: 28px !important; +} // .ant-calendar-picker-input{ // padding: 0 4px; diff --git a/src/views/main/BookingLedger/detail/modules/mailingInfo.vue b/src/views/main/BookingLedger/detail/modules/mailingInfo.vue index 5e00a43..6ed0b5f 100644 --- a/src/views/main/BookingLedger/detail/modules/mailingInfo.vue +++ b/src/views/main/BookingLedger/detail/modules/mailingInfo.vue @@ -1832,6 +1832,7 @@ export default { } .sender-label{ position: relative; + margin-bottom: 0px !important; /deep/ .ant-form-item-children-icon{ position: absolute; top: calc(100% + 15px); @@ -1844,9 +1845,10 @@ export default { } .yard-box { position: relative; + margin-top: 5px; i { color: @primary-color; - margin-top: -3px !important; + margin-top: -5px !important; cursor: pointer; } } @@ -1881,6 +1883,7 @@ export default { .line-box { display: flex; + margin-top: 6px; span.unit { font-size: 12px; color: #999; From cee8dd4b611c5004f08f139b1244d78b18807eac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=90=8C=E6=B5=B7?= <963808678@qq.com> Date: Wed, 4 Jan 2023 11:11:49 +0800 Subject: [PATCH 2/2] 1/4 --- src/api/modular/main/TenantConfig.js | 36 +++++--- src/api/modular/main/vesselinfo.js | 12 +++ src/views/main/EDI/addForm.vue | 6 +- src/views/main/TenantConfig/addForm.vue | 4 +- src/views/main/TenantConfig/editForm.vue | 45 +-------- src/views/main/TenantConfig/index.vue | 11 +-- src/views/main/vesselinfo/addForm.vue | 113 +++++++++++++---------- src/views/main/vesselinfo/editForm.vue | 110 ++++++++++++---------- src/views/main/vesselinfo/index.vue | 10 +- 9 files changed, 177 insertions(+), 170 deletions(-) diff --git a/src/api/modular/main/TenantConfig.js b/src/api/modular/main/TenantConfig.js index 08fe1ce..5e74f24 100644 --- a/src/api/modular/main/TenantConfig.js +++ b/src/api/modular/main/TenantConfig.js @@ -11,15 +11,35 @@ export function DjyTenantConfigPage(parameter) { }) } /** - * 新增编辑 + * 新增 */ -export function DjyVesselInfoServiceAddOrUpdate(parameter) { +export function DjyTenantConfigAdd(parameter) { return axios({ - url: '/DjyVesselInfoService/AddOrUpdate', + url: '/DjyTenantConfig/add', method: 'post', data: parameter }) } +/** + * 编辑 + */ +export function DjyTenantConfigEdit(parameter) { + return axios({ + url: '/DjyTenantConfig/edit', + method: 'post', + data: parameter + }) +} +/** + * 删除 + */ +export function DjyTenantConfigDelete(parameter) { + return axios({ + url: '/DjyTenantConfig/delete', + method: 'get', + params: parameter + }) +} /** * 分页查询租户 */ @@ -95,13 +115,3 @@ export function BookingPrintTemplateGetPrintTemplateList(parameter) { params: { PageNo: 1, PageSize: 999 } }) } -/** - * 删除打印模板权限 - */ -export function BookingPrintTemplateDeletePrinttemplateRight(parameter) { - return axios({ - url: '/BookingPrintTemplate/DeletePrinttemplateRight', - method: 'get', - params: parameter - }) -} diff --git a/src/api/modular/main/vesselinfo.js b/src/api/modular/main/vesselinfo.js index 869568a..1908b62 100644 --- a/src/api/modular/main/vesselinfo.js +++ b/src/api/modular/main/vesselinfo.js @@ -65,6 +65,18 @@ export function GetCarrierlist(parameter) { params: parameter }) } +/** + * 获取船名 + * @params CnName + */ +export function GetVessellist(parameter) { + return axios({ + url: '/commondb/vessellist', + method: 'get', + params: parameter + }) +} + /** * 分页查询用户 */ diff --git a/src/views/main/EDI/addForm.vue b/src/views/main/EDI/addForm.vue index 8be95ef..c0f9b5a 100644 --- a/src/views/main/EDI/addForm.vue +++ b/src/views/main/EDI/addForm.vue @@ -16,9 +16,9 @@ placeholder="请选择EDI类型" v-decorator="['edicode', { rules: [{ required: true, message: '请输入EDI类型!' }] }]" > - {{ - item.name - }} + + {{ item.name }} + diff --git a/src/views/main/TenantConfig/addForm.vue b/src/views/main/TenantConfig/addForm.vue index 1f44701..f92d148 100644 --- a/src/views/main/TenantConfig/addForm.vue +++ b/src/views/main/TenantConfig/addForm.vue @@ -45,7 +45,7 @@