材料站班组结算协议查询

This commit is contained in:
syruan 2025-07-30 14:12:35 +08:00
parent f97e09e7e5
commit ea32584ac9
2 changed files with 11 additions and 2 deletions

View File

@ -157,5 +157,14 @@ export function getAgreementInfoById(data) {
} }
// 材料站获取协议
export function getClzAgreementInfoById(data) {
return request({
url: '/material/material_sltAgreementInfo/getAgreementInfoById',
method: 'post',
data: data,
})
}

View File

@ -199,7 +199,7 @@
<script> <script>
import { getUnitList } from '@/api/back/index.js' import { getUnitList } from '@/api/back/index.js'
import { getTeamList } from '@/api/materialsStation/auth.js' import { getTeamList } from '@/api/materialsStation/auth.js'
import { getSltAgreementInfo, getClzSltAgreementInfo, getProjectListByUnitIds, getClzProjectListByUnitIds, getAgreementInfoById, getSltInfo } from '@/api/cost/cost' import { getSltAgreementInfo, getClzSltAgreementInfo, getProjectListByUnitIds, getClzProjectListByUnitIds, getAgreementInfoById, getClzAgreementInfoById, getSltInfo } from '@/api/cost/cost'
import { toChineseAmount } from '@/utils/bonus.js' import { toChineseAmount } from '@/utils/bonus.js'
import vueEasyPrint from 'vue-easy-print' import vueEasyPrint from 'vue-easy-print'
import Treeselect from '@riophae/vue-treeselect' import Treeselect from '@riophae/vue-treeselect'
@ -327,7 +327,7 @@ export default {
unitIds: this.unitIds, unitIds: this.unitIds,
projectId: this.queryParams.projectId projectId: this.queryParams.projectId
} }
const res = await getAgreementInfoById(params) const res = await getClzAgreementInfoById(params)
console.log(res) console.log(res)
if (!res.data && res.data.some(item => !item.agreementId)) { if (!res.data && res.data.some(item => !item.agreementId)) {
this.$message.error('当前单位和工程无协议!') this.$message.error('当前单位和工程无协议!')