|
|
@@ -615,7 +615,11 @@ export default {
|
|
|
},
|
|
|
async _getById(id) {
|
|
|
let QCInfo = await contactQcPackDetailAPI(id)
|
|
|
- const data = await contactDetail(QCInfo.contactId);
|
|
|
+ let data = {}
|
|
|
+ if(QCInfo.relationId){
|
|
|
+ data = await contactDetail(QCInfo.relationId);
|
|
|
+ }
|
|
|
+
|
|
|
this.form = data.base;
|
|
|
this.otherForm = data.other;
|
|
|
this.tableBankData = data.bankList;
|