出库部分
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user