|  |  | 
 |  |  | let currentPage = 1;
 | 
 |  |  | let pageSize = 10;
 | 
 |  |  | const searchInput = ref("")
 | 
 |  |  | const orderType = ref(null)
 | 
 |  |  | const editChild = ref(null)
 | 
 |  |  | const showOrderDetlChild = ref(null)
 | 
 |  |  | 
 | 
 |  |  | 
 |  |  |     current: currentPage,
 | 
 |  |  |     pageSize: pageSize,
 | 
 |  |  |     condition: searchInput.value,
 | 
 |  |  |     orderType: orderType.value,
 | 
 |  |  |   }).then((resp) => {
 | 
 |  |  |     let result = resp.data;
 | 
 |  |  |     if (result.code == 200) {
 | 
 |  |  |         console.log('--------->')
 | 
 |  |  |       console.log('--------->')
 | 
 |  |  |       let data = result.data;
 | 
 |  |  |       tableData.value = data;
 | 
 |  |  | 
 | 
 |  |  | 
 |  |  |     <EditView ref="editChild" @tableReload="handleTableReload"
 | 
 |  |  |       :ioModel="ioModel == 'in' ? 1 : ioModel == 'out' ? 2 : null" />
 | 
 |  |  |     <div class="table-header">
 | 
 |  |  |       <a-input-search v-model:value="searchInput" :placeholder="formatMessage('page.input', '请输入')"
 | 
 |  |  |         style="width: 200px;" @search="onSearch" />
 | 
 |  |  |       <div style="margin-left : 10px;">  | 
 |  |  |         <a-select v-model:value="orderType" :placeholder="formatMessage('page.locDetl.orderNo.input', '请选择单据类型')" :options="[
 | 
 |  |  |           { label: '手动入库单', value: 1 }, { label: '手动出库单', value: 2 }, ]" style="width: 160px;margin-right: 10px;">
 | 
 |  |  |         </a-select>
 | 
 |  |  |         <a-input-search v-model:value="searchInput" :placeholder="formatMessage('page.input', '请输入')"
 | 
 |  |  |           style="width: 200px;" @search="onSearch" />
 | 
 |  |  |       </div>
 | 
 |  |  |       <div class="table-header-right">
 | 
 |  |  |         <a-dropdown>
 | 
 |  |  |           <template #overlay>
 | 
 |  |  | 
 |  |  |     <a-table :row-selection="{ selectedRowKeys: state.selectedRowKeys, onChange: onSelectChange }"
 | 
 |  |  |       :data-source="tableData.records" :defaultExpandAllRows="false" :key="TABLE_KEY" rowKey="id"
 | 
 |  |  |       :pagination="{ total: tableData.total, onChange: onPageChange }"
 | 
 |  |  |       :scroll="{ y: 768, scrollToFirstRowOnChange: true }" :columns="columns" @resizeColumn="handleResizeColumn" :loading="state.loading">
 | 
 |  |  |       :scroll="{ y: 768, scrollToFirstRowOnChange: true }" :columns="columns" @resizeColumn="handleResizeColumn"
 | 
 |  |  |       :loading="state.loading">
 | 
 |  |  |       <template #bodyCell="{ column, text, record }">
 | 
 |  |  |         <template v-if="column.dataIndex === 'oper'">
 | 
 |  |  |           <div style="display: flex;justify-content: space-evenly;">
 | 
 |  |  |             <a-button type="link" primary @click="showDetl(record)">{{ formatMessage('page.order.orderDetl', '订单明细')
 | 
 |  |  |               }}</a-button>
 | 
 |  |  |             }}</a-button>
 | 
 |  |  |             <a-button type="link" primary @click="handleEdit(record)">{{ formatMessage('page.edit', '编辑') }}</a-button>
 | 
 |  |  |             <a-button type="link" danger @click="handleDel([record])">{{ formatMessage('page.delete', '删除')
 | 
 |  |  |               }}</a-button>
 | 
 |  |  |             }}</a-button>
 | 
 |  |  |           </div>
 | 
 |  |  |         </template>
 | 
 |  |  |       </template>
 |