فهرست منبع

中药处方以及中药制剂在保存处方时,适宜技术字段传数组

张田田 2 روز پیش
والد
کامیت
49b5dc54e6

+ 5 - 0
src/views/business/components/AcupointTable.vue

@@ -743,6 +743,8 @@ export default {
   data() {
     return {
       name: "适宜技术处方",
+      // 是否自拟处方
+      isMyMade: true,
       // 配穴相关
       acupointList: [],
       meridianList: [],
@@ -839,6 +841,9 @@ export default {
         .map((v) => CUMULATIVE_MAP[v.trim()])
         .filter(Boolean);
     },
+    saveable() {
+      return this.prescriptions && this.prescriptions.length > 0;
+    },
   },
   watch: {
     detailTables: {

+ 1 - 1
src/views/diagnosis/Prescribing.vue

@@ -2731,7 +2731,7 @@ export default {
 
       let zhongPrescriptionVo = [];
       let chengPrescriptionVo = {};
-      let technologyPrescriptionVo = {};
+      let technologyPrescriptionVo = [];
 
       const selected = this.contentTabs[this.container_i];
       const tabs = this.contentTabs.filter(tab => tab.check && tab.id !== selected.id)

+ 1 - 1
src/views/diagnosis/components/submitRecipe.vue

@@ -569,7 +569,7 @@ export default {
       }
 
       if (type == 3) {
-        technology = {};
+        technology = [];
       }
 
       sessionStorage.setItem(