From 6d0377aea2ff6ba4b5bcafbf9736824978c77831 Mon Sep 17 00:00:00 2001
From: huangdeliang <huangdeliang@skieer.com>
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 @@
       </el-table-column>
       <el-table-column label="体重" align="center" prop="weight" width="80">
         <template slot-scope="scope">
-          {{scope.row.weight ? `${scope.row.weight}kg` : ''}}
+          {{scope.row.weight ? `${scope.row.weight}斤` : ''}}
         </template>
       </el-table-column>
       <el-table-column label="手机号" align="center" prop="phone" width="120"/>
@@ -289,7 +289,8 @@
           </el-col>
           <el-col :span="8">
             <el-form-item label="体重" prop="weight">
-              <el-input v-model="form.weight" placeholder="请输入体重"/>
+                <el-input style="width: 100px" v-model="form.weight" placeholder="请输入体重"/>
+                斤
             </el-form-item>
           </el-col>
           <el-col :span="8">
@@ -473,7 +474,7 @@
                 placeholder="选择开始日期"
                 format="yyyy-MM-dd"
                 value-format="yyyy-MM-dd"
-                :picker-options="startPickerOptions">
+              >
               </el-date-picker>
             </el-form-item>
           </el-col>