|
|
@ -186,21 +186,15 @@ |
|
|
|
<div class="title">证件(营业执照或身份证)</div> |
|
|
|
<el-row> |
|
|
|
<el-col :span="24"> |
|
|
|
<upload ref="uploadImg" v-model="image_list1" :accept="accept" :limit="50" bucket="map" :upload-data="{ type: '0001' }"/> |
|
|
|
<upload ref="uploadImg" v-model="formobj.zjApplicationAppendxs" :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"> |
|
|
@ -277,7 +271,6 @@ export default { |
|
|
|
openTickType_list: [], |
|
|
|
openTick_list: [], |
|
|
|
arrearsOpenYY_list: [], |
|
|
|
image_list1: [], |
|
|
|
image_list2: [], |
|
|
|
image_list3: [], |
|
|
|
image_list4: [], |
|
|
@ -293,6 +286,7 @@ export default { |
|
|
|
billNo: '', |
|
|
|
billStateKey: '', |
|
|
|
billStateValue: '', |
|
|
|
carBuyContractImages: [], |
|
|
|
cldjhtApplicationAppendxs: [], |
|
|
|
contractNo: '', |
|
|
|
contractSid: '', |
|
|
@ -428,14 +422,6 @@ export default { |
|
|
|
this.formobj.orgSidPath = window.sessionStorage.getItem('defaultOrgPath') |
|
|
|
this.formobj.instanceId = res.data.procInstSid |
|
|
|
this.formobj.userSid = window.sessionStorage.getItem('userSid') |
|
|
|
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({ |
|
|
@ -452,8 +438,8 @@ 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 |
|
|
@ -633,7 +619,6 @@ export default { |
|
|
|
handleSubmit() { |
|
|
|
this.$refs['form_obj'].validate((valid) => { |
|
|
|
if (valid) { |
|
|
|
this.getUrl() |
|
|
|
if (this.formobj.finBillVehicles.length === 0) { |
|
|
|
this.$message({ showClose: true, type: 'error', message: '请选择车辆' }) |
|
|
|
return |
|
|
@ -648,6 +633,21 @@ export default { |
|
|
|
return |
|
|
|
} |
|
|
|
} |
|
|
|
if (this.formobj.isLQOrigInvoice === '是') { |
|
|
|
if (this.image_list2.length === 0) { |
|
|
|
this.$message({ showClose: true, type: 'error', message: '请上传车辆买卖合同' }) |
|
|
|
return |
|
|
|
} |
|
|
|
if (this.image_list5.length === 0) { |
|
|
|
this.$message({ showClose: true, type: 'error', message: '请上传欠款承诺书' }) |
|
|
|
return |
|
|
|
} |
|
|
|
if (this.image_list7.length === 0) { |
|
|
|
this.$message({ showClose: true, type: 'error', message: '请上传责任人担保承诺书' }) |
|
|
|
return |
|
|
|
} |
|
|
|
} |
|
|
|
this.getUrl() |
|
|
|
this.submitdisabled = true |
|
|
|
submit(this.formobj).then((res) => { |
|
|
|
if (res.success) { |
|
|
@ -695,27 +695,9 @@ export default { |
|
|
|
sid: '' |
|
|
|
}) |
|
|
|
} |
|
|
|
this.formobj.khkpsqsApplicationAppendxs = bb |
|
|
|
} else { |
|
|
|
this.formobj.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.formobj.kpxxqrsApplicationAppendxs = cc |
|
|
|
this.formobj.carBuyContractImages = bb |
|
|
|
} else { |
|
|
|
this.formobj.kpxxqrsApplicationAppendxs = [] |
|
|
|
this.formobj.carBuyContractImages = [] |
|
|
|
} |
|
|
|
if (this.image_list4.length > 0) { |
|
|
|
const cc = [] |
|
|
@ -829,6 +811,7 @@ export default { |
|
|
|
billNo: '', |
|
|
|
billStateKey: '', |
|
|
|
billStateValue: '', |
|
|
|
carBuyContractImages: [], |
|
|
|
cldjhtApplicationAppendxs: [], |
|
|
|
contractNo: '', |
|
|
|
contractSid: '', |
|
|
|