From 6d0377aea2ff6ba4b5bcafbf9736824978c77831 Mon Sep 17 00:00:00 2001 From: huangdeliang Date: Sat, 5 Dec 2020 11:06:25 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- stdiet-ui/src/views/custom/commision/detail/index.vue | 9 +++++---- stdiet-ui/src/views/custom/order/index.vue | 7 ++++--- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/stdiet-ui/src/views/custom/commision/detail/index.vue b/stdiet-ui/src/views/custom/commision/detail/index.vue index d5a61b434..8eadd8e44 100644 --- a/stdiet-ui/src/views/custom/commision/detail/index.vue +++ b/stdiet-ui/src/views/custom/commision/detail/index.vue @@ -136,9 +136,9 @@ this.getList(); getOptions().then(response => { this.options = response.data.reduce((opts, cur) => { - if (cur.postCode.startsWith('planner')) { - return opts; - } + // if (cur.postCode.startsWith('planner')) { + // return opts; + // } if (!opts[cur.postId]) { opts[cur.postId] = []; } @@ -152,8 +152,9 @@ } return opts; }, {}); + this.postIdOptions = this.postIdOptions.sort((a, b) => a.dictValue - b.dictValue); this.searchUserIdOptions = this.totalUserIdOptions.slice(); - }); + }) }, methods: { diff --git a/stdiet-ui/src/views/custom/order/index.vue b/stdiet-ui/src/views/custom/order/index.vue index 9f1f66a28..3a85a2778 100644 --- a/stdiet-ui/src/views/custom/order/index.vue +++ b/stdiet-ui/src/views/custom/order/index.vue @@ -228,7 +228,7 @@ @@ -289,7 +289,8 @@ - + + 斤 @@ -473,7 +474,7 @@ placeholder="选择开始日期" format="yyyy-MM-dd" value-format="yyyy-MM-dd" - :picker-options="startPickerOptions"> + >