中医:新增配方名称、煎药方式、脚注字段。

This commit is contained in:
qk123
2025-11-20 11:02:55 +08:00
parent 17b40118ce
commit 980f0aeb9c

View File

@@ -61,6 +61,8 @@
:value="item.accountId" :value="item.accountId"
/> />
</el-select> </el-select>
<span class="doctor-station"> 配方名称 </span>
<el-input v-model="formulaName" placeholder=" " style="width: 70px" />
<span class="doctor-station"> 用药途径 </span> <span class="doctor-station"> 用药途径 </span>
<el-select v-model="methodCode" placeholder="费用性质" style="width: 120px"> <el-select v-model="methodCode" placeholder="费用性质" style="width: 120px">
<el-option <el-option
@@ -70,6 +72,15 @@
:value="dict.value" :value="dict.value"
/> />
</el-select> </el-select>
<span class="doctor-station"> 煎药方式 </span>
<el-select v-model="decoctionMethod" placeholder="" style="width: 120px">
<el-option
v-for="dict in method_of_decocting_medicine"
:key="dict.value"
:label="dict.label"
:value="dict.value"
/>
</el-select>
<span class="doctor-station"> 频次 </span> <span class="doctor-station"> 频次 </span>
<el-select v-model="rateCode" placeholder="费用性质" style="width: 120px"> <el-select v-model="rateCode" placeholder="费用性质" style="width: 120px">
<el-option <el-option
@@ -204,6 +215,20 @@
/> />
</template> </template>
</el-select> </el-select>
<span class="doctor-station"> 脚注: </span>
<el-select
v-model="footNote"
filterable
allow-create
default-first-option
placeholder="">
<el-option
v-for="dict in hjerbal_footnotes"
:key="dict.value"
:label="dict.label"
:value="dict.value">
</el-option>
</el-select>
</div> </div>
<span class="total-amount"> <span class="total-amount">
总金额:{{ 总金额:{{
@@ -400,8 +425,11 @@ const encounterDiagnosisId = ref('');
const diagnosisName = ref(''); const diagnosisName = ref('');
const diagnosisInfo = ref({}); const diagnosisInfo = ref({});
const rateCode = ref(''); const rateCode = ref('');
const footNote = ref('');
const decoctionMethod = ref('');
const chineseHerbsDoseQuantity = ref(''); const chineseHerbsDoseQuantity = ref('');
const dispensePerDuration = ref(''); const dispensePerDuration = ref('');
const formulaName = ref('');
const sufferingFlag = ref(false); const sufferingFlag = ref(false);
const methodCode = ref(''); const methodCode = ref('');
const loading = ref(false); const loading = ref(false);
@@ -411,6 +439,7 @@ const rowRules = ref({
doseQuantity: [{ required: true, message: '请输入单次剂量', trigger: 'change' }], doseQuantity: [{ required: true, message: '请输入单次剂量', trigger: 'change' }],
quantity: [{ required: true, message: '请输入数量', trigger: 'change' }], quantity: [{ required: true, message: '请输入数量', trigger: 'change' }],
dispensePerDuration: [{ required: true, message: '请输入用药天数', trigger: 'change' }], dispensePerDuration: [{ required: true, message: '请输入用药天数', trigger: 'change' }],
formulaName: [{ required: true, message: '请输入配方名称', trigger: 'change' }],
executeNum: [{ required: true, message: '请输入执行次数', trigger: 'change' }], executeNum: [{ required: true, message: '请输入执行次数', trigger: 'change' }],
rateCode: [{ required: true, message: '请选择频次', trigger: 'change' }], rateCode: [{ required: true, message: '请选择频次', trigger: 'change' }],
methodCode: [{ required: true, message: '请选择给药途径', trigger: 'change' }], methodCode: [{ required: true, message: '请选择给药途径', trigger: 'change' }],
@@ -447,10 +476,12 @@ const inputRefs = ref({}); // 存储输入框实例
const requiredProps = ref([]); // 存储必填项 prop 顺序 const requiredProps = ref([]); // 存储必填项 prop 顺序
const totalAmount = ref(0); const totalAmount = ref(0);
const tcmDianosis = ref(); const tcmDianosis = ref();
const { method_code, unit_code, rate_code, distribution_category_code } = proxy.useDict( const { method_code, unit_code, rate_code, method_of_decocting_medicine,hjerbal_footnotes,distribution_category_code } = proxy.useDict(
'method_code', 'method_code',
'unit_code', 'unit_code',
'rate_code', 'rate_code',
'method_of_decocting_medicine',
'hjerbal_footnotes',
'distribution_category_code' 'distribution_category_code'
); );