gjy 2 gadi atpakaļ
vecāks
revīzija
b5067affc7

+ 4 - 1
src/views/statisticalReport/autoSettlementList.vue

@@ -492,6 +492,9 @@ import {
 import {
   downloadFile
 } from '@/utils/batchDown'
+import {
+    getwarehouse
+  } from '@/model/houseSelfCollect/index'
 import Pagination from '@/components/Pagination'
 import WsUpload from '@/components/WsUpload'
 import {
@@ -676,7 +679,7 @@ export default {
   },
   activated() {
     console.log(11111111)
-      selectWarehouseSelf({
+    getwarehouse({
             compId: localStorage.getItem('ws-pf_compId'),
           })
           .toPromise()

+ 4 - 2
src/views/taskManagement/tranManagementWarehouseInOutTask.vue

@@ -162,8 +162,10 @@
     setcorrect,
     sponsorWithdraw
   } from '@/model/tasksport/index'
+
   import {
-  selectWarehouseSelf,
+  // selectWarehouseSelf,
+  getwarehouse
 } from '@/model/houseSelfCollect/index'
   import {
     getstafffind,
@@ -311,7 +313,7 @@
       this.showType = this.isShow
     },
     mounted() {
-      selectWarehouseSelf({
+      getwarehouse({
         compId: localStorage.getItem('ws-pf_compId'),
       })
         .toPromise()