master
A0010407 1 year ago
parent 5d9cebb6d7
commit fcdf41a414

@ -17,6 +17,15 @@ export function getBom(factoryCode) {
});
}
// 查询BOM物料管理列表
export function listBomComponent(query) {
return request({
url: '/wms/bomComponent/list',
method: 'get',
params: query
});
}
// 新增BOM物料管理
export function addBom(data) {
return request({

@ -101,7 +101,7 @@
</template>
<script>
import { listBom, getBom, delBom, addBom, updateBom } from "@/api/wms/bom";
import { listBom, getBom, delBom, addBom, updateBom,listBomComponent} from "@/api/wms/bom";
export default {
name: "Bom",
@ -170,7 +170,7 @@ export default {
/** 查询BOM物料管理列表 */
getList() {
this.loading = true;
listBom(this.queryParams).then(response => {
listBomComponent(this.queryParams).then(response => {
this.bomList = response.rows;
this.total = response.total;
this.loading = false;

Loading…
Cancel
Save