对比新文件 |
| | |
| | | import request from "@/utils/request"; |
| | | |
| | | // 鏌ヨ鍏ュ簱淇℃伅鍒楄〃 |
| | | export const getStockInPage = (params) => { |
| | | return request({ |
| | | url: "/stockin/listPage", |
| | | method: "get", |
| | | params, |
| | | }); |
| | | }; |
| | | |
| | | // 淇敼搴撳瓨淇℃伅 |
| | | export const updateStockIn = (data) => { |
| | | return request({ |
| | | url: "/stockin/update", |
| | | method: "put", |
| | | data, |
| | | }); |
| | | }; |
| | | |
| | | // 鏂板鍟嗗搧鍏ュ簱淇℃伅 |
| | | export function addSutockIn(data) { |
| | | return request({ |
| | | url: '/stockin/add', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | | |
| | | // 鍒犻櫎鍏ュ簱淇℃伅 |
| | | export function delStockIn(ids) { |
| | | return request({ |
| | | url: '/stockin/del', |
| | | method: 'delete', |
| | | data: ids |
| | | }) |
| | | } |
| | | |
| | | // 瀵煎嚭鍏ュ簱淇℃伅 |
| | | export function exportStockIn(query) { |
| | | return request({ |
| | | url: '/stockin/export', |
| | | method: 'get', |
| | | params: query, |
| | | responseType: 'blob' |
| | | }) |
| | | } |
| | | |
| | | export function selectProductRecordListByPuechaserId(query) { |
| | | return request({ |
| | | url: '/stockin/productlist', |
| | | method: 'get', |
| | | params: query |
| | | }) |
| | | } |
| | | |
| | | |
| | | // |
| | | |