关联关系刷新问题

dev_unify
yewj 8 months ago
parent 77cf3f6b38
commit b3429130a0

@ -115,15 +115,15 @@
>编辑 >编辑
</el-button </el-button
> >
<el-button <el-button
type="text" type="text"
size="small" size="small"
:disabled="scope.row.drugLink == 1" :disabled="scope.row.drugLink == 1"
@click.native.stop="association(scope.row)" @click.native.stop="association(scope.row)"
>关联 >关联
</el-button </el-button
> >
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<div class="block"> <div class="block">
@ -137,7 +137,6 @@
</div> </div>
<el-dialog <el-dialog
:title="editTitle" :title="editTitle"
:visible.sync="associationCodeVisible" :visible.sync="associationCodeVisible"
@ -395,10 +394,13 @@ export default {
this.editOriginCodeVisible = false; this.editOriginCodeVisible = false;
this.associationCodeVisible = false; this.associationCodeVisible = false;
// //
updateIoCodeTempEntity({parentCode:this.orderQuery.code}).then((response) => { updateIoCodeTempEntity({parentCode: this.orderQuery.code, id: this.orderQuery.id}).then((response) => {
if (response.code == 20000) {
this.refreshPanel();
}
}).catch(() => { }).catch(() => {
}); });
this.refreshPanel();
}, },
repeatAddCode(editData) { repeatAddCode(editData) {
@ -417,7 +419,7 @@ export default {
}, },
components: { components: {
selectRlDialog, DialogSelectUnit, editCodeDialog,operateRelCodeSpell selectRlDialog, DialogSelectUnit, editCodeDialog, operateRelCodeSpell
}, },
} }
</script> </script>

Loading…
Cancel
Save