|
@@ -102,6 +102,7 @@ import Modification from "/src/components/makeProduct/modification/index";
|
|
const { proxy } = getCurrentInstance();
|
|
const { proxy } = getCurrentInstance();
|
|
const props = defineProps({
|
|
const props = defineProps({
|
|
selectStatus: Boolean,
|
|
selectStatus: Boolean,
|
|
|
|
+ type: String,
|
|
});
|
|
});
|
|
const sourceList = ref({
|
|
const sourceList = ref({
|
|
data: [],
|
|
data: [],
|
|
@@ -245,6 +246,9 @@ const getList = async (req, status) => {
|
|
} else {
|
|
} else {
|
|
sourceList.value.pagination = { ...sourceList.value.pagination, ...req };
|
|
sourceList.value.pagination = { ...sourceList.value.pagination, ...req };
|
|
}
|
|
}
|
|
|
|
+ if (props.type && props.type === "null") {
|
|
|
|
+ sourceList.value.pagination.type = null;
|
|
|
|
+ }
|
|
loading.value = true;
|
|
loading.value = true;
|
|
proxy.post("/sku/page", sourceList.value.pagination).then((res) => {
|
|
proxy.post("/sku/page", sourceList.value.pagination).then((res) => {
|
|
sourceList.value.data = res.rows;
|
|
sourceList.value.data = res.rows;
|