|
|
@ -438,7 +438,7 @@ import { |
|
|
cancelPaymentProposal, |
|
|
cancelPaymentProposal, |
|
|
updatePaymentProposal |
|
|
updatePaymentProposal |
|
|
} from '@/api/srm/srmSupplier.js' |
|
|
} from '@/api/srm/srmSupplier.js' |
|
|
import {ossUploadNoSaveOSS, previewOssFileById} from "../../../api/oss/oss"; |
|
|
|
|
|
|
|
|
import {ossUploadNoSaveOSSForYJY, previewOssFileById} from "../../../api/oss/oss"; |
|
|
import excel from "@/utils/excel-util.js"; |
|
|
import excel from "@/utils/excel-util.js"; |
|
|
import Chooselist from '@/views/modules/common/Chooselist_eam' |
|
|
import Chooselist from '@/views/modules/common/Chooselist_eam' |
|
|
import {getProposalOssList, removeOssFile, submitForApprovalPaymentProposal} from "../../../api/srm/srmSupplier"; |
|
|
import {getProposalOssList, removeOssFile, submitForApprovalPaymentProposal} from "../../../api/srm/srmSupplier"; |
|
|
@ -1132,7 +1132,7 @@ export default { |
|
|
formData.append('fileRemark', this.stagedFileRemark || '') |
|
|
formData.append('fileRemark', this.stagedFileRemark || '') |
|
|
formData.append('orderReftype', 'SrmPaymentProposal') |
|
|
formData.append('orderReftype', 'SrmPaymentProposal') |
|
|
this.uploadLoading = true |
|
|
this.uploadLoading = true |
|
|
return ossUploadNoSaveOSS(formData).then(({ data }) => { |
|
|
|
|
|
|
|
|
return ossUploadNoSaveOSSForYJY(formData).then(({ data }) => { |
|
|
this.uploadLoading = false |
|
|
this.uploadLoading = false |
|
|
if (data && data.code === 0) { |
|
|
if (data && data.code === 0) { |
|
|
this.fileList = this.fileList.filter(f => !f._staged) |
|
|
this.fileList = this.fileList.filter(f => !f._staged) |
|
|
|