Commit 1a0281cd by 唐玉峰

1

parent fa8e6c9c
......@@ -548,6 +548,7 @@ export default {
currentRow: null,
deptName: "",
deptNames: [],
keyword: "",
};
},
mounted() {
......@@ -976,25 +977,44 @@ export default {
})
) {
row.ischeck = 1;
if (row.children && row.children.length) {
this.setChildren(row.children, true);
} else {
if (row.orderType == "药疗") {
selection.map((v) => {
this.toggleSelection(v, true);
this.setIput(v);
});
} else {
if (row.children && row.children.length) {
this.setChildren(row.children, true);
} else {
selection.map((v) => {
this.toggleSelection(v, true);
this.setIput(v);
});
}
}
//取消
} else {
this.toggleSelection(row, false);
if (row.children && row.children.length) {
this.setChildren(row.children, false);
} else {
row.ischeck = 2;
row.ischeck = 2;
if (row.orderType == "药疗") {
this.toggleSelection(row, false);
//取消的行数据
} else {
if (row.children && row.children.length) {
this.setChildren(row.children, false);
} else {
row.ischeck = 2;
this.toggleSelection(row, false);
//取消的行数据
}
}
// this.toggleSelection(row, false);
// if (row.children && row.children.length) {
// this.setChildren(row.children, false);
// } else {
// row.ischeck = 2;
// this.toggleSelection(row, false);
// //取消的行数据
// }
}
},
// 控制选框是否被选中
......@@ -1291,11 +1311,11 @@ export default {
message: data.message,
type: "success",
});
(this.form = {
this.form = {
inhosdays: "",
reason: "",
}),
(this.editdialogFormVisible = false);
};
this.editdialogFormVisible = false;
this.$router.push({
path: "Entrypath",
......@@ -1308,11 +1328,11 @@ export default {
},
//取消
close() {
(this.form = {
this.form = {
inhosdays: "",
reason: "",
}),
(this.editdialogFormVisible = false);
};
this.editdialogFormVisible = false;
},
//下拉框鼠标移上显示提示文字
getTitle(val) {
......
......@@ -144,7 +144,7 @@
{{ scope.row.proportion != undefined ? decimal(scope.row.proportion) + "%" : "" }}
</template>
</el-table-column>
<el-table-column prop="coreTotalFee" label="预计DIP设定费用(参考)" header-align="center" align="right">
<!-- <el-table-column prop="coreTotalFee" label="预计DIP设定费用(参考)" header-align="center" align="right">
<template slot-scope="scope">
{{ decimal(scope.row.coreTotalFee) }}
</template>
......@@ -153,7 +153,7 @@
<template slot-scope="scope">
{{ scope.row.coreProportion != undefined ? decimal(scope.row.coreProportion) + "%" : "" }}
</template>
</el-table-column>
</el-table-column> -->
</el-table>
</div>
<!-- 中间有数据样式 表格-->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment