gjy 2 年之前
父節點
當前提交
0ac8f38942

+ 2 - 0
src/api/V2/houseSelfCollect/index.js

@@ -130,4 +130,6 @@ export const API_POST_CUSTOMER = `/weighingManagement/api/changeCustomer`
 export const API_POST_DANDONG_ORDER = `/paymentManagement/api/generateOrder`
 // 检查客户送粮量
 export const API_GETQUALITY = '/qualityInspectionManagement/getQualityInspectionManagementMap'
+// 查询仓库接口新
+export const API_GET_WAREHOUSE = '/warehouseBaseInfo/selectWarehouseSelfNew'
 

+ 4 - 1
src/model/houseSelfCollect/index.js

@@ -67,7 +67,8 @@ import {
   API_GET_CONTRACT,
   API_SPONSOR_WITHDRAW,
   API_GET_BASEID,
-  API_GETQUALITY
+  API_GETQUALITY,
+  API_GET_WAREHOUSE
 } from '@/api/V2/houseSelfCollect'
 //客户管理列表
 export const getCustomerManage = appRx.get(API_GET_CUSTOMER_MANAGE, errorCatcher, errorHandle, filter)
@@ -203,3 +204,5 @@ export const dandongOrder = appRx.post(API_POST_DANDONG_ORDER, errorCatcher, err
 export const getquality = appRx.get(API_GETQUALITY, errorCatcher, errorHandle, filter)
 // 换客户
 export const changeCustomer = appRx.post(API_POST_CUSTOMER, errorCatcher, errorHandle, filter)
+// 查询仓库新
+export const getwarehouse = appRx.get(API_GET_WAREHOUSE, errorCatcher, errorHandle, filter)

+ 1 - 1
src/styles/media.scss

@@ -71,7 +71,7 @@
   left: 200px;
   padding: 0;
   width: calc(100% - 200px);
-  height: calc(100% - 150px);
+  height: calc(100% - 100px);
   box-sizing: border-box;
   .el-tabs__item {
     color: #999999;

+ 3 - 2
src/views/houseSelfCollect/acquisitionManagement.vue

@@ -80,7 +80,8 @@
     purchasePriceAllowEdit,
     purchasePriceLook,
     purchasePriceDel,
-    sponsorWithdraw
+    sponsorWithdraw,
+    getwarehouse
   } from '@/model/houseSelfCollect/index'
   import {
     getHp
@@ -210,7 +211,7 @@
       },
       //获取仓库
       getWarehouseSelf() {
-        selectWarehouseSelf({
+        getwarehouse({
             compId: this.compId
           })
           .toPromise()

+ 2 - 1
src/views/houseSelfCollect/paymentManagement.vue

@@ -454,6 +454,7 @@
     suspendinstance,
     importWord,
     getPrint,
+    getwarehouse
   } from '@/model/houseSelfCollect/index'
   import {
     posthandle,
@@ -1568,7 +1569,7 @@
       getWarehouse() {
         let _wareHouse = localStorage.getItem('houseSelfCollect_house1')
         _wareHouse = JSON.parse(_wareHouse)
-        selectWarehouseSelf({
+        getwarehouse({
             compId: localStorage.getItem('ws-pf_compId'),
           })
           .toPromise()

+ 4 - 1
src/views/profitable/expensemanagementdetails.vue

@@ -335,6 +335,9 @@ import {
   getcostNo,
   editfujian
 } from '@/model/profitable/index'
+import {
+    getwarehouse
+  } from '@/model/houseSelfCollect/index'
 import { getwarehousName } from '@/model/warehouse/index'
 import {
   downloadFile
@@ -470,7 +473,7 @@ export default {
     },
     xiala() {
       //仓库筛选
-      getwarehousName({
+    getwarehouse({
         compId: localStorage.getItem('ws-pf_compId'),
       })
         .toPromise()

+ 0 - 1
src/views/warehousenew/warehousingOrder.vue

@@ -934,7 +934,6 @@ export default {
       this.getList()
     },
     goodsNameChange(e){
-      console.log(e,1111111111)
       if (e == '全部货名' || e == '0') {
         this.goodsName = '0'
         this.reserves = ''