diff --git a/jnpf-java-boot/jnpf-web/src/views/example/tsoorder/index.vue b/jnpf-java-boot/jnpf-web/src/views/example/tsoorder/index.vue index 15cf9ea..ea25e72 100644 --- a/jnpf-java-boot/jnpf-web/src/views/example/tsoorder/index.vue +++ b/jnpf-java-boot/jnpf-web/src/views/example/tsoorder/index.vue @@ -41,33 +41,33 @@ - - - - 查询 - - - 重置 - - - 生成订单 - - - + + + + 查询 + + + 重置 + + + 生成订单 + + +
@@ -268,6 +268,16 @@ export default { ordItemStatus: undefined, custName: undefined, }; + // 清空表格选中状态 + this.selectedRows = []; + this.hasSelected = false; + const table = this.$refs.table; + if (table) { + const elTable = table.$refs.JNPFTable || table.$refs.table; + if (elTable && elTable.clearSelection) { + elTable.clearSelection(); + } + } this.initSearchData(); this.search(); }, @@ -394,4 +404,12 @@ export default { height: auto; min-height: 300px; } +.button-row { + padding-top: 8px; +} +.button-col { + display: flex; + align-items: center; + gap: 8px; +}