| | |
| | | }); |
| | | } |
| | | |
| | | // 保存采购模板 |
| | | // /purchase/ledger/addPurchaseTemplate |
| | | export function addPurchaseTemplate(data) { |
| | | return request({ |
| | | url: "/purchase/ledger/addPurchaseTemplate", |
| | | method: "post", |
| | | data: data, |
| | | }); |
| | | } |
| | | |
| | | // 查询采购模板 |
| | | // /purchase/ledger/getPurchaseTemplateList |
| | | export function getPurchaseTemplateList(query) { |
| | |
| | | url: "/purchase/ledger/getPurchaseTemplateList", |
| | | method: "get", |
| | | params: query, |
| | | }); |
| | | } |
| | | export function updateApprovalStatus(query) { |
| | | return request({ |
| | | url: "/purchase/ledger/updateApprovalStatus", |
| | | method: "post", |
| | | data: query, |
| | | }); |
| | | } |
| | | |
| | |
| | | url: "/purchase/ledger/addPurchaseTemplate", |
| | | method: "post", |
| | | data: data, |
| | | }); |
| | | } |
| | | |
| | | // 查询采购模板 |
| | | // /purchase/ledger/getPurchaseTemplateList |
| | | export function getPurchaseTemplateList(query) { |
| | | return request({ |
| | | url: "/purchase/ledger/getPurchaseTemplateList", |
| | | method: "get", |
| | | params: query, |
| | | }); |
| | | } |
| | |
| | | app.config.globalProperties.addDateRange = addDateRange; |
| | | app.config.globalProperties.selectDictLabel = selectDictLabel; |
| | | app.config.globalProperties.selectDictLabels = selectDictLabels; |
| | | app.config.globalProperties.javaApi = __BASE_API__; |
| | | app.config.globalProperties.javaApi = "http://127.0.0.1:7003"; |
| | | app.config.globalProperties.HaveJson = (val) => { |
| | | return JSON.parse(JSON.stringify(val)); |
| | | }; |