修复配送企业资质功能问题

wang
郑明梁 3 years ago
parent 154fe42896
commit 83938bc082

@ -375,9 +375,11 @@ export default {
ADMIN_ID: store.getters.adminId,
ADMIN_TOKEN: store.getters.token,
};
if (this.inputQuery.formData == null) {
if (this.inputQuery.formData == null ) {
this.formData = {}
} else{
}else if(this.inputQuery.formData != null && this.inputQuery.formData.addType==1){
this.formData = {}
}else{
this.formData = this.inputQuery.formData;
console.log(this.inputQuery.formData);
}

@ -671,7 +671,6 @@ export default {
type:1
};
filterCompanyCertIdList(supCertQuery).then((req) => {
debugger
if(req.code===20000){
let printParams = {
templateId: res.data,

@ -28,6 +28,7 @@
</el-button
>
<el-button
v-if="editType==1"
type="primary"
size="mini"
icon="search"
@ -177,6 +178,7 @@
</el-button
>
<el-button
v-if="editType==1"
type="text"
size="small"
@click.native="printSupCert(scope.row)"

@ -450,6 +450,7 @@ export default {
if (this.editType == 0) {
this.inputQuery.customerId = getUUID("");
}else{
this.customerId=this.inputQuery.customerId
this.getCompanyCertList();
}
@ -561,6 +562,7 @@ export default {
this.loading = false;
if (response.code === 20000) {
this.inputQuery = response.data;
this.customerId=val.erpId
this.selectCorpVisible = false;
} else {
this.$message.error(response.message);
@ -584,6 +586,7 @@ export default {
this.editTye = 2;
} else {
this.formName = 1;
this.inputQuery.formData.addType=1;
this.editTye = 1;
}
this.addCertVisible = true;

Loading…
Cancel
Save