Commit 1a0281cd by 唐玉峰

1

parent fa8e6c9c
...@@ -548,6 +548,7 @@ export default { ...@@ -548,6 +548,7 @@ export default {
currentRow: null, currentRow: null,
deptName: "", deptName: "",
deptNames: [], deptNames: [],
keyword: "",
}; };
}, },
mounted() { mounted() {
...@@ -976,6 +977,12 @@ export default { ...@@ -976,6 +977,12 @@ export default {
}) })
) { ) {
row.ischeck = 1; row.ischeck = 1;
if (row.orderType == "药疗") {
selection.map((v) => {
this.toggleSelection(v, true);
this.setIput(v);
});
} else {
if (row.children && row.children.length) { if (row.children && row.children.length) {
this.setChildren(row.children, true); this.setChildren(row.children, true);
} else { } else {
...@@ -984,10 +991,14 @@ export default { ...@@ -984,10 +991,14 @@ export default {
this.setIput(v); this.setIput(v);
}); });
} }
}
//取消 //取消
} else { } else {
row.ischeck = 2;
if (row.orderType == "药疗") {
this.toggleSelection(row, false); this.toggleSelection(row, false);
} else {
if (row.children && row.children.length) { if (row.children && row.children.length) {
this.setChildren(row.children, false); this.setChildren(row.children, false);
} else { } else {
...@@ -996,6 +1007,15 @@ export default { ...@@ -996,6 +1007,15 @@ export default {
//取消的行数据 //取消的行数据
} }
} }
// this.toggleSelection(row, false);
// if (row.children && row.children.length) {
// this.setChildren(row.children, false);
// } else {
// row.ischeck = 2;
// this.toggleSelection(row, false);
// //取消的行数据
// }
}
}, },
// 控制选框是否被选中 // 控制选框是否被选中
toggleSelection(row, select) { toggleSelection(row, select) {
...@@ -1291,11 +1311,11 @@ export default { ...@@ -1291,11 +1311,11 @@ export default {
message: data.message, message: data.message,
type: "success", type: "success",
}); });
(this.form = { this.form = {
inhosdays: "", inhosdays: "",
reason: "", reason: "",
}), };
(this.editdialogFormVisible = false); this.editdialogFormVisible = false;
this.$router.push({ this.$router.push({
path: "Entrypath", path: "Entrypath",
...@@ -1308,11 +1328,11 @@ export default { ...@@ -1308,11 +1328,11 @@ export default {
}, },
//取消 //取消
close() { close() {
(this.form = { this.form = {
inhosdays: "", inhosdays: "",
reason: "", reason: "",
}), };
(this.editdialogFormVisible = false); this.editdialogFormVisible = false;
}, },
//下拉框鼠标移上显示提示文字 //下拉框鼠标移上显示提示文字
getTitle(val) { getTitle(val) {
......
...@@ -144,7 +144,7 @@ ...@@ -144,7 +144,7 @@
{{ scope.row.proportion != undefined ? decimal(scope.row.proportion) + "%" : "" }} {{ scope.row.proportion != undefined ? decimal(scope.row.proportion) + "%" : "" }}
</template> </template>
</el-table-column> </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"> <template slot-scope="scope">
{{ decimal(scope.row.coreTotalFee) }} {{ decimal(scope.row.coreTotalFee) }}
</template> </template>
...@@ -153,7 +153,7 @@ ...@@ -153,7 +153,7 @@
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.coreProportion != undefined ? decimal(scope.row.coreProportion) + "%" : "" }} {{ scope.row.coreProportion != undefined ? decimal(scope.row.coreProportion) + "%" : "" }}
</template> </template>
</el-table-column> </el-table-column> -->
</el-table> </el-table>
</div> </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