zy-asrs-admin/src/components/orderOut/orderOutWavePreview/index.vue
@@ -212,6 +212,8 @@
                    dataTmp.locNo = null;
                    dataTmp.locDetlId = null;
                    dataTmp.anfme = item.anfme;
                    dataTmp.typeId = item.typeId;
                    dataTmp.workQty = item.workQty;
                    dataTmp.key = idx;
                    dataTmp.operationPort = defaultOperationPort;
@@ -232,6 +234,8 @@
                        dataTmp.locId = val.locId;
                        dataTmp.locNo = val.locNo;
                        dataTmp.locDetlId = val.locDetlId;
                        dataTmp.typeId = val.typeId;
                        dataTmp.workQty = val.workQty;
                        dataTmp.anfme = anfme;
                        dataTmp.key = idx;
                        dataTmp.operationPort = defaultOperationPort;
@@ -244,6 +248,8 @@
                        dataTmp.locId = null;
                        dataTmp.locNo = null;
                        dataTmp.locDetlId = null;
                        dataTmp.typeId = item.typeId;
                        dataTmp.workQty = item.workQty;
                        dataTmp.anfme = isused;
                        dataTmp.key = idx;
                        dataTmp.operationPort = defaultOperationPort;
@@ -338,10 +344,12 @@
                <template #bodyCell="{ column, text, record, index }">
                    <template v-if="column.dataIndex === 'locNo'">
                        <div v-if="record.locId != null && record.anfme > 0">
                            <!-- <a-tag color="green">{{ record.locNo }}</a-tag> -->
                            <a-select v-model:value="record.locId" :options="record.otherLocs"
<!--                             <a-tag color="green">{{ record.locNo }}</a-tag>-->
                            <a-select v-model:value="record.locNo" :options="record.otherLocs"
                                :fieldNames="{ label: 'locNo', value: 'locId' }"
                                @change="handleOtherLocChange(index, record)"></a-select>
                                @change="handleOtherLocChange(index, record)">
                            </a-select>
                        </div>
                        <div v-else>
                            <a-tag color="red">库存不足</a-tag>