高敬炎 2 years ago
parent
commit
4ad3c442d3

+ 2 - 0
src/model/contarct/index.js

@@ -1,6 +1,7 @@
 
 import { errorCatcher, errorHandle, filter } from 'base-core-lib'
 import { appRx } from '../defalutConfig/indexRx'
+// import { appRx1 } from '../defalutConfig/indexRx1'
 import {
     API_GET_CONTRACT_TENANT,
     API_POST_ADD_CONTRACT_TENANT,
@@ -87,6 +88,7 @@ export const editInfo = appRx.post(API_POST_EDITINFO, errorCatcher, errorHandle,
 export const getstaff = appRx.get(API_GET_STAFF, errorCatcher, errorHandle, filter)
 //获取现货采购负责人
 export const getstafffind = appRx.get(API_GET_STAFF_FIND, errorCatcher, errorHandle, filter)
+// export const getstafffind1 = (params) => appRx1.get(API_GET_STAFF_FIND,{params})
 //获取所有人
 export const getstaffall = appRx.get(API_GET_STAFF_ALL, errorCatcher, errorHandle, filter)
 //运输任务-添加-根据仓库类型选库名

+ 4 - 0
src/views/contractManagement/acquisitionContractAdd.vue

@@ -282,6 +282,7 @@
     editxiala,
     delxiala,
     getstafffind,
+    getstafffind1,
     getcustomerinfo,
     getRelationContractNo,
     examineList
@@ -449,6 +450,9 @@ import { isUndefined } from 'xe-utils/methods'
           this.options = response
           this.staffList = response
         })
+        // getstafffind1({
+        //   roles: 'd6a5c8a52da544309259f91f75de1ec6'
+        // })
       this.loaddata()
       this.showType = this.isShow
     },

+ 5 - 5
src/views/profitable/cashout.vue

@@ -792,11 +792,11 @@ export default {
         this.deptBudgetList.costNo = 'HTF' + this.getdate() + this.Num
       } else if (this.deptBudgetList.purpose == '库点费用') {
         this.deptBudgetList.expensesPurpose = 3
-        for (var i = 0;i<this.typeList.length;i++) {
-          if (this.typeList[i].key == 8) {
-            this.deptBudgetList.storageFeeFlag = 1
-          }
-        }
+        // for (var i = 0;i<this.typeList.length;i++) {
+        //   if (this.typeList[i].key == 8) {
+        //     this.deptBudgetList.storageFeeFlag = 1
+        //   }
+        // }
         if (this.mode == '暂不分配') {
             this.deptBudgetList.expenseAllocationInfoList = []
           } else {