|
|
@ -175,18 +175,12 @@ |
|
|
|
<upload ref="uploadImg" v-model="image_list1" :accept="accept" :limit="50" bucket="map" :upload-data="{ type: '0001' }"/> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<div class="title">客户开票申请书</div> |
|
|
|
<div class="title">车辆买卖合同</div> |
|
|
|
<el-row> |
|
|
|
<el-col :span="24"> |
|
|
|
<upload ref="uploadImg" v-model="image_list2" :accept="accept" :limit="50" bucket="map" :upload-data="{ type: '0001' }"/> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<div class="title">款项确认书(贷款业务上传)</div> |
|
|
|
<el-row> |
|
|
|
<el-col :span="24"> |
|
|
|
<upload ref="uploadImg" v-model="image_list3" :accept="accept" :limit="50" bucket="map" :upload-data="{ type: '0001' }"/> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<div class="title">车辆登记合同(开票名称与客户名称不一致时上传)</div> |
|
|
|
<el-row> |
|
|
|
<el-col :span="24"> |
|
|
@ -258,7 +252,6 @@ export default { |
|
|
|
srcList: [], |
|
|
|
image_list1: [], |
|
|
|
image_list2: [], |
|
|
|
image_list3: [], |
|
|
|
image_list4: [], |
|
|
|
formobj: { |
|
|
|
applyDate: '', |
|
|
@ -269,6 +262,7 @@ export default { |
|
|
|
billStateKey: '', |
|
|
|
billStateValue: '', |
|
|
|
cldjhtApplicationAppendxs: [], |
|
|
|
carBuyContractImages: [], |
|
|
|
contractNo: '', |
|
|
|
contractSid: '', |
|
|
|
createByName: '', |
|
|
@ -333,6 +327,7 @@ export default { |
|
|
|
orgSidPath: '', |
|
|
|
taskDefKey: '', |
|
|
|
userSid: '', |
|
|
|
carBuyContractImages: [], |
|
|
|
cldjhtApplicationAppendxs: [], |
|
|
|
khkpsqsApplicationAppendxs: [], |
|
|
|
kpxxqrsApplicationAppendxs: [], |
|
|
@ -382,22 +377,14 @@ export default { |
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
if (this.formobj.khkpsqsApplicationAppendxs.length > 0) { |
|
|
|
this.formobj.khkpsqsApplicationAppendxs.forEach((e) => { |
|
|
|
if (this.formobj.carBuyContractImages.length > 0) { |
|
|
|
this.formobj.carBuyContractImages.forEach((e) => { |
|
|
|
this.image_list2.push({ |
|
|
|
name: e.fileName, |
|
|
|
url: e.fileUrl |
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
if (this.formobj.kpxxqrsApplicationAppendxs.length > 0) { |
|
|
|
this.formobj.kpxxqrsApplicationAppendxs.forEach((e) => { |
|
|
|
this.image_list3.push({ |
|
|
|
name: e.fileName, |
|
|
|
url: e.fileUrl |
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
if (this.formobj.cldjhtApplicationAppendxs.length > 0) { |
|
|
|
this.formobj.cldjhtApplicationAppendxs.forEach((e) => { |
|
|
|
this.image_list4.push({ |
|
|
@ -462,39 +449,21 @@ export default { |
|
|
|
sid: '' |
|
|
|
}) |
|
|
|
} |
|
|
|
this.linkByParameter.khkpsqsApplicationAppendxs = bb |
|
|
|
} else { |
|
|
|
this.linkByParameter.khkpsqsApplicationAppendxs = [] |
|
|
|
} |
|
|
|
if (this.image_list3.length > 0) { |
|
|
|
const cc = [] |
|
|
|
for (var m = 0; m < this.image_list3.length; m++) { |
|
|
|
cc.push({ |
|
|
|
attachType: '', |
|
|
|
billAppSid: '', |
|
|
|
createByName: window.sessionStorage.getItem('name'), |
|
|
|
fileSid: '', |
|
|
|
fileName: this.image_list3[m].name, |
|
|
|
fileType: this.image_list3[m].name.substr(this.image_list3[m].name.lastIndexOf('.')), |
|
|
|
fileUrl: this.image_list3[m].url, |
|
|
|
sid: '' |
|
|
|
}) |
|
|
|
} |
|
|
|
this.linkByParameter.kpxxqrsApplicationAppendxs = cc |
|
|
|
this.linkByParameter.carBuyContractImages = bb |
|
|
|
} else { |
|
|
|
this.linkByParameter.kpxxqrsApplicationAppendxs = [] |
|
|
|
this.linkByParameter.carBuyContractImages = [] |
|
|
|
} |
|
|
|
if (this.image_list4.length > 0) { |
|
|
|
const cc = [] |
|
|
|
for (var n = 0; n < this.image_list3.length; n++) { |
|
|
|
for (var n = 0; n < this.image_list4.length; n++) { |
|
|
|
cc.push({ |
|
|
|
attachType: '', |
|
|
|
billAppSid: '', |
|
|
|
createByName: window.sessionStorage.getItem('name'), |
|
|
|
fileSid: '', |
|
|
|
fileName: this.image_list3[n].name, |
|
|
|
fileType: this.image_list3[n].name.substr(this.image_list3[n].name.lastIndexOf('.')), |
|
|
|
fileUrl: this.image_list3[n].url, |
|
|
|
fileName: this.image_list4[n].name, |
|
|
|
fileType: this.image_list4[n].name.substr(this.image_list4[n].name.lastIndexOf('.')), |
|
|
|
fileUrl: this.image_list4[n].url, |
|
|
|
sid: '' |
|
|
|
}) |
|
|
|
} |
|
|
|