出库部分

This commit is contained in:
张怡蓉
2025-05-26 15:04:35 +08:00
parent f1e9306e01
commit 7fef7dab41
18 changed files with 249 additions and 136 deletions

View File

@@ -116,8 +116,8 @@
</template>
<script>
import { getWarehouseList,listProductAndStock,saveOutStock } from "@/api/out/outStockout";
import { listProductAndStock,saveOutStock } from "@/api/out/outStockout";
import {listWarehouse} from "@/api/bas/warehouse";
export default {
name: "AddOutStock",
@@ -175,20 +175,9 @@ export default {
/** 获取仓库选项 */
getWarehouseOptions() {
this.warehouseOptions = [
{
warehouseName: "仓库1",
warehouseId: "1"
},
{
warehouseName: "仓库2",
warehouseId: "2"
}
];
// getWarehouseList().then(response => {
// this.warehouseOptions = response.data;
// });
listWarehouse().then(response => {
this.warehouseOptions = response.rows;
});
},
/** 打开选择物资弹窗 */
handleSelectMaterials() {