|
@@ -15,6 +15,12 @@
|
|
|
},
|
|
|
]"
|
|
|
@get-list="getList">
|
|
|
+ <template #warehouseName="{ item }">
|
|
|
+ <div>
|
|
|
+ <span v-if="item.opType == 1">{{ item.toWarehouseName }}</span>
|
|
|
+ <span v-else>{{ item.warehouseName }}</span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
</byTable>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -118,6 +124,11 @@ const selectConfig = computed(() => {
|
|
|
prop: "opType",
|
|
|
data: opTypeList.value,
|
|
|
},
|
|
|
+ {
|
|
|
+ label: "出入库类型",
|
|
|
+ prop: "type",
|
|
|
+ data: typeList.value,
|
|
|
+ },
|
|
|
];
|
|
|
});
|
|
|
const config = computed(() => {
|
|
@@ -142,11 +153,12 @@ const config = computed(() => {
|
|
|
return proxy.dictValueLabel(type, typeList.value);
|
|
|
},
|
|
|
},
|
|
|
+
|
|
|
{
|
|
|
attrs: {
|
|
|
label: "仓库名称",
|
|
|
- prop: "warehouseName",
|
|
|
- width: 220,
|
|
|
+ slot: "warehouseName",
|
|
|
+ width: 200,
|
|
|
},
|
|
|
},
|
|
|
{
|