|
@@ -1,15 +1,20 @@
|
|
|
<script>
|
|
<script>
|
|
|
import dayjs from 'dayjs';
|
|
import dayjs from 'dayjs';
|
|
|
import {listMedicalMechanism} from '@/api/medical/mechanism';
|
|
import {listMedicalMechanism} from '@/api/medical/mechanism';
|
|
|
-import {transformFlatObjectToNested} from '@/tools/object';
|
|
|
|
|
-import {bignumber, chain} from 'mathjs';
|
|
|
|
|
-import {addPrescriptionCore2} from '@/api/prescription/prescriptionCore';
|
|
|
|
|
|
|
+import {transformFlatObjectToNested, transformNestedObjectToFlat} from '@/tools/object';
|
|
|
|
|
+import {bignumber, chain, multiply} from 'mathjs';
|
|
|
|
|
+import {addPrescriptionCore2, check, check2, getPrescriptionCore2} from '@/api/prescription/prescriptionCore';
|
|
|
import {mapGetters} from 'vuex';
|
|
import {mapGetters} from 'vuex';
|
|
|
|
|
|
|
|
import regionOptions from '@/utils/options';
|
|
import regionOptions from '@/utils/options';
|
|
|
|
|
+import {getSchemeList} from '@/api/decoct/scheme';
|
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
|
|
|
+ props: {
|
|
|
|
|
+ id: {type: [String, Number]},
|
|
|
|
|
+ mode: {type: String, default: 'edit'},
|
|
|
|
|
+ },
|
|
|
data() {
|
|
data() {
|
|
|
const locationValidator = (message) => (rule, value, callback) => {
|
|
const locationValidator = (message) => (rule, value, callback) => {
|
|
|
if (this.model.expressExecutor === '顺丰') {
|
|
if (this.model.expressExecutor === '顺丰') {
|
|
@@ -32,7 +37,7 @@ export default {
|
|
|
consignee: [{validator: locationValidator('请输入收件电话')}],
|
|
consignee: [{validator: locationValidator('请输入收件电话')}],
|
|
|
contactNumber: [{validator: locationValidator('请输入收件电话')}],
|
|
contactNumber: [{validator: locationValidator('请输入收件电话')}],
|
|
|
location: [{validator: locationValidator('请选择所属地域')}],
|
|
location: [{validator: locationValidator('请选择所属地域')}],
|
|
|
- address: [{validator: locationValidator('请输入详细地址')}],
|
|
|
|
|
|
|
+ address: [{required: true, message: '请输入详细地址'}],
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
ageOptions: [
|
|
ageOptions: [
|
|
@@ -65,33 +70,97 @@ export default {
|
|
|
concentrationOptions: [],
|
|
concentrationOptions: [],
|
|
|
frequencyOptions: [],
|
|
frequencyOptions: [],
|
|
|
medicationTimeOptions: [],
|
|
medicationTimeOptions: [],
|
|
|
|
|
+ expressDechOptions: [],
|
|
|
|
|
+ expressPayTypeOptions: [],
|
|
|
|
|
+ schemeOptions: [],
|
|
|
|
|
+ patternOptions: [],
|
|
|
regionOptions,
|
|
regionOptions,
|
|
|
showPharmacy: false,
|
|
showPharmacy: false,
|
|
|
searchTableForSystemColumns: [
|
|
searchTableForSystemColumns: [
|
|
|
{title: '名称', data: 'drugsName'},
|
|
{title: '名称', data: 'drugsName'},
|
|
|
- {title: '编码', data: 'drugsId'},
|
|
|
|
|
- {title: '规格', data: 'drugsSpecsName'},
|
|
|
|
|
- {title: '产地', data: 'placeName'},
|
|
|
|
|
- {title: '零售价', data: 'retail'},
|
|
|
|
|
|
|
+ // {title: '编码', data: 'drugsId'},
|
|
|
|
|
+ // {title: '规格', data: 'drugsSpecsName'},
|
|
|
|
|
+ // {title: '产地', data: 'placeName'},
|
|
|
|
|
+ // {title: '零售价', data: 'retail'},
|
|
|
],
|
|
],
|
|
|
|
|
+ loading: false,
|
|
|
saving: false,
|
|
saving: false,
|
|
|
|
|
+
|
|
|
|
|
+ tableHeight: 0,
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
computed: {
|
|
computed: {
|
|
|
...mapGetters(['pharmacyList']),
|
|
...mapGetters(['pharmacyList']),
|
|
|
|
|
+ isCheck() { return this.$props.mode !== 'edit';},
|
|
|
getEmptyMedicineRowIndex() {
|
|
getEmptyMedicineRowIndex() {
|
|
|
return this.medicines.findIndex(medicine => Object.keys(medicine).length === 0);
|
|
return this.medicines.findIndex(medicine => Object.keys(medicine).length === 0);
|
|
|
},
|
|
},
|
|
|
|
|
+ medicineTotal() {
|
|
|
|
|
+ return this.medicines.filter(medicine => medicine && medicine.matCode).length;
|
|
|
|
|
+ },
|
|
|
|
|
+ medicineDosageTotal() {
|
|
|
|
|
+ let total = chain(bignumber(0));
|
|
|
|
|
+ for (const medicine of this.medicines) {
|
|
|
|
|
+ if (medicine['matDose']) total = total.add(bignumber(medicine['matDose']));
|
|
|
|
|
+ }
|
|
|
|
|
+ return total.done().toFixed(2);
|
|
|
|
|
+ },
|
|
|
|
|
+ medicineWholesalePriceTotal() {
|
|
|
|
|
+ let total = chain(bignumber(0));
|
|
|
|
|
+ for (const medicine of this.medicines) {
|
|
|
|
|
+ if (medicine['matDose'] && medicine['matPfj']) total = total.add(multiply(
|
|
|
|
|
+ bignumber(medicine['matDose']),
|
|
|
|
|
+ bignumber(medicine['matPfj']),
|
|
|
|
|
+ ));
|
|
|
|
|
+ }
|
|
|
|
|
+ return total.done().toFixed(2);
|
|
|
|
|
+ },
|
|
|
|
|
+ medicinePriceTotal() {
|
|
|
|
|
+ let total = chain(bignumber(0));
|
|
|
|
|
+ for (const medicine of this.medicines) {
|
|
|
|
|
+ if (medicine['matDose'] && medicine['matXsj']) total = total.add(multiply(
|
|
|
|
|
+ bignumber(medicine['matDose']),
|
|
|
|
|
+ bignumber(medicine['matXsj']),
|
|
|
|
|
+ ));
|
|
|
|
|
+ }
|
|
|
|
|
+ return total.done().toFixed(2);
|
|
|
|
|
+ },
|
|
|
},
|
|
},
|
|
|
created() {
|
|
created() {
|
|
|
- this.formReset();
|
|
|
|
|
|
|
+ if (this.$props.id) this.load();
|
|
|
|
|
+ else this.formReset();
|
|
|
|
|
+ this.getMechanismList();
|
|
|
this.getDicts('dosage_form').then((response) => {this.dosageFormOptions = response.data;});
|
|
this.getDicts('dosage_form').then((response) => {this.dosageFormOptions = response.data;});
|
|
|
- this.getDicts('prescription_usage').then((response) => {this.usageOptions = response.data;});
|
|
|
|
|
- this.getDicts('concentration').then((response) => {this.concentrationOptions = response.data;});
|
|
|
|
|
- this.getDicts('frequency').then((response) => {this.frequencyOptions = response.data;});
|
|
|
|
|
- this.getDicts('medicationTime').then((response) => {this.medicationTimeOptions = response.data;});
|
|
|
|
|
|
|
+ this.getDicts('pressure_pattern').then((response) => {this.patternOptions = response.data;});
|
|
|
|
|
+ this.getDicts('prescription.prescriptionUsage').then((response) => {this.usageOptions = response.data;});
|
|
|
|
|
+ this.getDicts('prescription.concentration').then((response) => {this.concentrationOptions = response.data;});
|
|
|
|
|
+ this.getDicts('prescription.frequency').then((response) => {this.frequencyOptions = response.data;});
|
|
|
|
|
+ this.getDicts('prescription.medicationTime').then((response) => {this.medicationTimeOptions = response.data;});
|
|
|
|
|
+ this.getDicts('expressDech').then((response) => {this.expressDechOptions = response.data;});
|
|
|
|
|
+ this.getDicts('expressPayType').then((response) => {this.expressPayTypeOptions = response.data;});
|
|
|
|
|
+ getSchemeList().then((response) => {this.schemeOptions = response.rows;});
|
|
|
|
|
+ },
|
|
|
|
|
+ mounted() {
|
|
|
|
|
+ const rect = this.$el.getBoundingClientRect();
|
|
|
|
|
+ this.tableHeight = rect.height - /* 内边距 */ 12 * 2 - /* 协定方 */ 32 - /* 表尾 */ (20 + 12 * 2) - /* 拒绝原因 */ (this.isCheck ? 54 + 12 : 0) - /* 底部按钮 */ (36 + 12);
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ async load() {
|
|
|
|
|
+ this.loading = true;
|
|
|
|
|
+ try {
|
|
|
|
|
+ const {medicines, ...model} = await getPrescriptionCore2(this.$props.id);
|
|
|
|
|
+ this.medicines = medicines;
|
|
|
|
|
+ this.model = transformNestedObjectToFlat(model);
|
|
|
|
|
+ console.log(this.medicines, this.model, 'log-->');
|
|
|
|
|
+ } catch (e) {
|
|
|
|
|
+ console.log(e);
|
|
|
|
|
+ this.cancel();
|
|
|
|
|
+ }
|
|
|
|
|
+ this.loading = false;
|
|
|
|
|
+ this.appendMedicine();
|
|
|
|
|
+ const pharmacies = Array.isArray(this.pharmacyList) ? this.pharmacyList : [];
|
|
|
|
|
+ this.showPharmacy = pharmacies.length > 1 || !this.model.yfId;
|
|
|
|
|
+ },
|
|
|
formReset() {
|
|
formReset() {
|
|
|
const pharmacies = Array.isArray(this.pharmacyList) ? this.pharmacyList : [];
|
|
const pharmacies = Array.isArray(this.pharmacyList) ? this.pharmacyList : [];
|
|
|
this.model = {
|
|
this.model = {
|
|
@@ -119,20 +188,44 @@ export default {
|
|
|
/* 22 服药时间 */ prescription_medicationTime: '',
|
|
/* 22 服药时间 */ prescription_medicationTime: '',
|
|
|
/* 23 医嘱 */ prescription_remark: '',
|
|
/* 23 医嘱 */ prescription_remark: '',
|
|
|
/* 24 代煎 */ isBehalf: '',
|
|
/* 24 代煎 */ isBehalf: '',
|
|
|
|
|
+ /* 24 配送 */ takingMethod: '',
|
|
|
|
|
+
|
|
|
/* 26 配送方式 */ expressExecutor: '',
|
|
/* 26 配送方式 */ expressExecutor: '',
|
|
|
/* 27 收件人名 */ consignee: '',
|
|
/* 27 收件人名 */ consignee: '',
|
|
|
/* 28 收件电话 */ contactNumber: '',
|
|
/* 28 收件电话 */ contactNumber: '',
|
|
|
location: [],
|
|
location: [],
|
|
|
/* 29 收件地址 */ address: '',
|
|
/* 29 收件地址 */ address: '',
|
|
|
/* 30 快递单号 */ expressCode: '',
|
|
/* 30 快递单号 */ expressCode: '',
|
|
|
|
|
+ /* */ expressDech: '',
|
|
|
|
|
+ /* */ expressPayType: '',
|
|
|
|
|
+ /* 用药时间 */ expressTime: dayjs().startOf('minute').format('YYYY-MM-DD HH:mm'),
|
|
|
|
|
+
|
|
|
|
|
+ /* 批发费用 */ // prescription_prescriptionPfSum: '',
|
|
|
|
|
+ /* 含税金额 */ // prescription_prescriptionYsSum: '',
|
|
|
/* 31 处方金额 */ // prescription_prescriptionSum: '',
|
|
/* 31 处方金额 */ // prescription_prescriptionSum: '',
|
|
|
/* 32 代煎费用 */ // prescription_daijianCost: '',
|
|
/* 32 代煎费用 */ // prescription_daijianCost: '',
|
|
|
/* 33 配送费用 */ // prescription_distributionCost: '',
|
|
/* 33 配送费用 */ // prescription_distributionCost: '',
|
|
|
/* 34 总金额 */ // prescription_prescriptionTotleSum: '',
|
|
/* 34 总金额 */ // prescription_prescriptionTotleSum: '',
|
|
|
|
|
+
|
|
|
|
|
+ /* 浸泡水量 */ // steep_soakingWaterValue: '',
|
|
|
|
|
+ /* 浸泡时间 */ // steep_soakingTime: '',
|
|
|
|
|
+ /* 是否毒性 */ decoct_isPoison: '',
|
|
|
|
|
+ /* 煎煮方案 */ decoct_schemeId: '',
|
|
|
|
|
+ /* 煎煮剂型 */ decoct_dosageForm: '',
|
|
|
|
|
+ /* 压力模式 */ decoct_pressurePattern: '',
|
|
|
|
|
+ /* 煎煮时间 */ // decoct_decoctTime: '',
|
|
|
|
|
+ /* 先煎时间 */ // decoct_preDecoctTime: '',
|
|
|
|
|
+ /* 一煎时间 */ // decoct_firstDecoctTime: '',
|
|
|
|
|
+ /* 二煎时间 */ // decoct_secondDecoctTime: '',
|
|
|
|
|
+ /* 后下时间 */ // decoct_backDownTime: '',
|
|
|
|
|
+ /* 包数 */ // pack_packageNumber: '',
|
|
|
|
|
+ /* 包装量 */ // pack_packageDose: '',
|
|
|
|
|
+
|
|
|
|
|
+ /* 审核理由 */
|
|
|
|
|
+ remarks: '',
|
|
|
|
|
+ thread: '',
|
|
|
};
|
|
};
|
|
|
- this.getMechanismList();
|
|
|
|
|
this.appendMedicine();
|
|
this.appendMedicine();
|
|
|
-
|
|
|
|
|
this.showPharmacy = pharmacies.length > 1 || !this.model.yfId;
|
|
this.showPharmacy = pharmacies.length > 1 || !this.model.yfId;
|
|
|
},
|
|
},
|
|
|
/** 查询医疗机构列表 */
|
|
/** 查询医疗机构列表 */
|
|
@@ -154,9 +247,20 @@ export default {
|
|
|
|
|
|
|
|
const model = transformFlatObjectToNested(this.model);
|
|
const model = transformFlatObjectToNested(this.model);
|
|
|
model['prescription'].drugs = medicines;
|
|
model['prescription'].drugs = medicines;
|
|
|
|
|
+ model['prescription'].prescriptionPfSum = +this.medicineWholesalePriceTotal;
|
|
|
|
|
+ model['prescription'].prescriptionYsSum = +this.medicineWholesalePriceTotal;
|
|
|
|
|
+ model['prescription'].prescriptionSum = +this.medicinePriceTotal;
|
|
|
|
|
+
|
|
|
[model.province = '', model.city = '', model.region = ''] = this.model.location;
|
|
[model.province = '', model.city = '', model.region = ''] = this.model.location;
|
|
|
|
|
+ delete model['location'];
|
|
|
|
|
+
|
|
|
|
|
+ if (model.steep == null) model.steep = {};
|
|
|
|
|
+ if (model.decoct == null) model.decoct = {};
|
|
|
|
|
+ if (model.pack == null) model.pack = {};
|
|
|
|
|
+
|
|
|
this.saving = true;
|
|
this.saving = true;
|
|
|
- await addPrescriptionCore2(model);
|
|
|
|
|
|
|
+ if (this.isCheck) await check2(model);
|
|
|
|
|
+ else await addPrescriptionCore2(model);
|
|
|
this.$emit('close', true);
|
|
this.$emit('close', true);
|
|
|
} catch (e) {
|
|
} catch (e) {
|
|
|
if (e === false) this.$message.warning('请补全表单数据');
|
|
if (e === false) this.$message.warning('请补全表单数据');
|
|
@@ -164,6 +268,11 @@ export default {
|
|
|
}
|
|
}
|
|
|
this.saving = false;
|
|
this.saving = false;
|
|
|
},
|
|
},
|
|
|
|
|
+ async check(mode) {
|
|
|
|
|
+ this.model.thread = mode;
|
|
|
|
|
+ this.model.checkState = {110: '1', 120: '2'}[mode];
|
|
|
|
|
+ await this.handle();
|
|
|
|
|
+ },
|
|
|
cancel() {
|
|
cancel() {
|
|
|
this.$emit('close', false);
|
|
this.$emit('close', false);
|
|
|
},
|
|
},
|
|
@@ -171,7 +280,16 @@ export default {
|
|
|
this.$refs.form.clearValidate(validators);
|
|
this.$refs.form.clearValidate(validators);
|
|
|
this.$refs.form.validateField(validators);
|
|
this.$refs.form.validateField(validators);
|
|
|
},
|
|
},
|
|
|
-
|
|
|
|
|
|
|
+ updateJDModel(id) {
|
|
|
|
|
+ const model = this.schemeOptions.find(scheme => scheme.id === id) || {};
|
|
|
|
|
+ this.model.decoct_pressurePattern = model.pressurePattern;
|
|
|
|
|
+ this.model.decoct_dosageForm = model.dosageForm;
|
|
|
|
|
+ const keys = ['decoctTime', 'firstDecoctTime', 'secondDecoctTime', 'preDecoctTime', 'backDownTime'];
|
|
|
|
|
+ for (const key of keys) {
|
|
|
|
|
+ if (model[key]) this.model[`decoct_${key}`] = model[key];
|
|
|
|
|
+ else delete model[`decoct_${key}`];
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
searchMedicinesFormat(res) {
|
|
searchMedicinesFormat(res) {
|
|
|
try {
|
|
try {
|
|
|
if (res.rows) return {totalRow: res.total, list: res.rows};
|
|
if (res.rows) return {totalRow: res.total, list: res.rows};
|
|
@@ -187,6 +305,7 @@ export default {
|
|
|
// row.matDose = '';
|
|
// row.matDose = '';
|
|
|
row.matUnitName = value.dosageSizeUnit;
|
|
row.matUnitName = value.dosageSizeUnit;
|
|
|
row.matXsj = value.retail;
|
|
row.matXsj = value.retail;
|
|
|
|
|
+ row.matPfj = value.matPfj;
|
|
|
row.subtotalMoney = this.calculationMedicinePrice(row);
|
|
row.subtotalMoney = this.calculationMedicinePrice(row);
|
|
|
} else {
|
|
} else {
|
|
|
delete row.matCode;
|
|
delete row.matCode;
|
|
@@ -196,6 +315,7 @@ export default {
|
|
|
delete row.matDose;
|
|
delete row.matDose;
|
|
|
delete row.matUnitName;
|
|
delete row.matUnitName;
|
|
|
delete row.matXsj;
|
|
delete row.matXsj;
|
|
|
|
|
+ delete row.matPfj;
|
|
|
this.medicines.splice(index, 1, row);
|
|
this.medicines.splice(index, 1, row);
|
|
|
}
|
|
}
|
|
|
if (this.getEmptyMedicineRowIndex === -1) this.appendMedicine({}, index + 1);
|
|
if (this.getEmptyMedicineRowIndex === -1) this.appendMedicine({}, index + 1);
|
|
@@ -213,297 +333,641 @@ export default {
|
|
|
let price = chain(bignumber(medicine.matXsj || 0));
|
|
let price = chain(bignumber(medicine.matXsj || 0));
|
|
|
return price.multiply(bignumber(medicine.matDose || 0)).value.valueOf();
|
|
return price.multiply(bignumber(medicine.matDose || 0)).value.valueOf();
|
|
|
},
|
|
},
|
|
|
|
|
+ medicinesCellSpan({row, column, rowIndex, columnIndex}) {
|
|
|
|
|
+ if (columnIndex >= 2 && !(row && row.matCode)) return {
|
|
|
|
|
+ rowspan: 1,
|
|
|
|
|
+ colspan: 8,
|
|
|
|
|
+ };
|
|
|
|
|
+ },
|
|
|
},
|
|
},
|
|
|
};
|
|
};
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
|
<template>
|
|
|
- <div>
|
|
|
|
|
- <el-form ref="form" :model="model" :rules="rules" label-width="100px">
|
|
|
|
|
- <el-row :gutter="20">
|
|
|
|
|
- <el-col :span="6">
|
|
|
|
|
- <el-form-item label="受理时间" prop="tackleTime">
|
|
|
|
|
- <el-date-picker v-model="model.tackleTime" type="date" value-format="yyyy-MM-dd"
|
|
|
|
|
- placeholder="请选择受理时间"></el-date-picker>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-col>
|
|
|
|
|
- <el-col :span="6">
|
|
|
|
|
- <el-form-item label="序号" prop="recipeSerial">
|
|
|
|
|
- <el-input v-model="model.recipeSerial" placeholder="请输入序号"/>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-col>
|
|
|
|
|
- <el-col :span="6">
|
|
|
|
|
- <el-form-item label="编号" prop="recipeBh">
|
|
|
|
|
- <el-input v-model="model.recipeBh" placeholder="请输入编号"/>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-col>
|
|
|
|
|
- </el-row>
|
|
|
|
|
- <el-row :gutter="20">
|
|
|
|
|
- <el-col :span="6">
|
|
|
|
|
- <el-form-item label="患者" prop="name">
|
|
|
|
|
- <el-input v-model="model.name" placeholder="请输入患者姓名"/>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-col>
|
|
|
|
|
- <el-col :span="6">
|
|
|
|
|
- <el-form-item label="年龄" prop="age">
|
|
|
|
|
- <div style="display: flex">
|
|
|
|
|
- <el-input-number v-model="model.age" :min="0" label="请输入年龄"></el-input-number>
|
|
|
|
|
|
|
+ <el-form v-loading="loading" class="wrapper" ref="form"
|
|
|
|
|
+ :model="model" :rules="rules" label-position="right" label-width="auto"
|
|
|
|
|
+ >
|
|
|
|
|
+ <el-row :gutter="20">
|
|
|
|
|
+ <el-col class="container" :span="12">
|
|
|
|
|
+ <div class="row">
|
|
|
|
|
+ <div class="title-container">医疗机构信息</div>
|
|
|
|
|
+ <el-row class="form-container" :gutter="8">
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="医疗机构" prop="yljgId">
|
|
|
|
|
+ <el-select v-model="model.yljgId" placeholder="请选择医疗机构" clearable>
|
|
|
|
|
+ <el-option v-for="item in mechanismOptions" :key="item.code" :value="item.code" :label="item.name"
|
|
|
|
|
+ :disabled="item.disabled"></el-option>
|
|
|
|
|
+ </el-select>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="门诊住院" prop="preMzZy">
|
|
|
|
|
+ <el-select v-model="model.preMzZy" placeholder="请选择" clearable>
|
|
|
|
|
+ <el-option v-for="item in recipeCategoryOptions" :key="item.label" :label="item.label"
|
|
|
|
|
+ :value="item.value"></el-option>
|
|
|
|
|
+ </el-select>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="编号" prop="recipeBh">
|
|
|
|
|
+ <el-input v-model="model.recipeBh" placeholder="请输入编号"/>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="受理时间" prop="tackleTime">
|
|
|
|
|
+ <el-date-picker v-model="model.tackleTime" type="date" value-format="yyyy-MM-dd"
|
|
|
|
|
+ placeholder="请选择受理时间"></el-date-picker>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="处方号" prop="preNo">
|
|
|
|
|
+ <el-input v-model="model.preNo" placeholder="请输入处方号"/>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="序号" prop="recipeSerial">
|
|
|
|
|
+ <el-input v-model="model.recipeSerial" placeholder="请输入序号"/>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ </el-row>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="row">
|
|
|
|
|
+ <div class="title-container">就诊信息</div>
|
|
|
|
|
+ <el-row class="form-container" :gutter="8">
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="患者姓名" prop="name">
|
|
|
|
|
+ <el-input v-model="model.name" placeholder="请输入患者姓名"/>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label-width="4em" label="年龄" prop="age">
|
|
|
|
|
+ <div style="display: flex">
|
|
|
|
|
+ <el-input-number v-model="model.age" :controls="false" controls-position="right"
|
|
|
|
|
+ :min="0" placeholder="请输入"
|
|
|
|
|
+ ></el-input-number>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item label-width="4em" label="性别" prop="sex">
|
|
|
|
|
+ <el-select v-model="model.sex" placeholder="请选择" clearable>
|
|
|
|
|
+ <el-option v-for="item in genderOptions" :key="item.label" :label="item.label"
|
|
|
|
|
+ :value="item.value"></el-option>
|
|
|
|
|
+ </el-select>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="电话" prop="recipientTel">
|
|
|
|
|
+ <el-input type="tel" v-model="model.recipientTel" placeholder="请输入电话" minlength="11"
|
|
|
|
|
+ maxlength="11"/>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="就诊科室" prop="department">
|
|
|
|
|
+ <el-input v-model="model.department" placeholder="请输入就诊科室"/>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="病区" prop="inpatientArea">
|
|
|
|
|
+ <el-input v-model="model.inpatientArea" placeholder="请输入病区"/>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="病床" prop="bedNo">
|
|
|
|
|
+ <el-input v-model="model.bedNo" placeholder="请输入病床"/>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="16">
|
|
|
|
|
+ <el-form-item label="临床诊断" prop="disName">
|
|
|
|
|
+ <el-input v-model="model.disName" placeholder="请输入临床诊断"/>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="医生" prop="doctor">
|
|
|
|
|
+ <el-input v-model="model.doctor" placeholder="请输入医生"/>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="医院金额" prop="prescription_prescriptionTotleSum">
|
|
|
|
|
+ <el-input-number class="full" v-model="model.prescription_prescriptionTotleSum" :controls="false"
|
|
|
|
|
+ :precision="2" :step="1" :min="0" placeholder="请输入"
|
|
|
|
|
+ ></el-input-number>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="代煎费" prop="prescription_daijianCost">
|
|
|
|
|
+ <el-input-number class="full" v-model="model.prescription_daijianCost" :controls="false"
|
|
|
|
|
+ :precision="2" :step="1" :min="0" placeholder="请输入"
|
|
|
|
|
+ ></el-input-number>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="配送费" prop="prescription_distributionCost">
|
|
|
|
|
+ <el-input-number class="full" v-model="model.prescription_distributionCost" :controls="false"
|
|
|
|
|
+ :precision="2" :step="1" :min="0" placeholder="请输入"
|
|
|
|
|
+ ></el-input-number>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ </el-row>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="row">
|
|
|
|
|
+ <div class="title-container">处方信息</div>
|
|
|
|
|
+ <el-row class="form-container" :gutter="8">
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label-width="3em" label="剂型" prop="prescription_dosageForm">
|
|
|
|
|
+ <el-select v-model="model.prescription_dosageForm" placeholder="请选择" clearable>
|
|
|
|
|
+ <el-option v-for="item in dosageFormOptions" :key="item.dictValue"
|
|
|
|
|
+ :label="item.dictLabel" :value="item.dictValue"
|
|
|
|
|
+ ></el-option>
|
|
|
|
|
+ </el-select>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item label-width="3em" label="用法" prop="prescription_prescriptionUsage">
|
|
|
|
|
+ <el-select v-model="model.prescription_prescriptionUsage" placeholder="请选择" clearable>
|
|
|
|
|
+ <el-option v-for="item in usageOptions" :key="item.dictValue"
|
|
|
|
|
+ :label="item.dictLabel" :value="item.dictValue"
|
|
|
|
|
+ ></el-option>
|
|
|
|
|
+ </el-select>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label-width="3em" label="剂数" prop="prescription_number">
|
|
|
|
|
+ <el-input-number v-model="model.prescription_number" :controls="false" controls-position="right"
|
|
|
|
|
+ :min="0" placeholder="请输入"
|
|
|
|
|
+ ></el-input-number>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item label-width="3em" label="包数" prop="pack_packageNumber">
|
|
|
|
|
+ <el-input-number v-model="model.pack_packageNumber" :controls="false" controls-position="right"
|
|
|
|
|
+ :min="0" placeholder="请输入"
|
|
|
|
|
+ ></el-input-number>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="包装量" prop="pack_packageDose">
|
|
|
|
|
+ <div style="display: flex">
|
|
|
|
|
+ <el-input-number class="full" v-model="model.pack_packageDose" :controls="false"
|
|
|
|
|
+ :precision="2" :step="1" :min="0" placeholder="请输入"
|
|
|
|
|
+ ></el-input-number>
|
|
|
|
|
+ <span style="flex: none; margin-left: 4px;">ml</span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label-width="3em" label="代煎" prop="isBehalf">
|
|
|
|
|
+ <el-select v-model="model.isBehalf" placeholder="是 / 否" clearable>
|
|
|
|
|
+ <el-option v-for="item in whetherOptions" :key="item.value"
|
|
|
|
|
+ :label="item.label" :value="item.value"
|
|
|
|
|
+ ></el-option>
|
|
|
|
|
+ </el-select>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item label-width="3em" label="配送" prop="takingMethod">
|
|
|
|
|
+ <el-select v-model="model.takingMethod" placeholder="是 / 否" clearable>
|
|
|
|
|
+ <el-option label="是" :value="'配送'"></el-option>
|
|
|
|
|
+ <el-option label="否" :value="'自提'"></el-option>
|
|
|
|
|
+ </el-select>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="服药频次" prop="prescription_frequency">
|
|
|
|
|
+ <el-select v-model="model.prescription_frequency" placeholder="请选择服药频次" clearable>
|
|
|
|
|
+ <el-option v-for="item in frequencyOptions" :key="item.dictValue"
|
|
|
|
|
+ :label="item.dictLabel" :value="item.dictValue"
|
|
|
|
|
+ ></el-option>
|
|
|
|
|
+ </el-select>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="服药时间" prop="prescription_medicationTime">
|
|
|
|
|
+ <el-select v-model="model.prescription_medicationTime" placeholder="请选择服药时间" clearable>
|
|
|
|
|
+ <el-option v-for="item in medicationTimeOptions" :key="item.dictValue"
|
|
|
|
|
+ :label="item.dictLabel" :value="item.dictValue"
|
|
|
|
|
+ ></el-option>
|
|
|
|
|
+ </el-select>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col v-if="showPharmacy" :span="8">
|
|
|
|
|
+ <el-form-item label="药房" prop="yfId">
|
|
|
|
|
+ <el-select v-model="model.yfId" placeholder="请选择药房" clearable>
|
|
|
|
|
+ <el-option v-for="item in pharmacyList" :key="dict.id" :label="dict.name" :value="dict.id"
|
|
|
|
|
+ :disabled="item.disabled"></el-option>
|
|
|
|
|
+ </el-select>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="showPharmacy ? 16 : 24">
|
|
|
|
|
+ <el-form-item label-width="3em" label="医嘱" prop="prescription_remark">
|
|
|
|
|
+ <el-input v-model="model.prescription_remark" placeholder="请输入医嘱"/>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ </el-row>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="row">
|
|
|
|
|
+ <div class="title-container">配送信息</div>
|
|
|
|
|
+ <el-row class="form-container" :gutter="8">
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="配送方式" prop="expressExecutor">
|
|
|
|
|
+ <el-select v-model="model.expressExecutor" placeholder="请选择配送方式" clearable
|
|
|
|
|
+ @change="updateValidator(['consignee', 'contactNumber', 'location', 'address'])">
|
|
|
|
|
+ <el-option v-for="item in expressExecutorOptions" :key="item.label" :label="item.label"
|
|
|
|
|
+ :value="item.value"></el-option>
|
|
|
|
|
+ </el-select>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="收件人" prop="consignee">
|
|
|
|
|
+ <el-input v-model="model.consignee" placeholder="请输入收件人"/>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="收件电话" prop="contactNumber">
|
|
|
|
|
+ <el-input type="tel" v-model="model.contactNumber" placeholder="请输入收件电话" minlength="11"
|
|
|
|
|
+ maxlength="11"/>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="24">
|
|
|
|
|
+ <el-form-item label="收件地址" prop="location">
|
|
|
|
|
+ <el-cascader v-model="model.location" :options="regionOptions" :props="{ value: 'label' }"
|
|
|
|
|
+ placeholder="请选择省/市/区" clearable></el-cascader>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item label-width="4px" prop="address">
|
|
|
|
|
+ <el-input v-model="model.address" placeholder="请输入详细地址"/>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="16">
|
|
|
|
|
+ <el-form-item style="flex-basis: 70%;" label="快递单号" prop="expressCode">
|
|
|
|
|
+ <el-input v-model="model.expressCode" placeholder="请输入快递单号"/>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item style="flex-basis: 15%;" label-width="4px" label="" prop="expressDech">
|
|
|
|
|
+ <el-select v-model="model.expressDech" placeholder="顺丰标快" clearable>
|
|
|
|
|
+ <el-option v-for="item in expressDechOptions" :key="item.dictValue"
|
|
|
|
|
+ :label="item.dictLabel" :value="item.dictValue"
|
|
|
|
|
+ ></el-option>
|
|
|
|
|
+ </el-select>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item style="flex-basis: 10%;" label-width="4px" label="" prop="expressPayType">
|
|
|
|
|
+ <el-select v-model="model.expressPayType" placeholder="月结" clearable>
|
|
|
|
|
+ <el-option v-for="item in expressPayTypeOptions" :key="item.dictValue"
|
|
|
|
|
+ :label="item.dictLabel" :value="item.dictValue"
|
|
|
|
|
+ ></el-option>
|
|
|
|
|
+ </el-select>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="用药时间" prop="expressTime">
|
|
|
|
|
+ <el-date-picker v-model="model.expressTime" type="datetime" value-format="yyyy-MM-dd HH:mm"
|
|
|
|
|
+ placeholder="请选择用药时间" clearable></el-date-picker>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ </el-row>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="row">
|
|
|
|
|
+ <div class="title-container">煎煮信息</div>
|
|
|
|
|
+ <el-row class="form-container" :gutter="8">
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="是否毒性" prop="decoct_isPoison">
|
|
|
|
|
+ <el-select v-model="model.decoct_isPoison" placeholder="请选择" clearable>
|
|
|
|
|
+ <el-option label="是" :value="'1'"></el-option>
|
|
|
|
|
+ <el-option label="否" :value="'0'"></el-option>
|
|
|
|
|
+ </el-select>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="浸泡水量" prop="steep_soakingWaterValue">
|
|
|
|
|
+ <div style="display: flex">
|
|
|
|
|
+ <el-input-number class="full" v-model="model.steep_soakingWaterValue" :controls="false"
|
|
|
|
|
+ :precision="2" :step="1" :min="0" placeholder="请输入"
|
|
|
|
|
+ ></el-input-number>
|
|
|
|
|
+ <span style="flex: none; margin-left: 4px;">ml</span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="浸泡时间" prop="steep_soakingTime">
|
|
|
|
|
+ <div style="display: flex">
|
|
|
|
|
+ <el-input-number class="full" v-model="model.steep_soakingTime" :controls="false"
|
|
|
|
|
+ :precision="2" :step="1" :min="0" placeholder="请输入"
|
|
|
|
|
+ ></el-input-number>
|
|
|
|
|
+ <span style="flex: none; margin-left: 4px;">min</span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="煎药方案" prop="decoct_schemeId">
|
|
|
|
|
+ <el-select v-model="model.decoct_schemeId" placeholder="请选择煎药方案" clearable
|
|
|
|
|
+ @change="updateJDModel">
|
|
|
|
|
+ <el-option v-for="item in schemeOptions" :key="item.id"
|
|
|
|
|
+ :label="item.schemeName" :value="item.id"
|
|
|
|
|
+ ></el-option>
|
|
|
|
|
+ </el-select>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="压力模式" prop="decoct_pressurePattern">
|
|
|
|
|
+ <el-select v-model="model.decoct_pressurePattern" placeholder="请选择压力模式" clearable>
|
|
|
|
|
+ <el-option v-for="item in patternOptions" :key="item.dictCode"
|
|
|
|
|
+ :label="item.dictLabel" :value="item.dictValue"
|
|
|
|
|
+ ></el-option>
|
|
|
|
|
+ </el-select>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item label="煎煮时间" prop="decoct_decoctTime">
|
|
|
|
|
+ <div style="display: flex">
|
|
|
|
|
+ <el-input-number class="full" v-model="model.decoct_decoctTime" :controls="false"
|
|
|
|
|
+ :precision="2" :step="1" :min="0"
|
|
|
|
|
+ ></el-input-number>
|
|
|
|
|
+ <span style="flex: none; margin-left: 4px;">min</span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="6">
|
|
|
|
|
+ <el-form-item label="先煎时间" prop="decoct_preDecoctTime">
|
|
|
|
|
+ <div style="display: flex">
|
|
|
|
|
+ <el-input-number class="full" v-model="model.decoct_preDecoctTime" :controls="false"
|
|
|
|
|
+ :precision="2" :step="1" :min="0"
|
|
|
|
|
+ ></el-input-number>
|
|
|
|
|
+ <span style="flex: none; margin-left: 4px;">min</span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="6">
|
|
|
|
|
+ <el-form-item label="一煎时间" prop="decoct_firstDecoctTime">
|
|
|
|
|
+ <div style="display: flex">
|
|
|
|
|
+ <el-input-number class="full" v-model="model.decoct_firstDecoctTime" :controls="false"
|
|
|
|
|
+ :precision="2" :step="1" :min="0"
|
|
|
|
|
+ ></el-input-number>
|
|
|
|
|
+ <span style="flex: none; margin-left: 4px;">min</span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="6">
|
|
|
|
|
+ <el-form-item label="二煎时间" prop="decoct_secondDecoctTime">
|
|
|
|
|
+ <div style="display: flex">
|
|
|
|
|
+ <el-input-number class="full" v-model="model.decoct_secondDecoctTime" :controls="false"
|
|
|
|
|
+ :precision="2" :step="1" :min="0"
|
|
|
|
|
+ ></el-input-number>
|
|
|
|
|
+ <span style="flex: none; margin-left: 4px;">min</span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="6">
|
|
|
|
|
+ <el-form-item label="后下时间" prop="decoct_backDownTime">
|
|
|
|
|
+ <div style="display: flex">
|
|
|
|
|
+ <el-input-number class="full" v-model="model.decoct_backDownTime" :controls="false"
|
|
|
|
|
+ :precision="2" :step="1" :min="0"
|
|
|
|
|
+ ></el-input-number>
|
|
|
|
|
+ <span style="flex: none; margin-left: 4px;">min</span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ </el-row>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col class="container" :span="12">
|
|
|
|
|
+ <div class="area" style="flex: auto;display: flex;flex-direction: column;">
|
|
|
|
|
+ <div style="flex: none;display: flex;justify-content: space-between;align-items: center;">
|
|
|
|
|
+ <div style="display: flex;align-items: center;">
|
|
|
|
|
+ <span style="flex: none">协定方:</span>
|
|
|
|
|
+ <el-input></el-input>
|
|
|
|
|
+ <el-button style="margin-left: 8px;" type="primary" size="small">添加</el-button>
|
|
|
</div>
|
|
</div>
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-col>
|
|
|
|
|
- <el-col :span="6">
|
|
|
|
|
- <el-form-item label="性别" prop="sex">
|
|
|
|
|
- <el-select v-model="model.sex" placeholder="请选择性别" clearable>
|
|
|
|
|
- <el-option v-for="item in genderOptions" :key="item.label" :label="item.label"
|
|
|
|
|
- :value="item.value"></el-option>
|
|
|
|
|
- </el-select>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-col>
|
|
|
|
|
- <el-col :span="6">
|
|
|
|
|
- <el-form-item label="联系电话" prop="recipientTel">
|
|
|
|
|
- <el-input type="tel" v-model="model.recipientTel" placeholder="请输入联系电话" minlength="11"
|
|
|
|
|
- maxlength="11"/>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-col>
|
|
|
|
|
- </el-row>
|
|
|
|
|
- <el-row :gutter="20">
|
|
|
|
|
- <el-col :span="6">
|
|
|
|
|
- <el-form-item label="医院处方号" prop="preNo">
|
|
|
|
|
- <el-input v-model="model.preNo" placeholder="请输入医院处方号"/>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-col>
|
|
|
|
|
- <el-col :span="6">
|
|
|
|
|
- <el-form-item label="医疗机构" prop="yljgId">
|
|
|
|
|
- <el-select v-model="model.yljgId" placeholder="请选择医疗机构" clearable>
|
|
|
|
|
- <el-option v-for="item in mechanismOptions" :key="item.code" :value="item.code" :label="item.name"
|
|
|
|
|
- :disabled="item.disabled"></el-option>
|
|
|
|
|
- </el-select>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-col>
|
|
|
|
|
- <el-col :span="6">
|
|
|
|
|
- <el-form-item label="药房" prop="yfId">
|
|
|
|
|
- <el-select v-model="model.yfId" placeholder="请选择药房" clearable>
|
|
|
|
|
- <el-option v-for="item in pharmacyList" :key="dict.id" :label="dict.name" :value="dict.id"
|
|
|
|
|
- :disabled="item.disabled"></el-option>
|
|
|
|
|
- </el-select>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-col>
|
|
|
|
|
- <el-col :span="6">
|
|
|
|
|
- <el-form-item label="门诊住院" prop="preMzZy">
|
|
|
|
|
- <el-select v-model="model.preMzZy" placeholder="请选择" clearable>
|
|
|
|
|
- <el-option v-for="item in recipeCategoryOptions" :key="item.label" :label="item.label"
|
|
|
|
|
- :value="item.value"></el-option>
|
|
|
|
|
- </el-select>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-col>
|
|
|
|
|
- <el-col :span="6">
|
|
|
|
|
- <el-form-item label="就诊科室" prop="department">
|
|
|
|
|
- <el-input v-model="model.department" placeholder="请输入就诊科室"/>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-col>
|
|
|
|
|
- <el-col :span="6">
|
|
|
|
|
- <el-form-item label="病区" prop="inpatientArea">
|
|
|
|
|
- <el-input v-model="model.inpatientArea" placeholder="请输入病区"/>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-col>
|
|
|
|
|
- <el-col :span="6">
|
|
|
|
|
- <el-form-item label="病床" prop="bedNo">
|
|
|
|
|
- <el-input v-model="model.bedNo" placeholder="请输入病床"/>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-col>
|
|
|
|
|
- <el-col :span="6">
|
|
|
|
|
- <el-form-item label="就诊医生" prop="doctor">
|
|
|
|
|
- <el-input v-model="model.doctor" placeholder="请输入就诊医生"/>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-col>
|
|
|
|
|
- <el-col :span="6">
|
|
|
|
|
- <el-form-item label="临床诊断" prop="disName">
|
|
|
|
|
- <el-input v-model="model.disName" placeholder="请输入临床诊断"/>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-col>
|
|
|
|
|
- <el-col :span="6">
|
|
|
|
|
- <el-form-item label="剂数" prop="prescription_number">
|
|
|
|
|
- <el-input-number v-model="model.prescription_number" :min="0" label="请输入剂数"></el-input-number>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-col>
|
|
|
|
|
- <el-col :span="6">
|
|
|
|
|
- <el-form-item label="剂型" prop="prescription_dosageForm">
|
|
|
|
|
- <el-select v-model="model.prescription_dosageForm" placeholder="请选择剂型" clearable>
|
|
|
|
|
- <el-option v-for="item in dosageFormOptions" :key="item.dictValue"
|
|
|
|
|
- :label="item.dictLabel" :value="item.dictValue"
|
|
|
|
|
- ></el-option>
|
|
|
|
|
- </el-select>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-col>
|
|
|
|
|
- <el-col :span="6">
|
|
|
|
|
- <el-form-item label="处方用法" prop="prescription_prescriptionUsage">
|
|
|
|
|
- <el-select v-model="model.prescription_prescriptionUsage" placeholder="请选择处方用法" clearable>
|
|
|
|
|
- <el-option v-for="item in usageOptions" :key="item.dictValue"
|
|
|
|
|
- :label="item.dictLabel" :value="item.dictValue"
|
|
|
|
|
- ></el-option>
|
|
|
|
|
- </el-select>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-col>
|
|
|
|
|
- <el-col :span="6">
|
|
|
|
|
- <el-form-item label="浓煎量" prop="prescription_concentration">
|
|
|
|
|
- <el-select v-model="model.prescription_concentration" placeholder="请选择浓煎量" clearable>
|
|
|
|
|
- <el-option v-for="item in concentrationOptions" :key="item.dictValue"
|
|
|
|
|
- :label="item.dictLabel" :value="item.dictValue"
|
|
|
|
|
- ></el-option>
|
|
|
|
|
- </el-select>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-col>
|
|
|
|
|
- <el-col :span="6">
|
|
|
|
|
- <el-form-item label="服药频次" prop="prescription_frequency">
|
|
|
|
|
- <el-select v-model="model.prescription_frequency" placeholder="请选择服药频次" clearable>
|
|
|
|
|
- <el-option v-for="item in frequencyOptions" :key="item.dictValue"
|
|
|
|
|
- :label="item.dictLabel" :value="item.dictValue"
|
|
|
|
|
- ></el-option>
|
|
|
|
|
- </el-select>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-col>
|
|
|
|
|
- <el-col :span="6">
|
|
|
|
|
- <el-form-item label="服药时间" prop="prescription_medicationTime">
|
|
|
|
|
- <el-select v-model="model.prescription_medicationTime" placeholder="请选择服药时间" clearable>
|
|
|
|
|
- <el-option v-for="item in medicationTimeOptions" :key="item.dictValue"
|
|
|
|
|
- :label="item.dictLabel" :value="item.dictValue"
|
|
|
|
|
- ></el-option>
|
|
|
|
|
- </el-select>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-col>
|
|
|
|
|
- <el-col :span="6">
|
|
|
|
|
- <el-form-item label="是否代煎" prop="isBehalf">
|
|
|
|
|
- <el-radio-group v-model="model.isBehalf">
|
|
|
|
|
- <el-radio v-for="item in whetherOptions" :key="item.value" :label="item.value">{{ item.label }}</el-radio>
|
|
|
|
|
- </el-radio-group>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-col>
|
|
|
|
|
- <el-col :span="24">
|
|
|
|
|
- <el-form-item label="医嘱" prop="prescription_remark">
|
|
|
|
|
- <el-input v-model="model.prescription_remark" placeholder="请输入医嘱"/>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-col>
|
|
|
|
|
- </el-row>
|
|
|
|
|
- <el-row :gutter="20">
|
|
|
|
|
- <el-col :span="6">
|
|
|
|
|
- <el-form-item label="配送方式" prop="expressExecutor">
|
|
|
|
|
- <el-select v-model="model.expressExecutor" placeholder="请选择配送方式" clearable
|
|
|
|
|
- @change="updateValidator(['consignee', 'contactNumber', 'location', 'address'])">
|
|
|
|
|
- <el-option v-for="item in expressExecutorOptions" :key="item.label" :label="item.label"
|
|
|
|
|
- :value="item.value"></el-option>
|
|
|
|
|
- </el-select>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-col>
|
|
|
|
|
- <el-col :span="6">
|
|
|
|
|
- <el-form-item label="收件人" prop="consignee">
|
|
|
|
|
- <el-input v-model="model.consignee" placeholder="请输入收件人"/>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-col>
|
|
|
|
|
- <el-col :span="6">
|
|
|
|
|
- <el-form-item label="收件电话" prop="contactNumber">
|
|
|
|
|
- <el-input type="tel" v-model="model.contactNumber" placeholder="请输入收件电话" minlength="11"
|
|
|
|
|
- maxlength="11"/>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-col>
|
|
|
|
|
- <el-col :span="6">
|
|
|
|
|
- <el-form-item label="所属地域" prop="location">
|
|
|
|
|
- <el-cascader v-model="model.location" :options="regionOptions" :props="{ value: 'label' }"
|
|
|
|
|
- placeholder="请选择省/市/区" clearable></el-cascader>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-col>
|
|
|
|
|
- <el-col :span="18">
|
|
|
|
|
- <el-form-item label="收件地址" prop="address">
|
|
|
|
|
- <el-input v-model="model.address" placeholder="请输入详细地址"/>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-col>
|
|
|
|
|
- <el-col :span="6">
|
|
|
|
|
- <el-form-item label="快递单号" prop="expressCode">
|
|
|
|
|
- <el-input v-model="model.expressCode" placeholder="请输入快递单号"/>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-col>
|
|
|
|
|
- </el-row>
|
|
|
|
|
- <el-row :gutter="20">
|
|
|
|
|
- <el-col :span="6">
|
|
|
|
|
- <el-form-item label="处方金额" prop="prescription_prescriptionSum">
|
|
|
|
|
- <el-input-number v-model="model.prescription_prescriptionSum" :precision="2" :step="1"
|
|
|
|
|
- :min="0"></el-input-number>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-col>
|
|
|
|
|
- <el-col :span="6">
|
|
|
|
|
- <el-form-item label="代煎费用" prop="prescription_daijianCost">
|
|
|
|
|
- <el-input-number v-model="model.prescription_daijianCost" :precision="2" :step="1"
|
|
|
|
|
- :min="0"></el-input-number>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-col>
|
|
|
|
|
- <el-col :span="6">
|
|
|
|
|
- <el-form-item label="配送费用" prop="prescription_distributionCost">
|
|
|
|
|
- <el-input-number v-model="model.prescription_distributionCost" :precision="2" :step="1"
|
|
|
|
|
- :min="0"></el-input-number>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-col>
|
|
|
|
|
- <el-col :span="6">
|
|
|
|
|
- <el-form-item label="总金额" prop="prescription_prescriptionTotleSum">
|
|
|
|
|
- <el-input-number v-model="model.prescription_prescriptionTotleSum" :precision="2" :step="1"
|
|
|
|
|
- :min="0"></el-input-number>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-col>
|
|
|
|
|
- </el-row>
|
|
|
|
|
- </el-form>
|
|
|
|
|
- <el-table :data="medicines" style="width: 100%">
|
|
|
|
|
- <el-table-column label="序号" type="index" width="65" align="center"></el-table-column>
|
|
|
|
|
- <el-table-column label="药品名称" prop="matName" align="center">
|
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
|
- <template v-if="!scope.row.matCode">
|
|
|
|
|
- <v-selectpage :tb-columns="searchTableForSystemColumns"
|
|
|
|
|
- key-field="drugsId" v-model="scope.row.matCode"
|
|
|
|
|
- placeholder="请输入药品名称" title="药品"
|
|
|
|
|
- data="drugsSearchForSystem" :params="{}" :pagination="false"
|
|
|
|
|
- :result-format="searchMedicinesFormat"
|
|
|
|
|
- @values="selectMedicine($event, scope.row, scope.$index)"
|
|
|
|
|
- ></v-selectpage>
|
|
|
|
|
- </template>
|
|
|
|
|
- <a v-else>
|
|
|
|
|
- {{ scope.row.matName }}
|
|
|
|
|
- <i class="icon el-icon-circle-close" @click="selectMedicine([], scope.row, scope.$index)"></i>
|
|
|
|
|
- </a>
|
|
|
|
|
- </template>
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
- <el-table-column label="药品规格" prop="drugsSpecsName" align="center"></el-table-column>
|
|
|
|
|
- <el-table-column label="剂量单位" prop="matUnitName" width="110" align="center"></el-table-column>
|
|
|
|
|
- <el-table-column label="药品用法" prop="matUsageName" align="center">
|
|
|
|
|
- <template slot-scope="scope" v-if="scope.row.matCode">
|
|
|
|
|
- <el-input v-model="scope.row.matUsageName" :disabled="saving"
|
|
|
|
|
- @input="updateMedicine(scope.row, scope.$index)"></el-input>
|
|
|
|
|
- </template>
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
- <el-table-column label="剂量" prop="matDose" align="center">
|
|
|
|
|
- <template slot-scope="scope" v-if="scope.row.matCode">
|
|
|
|
|
- <el-input-number v-model="scope.row.matDose" :min="0" :precision="2" :controls="false"
|
|
|
|
|
- :disabled="saving"
|
|
|
|
|
- @change="updateMedicine(scope.row, scope.$index)"></el-input-number>
|
|
|
|
|
- </template>
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
- <el-table-column label="药品单价" prop="matXsj" width="110" align="center"></el-table-column>
|
|
|
|
|
- <el-table-column label="小计" prop="subtotalMoney" width="110" align="center"></el-table-column>
|
|
|
|
|
- <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="80" fixed="right">
|
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
|
- <el-button style="width: 40px;" type="danger" size="mini"
|
|
|
|
|
- :disabled="Object.keys(scope.row).length === 0 || saving"
|
|
|
|
|
- @click="deleteMedicine(scope.row, scope.$index)"
|
|
|
|
|
- >删除
|
|
|
|
|
- </el-button>
|
|
|
|
|
- </template>
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
- </el-table>
|
|
|
|
|
- <div class="el-dialog__footer">
|
|
|
|
|
- <el-button type="primary" :loading="saving" @click="handle">保 存</el-button>
|
|
|
|
|
- <el-button @click="cancel">取 消</el-button>
|
|
|
|
|
- </div>
|
|
|
|
|
- </div>
|
|
|
|
|
|
|
+ <div>
|
|
|
|
|
+ <span>合计 </span>
|
|
|
|
|
+ <span style="font-weight: 700;">{{ medicineTotal }}</span>
|
|
|
|
|
+ <span> 味药品,总重 </span>
|
|
|
|
|
+ <span style="font-weight: 700;">{{ medicineDosageTotal }}</span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div v-if="tableHeight" style="flex: auto;margin: 12px 0;">
|
|
|
|
|
+ <el-table style="width: 100%;" :height="tableHeight" size="mini" :data="medicines"
|
|
|
|
|
+ :span-method="medicinesCellSpan">
|
|
|
|
|
+ <el-table-column label="" width="48" align="center" fixed>
|
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
|
+ <el-button type="danger" icon="el-icon-close" circle size="mini"
|
|
|
|
|
+ :disabled="Object.keys(scope.row).length === 0 || saving"
|
|
|
|
|
+ @click="deleteMedicine(scope.row, scope.$index)"
|
|
|
|
|
+ ></el-button>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-table-column>
|
|
|
|
|
+ <el-table-column label="序号" type="index" width="55" align="center" fixed></el-table-column>
|
|
|
|
|
+ <el-table-column label="药品名称" prop="matName" min-width="120px" align="center">
|
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
|
+ <template v-if="!scope.row.matCode">
|
|
|
|
|
+ <v-selectpage :tb-columns="searchTableForSystemColumns"
|
|
|
|
|
+ key-field="drugsId" v-model="scope.row.matCode"
|
|
|
|
|
+ placeholder="请输入药品名称" title="药品"
|
|
|
|
|
+ data="drugsSearchForSystem" :params="{}" :pagination="false"
|
|
|
|
|
+ :result-format="searchMedicinesFormat"
|
|
|
|
|
+ @values="selectMedicine($event, scope.row, scope.$index)"
|
|
|
|
|
+ ></v-selectpage>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ <a v-else>
|
|
|
|
|
+ {{ scope.row.matName }}
|
|
|
|
|
+ <i class="icon el-icon-circle-close" @click="selectMedicine([], scope.row, scope.$index)"></i>
|
|
|
|
|
+ </a>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-table-column>
|
|
|
|
|
+ <el-table-column label="规格" prop="drugsSpecsName" min-width="110px" align="center"></el-table-column>
|
|
|
|
|
+ <el-table-column label="剂量" prop="matDose" width="110px" align="center">
|
|
|
|
|
+ <template slot-scope="scope" v-if="scope.row.matCode">
|
|
|
|
|
+ <el-input-number style="width: 100%;" v-model="scope.row.matDose" :min="0" :precision="2"
|
|
|
|
|
+ :controls="false"
|
|
|
|
|
+ :disabled="saving" size="mini"
|
|
|
|
|
+ @change="updateMedicine(scope.row, scope.$index)"></el-input-number>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-table-column>
|
|
|
|
|
+ <el-table-column label="单位" prop="matUnitName" align="center"></el-table-column>
|
|
|
|
|
+ <el-table-column label="用法" prop="matUsageName" width="110px" align="center">
|
|
|
|
|
+ <template slot-scope="scope" v-if="scope.row.matCode">
|
|
|
|
|
+ <el-input v-model="scope.row.matUsageName" :disabled="saving"
|
|
|
|
|
+ @input="updateMedicine(scope.row, scope.$index)"></el-input>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-table-column>
|
|
|
|
|
+ <el-table-column label="批发价" prop="matPfj" width="110" align="center"></el-table-column>
|
|
|
|
|
+ <el-table-column label="零售价" prop="matXsj" width="110" align="center"></el-table-column>
|
|
|
|
|
+ <el-table-column label="小计" prop="subtotalMoney" width="110" align="center"></el-table-column>
|
|
|
|
|
+ </el-table>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <el-row style="flex: none;" :gutter="8">
|
|
|
|
|
+ <el-col :span="8" style="text-align: center;">
|
|
|
|
|
+ <span>批发费用:</span>
|
|
|
|
|
+ <span style="font-weight: 700;">{{ medicineWholesalePriceTotal }}</span>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="8" style="text-align: center;">
|
|
|
|
|
+ <span>零售费用:</span>
|
|
|
|
|
+ <span style="font-weight: 700;">{{ medicinePriceTotal }}</span>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="8" style="text-align: center;">
|
|
|
|
|
+ <span>含税金额:</span>
|
|
|
|
|
+ <span style="font-weight: 700;">{{ medicineWholesalePriceTotal }}</span>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ </el-row>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <el-input v-if="isCheck" style="margin-top: 12px;" v-model="model.remarks" type="textarea"
|
|
|
|
|
+ placeholder="若审核拒绝,请输入原因"
|
|
|
|
|
+ :autosize="{ minRows: 2, maxRows: 2}">
|
|
|
|
|
+ </el-input>
|
|
|
|
|
+ <div class="footer">
|
|
|
|
|
+ <div>
|
|
|
|
|
+ <template v-if="isCheck">
|
|
|
|
|
+ <div v-if="model.remarks">
|
|
|
|
|
+ <el-button type="danger" @click="model.remarks && check('120')" :disabled="saving">审核拒绝</el-button>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <el-popconfirm v-else title="不通过理由未输入,确定现在提交?" icon="el-icon-info" icon-color="red"
|
|
|
|
|
+ @confirm="check('120')">
|
|
|
|
|
+ <template slot="reference">
|
|
|
|
|
+ <el-button type="danger" :disabled="saving">审核拒绝</el-button>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-popconfirm>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div>
|
|
|
|
|
+ <el-button v-if="isCheck" type="primary" @click="check('110')" :disabled="saving">审核通过</el-button>
|
|
|
|
|
+ <el-button v-else type="primary" :loading="saving" @click="handle">保 存</el-button>
|
|
|
|
|
+ <el-button @click="cancel">取 消</el-button>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ </el-row>
|
|
|
|
|
+ </el-form>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<style scoped lang="scss">
|
|
<style scoped lang="scss">
|
|
|
-.el-input, .el-select, .el-cascader {
|
|
|
|
|
|
|
+.wrapper {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ height: 100%;
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+
|
|
|
|
|
+ .container {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ flex-direction: column;
|
|
|
|
|
+ height: 100%;
|
|
|
|
|
+
|
|
|
|
|
+ &:first-of-type {
|
|
|
|
|
+ overflow: auto;
|
|
|
|
|
+ //justify-content: space-between;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ .row {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ margin: 12px 0;
|
|
|
|
|
+
|
|
|
|
|
+ &:first-of-type {
|
|
|
|
|
+ margin-top: 0;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ &:last-of-type {
|
|
|
|
|
+ margin-bottom: 0;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .title-container {
|
|
|
|
|
+ flex: none;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ padding: 12px 6px;
|
|
|
|
|
+ width: 2.8em;
|
|
|
|
|
+ color: #fff;
|
|
|
|
|
+ font-weight: 700;
|
|
|
|
|
+ letter-spacing: 0.3em;
|
|
|
|
|
+ line-height: 1.5em;
|
|
|
|
|
+ text-align: right;
|
|
|
|
|
+ box-sizing: content-box;
|
|
|
|
|
+ background-color: #1DBFA7;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .form-container {
|
|
|
|
|
+ flex: auto;
|
|
|
|
|
+ padding: 12px 12px 0;
|
|
|
|
|
+ background-color: #5AD8A6;
|
|
|
|
|
+
|
|
|
|
|
+ .el-col {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+
|
|
|
|
|
+ > .el-form-item {
|
|
|
|
|
+ flex: 1 0 50%;
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .el-form-item {
|
|
|
|
|
+ margin-bottom: 12px;
|
|
|
|
|
+
|
|
|
|
|
+ ::v-deep {
|
|
|
|
|
+ .el-form-item__label {
|
|
|
|
|
+ color: #000;
|
|
|
|
|
+ padding-right: 6px;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .el-input__inner {
|
|
|
|
|
+ padding-left: 6px;
|
|
|
|
|
+ padding-right: 24px;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .el-date-editor ::v-deep {
|
|
|
|
|
+ .el-input__inner {
|
|
|
|
|
+ padding-left: 28px;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .area {
|
|
|
|
|
+ padding: 12px 6px;
|
|
|
|
|
+ color: #000;
|
|
|
|
|
+ background-color: #5AD8A6;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .el-table {
|
|
|
|
|
+ ::v-deep {
|
|
|
|
|
+ th {
|
|
|
|
|
+ color: #000;
|
|
|
|
|
+ background-color: #1DBFA7;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ tr {
|
|
|
|
|
+ color: #000;
|
|
|
|
|
+ background-color: #D9EEE5;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.el-input-number--medium:not(.full) {
|
|
|
|
|
+ width: min-content;
|
|
|
|
|
+ min-width: 100px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.el-form, .el-input, .el-select, .el-cascader {
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+.footer {
|
|
|
|
|
+ flex: none;
|
|
|
|
|
+ margin-top: 12px;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ justify-content: space-between;
|
|
|
|
|
+}
|
|
|
|
|
+</style>
|
|
|
|
|
+<style lang="scss">
|
|
|
|
|
+.el-dialog {
|
|
|
|
|
+ &.prescription-core-edit-container {
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ &__header {
|
|
|
|
|
+ flex: none;
|
|
|
|
|
+ padding: 12px 12px 0;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ &__body {
|
|
|
|
|
+ flex: auto;
|
|
|
|
|
+ padding: 12px;
|
|
|
|
|
+
|
|
|
|
|
+ > * {
|
|
|
|
|
+ height: 100%;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
</style>
|
|
</style>
|