| 对比新文件 |
| | |
| | | // 鍙戣揣鍙拌处椤甸潰鎺ュ彛 |
| | | import request from "@/utils/request"; |
| | | |
| | | // 鍒嗛〉鏌ヨ |
| | | export function deliveryLedgerListPage(query) { |
| | | return request({ |
| | | url: "/shippingInfo/listPage", |
| | | method: "get", |
| | | params: query, |
| | | }); |
| | | } |
| | | |
| | | // 淇敼鍙戣揣鍙拌处 |
| | | export function getDeliveryDetail(id) { |
| | | return request({ |
| | | url: `/shippingInfo/getDateil/${id}`, |
| | | method: "get", |
| | | }); |
| | | } |
| | | // 淇敼鍙戣揣鍙拌处 |
| | | export function getDeliveryDetailByShippingNo(query) { |
| | | return request({ |
| | | url: "/shippingInfo/getDateilByShippingNo", |
| | | method: "get", |
| | | params: query, |
| | | }); |
| | | } |
| | | |
| | | export function addOrUpdateDeliveryLedger(query) { |
| | | return request({ |
| | | url: "/shippingInfo/update", |
| | | method: "post", |
| | | data: query, |
| | | }); |
| | | } |
| | | // 淇敼鍙戣揣鍙拌处 |
| | | export function deductStock(query) { |
| | | return request({ |
| | | url: "/shippingInfo/deductStock", |
| | | method: "post", |
| | | data: query, |
| | | }); |
| | | } |
| | | |
| | | // 鍒犻櫎鍙戣揣鍙拌处 |
| | | export function delDeliveryLedger(query) { |
| | | return request({ |
| | | url: "/shippingInfo/delete", |
| | | method: "delete", |
| | | data: query, |
| | | }); |
| | | } |
| | | |
| | | // 鏂板鍙戣揣淇℃伅 |
| | | export function addShippingInfo(data) { |
| | | return request({ |
| | | url: "/shippingInfo/add", |
| | | method: "post", |
| | | data, |
| | | }); |
| | | } |