diff --git a/src/api/ManufacturingCenter/ContractApprovalQuery1.js b/src/api/ManufacturingCenter/ContractApprovalQuery1.js new file mode 100644 index 00000000..7571c3d8 --- /dev/null +++ b/src/api/ManufacturingCenter/ContractApprovalQuery1.js @@ -0,0 +1,46 @@ +import request from '@/utils/request' +import state from '@/store' +import router from '@/router' + +// 初始化采购员 +export function initBuyer() { + return request({ + url: '', + method: 'post', + data: { + UserID: state.state.user.id, + ModularID: router.currentRoute.path, + type: '1', + name: '人事档案管理_人员与角色_查询数据_采购员' + } + }) +} +// 采购合同查询 +export function searchTable1(radio, check1, supplier, check2, start, end, check3, name, pageCurrent, pageSize) { + return request({ + url: '', + method: 'post', + data: { + UserID: state.state.user.id, + ModularID: router.currentRoute.path, + type: '1', + name: '采购管理_合同审批查询_查询数据', + param: '查询全部=' + radio + '&供应商名称_check=' + check1 + '&供应商名称=' + supplier + '&时间段_check=' + check2 + '&开始时间=' + start + '&结束时间=' + end + '&人员编号_check=' + check3 + '&人员编号=' + name, + Pagination: pageCurrent + '&' + pageSize + } + }) +} +// 采购合同明细查询 +export function searchTable2(num) { + return request({ + url: '', + method: 'post', + data: { + UserID: state.state.user.id, + ModularID: router.currentRoute.path, + type: '1', + name: '采购管理_采购合同内容_查询数据', + param: '采购合同流水号=' + num + } + }) +} diff --git a/src/api/ManufacturingCenter/RequestApprovalQuery1.js b/src/api/ManufacturingCenter/RequestApprovalQuery1.js new file mode 100644 index 00000000..a83d6dae --- /dev/null +++ b/src/api/ManufacturingCenter/RequestApprovalQuery1.js @@ -0,0 +1,59 @@ +import request from '@/utils/request' +import state from '@/store' +import router from '@/router' + +// 初始化采购员 +export function initBuyer() { + return request({ + url: '', + method: 'post', + data: { + UserID: state.state.user.id, + ModularID: router.currentRoute.path, + type: '1', + name: '人事档案管理_人员与角色_查询数据_采购员' + } + }) +} +// 采购合同查询 +export function searchTable1(radio, check1, supplier, check2, start, end, check3, name, pageCurrent, pageSize) { + return request({ + url: '', + method: 'post', + data: { + UserID: state.state.user.id, + ModularID: router.currentRoute.path, + type: '1', + name: '采购管理_情况审批查询_查询数据', + param: '查询全部=' + radio + '&供应商流水号_check=' + check1 + '&供应商流水号=' + supplier + '&时间段_check=' + check2 + '&开始时间=' + start + '&结束时间=' + end + '&人员编号_check=' + check3 + '&人员编号=' + name, + Pagination: pageCurrent + '&' + pageSize + } + }) +} +// 查询离线合同请款信息明细 +export function searchTable2(num) { + return request({ + url: '', + method: 'post', + data: { + UserID: state.state.user.id, + ModularID: router.currentRoute.path, + type: '1', + name: '采购管理_采购合同_请款明细_查询数据', + param: `采购合同请款流水号=${num}` + } + }) +} +// 查询供应商 +export function searchSupplier() { + return request({ + url: '', + method: 'post', + data: { + UserID: state.state.user.id, + ModularID: router.currentRoute.path, + type: '1', + name: '采购管理_供应商_查询数据_根据条件' + } + }) +} diff --git a/src/views/ManufacturingCenter/ContractApprovalQuery/index.vue b/src/views/ManufacturingCenter/ContractApprovalQuery/index.vue index 9605b383..e258a728 100644 --- a/src/views/ManufacturingCenter/ContractApprovalQuery/index.vue +++ b/src/views/ManufacturingCenter/ContractApprovalQuery/index.vue @@ -9,7 +9,7 @@ :label="item.label" :value="item.value"/> - 提交时间: + 审核时间: + + + - - -