关联关系刷新问题

dev_unify
yewj 8 months ago
parent 77cf3f6b38
commit b3429130a0

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

Loading…
Cancel
Save