{"remainingRequest":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\eslint-loader\\index.js??ref--13-0!D:\\jenkins\\workspace\\bzzgj-fvue\\src\\views\\Manage\\material\\api\\PurchasingApi.js","dependencies":[{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\src\\views\\Manage\\material\\api\\PurchasingApi.js","mtime":1684917102899},{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\eslint-loader\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import req from '@/request.js';\nvar portal = window.context.portal;\nexport default {\n //获取采购需求申请列表信息\n purchasingQuery: function purchasingQuery(data, cb) {\n req.post(portal + \"/manager/material/purchasing/query\", data).then(function (res) {\n cb(res.data);\n });\n },\n //获取物资领用申请单列表信息\n recipientsQuery: function recipientsQuery(data, cb) {\n req.post(portal + \"/manager/material/purchasing/recipientsQuery\", data).then(function (res) {\n cb(res.data);\n });\n },\n //采购需求申请申请单确认\n purchasingUpdateStatus: function purchasingUpdateStatus(data) {\n return new Promise(function (resolve, reject) {\n req.post(portal + \"/manager/material/purchasing/updateStatus\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n // 根据条件获取该部门常用物资\n findByOrgUseDetail: function findByOrgUseDetail(data) {\n return new Promise(function (resolve, reject) {\n req.post(portal + \"/manager/material/usedDetail/findByOrgUseDetail\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n //采购需求申请新增保存\n purchasingAdd: function purchasingAdd(data, cb) {\n req.post(portal + \"/manager/material/purchasing/add\", data).then(function (res) {\n cb(res.data);\n });\n },\n //采购需求申请编辑保存\n purchasingUpdate: function purchasingUpdate(data, cb) {\n req.put(portal + \"/manager/material/purchasing/update\", data).then(function (res) {\n cb(res.data);\n });\n },\n // 编辑获取申请单下所有物资明细\n getDetailListDetail: function getDetailListDetail(data) {\n return new Promise(function (resolve, reject) {\n req.post(portal + \"/manager/material/purchasing/getDetailList\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n // 物资供应商排序\n cmgtMaterialCustomManager: function cmgtMaterialCustomManager(data) {\n return new Promise(function (resolve, reject) {\n req.post(portal + \"/manager/cmgtMaterialCustom/updateSequence\", data).then(function (resp) {\n resolve(resp.data);\n }, function (error) {\n reject(error);\n });\n });\n },\n // 修改物资供应商信息\n editCmgtMaterialCustom: function editCmgtMaterialCustom(data, cb) {\n req.put(portal + \"/manager/cmgtMaterialCustom/update\", data).then(function (res) {\n cb(res.data);\n });\n },\n // 分页查询物资供应商信息\n loadCmgtMaterialCustom: function loadCmgtMaterialCustom(data, cb) {\n req.post(portal + \"/manager/cmgtMaterialCustom/pageQuery\", data).then(function (res) {\n cb(res.data);\n });\n },\n // 批量删除物资供应商信息\n deleteCmgtMaterialCustom: function deleteCmgtMaterialCustom(data, cb) {\n req.remove(portal + \"/manager/cmgtMaterialCustom/delete\", data).then(function (res) {\n cb(res.data);\n });\n }\n};",null]}