|
|
@@ -650,7 +650,7 @@ function createPrescriptionData(options = {}) {
|
|
|
unitPrice = 0,
|
|
|
} = options;
|
|
|
const singlePrice = (singleCount * unitPrice).toFixed(2);
|
|
|
- const allTypes = ["穴位", "经络", "耳穴", "部位", "其他详情", "无详情"];
|
|
|
+ const allTypes = ["经络", "穴位", "耳穴", "部位", "其他详情", "无详情"];
|
|
|
const detailTables = {};
|
|
|
allTypes.forEach((type) => {
|
|
|
if (type === "无详情") {
|
|
|
@@ -750,8 +750,8 @@ export default {
|
|
|
meridianList: [],
|
|
|
earAcupointList: [],
|
|
|
detailTables: {
|
|
|
- 穴位: [createEmptyRow(1)],
|
|
|
经络: [],
|
|
|
+ 穴位: [createEmptyRow(1)],
|
|
|
耳穴: [],
|
|
|
部位: [],
|
|
|
其他详情: [],
|
|
|
@@ -1143,8 +1143,8 @@ export default {
|
|
|
if (this.prescriptions.length === 0) {
|
|
|
this.activeIndex = 0;
|
|
|
this.detailTables = {
|
|
|
- 穴位: [createEmptyRow(1)],
|
|
|
经络: [],
|
|
|
+ 穴位: [createEmptyRow(1)],
|
|
|
耳穴: [],
|
|
|
部位: [],
|
|
|
其他详情: [],
|
|
|
@@ -1161,8 +1161,8 @@ export default {
|
|
|
clearAll() {
|
|
|
if (!this.prescriptions.length) {
|
|
|
this.detailTables = {
|
|
|
- 穴位: [createEmptyRow(1)],
|
|
|
经络: [],
|
|
|
+ 穴位: [createEmptyRow(1)],
|
|
|
耳穴: [],
|
|
|
部位: [],
|
|
|
其他详情: [],
|
|
|
@@ -1666,8 +1666,8 @@ export default {
|
|
|
);
|
|
|
|
|
|
const detailTables = {
|
|
|
- 穴位: [],
|
|
|
经络: [],
|
|
|
+ 穴位: [],
|
|
|
耳穴: [],
|
|
|
部位: [],
|
|
|
其他详情: [],
|
|
|
@@ -1700,7 +1700,7 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
|
|
|
- ["穴位", "经络", "耳穴", "部位", "其他详情"].forEach((type) => {
|
|
|
+ ["经络", "穴位", "耳穴", "部位", "其他详情"].forEach((type) => {
|
|
|
if (detailTables[type].length === 0) {
|
|
|
detailTables[type] = [createEmptyRow(1)];
|
|
|
}
|