| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- import https from "@/plugins/luch-request_0.0.7/request";
- export const getCgItemList = data => {
- return https.get("/purchase-order-item/get-item-list", data);
- };
- export const cancelPutIn = data => {
- return https.get("/purchase-order/cancel", data);
- };
- export const confirmPutIn = data => {
- return https.get("/purchase-order/confirm-put-in", data);
- };
- export const printAll = data => {
- return https.get("/purchase-order/print-all", data);
- };
- export const printItem = data => {
- return https.get("/purchase-order/print-item", data);
- };
- /** *
- * 采购订单详情
- */
- export const getPurchaseDetailApi = orderSn => {
- return https.get("/purchase-order/detail", { orderSn });
- };
- /** *
- * 采购列表
- */
- export const getPurchaseListApi = async data => {
- return https.get("/purchase-order/list", data);
- };
- /** *
- * 采购确认
- */
- export const createPurchaseOrderApi = data => {
- return https.post("/purchase-order/create-order", data);
- };
- export const updateRemark = async data => {
- return https.post("/purchase-order/update-remark", data);
- };
|