|
@@ -54,6 +54,20 @@
|
|
|
</el-select>
|
|
</el-select>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+ <div class="item flex-vertical-center-l">
|
|
|
|
|
+ <span></span>
|
|
|
|
|
+ <div class="name">处方出处:</div>
|
|
|
|
|
+ <div class="input">
|
|
|
|
|
+ <el-input size="mini" v-model="form.provenance" placeholder="请输入" :disabled="type=='find'"></el-input>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="item flex-vertical-center-l" v-if="showPurposeType">
|
|
|
|
|
+ <span></span>
|
|
|
|
|
+ <div class="name"></div>
|
|
|
|
|
+ <div class="input">
|
|
|
|
|
+ <el-checkbox size="mini" :value="form.purposeType === '1'" @change="form.purposeType = $event ? '1' : '0'">统建处方</el-checkbox>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="bottom">
|
|
<div class="bottom">
|
|
@@ -174,6 +188,11 @@ export default {
|
|
|
MedicineAccord,
|
|
MedicineAccord,
|
|
|
TCMDiagnosis
|
|
TCMDiagnosis
|
|
|
},
|
|
},
|
|
|
|
|
+ computed: {
|
|
|
|
|
+ showPurposeType() {
|
|
|
|
|
+ return this.showBtn
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
shareSelect: [], // 共享至选择器
|
|
shareSelect: [], // 共享至选择器
|
|
@@ -199,6 +218,8 @@ export default {
|
|
|
type: "", // 处方类型
|
|
type: "", // 处方类型
|
|
|
share: "", // 共享至
|
|
share: "", // 共享至
|
|
|
efficacy: "", // 功效
|
|
efficacy: "", // 功效
|
|
|
|
|
+ provenance: "", // 处方出处
|
|
|
|
|
+ purposeType: "0", // 用途类型 1 八病九方
|
|
|
|
|
|
|
|
times: "", // 频次
|
|
times: "", // 频次
|
|
|
recipeUse: "", // 处方用法
|
|
recipeUse: "", // 处方用法
|
|
@@ -584,6 +605,8 @@ export default {
|
|
|
curetype: this.form.doseType,
|
|
curetype: this.form.doseType,
|
|
|
density: this.form.nongjian,
|
|
density: this.form.nongjian,
|
|
|
effect: this.form.efficacy,
|
|
effect: this.form.efficacy,
|
|
|
|
|
+ provenance: this.showPurposeType ? this.form.provenance : '0',
|
|
|
|
|
+ purposeType: this.form.purposeType,
|
|
|
frequency: this.form.times,
|
|
frequency: this.form.times,
|
|
|
name: this.form.name,
|
|
name: this.form.name,
|
|
|
pinyincode: this.form.pinyin,
|
|
pinyincode: this.form.pinyin,
|
|
@@ -653,6 +676,8 @@ export default {
|
|
|
? res.Data.rangTypeName
|
|
? res.Data.rangTypeName
|
|
|
: res.Data.rangtype,
|
|
: res.Data.rangtype,
|
|
|
efficacy: res.Data.effect, // 功效
|
|
efficacy: res.Data.effect, // 功效
|
|
|
|
|
+ provenance: res.Data.provenance, // 处方出处
|
|
|
|
|
+ purposeType: res.Data.purposeType, // 用途类型 1 八病九方
|
|
|
// wubi: res.Data.wubicode, // 五笔
|
|
// wubi: res.Data.wubicode, // 五笔
|
|
|
// pinyin: res.Data.pinyincode, // 拼音
|
|
// pinyin: res.Data.pinyincode, // 拼音
|
|
|
times: res.Data.frequency, // 频次
|
|
times: res.Data.frequency, // 频次
|