材料站-退料协议
This commit is contained in:
parent
0bba5d051f
commit
eaf1def929
|
|
@ -317,6 +317,13 @@ export function getAgreement(data) {
|
||||||
data
|
data
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
export function getAgreementInfoByIdBackApi(data) {
|
||||||
|
return request({
|
||||||
|
url: '/material/select/getAgreementInfoByIdBack',
|
||||||
|
method: 'post',
|
||||||
|
data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
// 获取当前标准配置-列表
|
// 获取当前标准配置-列表
|
||||||
export function getListsByConfigId(query) {
|
export function getListsByConfigId(query) {
|
||||||
|
|
|
||||||
|
|
@ -258,7 +258,7 @@
|
||||||
<script>
|
<script>
|
||||||
import {
|
import {
|
||||||
getProjectList,
|
getProjectList,
|
||||||
getAgreement,
|
getAgreementInfoByIdBackApi,
|
||||||
getDeviceTreeByAgreementId,
|
getDeviceTreeByAgreementId,
|
||||||
addBackApply,
|
addBackApply,
|
||||||
getBackApplyInfo,
|
getBackApplyInfo,
|
||||||
|
|
@ -589,7 +589,7 @@ export default {
|
||||||
teamId: this.queryParams.teamId,
|
teamId: this.queryParams.teamId,
|
||||||
projectId: this.queryParams.proId
|
projectId: this.queryParams.proId
|
||||||
}
|
}
|
||||||
const res = await getAgreement(params)
|
const res = await getAgreementInfoByIdBackApi(params)
|
||||||
console.log(res)
|
console.log(res)
|
||||||
if (!(res.data && res.data.agreementId)) {
|
if (!(res.data && res.data.agreementId)) {
|
||||||
// this.$message.error('当前单位和工程无协议!')
|
// this.$message.error('当前单位和工程无协议!')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue