| | |
| | | {
|
| | | title: formatMessage('db.man_order_detl.matnr', '商品编号'),
|
| | | dataIndex: 'matnr',
|
| | | width: 140,
|
| | | width: 180,
|
| | | ellipsis: true,
|
| | | ...getColumnSearchProps('matnr'),
|
| | | customCell: (_, index) => {
|
| | |
| | | dataTmp.locNo = null;
|
| | | dataTmp.locDetlId = null;
|
| | | dataTmp.anfme = item.anfme;
|
| | | dataTmp.typeId = item.typeId;
|
| | | dataTmp.workQty = item.workQty;
|
| | | dataTmp.key = idx;
|
| | | dataTmp.operationPort = defaultOperationPort;
|
| | |
|
| | |
| | | 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;
|
| | |
| | | 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;
|
| | |
| | | <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>
|