| | |
| | | ...getColumnSearchProps('batch'), |
| | | }, |
| | | |
| | | { |
| | | title: formatMessage('common.operation', '操作'), |
| | | name: 'oper', |
| | | dataIndex: 'oper', |
| | | key: 'oper', |
| | | width: 140, |
| | | }, |
| | | // { |
| | | // title: formatMessage('common.operation', '操作'), |
| | | // name: 'oper', |
| | | // dataIndex: 'oper', |
| | | // key: 'oper', |
| | | // width: 140, |
| | | // }, |
| | | ]; |
| | | |
| | | const state = reactive({ |
| | |
| | | post('/api/order/out/page', { |
| | | current: currentPage, |
| | | pageSize: pageSize, |
| | | condition: searchOrder.value |
| | | condition: searchOrder.value, |
| | | orderOut: true, |
| | | }).then((resp) => { |
| | | let result = resp.data; |
| | | if (result.code == 200) { |
| | |
| | | if (result.code == 200) { |
| | | message.success(formatMessage('page.add.success', '成功')); |
| | | emit('pageReload', 'reload') |
| | | }else{ |
| | | } else { |
| | | message.error(result.msg); |
| | | } |
| | | }) |
| | |
| | | <div style="display: flex;"> |
| | | <a-card :title="formatMessage('common.order', '订单')" style="flex: 4;margin-right: 30px;"> |
| | | <div style="margin-bottom: 10px;display: flex;"> |
| | | <div style="margin-right: 10px;"> |
| | | <!-- <div style="margin-right: 10px;"> |
| | | <a-button @click="handleMergeOrderOut()"> |
| | | {{ formatMessage('common.orderOut', '合并订单') }} |
| | | </a-button> |
| | | </div> |
| | | </div> --> |
| | | <div style="margin-right: 10px;"> |
| | | <a-button @click="handleGenerateWave()"> |
| | | {{ formatMessage('common.generateWave', '生成波次') }} |
| | |
| | | |
| | | <a-card style="flex: 10;"> |
| | | <div class="table-header"> |
| | | <a-button size="small" @click="handleBatchOrderOut()"> |
| | | <!-- <a-button size="small" @click="handleBatchOrderOut()"> |
| | | {{ formatMessage('common.orderOut', '批量出库') }} |
| | | </a-button> |
| | | </a-button> --> |
| | | </div> |
| | | <a-table :row-selection="{ selectedRowKeys: state.selectedRowKeys, onChange: onSelectChange }" |
| | | :data-source="tableData" :defaultExpandAllRows="false" :key="TABLE_KEY" rowKey="id" |