This commit is contained in:
parent
fe8a95e431
commit
a70834e09f
|
|
@ -53,6 +53,16 @@ export function getListUnite(data) {
|
||||||
data: data,
|
data: data,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 领料申请租赁单位下拉框
|
||||||
|
export function getUnitProDepList(data) {
|
||||||
|
return request({
|
||||||
|
url: '/material/select/getUnitProDepList',
|
||||||
|
method: 'post',
|
||||||
|
data: data,
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
export function getUnitListLeaseApi(data) {
|
export function getUnitListLeaseApi(data) {
|
||||||
return request({
|
return request({
|
||||||
url: '/material/select/getUnitListLease',
|
url: '/material/select/getUnitListLease',
|
||||||
|
|
|
||||||
|
|
@ -960,3 +960,13 @@ export function getApproveListApi(data) {
|
||||||
params: data
|
params: data
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// 直转单-签名
|
||||||
|
export function getSignatureList(data) {
|
||||||
|
return request({
|
||||||
|
url: '/material/directRotation/getSignatureList',
|
||||||
|
method: 'get',
|
||||||
|
params: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -335,7 +335,7 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { getMaTypeOpt } from '@/api/ma/base'
|
import { getMaTypeOpt } from '@/api/ma/base'
|
||||||
import { getListProject, getListUnite, getAgreement } from '@/api/lease/apply'
|
import {getListProject, getListUnite, getAgreement, getUnitProDepList} from '@/api/lease/apply'
|
||||||
import { downloadFile, downloadFileData } from '@/utils/download'
|
import { downloadFile, downloadFileData } from '@/utils/download'
|
||||||
import { getUseringData, receiveSubmitTwo, receiveEdit, receiveDetail, getEquipmentThreeTypes } from '@/api/business/index'
|
import { getUseringData, receiveSubmitTwo, receiveEdit, receiveDetail, getEquipmentThreeTypes } from '@/api/business/index'
|
||||||
import Treeselect from '@riophae/vue-treeselect'
|
import Treeselect from '@riophae/vue-treeselect'
|
||||||
|
|
@ -824,7 +824,7 @@ export default {
|
||||||
console.log("kkkkkkkkkkk",this.isEdit)
|
console.log("kkkkkkkkkkk",this.isEdit)
|
||||||
if (!this.isEdit) {
|
if (!this.isEdit) {
|
||||||
//转出单位
|
//转出单位
|
||||||
getListUnite({ projectId: null,enableFilter: true }).then(response => {
|
getUnitProDepList({ projectId: null,enableFilter: true }).then(response => {
|
||||||
this.uniteList = response.data
|
this.uniteList = response.data
|
||||||
})
|
})
|
||||||
//转出工程
|
//转出工程
|
||||||
|
|
@ -832,7 +832,7 @@ export default {
|
||||||
this.projectList = response.data
|
this.projectList = response.data
|
||||||
})
|
})
|
||||||
//转入单位
|
//转入单位
|
||||||
getListUnite({ projectId: null }).then(response => {
|
getUnitProDepList({ projectId: null }).then(response => {
|
||||||
this.lessUniteList = response.data
|
this.lessUniteList = response.data
|
||||||
})
|
})
|
||||||
//转入工程
|
//转入工程
|
||||||
|
|
@ -841,7 +841,7 @@ export default {
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
//转出单位
|
//转出单位
|
||||||
getListUnite({ projectId: null,enableFilter: true }).then(response => {
|
getUnitProDepList({ projectId: null,enableFilter: true }).then(response => {
|
||||||
this.uniteList = response.data
|
this.uniteList = response.data
|
||||||
})
|
})
|
||||||
//转出工程
|
//转出工程
|
||||||
|
|
@ -849,7 +849,7 @@ export default {
|
||||||
this.projectList = response.data
|
this.projectList = response.data
|
||||||
})
|
})
|
||||||
//转入单位
|
//转入单位
|
||||||
getListUnite({ projectId: null }).then(response => {
|
getUnitProDepList({ projectId: null }).then(response => {
|
||||||
this.lessUniteList = response.data
|
this.lessUniteList = response.data
|
||||||
})
|
})
|
||||||
//转入工程
|
//转入工程
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue