瀏覽代碼

Signed-off-by: liuboyan <632697560@qq.com>
bug

liuboyan 4 年之前
父節點
當前提交
7b321e9af0
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      src/page/purchase/purchasePool.vue

+ 4 - 4
src/page/purchase/purchasePool.vue

@@ -426,7 +426,7 @@ export default {
     };
   },
   created() {
-      this.searchForm.applicantName = localStorage.user_name
+    // this.searchForm.applicantName = localStorage.user_name
     this.getTableData();
     this.getUserAuth();
     getAreaList(localStorage.user_id).then((res) => {
@@ -461,9 +461,9 @@ export default {
     getJobList().then((res) => {
       if (res.status == 200) {
         this.fgcgyList = res.data;
-        // if (res.data.filter(site => site.userId == localStorage.user_id).length){
-        //   this.searchForm.purchaserId = localStorage.user_id
-        // }
+        if (res.data.filter(site => site.userId == localStorage.user_id).length){
+          this.searchForm.purchaserId = localStorage.user_id
+        }
       } else {
         this.$Message.error("获取分管采购员列表失败!");
       }