yuan
2026-04-25 17e77741270ac0efcade87b37d63bfcb41295ec2
src/views/inventoryManagement/stockManagement/New.vue
@@ -101,7 +101,7 @@
<script setup>
import {ref, computed, watch, getCurrentInstance} from "vue";
import ProductSelectDialog from "@/views/basicData/product/ProductSelectDialog.vue";
import {createStockInventory} from "@/api/inventoryManagement/stockInventory.js";
import {addStockInRecordOnly} from "@/api/inventoryManagement/stockInventory.js";
import {createStockUnInventory} from "@/api/inventoryManagement/stockUninventory.js";
const props = defineProps({
@@ -197,7 +197,7 @@
        return;
      }
      if (formState.value.type === 'qualified') {
        createStockInventory(formState.value).then(res => {
        addStockInRecordOnly(formState.value).then(res => {
          // 关闭模态框
          isShow.value = false;
          // 告知父组件已完成