材料站-退料协议

This commit is contained in:
bb_pan 2025-07-05 17:50:51 +08:00
parent 0bba5d051f
commit eaf1def929
2 changed files with 9 additions and 2 deletions

View File

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

View File

@ -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('')