This commit is contained in:
hayu 2025-10-13 22:10:37 +08:00
parent fe8a95e431
commit a70834e09f
3 changed files with 25 additions and 5 deletions

View File

@ -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',

View File

@ -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
})
}

View File

@ -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
}) })
// //