1. 修复了接诊页面的剂量、天数输入框过窄
This commit is contained in:
@@ -912,6 +912,7 @@ export const usePrescriptionStore = defineStore('prescription', () => {
|
||||
doctorSecondSignValue = 0,
|
||||
customSendMode: number = 0,
|
||||
customStoreId: number | null = null,
|
||||
warehouseMap: Record<number, number> | null = null,
|
||||
) => {
|
||||
if (currentDrugs.value.length === 0) {
|
||||
message.error('请选择药品');
|
||||
@@ -986,6 +987,8 @@ export const usePrescriptionStore = defineStore('prescription', () => {
|
||||
// 诊所选择参数(转诊挂号时自动使用承接方诊所ID)
|
||||
send_mode: finalSendMode,
|
||||
custom_store_id: finalSendMode === 1 ? finalStoreId : null,
|
||||
// 药店按药选配送仓映射 drug_id -> warehouse_id
|
||||
warehouse_map: warehouseMap || undefined,
|
||||
});
|
||||
|
||||
const res = await response;
|
||||
|
||||
Reference in New Issue
Block a user