| | |
| | | size: Cookies.get("size") || "default", |
| | | }); |
| | | app._context.components.ElDialog.props.closeOnClickModal.default = false; |
| | | const ElTable = app._context.components.ElTable; |
| | | if (ElTable?.props?.tooltipOptions) { |
| | | if (ElTable.props.tooltipOptions === Object) { |
| | | ElTable.props.tooltipOptions = { |
| | | type: Object, |
| | | default: () => ({ |
| | | appendTo: "body", |
| | | }), |
| | | }; |
| | | } else if (typeof ElTable.props.tooltipOptions === "object") { |
| | | ElTable.props.tooltipOptions.default = |
| | | ElTable.props.tooltipOptions.default || |
| | | (() => ({ |
| | | appendTo: "body", |
| | | })); |
| | | } |
| | | } |
| | | |
| | | app.mount("#app"); |
| | |
| | | style="margin-bottom: 20px;"> |
| | | <div> |
| | | <span class="search_title">客户名称:</span> |
| | | <el-input v-model="searchForm.searchText" |
| | | <el-input v-model="searchForm.customerName" |
| | | style="width: 240px" |
| | | placeholder="输入客户名称搜索" |
| | | @change="handleQuery" |
| | |
| | | const recordTotal = ref(0); |
| | | const data = reactive({ |
| | | searchForm: { |
| | | searchText: "", |
| | | customerName: "", |
| | | invoiceDate: "", |
| | | }, |
| | | }); |