通过开关兼容多级审核功能

This commit is contained in:
季圣华
2023-02-23 01:21:11 +08:00
parent eb7fc23fa5
commit ac57394f60
47 changed files with 275 additions and 68 deletions

View File

@@ -1,10 +1,12 @@
import {findFinancialDetailByNumber, findBySelectSup, findBySelectCus, findBySelectOrgan, findBySelectRetail,
getUserList, getPersonByType, getAccount} from '@/api/api'
getUserList, getPersonByType, getAccount, getCurrentSystemConfig} from '@/api/api'
import Vue from 'vue'
export const FinancialListMixin = {
data () {
return {
/* 原始审核是否开启 */
checkFlag: true,
supList: [],
cusList: [],
organList: [],
@@ -80,6 +82,13 @@ export const FinancialListMixin = {
}
this.loadData(1);
},
initSystemConfig() {
getCurrentSystemConfig().then((res) => {
if(res.code === 200 && res.data){
this.checkFlag = res.data.multiLevelApprovalFlag==='1'?false:true
}
})
},
initSupplier() {
let that = this;
findBySelectSup({}).then((res)=>{