|
@@ -1023,6 +1023,8 @@ export default {
|
|
|
this.signButton = true;
|
|
|
this.isHas = false;
|
|
|
this.submitButton = false;
|
|
|
+ //如果显示签收,调起预览文件
|
|
|
+ this.getContractFile(true);
|
|
|
// 平台审批拒绝
|
|
|
} else if (this.form.zfiPlatformStatus == '02') {
|
|
|
// 融信状态为平台退回
|
|
@@ -1049,11 +1051,15 @@ export default {
|
|
|
this.submitButton = true;
|
|
|
this.isHas = false;
|
|
|
this.signButton = false;
|
|
|
+ //如果显示签收,调起预览文件
|
|
|
+ this.getContractFile(true);
|
|
|
}else{
|
|
|
//未开启平台审批,显示签收按钮
|
|
|
this.signButton = true;
|
|
|
this.submitButton = false;
|
|
|
this.isHas = false;
|
|
|
+ //如果显示签收,调起预览文件
|
|
|
+ this.getContractFile(true);
|
|
|
}
|
|
|
});
|
|
|
}
|
|
@@ -1186,7 +1192,7 @@ export default {
|
|
|
this.getContractFile();
|
|
|
},
|
|
|
//获取合同文件
|
|
|
- getContractFile(){
|
|
|
+ getContractFile(nosign){
|
|
|
const loading = this.$loading({
|
|
|
lock: true,
|
|
|
text: 'Loading',
|
|
@@ -1206,8 +1212,10 @@ export default {
|
|
|
message: '文件不存在!',
|
|
|
type: 'warning'
|
|
|
}); */
|
|
|
- //文件不存在,直接盖章
|
|
|
- this.contractSigning();
|
|
|
+ //文件不存在并且不是一进去页面调用的直接盖章
|
|
|
+ if (!nosign) {
|
|
|
+ this.contractSigning();
|
|
|
+ }
|
|
|
}
|
|
|
}).catch((response)=>{
|
|
|
loading.close();
|