| | |
| | | } |
| | | |
| | | const handleGlobalOperationPortChange = () => { |
| | | if(tableData.value.length > 0) { |
| | | if (tableData.value.length > 0) { |
| | | tableData.value.forEach((item) => { |
| | | item.operationPort = globalOperationPort.value; |
| | | }) |
| | |
| | | :title="formatMessage('page.orderOutPreview.preview', '预览合并订单出库')" @ok="handleOk"> |
| | | <div> |
| | | <span>作业口:</span> |
| | | <a-select v-model:value="globalOperationPort" :options="operationPortList" @change="handleGlobalOperationPortChange"></a-select> |
| | | <a-select v-model:value="globalOperationPort" :options="operationPortList" |
| | | @change="handleGlobalOperationPortChange"></a-select> |
| | | </div> |
| | | <a-table :data-source="tableData" :loading="loading" :defaultExpandAllRows="false" :key="TABLE_KEY" |
| | | rowKey="index" :scroll="{ y: 768, scrollToFirstRowOnChange: true }" :columns="columns"> |
| | | <template #bodyCell="{ column, text, record, index }"> |
| | | <template v-if="column.dataIndex === 'locNo'"> |
| | | <div v-if="record.locId != null"> |
| | | <div v-if="record.locId != null && record.anfme > 0"> |
| | | <a-tag color="green">{{ record.locNo }}</a-tag> |
| | | </div> |
| | | <div v-else> |