From eb05df91e104ded78614e65bf6e6fde0e222b3da Mon Sep 17 00:00:00 2001
From: caoyizhong <1270296080@qq.com>
Date: Sun, 25 Jun 2023 13:37:18 +0800
Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AE=A2=E6=88=B7?=
=?UTF-8?q?=E4=BF=A1=E6=81=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/basicdata/basicStoreContact.js | 7 +
src/option/basicdata/basicClientFrom.js | 132 ++++++++++++++++++
src/option/basicdata/basicStoreContact.js | 5 +
src/views/basicdata/brand/basicClient.vue | 20 ++-
src/views/basicdata/brand/basicClientFrom.vue | 33 ++++-
.../basicdata/brand/basicStoreContact.vue | 96 ++++++++++---
.../delivery/distributionDelivery.vue | 2 +-
7 files changed, 269 insertions(+), 26 deletions(-)
create mode 100644 src/option/basicdata/basicClientFrom.js
diff --git a/src/api/basicdata/basicStoreContact.js b/src/api/basicdata/basicStoreContact.js
index 23b1beb4..9bb7152a 100644
--- a/src/api/basicdata/basicStoreContact.js
+++ b/src/api/basicdata/basicStoreContact.js
@@ -22,6 +22,13 @@ export const getListStore = (current, size, params) => {
}
})
}
+export const updateCargoControl = (row) => {
+ return request({
+ url: '/api/logpm-basicdata/basicdataStoreContact/update',
+ method: 'post',
+ data: row
+ })
+}
export const getDetail = (id) => {
return request({
diff --git a/src/option/basicdata/basicClientFrom.js b/src/option/basicdata/basicClientFrom.js
new file mode 100644
index 00000000..ed1d5278
--- /dev/null
+++ b/src/option/basicdata/basicClientFrom.js
@@ -0,0 +1,132 @@
+export default {
+ expand: false,
+ index: true,
+ border: true,
+ selection: true,
+ column: [
+ {
+ label: "租户号",
+ prop: "tenantId",
+ display: false,
+ hide: true,
+ },
+ {
+ label: "创建人",
+ prop: "createUser",
+ display: true,
+ hide: true,
+ },
+ {
+ label: "创建时间",
+ prop: "createTime",
+ display: false,
+ hide: true,
+ },
+ {
+ label: "更新人",
+ prop: "updateUser",
+ display: false,
+ hide: true,
+ },
+ {
+ label: "更新时间",
+ prop: "updateTime",
+ display: false,
+ hide: true,
+ },
+ {
+ label: "状态",
+ prop: "status",
+ display: false,
+ hide: true,
+ },
+ {
+ label: "是否已删除",
+ prop: "isDeleted",
+ display: false,
+ hide: true,
+ },
+ {
+ label: "创建部门",
+ prop: "createDept",
+ display: false,
+ hide: true,
+ },
+ {
+ label: "主键",
+ prop: "id",
+ display: false,
+ hide: true,
+ },
+ {
+ label: "预留1",
+ prop: "reserve1",
+ display: false,
+ hide: true,
+ },
+ {
+ label: "预留2",
+ prop: "reserve2",
+ display: false,
+ hide: true,
+ },
+ {
+ label: "预留3",
+ prop: "reserve3",
+ display: false,
+ hide: true,
+ },
+ {
+ label: "预留4",
+ prop: "reserve4",
+ display: false,
+ hide: true,
+ },
+ {
+ label: "预留5",
+ prop: "reserve5",
+ display: false,
+ hide: true,
+ },
+ {
+ label: "客户名称",
+ prop: "clientName",
+ search: true,
+ },
+ {
+ label: "客户类型",
+ prop: "clientType",
+ search: true,
+ hide: true,
+ },
+ {
+ label: "客户类型",
+ prop: "typeService",
+ search: true,
+ },
+ {
+ label: "地址",
+ prop: "bladeRegionProvinceId",
+ search: true,
+ },
+ {
+ label: "合同附件",
+ prop: "fileName",
+ },
+ {
+ label: "控货",
+ prop: "cargoControl",
+ hide: true,
+ },
+ {
+ label: "合同开始时间",
+ prop: "contractStartTime",
+ search: true,
+ },
+ {
+ label: "合同结束时间",
+ prop: "contractEntTime",
+ search: true,
+ },
+ ]
+}
diff --git a/src/option/basicdata/basicStoreContact.js b/src/option/basicdata/basicStoreContact.js
index a37063d9..c1f862fd 100644
--- a/src/option/basicdata/basicStoreContact.js
+++ b/src/option/basicdata/basicStoreContact.js
@@ -98,6 +98,11 @@ export default {
prop: "phone",
search: true,
},
+ {
+ label: "默认联系人",
+ prop: "defaultType",
+ search: true,
+ },
{
label: "创建时间",
prop: "createTime",
diff --git a/src/views/basicdata/brand/basicClient.vue b/src/views/basicdata/brand/basicClient.vue
index 749dc188..a19f3c69 100644
--- a/src/views/basicdata/brand/basicClient.vue
+++ b/src/views/basicdata/brand/basicClient.vue
@@ -108,6 +108,8 @@
商场
装饰
个人
+ 待调整
+ 待调整
@@ -150,6 +152,9 @@
联系人
+
+ 品牌
+
@@ -361,7 +366,7 @@