From efa41e4756d41fc77a2f92f03f9eba609afaad8b Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Wed, 27 Oct 2021 20:15:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/customer/AddCustomer.vue | 2 +- src/views/order/AddOrder.vue | 54 ++++++++++++++++-------------- src/views/serve/projectAdd.vue | 20 +++++------ src/views/user/AddUser.vue | 7 ++++ 4 files changed, 47 insertions(+), 36 deletions(-) diff --git a/src/views/customer/AddCustomer.vue b/src/views/customer/AddCustomer.vue index 4179284..2e72ea0 100644 --- a/src/views/customer/AddCustomer.vue +++ b/src/views/customer/AddCustomer.vue @@ -405,7 +405,7 @@ export default { name: customer.name, position: customer.position, } - this.contractInformations = res.result.contractInformations + this.contractInformations = res.result.contractInformations.filter(e => e.contractNumber || e.contractName); // 必须有合同编号或者名称,否则不展示 this.coursePermissionss = res.result.coursePermissionss this.dataPermissionss = res.result.dataPermissionss this.getCityData() diff --git a/src/views/order/AddOrder.vue b/src/views/order/AddOrder.vue index 8029362..e56d296 100644 --- a/src/views/order/AddOrder.vue +++ b/src/views/order/AddOrder.vue @@ -113,9 +113,9 @@ - + - + - + - + - + - + - + - + - +