From 8907cde7fc404c233a0d29cd58b8f75455623325 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, 22 Feb 2023 16:05:39 +0800 Subject: [PATCH] 2/22 --- src/api/modular/main/BookingLedger.js | 8 +++++ .../detail/modules/operationArea.vue | 22 +++++++----- .../detail/modules/rightContent.vue | 34 ++++++++++++++----- src/views/main/BookingLedger/list/index.vue | 12 ++++--- src/views/main/CommondbYard/addForm.vue | 5 +++ src/views/main/CommondbYard/editForm.vue | 5 +++ src/views/main/CommondbYard/index.vue | 6 ++++ 7 files changed, 70 insertions(+), 22 deletions(-) diff --git a/src/api/modular/main/BookingLedger.js b/src/api/modular/main/BookingLedger.js index 962995c..264943a 100644 --- a/src/api/modular/main/BookingLedger.js +++ b/src/api/modular/main/BookingLedger.js @@ -703,3 +703,11 @@ export function DjyCustomerContacts(parameter) { params: parameter }) } +// 删除备注 +export function BookingOrderDeleteRemark(parameter) { + return axios({ + url: '/BookingOrder/DeleteRemark', + method: 'post', + params: parameter + }) +} diff --git a/src/views/main/BookingLedger/detail/modules/operationArea.vue b/src/views/main/BookingLedger/detail/modules/operationArea.vue index 6ccab97..697feea 100644 --- a/src/views/main/BookingLedger/detail/modules/operationArea.vue +++ b/src/views/main/BookingLedger/detail/modules/operationArea.vue @@ -390,7 +390,7 @@ -
+
-
@@ -544,7 +544,7 @@
-
+
-
@@ -1774,10 +1775,15 @@ export default { display: inline-block; width: 25px; text-align: right; - height: 32px; - line-height: 32px; + height: 100%; + // height: 32px; + // line-height: 32px; font-size: 13px; cursor: pointer; + > textarea { + background: #f6fdfd !important; + } + i { color: @primary-color; } diff --git a/src/views/main/BookingLedger/detail/modules/rightContent.vue b/src/views/main/BookingLedger/detail/modules/rightContent.vue index 2479a1a..4696d88 100644 --- a/src/views/main/BookingLedger/detail/modules/rightContent.vue +++ b/src/views/main/BookingLedger/detail/modules/rightContent.vue @@ -50,9 +50,12 @@
{{ remark.remark }}
-
{{ remark.updatedTime || remark.createdTime }}
+
{{ remark.updatedTime || remark.createdTime }} {{ remark.UpdatedUserName }}
+ +
+
@@ -76,7 +79,9 @@ {{ file.fileName }} - +
{{ file.typeName }} @@ -111,7 +116,9 @@
{{ child.opTime }} - {{ child.status }} 箱号:{{ child.cntrno }} + {{ child.status }} 箱号:{{ child.cntrno }} +
@@ -236,7 +243,8 @@ import { AddFile, BookingOrderGetFile, ExcuteRulesOceanBooking, - BookingOrderDownload + BookingOrderDownload, + BookingOrderDeleteRemark } from '@/api/modular/main/BookingLedger' export default { @@ -389,12 +397,20 @@ export default { console.log(err) }) }, - editRemark (data) { + editRemark(data) { // console.log('=== 暂无接口, 需要添加编辑备注 ===') this.remarkModelvisible = true this.remarkVal = data.remark this.editRemarkVal = data }, + deleteRemark(data) { + console.log(data) + BookingOrderDeleteRemark({ id: data.id }).then(res => { + // console.log(res) + this.$message.success('成功删除') + this.getRemark() + }) + }, handleModelCancel() { this.remarkModelvisible = false this.editRemarkVal = null @@ -686,7 +702,7 @@ export default { .remark { padding-bottom: 8px; display: flex; - .remark-main{ + .remark-main { flex: 1; .top { font-size: 13px; @@ -778,7 +794,7 @@ export default { } .log-name { flex: 1; - .min-log{ + .min-log { font-size: 12px; color: #999; margin-left: 4px; @@ -838,7 +854,7 @@ export default { .log-name { flex: 1; display: flex; - .min-log{ + .min-log { font-size: 12px; color: #999; margin-left: 4px; @@ -1130,7 +1146,7 @@ export default { } } -&.ant-upload-disabled{ +&.ant-upload-disabled { color: #ccc; } .uplad-type { diff --git a/src/views/main/BookingLedger/list/index.vue b/src/views/main/BookingLedger/list/index.vue index 64449de..1a09b95 100644 --- a/src/views/main/BookingLedger/list/index.vue +++ b/src/views/main/BookingLedger/list/index.vue @@ -163,9 +163,9 @@ - + -

历史记录

+

最近使用

@@ -175,7 +175,7 @@
-

{{ e }}

+

{{ e }}

@@ -1540,7 +1540,7 @@ export default { } .radio-logo { - width: 60px; + width: 50px; // height: 40px; display: inline-block; } @@ -1551,7 +1551,9 @@ export default { display: flex; flex-wrap: wrap; .ant-radio-wrapper { - width: 20%; + height: 45px !important; + line-height: 45px !important; + width: 10%; margin: 0; } // .label-flex { diff --git a/src/views/main/CommondbYard/addForm.vue b/src/views/main/CommondbYard/addForm.vue index 44125c6..212ac61 100644 --- a/src/views/main/CommondbYard/addForm.vue +++ b/src/views/main/CommondbYard/addForm.vue @@ -26,6 +26,11 @@ /> + + + + + diff --git a/src/views/main/CommondbYard/editForm.vue b/src/views/main/CommondbYard/editForm.vue index 2003c33..2f52487 100644 --- a/src/views/main/CommondbYard/editForm.vue +++ b/src/views/main/CommondbYard/editForm.vue @@ -27,6 +27,11 @@ /> + + + + + diff --git a/src/views/main/CommondbYard/index.vue b/src/views/main/CommondbYard/index.vue index 4d031a6..f5f61a1 100644 --- a/src/views/main/CommondbYard/index.vue +++ b/src/views/main/CommondbYard/index.vue @@ -98,6 +98,12 @@ export default { width: '100', dataIndex: 'name' }, + { + title: '助记码', + align: 'center', + width: '80', + dataIndex: 'showCode' + }, { title: '描述', align: 'center',