From 508cb5758c069b6537a88614b21a44c47a2bf679 Mon Sep 17 00:00:00 2001 From: caoyizhong <1270296080@qq.com> Date: Thu, 1 Jun 2023 11:58:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AE=A2=E6=88=B7=E5=8E=86?= =?UTF-8?q?=E5=8F=B2=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/basicdata/basicClient.js | 8 +++ src/option/basicdata/basicClient.js | 6 +- src/views/basicdata/brand/basicClient.vue | 67 ++++++++++++++++++- .../brand/basicHistoricalContract.vue | 16 ++++- 4 files changed, 94 insertions(+), 3 deletions(-) diff --git a/src/api/basicdata/basicClient.js b/src/api/basicdata/basicClient.js index 26d752f6..3c487d61 100644 --- a/src/api/basicdata/basicClient.js +++ b/src/api/basicdata/basicClient.js @@ -48,6 +48,14 @@ export const update = (row) => { }) } +export const updateCargoControl = (row) => { + return request({ + url: '/api/logpm-basicdata/basicdataClient/update', + method: 'post', + data: row + }) +} + export const selectName = (current, size, params) => { return request({ url: '/api/logpm-basicdata/basicdataClient/page', diff --git a/src/option/basicdata/basicClient.js b/src/option/basicdata/basicClient.js index 49077d20..e0c15fb5 100644 --- a/src/option/basicdata/basicClient.js +++ b/src/option/basicdata/basicClient.js @@ -115,7 +115,11 @@ export default { // }, { label: "合同附件", - prop: "leaseAccessories", + prop: "fileName", + }, + { + label: "控货", + prop: "cargoControl", }, { label: "合同开始时间", diff --git a/src/views/basicdata/brand/basicClient.vue b/src/views/basicdata/brand/basicClient.vue index 3ad6e816..ff751e9c 100644 --- a/src/views/basicdata/brand/basicClient.vue +++ b/src/views/basicdata/brand/basicClient.vue @@ -99,6 +99,20 @@ :width="item.width" show-overflow-tooltip :key="index" align="center"> + + + + @@ -261,7 +275,7 @@