spring
5 小时以前 3ea1ff641e1c680a5a1727fb4034797bfe65d93e
src/pages/consumablesLogistics/dispatchLog/Record.vue
@@ -86,7 +86,6 @@
} from "@/api/consumablesLogistics/consumablesOutRecord.js";
import {
  findAllQualifiedStockOutRecordTypeOptions,
  findAllUnQualifiedStockOutRecordTypeOptions,
} from "@/api/basicData/enum.js";
const props = defineProps({
@@ -122,11 +121,7 @@
};
const fetchStockRecordTypeOptions = () => {
  const api =
    props.type === "1"
      ? findAllUnQualifiedStockOutRecordTypeOptions
      : findAllQualifiedStockOutRecordTypeOptions;
  api()
  findAllQualifiedStockOutRecordTypeOptions()
    .then((res) => {
      stockRecordTypeOptions.value = res.data || [];
    })
@@ -148,7 +143,7 @@
const getList = () => {
  tableLoading.value = true;
  getConsumablesOutRecordPage({ ...searchForm.value, ...page, type: props.type })
  getConsumablesOutRecordPage({ ...searchForm.value, ...page, type: "0" })
    .then(res => {
      tableData.value = res?.data?.records || [];
      total.value = res?.data?.total || 0;