|  | @@ -1018,12 +1018,17 @@ export default {
 | 
	
		
			
				|  |  |      check_s(row, res) {
 | 
	
		
			
				|  |  |        this.notChange = true
 | 
	
		
			
				|  |  |        this.browseStatus = true
 | 
	
		
			
				|  |  | +      this.relevantAttachments = []
 | 
	
		
			
				|  |  |        this.register()
 | 
	
		
			
				|  |  |        getAgreement(row.fId).then(response => {
 | 
	
		
			
				|  |  |          // this.$set(this,'fMblnoOptions',response.data.corps)
 | 
	
		
			
				|  |  |          this.deptName = response.data.dept.deptName
 | 
	
		
			
				|  |  |          this.form = response.data.tWarehouseAgreement
 | 
	
		
			
				|  |  | -        this.relevantAttachments = response.data.attachList
 | 
	
		
			
				|  |  | +        if (response.data.attachList) {
 | 
	
		
			
				|  |  | +          this.relevantAttachments = response.data.attachList
 | 
	
		
			
				|  |  | +        } else {
 | 
	
		
			
				|  |  | +          this.relevantAttachments = []
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  |          if (response.data.tWarehouseAgreement.tPackages) {
 | 
	
		
			
				|  |  |            // this.form.tPackages = this.form.tPackages
 | 
	
		
			
				|  |  |            //   .replace(/\[|]/g, "")
 | 
	
	
		
			
				|  | @@ -1126,6 +1131,7 @@ export default {
 | 
	
		
			
				|  |  |            let formData = new window.FormData()
 | 
	
		
			
				|  |  |            formData.append('agreement', JSON.stringify(this.form))
 | 
	
		
			
				|  |  |            formData.append('agreementitems', JSON.stringify(this.agreementitemsList))
 | 
	
		
			
				|  |  | +          formData.append('attachments', JSON.stringify(this.relevantAttachments))
 | 
	
		
			
				|  |  |            PleaseCheck(formData).then(response => {
 | 
	
		
			
				|  |  |              this.msgSuccess('请核成功')
 | 
	
		
			
				|  |  |              this.open = false
 | 
	
	
		
			
				|  | @@ -1360,6 +1366,7 @@ export default {
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      /** 修改按钮操作 */
 | 
	
		
			
				|  |  |      handleUpdate(row,num) {
 | 
	
		
			
				|  |  | +      this.relevantAttachments = []
 | 
	
		
			
				|  |  |        if (num === 2){
 | 
	
		
			
				|  |  |          this.notChange = false
 | 
	
		
			
				|  |  |          getAgreement(this.idCopy).then(response => {
 | 
	
	
		
			
				|  | @@ -1405,7 +1412,12 @@ export default {
 | 
	
		
			
				|  |  |            }
 | 
	
		
			
				|  |  |            // this.fMblnoOptions = response.data.corps
 | 
	
		
			
				|  |  |            this.agreementitemsList = response.data.tWarehouseAgreementitems
 | 
	
		
			
				|  |  | -          this.relevantAttachments = response.data.attachList
 | 
	
		
			
				|  |  | +          if (response.data.attachList) {
 | 
	
		
			
				|  |  | +            this.relevantAttachments = response.data.attachList
 | 
	
		
			
				|  |  | +          } else {
 | 
	
		
			
				|  |  | +            this.relevantAttachments = []
 | 
	
		
			
				|  |  | +          }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |            for (let item in this.agreementitemsList) {
 | 
	
		
			
				|  |  |              this.$set(this.agreementitemsList[item], 'fFeeunitid', this.agreementitemsList[item].fFeeunitid + '')
 | 
	
		
			
				|  |  |              // this.fWRemoteMethod(this.agreementitemsList[item].fFeeid)
 |