|
@@ -113,33 +113,31 @@
|
|
|
</el-form-item>
|
|
|
</template>
|
|
|
<!-- 苏商银行的操作 -->
|
|
|
- <template>
|
|
|
+
|
|
|
+ <template v-if="smbManagement">
|
|
|
<cy-info-title style="margin-top: 20px">资方所需合同文件</cy-info-title>
|
|
|
- <el-form-item label="应收账款合同" class="form-required">
|
|
|
+ <el-form-item label="应收账款合同">
|
|
|
<cy-upload
|
|
|
- ref="ownershipFiles"
|
|
|
:upload-params="{}"
|
|
|
- :file-data="ruleFormFile.ownershipFiles"
|
|
|
+ :file-data="receivableFileList"
|
|
|
:disabled="true"
|
|
|
:upload-from-orange-status="true"
|
|
|
placeholder="请上传应收账款合同"
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="应收账款产值单" class="form-required">
|
|
|
+ <el-form-item label="应收账款产值单">
|
|
|
<cy-upload
|
|
|
- ref="ownershipFiles"
|
|
|
:upload-params="{}"
|
|
|
- :file-data="ruleFormFile.ownershipFiles"
|
|
|
+ :file-data="acceptanceFileList"
|
|
|
:disabled="true"
|
|
|
:upload-from-orange-status="true"
|
|
|
placeholder="请上传应收账款产值单"
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="代偿承诺函" class="form-required">
|
|
|
+ <el-form-item label="代偿承诺函">
|
|
|
<cy-upload
|
|
|
- ref="ownershipFiles"
|
|
|
:upload-params="{}"
|
|
|
- :file-data="ruleFormFile.ownershipFiles"
|
|
|
+ :file-data="compensationFileList"
|
|
|
:disabled="true"
|
|
|
:upload-from-orange-status="true"
|
|
|
placeholder="请上传代偿承诺函"
|
|
@@ -210,14 +208,22 @@ export default {
|
|
|
{ required: true, message: '请输入所有权保留登记到期日', trigger: 'blur' }
|
|
|
]
|
|
|
},
|
|
|
- paymentConditionList: []
|
|
|
+ paymentConditionList: [],
|
|
|
+ // 是否是苏商银行
|
|
|
+ smbManagement: null,
|
|
|
+ // 应收账款合同
|
|
|
+ receivableFileList: [],
|
|
|
+ // 验收单合同
|
|
|
+ acceptanceFileList: [],
|
|
|
+ // 代偿承诺函
|
|
|
+ compensationFileList: []
|
|
|
}
|
|
|
},
|
|
|
watch: {
|
|
|
detailsInfo: {
|
|
|
handler(newV) {
|
|
|
if (newV === undefined) return
|
|
|
- const { approvalConclusion, approvalComments, receivablesRegisterInfo, paymentConditionList, hasCollateralInfo } = JSON.parse(JSON.stringify(newV))
|
|
|
+ const { approvalConclusion, approvalComments, receivablesRegisterInfo, paymentConditionList, hasCollateralInfo, smbManagement, purchContractFileList, salesContractFileList, acceptanceFileList, commitmentFileList } = JSON.parse(JSON.stringify(newV))
|
|
|
this.ruleForm.approvalConclusion = approvalConclusion
|
|
|
this.ruleForm.approvalComments = approvalComments
|
|
|
const { fileStorage } = receivablesRegisterInfo
|
|
@@ -227,6 +233,10 @@ export default {
|
|
|
}
|
|
|
this.paymentConditionList = paymentConditionList
|
|
|
this.hasCollateralInfo = hasCollateralInfo
|
|
|
+ this.smbManagement = smbManagement
|
|
|
+ this.receivableFileList = [...purchContractFileList, ...salesContractFileList]
|
|
|
+ this.acceptanceFileList = acceptanceFileList
|
|
|
+ this.compensationFileList = commitmentFileList
|
|
|
this.key += 1
|
|
|
},
|
|
|
immediate: true,
|