lex-xin 4 years ago
parent
commit
0ac05ece6f
1 changed files with 11 additions and 9 deletions
  1. 11 9
      src/views/businessManager/orderManager/orderAudit-taoqi/index.vue

+ 11 - 9
src/views/businessManager/orderManager/orderAudit-taoqi/index.vue

@@ -20,10 +20,12 @@
                      filterable
                      clearable
                      placeholder="请选择分部">
-            <el-option v-for="(item,index) in organList"
-                       :key="index"
-                       :label="item.name"
-                       :value="item.id"></el-option>
+            <el-option
+              v-for="(item, index) in selects.branchs"
+              :key="index"
+              :label="item.name"
+              :value="item.id"
+            ></el-option>
           </el-select>
         </el-form-item>
         <el-form-item>
@@ -227,11 +229,11 @@ export default {
   created() {},
   //生命周期 - 挂载完成(可以访问DOM元素)
   mounted() {
-    getEmployeeOrgan().then((res) => {
-      if (res.code == 200) {
-        this.organList = res.data;
-      }
-    });
+    // getEmployeeOrgan().then((res) => {
+    //   if (res.code == 200) {
+    //     this.organList = res.data;
+    //   }
+    // });
     // 获取分部
      this.$store.dispatch("setBranchs");
     goodsQuery({ rows: 99999 }).then((res) => {