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