材料站班组结算协议查询
This commit is contained in:
parent
f97e09e7e5
commit
ea32584ac9
|
|
@ -157,5 +157,14 @@ export function getAgreementInfoById(data) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// 材料站获取协议
|
||||||
|
export function getClzAgreementInfoById(data) {
|
||||||
|
return request({
|
||||||
|
url: '/material/material_sltAgreementInfo/getAgreementInfoById',
|
||||||
|
method: 'post',
|
||||||
|
data: data,
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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('当前单位和工程无协议!')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue