| | |
| | | <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({ |
| | |
| | | return; |
| | | } |
| | | if (formState.value.type === 'qualified') { |
| | | createStockInventory(formState.value).then(res => { |
| | | addStockInRecordOnly(formState.value).then(res => { |
| | | // 关闭模态框 |
| | | isShow.value = false; |
| | | // 告知父组件已完成 |