|
|
@@ -1363,6 +1363,7 @@ export default {
|
|
|
recipeEditId: null,
|
|
|
recipeEditOpen: false,
|
|
|
recipeEditShow: false,
|
|
|
+ recipeEditTitle: '',
|
|
|
|
|
|
curPreNo: "",
|
|
|
curName: "",
|
|
|
@@ -1588,10 +1589,6 @@ export default {
|
|
|
return "否";
|
|
|
}
|
|
|
},
|
|
|
- recipeEditTitle() {
|
|
|
- if (this.recipeEditMode === 'check') return '处方审核查看'
|
|
|
- return this.recipeEditId ? '复制处方' : '新增处方';
|
|
|
- }
|
|
|
},
|
|
|
methods: {
|
|
|
countDose() {
|
|
|
@@ -2041,6 +2038,11 @@ export default {
|
|
|
this.recipeEditId = row.id;
|
|
|
this.recipeEditShow = true;
|
|
|
this.recipeEditOpen = true;
|
|
|
+ setTimeout(() => {
|
|
|
+ if (this.recipeEditMode === 'check') this.recipeEditTitle = ['处方审核查看', row.orderNo].filter(Boolean).join(' - ');
|
|
|
+ else if (this.recipeEditId) this.recipeEditTitle = '复制处方';
|
|
|
+ else this.recipeEditTitle = '新增处方';
|
|
|
+ }, 20)
|
|
|
return;
|
|
|
}
|
|
|
this.reset();
|