|
@@ -130,6 +130,10 @@ import Quick from "/src/views/production/operation/batching/quick";
|
|
|
const { proxy } = getCurrentInstance();
|
|
|
const activeName = ref("first");
|
|
|
const departmentList = ref([{ dictKey: "0", dictValue: "胜德体育" }]);
|
|
|
+const orderStockType = ref([
|
|
|
+ { dictKey: "0", dictValue: "半成品" },
|
|
|
+ { dictKey: "1", dictValue: "成品" },
|
|
|
+]);
|
|
|
const sourceList = ref({
|
|
|
data: [],
|
|
|
pagination: {
|
|
@@ -138,6 +142,7 @@ const sourceList = ref({
|
|
|
skuSpecCode: "",
|
|
|
skuSpecName: "",
|
|
|
departmentId: "1689164627162529793",
|
|
|
+ orderStockType: "0",
|
|
|
},
|
|
|
});
|
|
|
const sourceListTwo = ref({
|
|
@@ -187,6 +192,13 @@ const searchConfig = computed(() => {
|
|
|
label: "事业部",
|
|
|
clearable: true,
|
|
|
},
|
|
|
+ {
|
|
|
+ type: "select",
|
|
|
+ prop: "orderStockType",
|
|
|
+ data: orderStockType.value,
|
|
|
+ label: "订单备料类型",
|
|
|
+ clearable: true,
|
|
|
+ },
|
|
|
];
|
|
|
});
|
|
|
const searchConfigTwo = computed(() => {
|
|
@@ -352,6 +364,7 @@ const getList = async (req, status) => {
|
|
|
if (status) {
|
|
|
sourceList.value.pagination = {
|
|
|
departmentId: "1689164627162529793",
|
|
|
+ orderStockType: "0",
|
|
|
};
|
|
|
} else {
|
|
|
sourceList.value.pagination = { ...sourceList.value.pagination, ...req };
|
|
@@ -373,6 +386,7 @@ const getListTwo = async (req, status) => {
|
|
|
sourceListTwo.value.pagination = {
|
|
|
pageNum: sourceListTwo.value.pagination.pageNum,
|
|
|
pageSize: sourceListTwo.value.pagination.pageSize,
|
|
|
+ type: "1",
|
|
|
};
|
|
|
} else {
|
|
|
sourceListTwo.value.pagination = { ...sourceListTwo.value.pagination, ...req };
|