门诊挂号对应接口调整,采购入库画面接口调用 up by dh

This commit is contained in:
duhe
2025-03-20 10:43:17 +08:00
parent fe4cc16927
commit 0ac2e84b9f
8 changed files with 484 additions and 631 deletions

View File

@@ -373,10 +373,10 @@
:disabled="form.id != undefined"
>
<el-option
v-for="category in medicine_unit"
:key="category.value"
:label="category.label"
:value="category.value"
v-for="domainEnum in domainEnumOptions"
:key="domainEnum.value"
:label="domainEnum.info"
:value="domainEnum.value"
/>
</el-select>
</el-form-item>
@@ -471,18 +471,17 @@
</el-col>
</el-row>
<el-row>
<el-col :span="6">
<el-col :span="12">
<el-form-item label="生效日期" prop="effectiveDate">
<el-date-picker
v-model="form.effectiveDate"
type="datetime"
value-format="YYYY-MM-DD HH:mm:ss"
placeholder="生效日期"
:default-time="defaultTime"
/>
</el-form-item>
</el-col>
<el-col :span="6">
<el-col :span="10">
<el-form-item
label="到期日期"
prop="expirationDate"
@@ -493,7 +492,6 @@
type="datetime"
value-format="YYYY-MM-DD HH:mm:ss"
placeholder="到期日期"
:default-time="defaultTime"
/>
</el-form-item>
</el-col>
@@ -720,6 +718,7 @@ function show() {
// getList();
reset();
statusFlagOptions.value = props.status;
domainEnumOptions.value = props.domainEnum;
// currentData.value.activeFlag == 1
// ? (currentData.value.activeFlag = true)
// : (currentData.value.activeFlag = false); //是否为活性
@@ -751,6 +750,7 @@ function edit() {
reset();
form.value = props.item;
statusFlagOptions.value = props.status;
domainEnumOptions.value = props.domainEnum;
visible.value = true;
}
/** 重置操作表单 */

View File

@@ -303,14 +303,22 @@
key="effectiveDate"
prop="effectiveDate"
:show-overflow-tooltip="true"
/>
>
<template #default="scope">
<span>{{ parseTime(scope.row.effectiveDate) }}</span>
</template>
</el-table-column>
<el-table-column
label="到期日期"
align="center"
key="expirationDate"
prop="expirationDate"
:show-overflow-tooltip="true"
/>
>
<template #default="scope">
<span>{{ parseTime(scope.row.expirationDate) }}</span>
</template>
</el-table-column>
<el-table-column
label="用法"
align="center"
@@ -665,6 +673,7 @@ function getMedicationCategoryList() {
console.log(response, "response药品目录分类查询下拉树结构");
medicationOptions.value = response.data.medicationOptions;
statusFlagOptions.value = response.data.statusFlagOptions;
domainEnumOptions.value = response.data.domainFlagOptions;
});
}
/** 查询病种目录列表 */