所有js页日志
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
// 初始化人员
|
||||
export function initPickPerson() {
|
||||
@@ -6,6 +8,8 @@ export function initPickPerson() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '3',
|
||||
name: 'select 姓名,人员编号 from 人事档案管理_人员名单 where 是否离职 = 0 order by 姓名 '
|
||||
}
|
||||
@@ -17,6 +21,8 @@ export function initMachineProject() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_项目名称_查询数据'
|
||||
}
|
||||
@@ -28,6 +34,8 @@ export function searchgroup(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_组件名称_查询数据',
|
||||
param: '机床流水号=' + num
|
||||
@@ -40,6 +48,8 @@ export function searchTable(...params) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间装配管理_领料单_三表_查询数据',
|
||||
param: `机床流水号_check=${params[0]}&机床流水号=${params[1]}&组件流水号_check=${params[2]}&组件流水号=${params[3]}&名称_check=${params[4]}&名称=${params[5]}&领料情况_check=${params[6]}&领料情况=${params[7]}&零件类型=${params[10]}`,
|
||||
@@ -52,6 +62,8 @@ export function searchPart(...params) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_离线外购件_出库查询',
|
||||
param: `物料名称_check=${params[0]}&物料名称=${params[1]}`,
|
||||
@@ -65,6 +77,8 @@ export function searchList(pageCurrent, pageSize, listPeople_check, listPeople,
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间装配管理_领料单_查询数据',
|
||||
param: '制单人_check=' + listPeople_check + '&制单人=' + listPeople + '&是否电气=' + isElectrical + '&时间段_check=' + check1 + '&开始时间=' + time1 + '&结束时间=' + time2,
|
||||
@@ -78,6 +92,8 @@ export function createList(num, remark, isElectrical) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间装配管理_领料单_增加数据',
|
||||
param: '领料人流水号=' + num + '&领料单备注=' + remark + '&是否电气=' + isElectrical
|
||||
@@ -90,6 +106,8 @@ export function dropList(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间装配管理_领料单_删除数据',
|
||||
param: '领料单流水号=' + num
|
||||
@@ -102,6 +120,8 @@ export function searchListDetail(...params) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间装配管理_领料单明细_查询数据_新',
|
||||
param: `领料单流水号=${params[0]}`
|
||||
@@ -114,6 +134,8 @@ export function selectIntoList(...params) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间装配管理_领料单明细_增加数据',
|
||||
param: `基本件流水号组=${params[0]}&标准件和外购件流水号组=${params[1]}&领料单流水号=${params[2]}`
|
||||
@@ -126,6 +148,8 @@ export function IntoMateerial(...params) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '离线采购_领料明细_增加数据_循环',
|
||||
param: `物料流水号组=${params[0]}&组件零件基本件流水号组=${params[1]}&领料数量组=${params[2]}&领料单流水号=${params[3]}&机床流水号=${params[4]}`
|
||||
@@ -138,6 +162,8 @@ export function dropListDetail(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间装配管理_领料单明细_删除数据',
|
||||
param: '领料单明细流水号=' + num
|
||||
@@ -150,6 +176,8 @@ export function searchListDetailMX(...params) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间装配管理_领料单明细_详情_查询数据',
|
||||
param: `领料单流水号=${params[0]}&基本件流水号=${params[1]}&标准件和外购件流水号=${params[2]}&离线采购件流水号=${params[3]}`
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
// 初始化项目
|
||||
export function initProject() {
|
||||
@@ -6,6 +8,8 @@ export function initProject() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_项目名称_查询数据_按时间排序'
|
||||
}
|
||||
@@ -17,6 +21,8 @@ export function searchmachine(check, num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_机床名称_查询数据',
|
||||
param: '项目流水号_check=' + check + '=int&项目流水号=' + num
|
||||
@@ -29,6 +35,8 @@ export function searchTeam(machineNumber) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_组件名称_查询数据',
|
||||
param: '机床流水号=' + machineNumber
|
||||
@@ -41,6 +49,8 @@ export function searchContract() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_库存管理_采购合同查询'
|
||||
}
|
||||
@@ -52,6 +62,8 @@ export function searchContractDetail(contractnumber) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '采购管理_采购合同明细_查询数据',
|
||||
param: '采购合同流水号=' + contractnumber
|
||||
@@ -64,6 +76,8 @@ export function searchDirectPart(pageCurrent, pageSize, project_check, project,
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_直达件_零件查询',
|
||||
param: '项目流水号_check=' + project_check + '&项目流水号=' + project + '&机床流水号_check=' + machine_check + '&机床流水号=' + machine + '&组件流水号_check=' + group_check + '&组件流水号=' + group + '&合同流水号_check=' + contract_check + '&合同流水号=' + contract,
|
||||
@@ -77,6 +91,8 @@ export function searchPeople(data1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_人员查询_库存部门',
|
||||
param: '角色编号=' + data1
|
||||
@@ -89,6 +105,8 @@ export function addDirectPart(data1, data2, data3, data4, data5, data6, data7, d
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '库存管理_直达件_直达件增加',
|
||||
param: '实际到货数量=' + data1 + '&采购合同明细流水号=' + data2 + '&入库人员流水号=' + data3 + '&领用者=' + data4 + '&出库数量=' + data5 + '&组件零件流水号=' + data6 + '&组件零件基本件流水号=' + data7 + '&项目流水号=' + data8 + '&机床流水号=' + data9 + '&组件流水号=' + data10 + '&名称=' + data11 + '&备注=' + data12 + '&物料型号=' + data13 + '&物料规格=' + data14 + '&零件图号=' + data15
|
||||
@@ -101,6 +119,8 @@ export function searchDirectRec(contractnumber) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_直达件_直达件记录查询',
|
||||
param: '采购合同明细流水号=' + contractnumber
|
||||
@@ -113,6 +133,8 @@ export function editDirectRec(data1, data2, data3, data4) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '库存管理_直达件_直达件记录修改',
|
||||
param: '直达件流水号=' + data1 + '&到货数量=' + data2 + '&领用人员流水号=' + data3 + '&备注=' + data4
|
||||
@@ -125,6 +147,8 @@ export function deleteDirectRec(data1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '库存管理_直达件_直达件记录删除',
|
||||
param: '直达件流水号=' + data1
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
// 交换件查询
|
||||
export function searchExchangePart(pageCurrent, pageSize) {
|
||||
@@ -6,6 +8,8 @@ export function searchExchangePart(pageCurrent, pageSize) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_交换件_交换件审批查询',
|
||||
Pagination: pageCurrent + '&' + pageSize
|
||||
@@ -18,6 +22,8 @@ export function approvalExchangepart(data1, data2, data22, data3, data33, data4)
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '库存管理_交换件_交换件审批通过',
|
||||
param: '交换单流水号=' + data1 + '&交换件采购合同明细流水号=' + data2 + '&被交换件采购合同明细流水号=' + data22 + '&交换件货位流水号=' + data3 + '&被交换货位流水号=' + data33 + '&交换数量=' + data4
|
||||
@@ -31,6 +37,8 @@ export function disappExchangepart(data1, data2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '库存管理_交换件_交换件审批拒绝',
|
||||
param: '交换单流水号=' + data1 + '&不通过原因=' + data2
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
// 初始化项目
|
||||
export function initProject() {
|
||||
@@ -6,6 +8,8 @@ export function initProject() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_项目名称_查询数据_按时间排序'
|
||||
}
|
||||
@@ -17,6 +21,8 @@ export function searchmachine(check, num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_机床名称_查询数据',
|
||||
param: '项目流水号_check=' + check + '=int&项目流水号=' + num
|
||||
@@ -29,6 +35,8 @@ export function searchTeam(machineNumber) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_组件名称_查询数据',
|
||||
param: '机床流水号=' + machineNumber
|
||||
@@ -41,6 +49,8 @@ export function searchPurchasePart(pageCurrent, pageSize, project_check, project
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_外购件出库_零件查询',
|
||||
param: '项目流水号_check=' + project_check + '&项目流水号=' + project + '&机床流水号_check=' + machine_check + '&机床流水号=' + machine + '&组件流水号_check=' + group_check + '&组件流水号=' + group,
|
||||
@@ -54,6 +64,8 @@ export function searchList(listNumber) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间装配管理_领料单_领料单查询',
|
||||
param: '领料单编号=' + listNumber
|
||||
@@ -66,6 +78,8 @@ export function searchExchangePart(pageCurrent, pageSize) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_交换件_交换件查询',
|
||||
Pagination: pageCurrent + '&' + pageSize
|
||||
@@ -78,6 +92,8 @@ export function addExchangepart(data1, data2, data3, data4, data5, data6, data7,
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '库存管理_交换件_交换件增加',
|
||||
param: '交换单编号=' + data1 + '&交换件采购合同明细流水号=' + data2 + '&被交换件采购合同明细流水号=' + data3 + '&交换件名称=' + data4 + '&被交换件名称=' + data5 + '&交换件项目流水号=' + data6 + '&被交换件项目流水号=' + data7 + '&交换件机床流水号=' + data8 + '&被交换件机床流水号=' + data9 + '&交换件组件流水号=' + data10 + '&被交换件组件流水号=' + data11 + '&货位流水号=' + data12 + '&被交换货位流水号=' + data13 + '&交换数量=' + data14 + '&申请人=' + data15 + '&备注=' + data16 + '&领料单流水号=' + data17
|
||||
@@ -90,6 +106,8 @@ export function dropExchangeList(PickingListNumberx) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '库存管理_交换件_交换件删除',
|
||||
param: '交换单流水号=' + PickingListNumberx
|
||||
@@ -102,6 +120,8 @@ export function editExchangeList(data1, data2, data3, data4, data5) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '库存管理_交换件_交换单修改',
|
||||
param: '交换单流水号=' + data1 + '&交换单编号=' + data2 + '&交换数量=' + data3 + '&领料单流水号=' + data4 + '&备注=' + data5
|
||||
@@ -114,6 +134,8 @@ export function searchList1(listNumber_check, listNumber) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间装配管理_领料单_领料单查询',
|
||||
param: '领料单编号_check=' + 0 + '&领料单编号=' + listNumber
|
||||
|
||||
@@ -1,10 +1,14 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
// 查询零件入库情况
|
||||
export function searchTable(partnumber) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'MES_机加工MES_库存管理_入库模块_零件基础信息查询_根据零件图号',
|
||||
param: '零件图号=' + partnumber + '=string'
|
||||
@@ -17,6 +21,8 @@ export function getinventory() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_货位主文件_仓库查询'
|
||||
}
|
||||
@@ -28,6 +34,8 @@ export function getlocate(housenumber) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_货位主文件_查询数据',
|
||||
param: '仓库流水号=' + housenumber + '=int'
|
||||
@@ -40,6 +48,8 @@ export function insertOne(num0, num1, people, num4, num5, num6, num7) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: 'MES_机加工MES_库存管理_入库模块_增加入库信息_修改入库数量',
|
||||
param: '工艺计划流水号=' + num0 + '=int&入库数量=' + num1 + '=int&收件人员编号=' + people + '=int&送件人员编号=1001' + '&漆塑=' + num4 + '&仓库流水号=' + num5 + '&货位流水号=' + num6 + '&备注=' + num7
|
||||
|
||||
@@ -1,10 +1,14 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
// 采购合同查询
|
||||
export function searchContract() {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_库存管理_采购合同查询'
|
||||
}
|
||||
@@ -15,6 +19,8 @@ export function searchShopContract() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_库存管理_车间采购合同查询'
|
||||
}
|
||||
@@ -27,6 +33,8 @@ export function searchInventory() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_货位主文件_仓库查询'
|
||||
}
|
||||
@@ -38,6 +46,8 @@ export function searchInbound(...data) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_入库记录_采购部查询',
|
||||
param: `采购合同流水号_check=${data[0]}&采购合同流水号=${data[1]}&到货时间_check=${data[2]}&到货开始时间=${data[3]}&到货结束时间=${data[4]}&仓库流水号_check=${data[5]}&仓库流水号=${data[6]}`
|
||||
@@ -50,6 +60,8 @@ export function searchShopInbound(data1, data2, data3) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_入库记录_车间采购查询',
|
||||
param: '采购合同流水号=' + data1 + '&到货时间=' + data2 + '&仓库流水号=' + data3
|
||||
@@ -62,6 +74,8 @@ export function searchInboundCard(data1, data2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_采购入库单_入库单查询',
|
||||
param: '入库单号_check=' + data1 + '&入库单号=' + data2
|
||||
@@ -74,6 +88,8 @@ export function addInboundCard(data1, data2, data3, data4, data5, data6, data7,
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '库存管理_采购入库单_入库单增加',
|
||||
param: '入库日期=' + data1 + '&仓库流水号=' + data2 + '&合同流水号=' + data3 + '&到货单号=' + data4 + '&业务员=' + data5 + '&业务号=' + data6 + '&到货日期=' + data7 + '&业务类型=' + data8 + '&采购类型=' + data9 + '&入库类别=' + data10 + '&备注=' + data11
|
||||
@@ -86,6 +102,8 @@ export function deleteInboundCard(data1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '库存管理_采购入库单_入库单删除',
|
||||
param: '采购入库单流水号=' + data1
|
||||
@@ -98,6 +116,8 @@ export function editInboundCard(data0, data1, data2, data3, data4, data5, data6,
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '库存管理_采购入库单_入库单修改',
|
||||
param: '采购入库单流水号=' + data0 + '&入库日期=' + data1 + '&仓库流水号=' + data2 + '&合同流水号=' + data3 + '&到货单号=' + data4 + '&业务员=' + data5 + '&业务号=' + data6 + '&到货日期=' + data7 + '&业务类型=' + data8 + '&采购类型=' + data9 + '&入库类别=' + data10 + '&备注=' + data11
|
||||
@@ -110,6 +130,8 @@ export function searchAffairPeople(data1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_人员查询_库存部门',
|
||||
param: '角色编号=' + data1
|
||||
@@ -123,6 +145,8 @@ export function searchInboundCardDetail(data1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_采购入库单_入库单明细_查询数据',
|
||||
param: '采购入库单流水号=' + data1
|
||||
@@ -135,6 +159,8 @@ export function addInboundCardDetail(data1, data2, data3, data4, data5, data6, d
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '库存管理_采购入库单_批量增加入库单明细',
|
||||
param: '采购入库单流水号=' + data1 + '&名称组=' + data2 + '&型号组=' + data3 + '&规格组=' + data4 + '&图号组=' + data5 + '&数量组=' + data6 + '&本币单价组=' + data7
|
||||
@@ -148,6 +174,8 @@ export function deleteInboundCardDetail(data1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '库存管理_采购入库单_采购入库单明细删除',
|
||||
param: '采购入库单明细流水号=' + data1
|
||||
|
||||
@@ -1,10 +1,14 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
// 查询零件入库情况
|
||||
export function searchTable(partnumber) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'MES_机加工MES_库存管理_入库模块_零件基础信息查询_根据零件图号',
|
||||
param: '工艺计划流水号=' + partnumber
|
||||
@@ -16,6 +20,8 @@ export function searchPartNumber(partnumber) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_基本件入库_零件图号',
|
||||
param: '工艺计划流水号=' + partnumber
|
||||
@@ -27,6 +33,8 @@ export function CraftNumber(partnumber) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_基本件入库_工艺计划流水号',
|
||||
param: '零件图号=' + partnumber
|
||||
@@ -39,6 +47,8 @@ export function getinventory() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_货位主文件_仓库查询'
|
||||
}
|
||||
@@ -50,6 +60,8 @@ export function getlocate() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_货位主文件_查询数据_查询全部'
|
||||
}
|
||||
@@ -61,6 +73,8 @@ export function insertOne(num0, num1, people, num4, num5, num6, num7) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: 'MES_机加工MES_库存管理_入库模块_增加入库信息_修改入库数量',
|
||||
param: '工艺计划流水号=' + num0 + '=int&入库数量=' + num1 + '=int&收件人员编号=' + people + '=int&送件人员编号=1001' + '&漆塑=' + num4 + '&仓库流水号=' + num5 + '&货位流水号=' + num6 + '&备注=' + num7
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
// 初始化项目
|
||||
export function initProject() {
|
||||
@@ -6,6 +8,8 @@ export function initProject() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_项目名称_查询数据_按时间排序'
|
||||
}
|
||||
@@ -17,6 +21,8 @@ export function searchmachine(check, num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_机床名称_查询数据',
|
||||
param: '项目流水号_check=' + check + '=int&项目流水号=' + num
|
||||
@@ -29,6 +35,8 @@ export function searchTeam(machineNumber) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_组件名称_查询数据',
|
||||
param: '机床流水号=' + machineNumber
|
||||
@@ -41,6 +49,8 @@ export function searchPurchasePart(pageCurrent, pageSize, project_check, project
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_库存盘点_外购件查询',
|
||||
param: '项目流水号_check=' + project_check + '&项目流水号=' + project + '&机床流水号_check=' + machine_check + '&机床流水号=' + machine + '&组件流水号_check=' + group_check + '&组件流水号=' + group,
|
||||
@@ -54,6 +64,8 @@ export function searchPurchasePartIn(contractdetail) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_库存盘点_外购件入库记录',
|
||||
param: '采购合同明细流水号=' + contractdetail
|
||||
@@ -66,6 +78,8 @@ export function searchPurchasePartOut(teampart) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_库存盘点_外购件出库记录',
|
||||
param: '采购合同明细流水号=' + teampart
|
||||
@@ -78,6 +92,8 @@ export function searchStandardPart(pageCurrent, pageSize, project_check, project
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_库存盘点_标准件查询',
|
||||
param: '项目流水号_check=' + project_check + '&项目流水号=' + project + '&机床流水号_check=' + machine_check + '&机床流水号=' + machine + '&组件流水号_check=' + group_check + '&组件流水号=' + group,
|
||||
@@ -91,6 +107,8 @@ export function searchStandardPartIn(data1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_库存盘点_标准件入库记录',
|
||||
param: '采购合同明细流水号=' + data1
|
||||
@@ -103,6 +121,8 @@ export function searchStandardPartOut(data1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_库存盘点_标准件出库记录',
|
||||
param: '采购合同明细流水号=' + data1
|
||||
@@ -115,6 +135,8 @@ export function safeAmount(data1, data2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '库存管理_库存盘点_标准件安全库存修改',
|
||||
param: '组件零件流水号=' + data1 + '&安全库存量=' + data2
|
||||
@@ -128,6 +150,8 @@ export function searchPurchaseBasicPart(pageCurrent, pageSize, project_check, pr
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_库存盘点_采购部基本件查询',
|
||||
param: '项目流水号_check=' + project_check + '&项目流水号=' + project + '&机床流水号_check=' + machine_check + '&机床流水号=' + machine + '&组件流水号_check=' + group_check + '&组件流水号=' + group,
|
||||
@@ -141,6 +165,8 @@ export function searchBasicPart(pageCurrent, pageSize, project_check, project, m
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_库存盘点_基本件查询',
|
||||
param: '项目流水号_check=' + project_check + '&项目流水号=' + project + '&机床流水号_check=' + machine_check + '&机床流水号=' + machine + '&组件流水号_check=' + group_check + '&组件流水号=' + group,
|
||||
@@ -154,6 +180,8 @@ export function searchBasicPartIn(craftNumber) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_库存盘点_基本件入库记录',
|
||||
param: '工艺计划流水号=' + craftNumber
|
||||
@@ -166,6 +194,8 @@ export function searchBasicPartOut(craftNumber) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_库存盘点_基本件出库记录',
|
||||
param: '工艺计划流水号=' + craftNumber
|
||||
@@ -178,6 +208,8 @@ export function searchGeneralPart(pageCurrent, pageSize, project_check, project,
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_库存盘点_通用件查询',
|
||||
param: '项目流水号_check=' + project_check + '&项目流水号=' + project + '&机床流水号_check=' + machine_check + '&机床流水号=' + machine + '&组件流水号_check=' + group_check + '&组件流水号=' + group,
|
||||
@@ -191,6 +223,8 @@ export function searchHourseBasicPart(pageCurrent, pageSize, project_check, proj
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_库存盘点_车间采购基本件查询',
|
||||
param: '项目流水号_check=' + project_check + '&项目流水号=' + project + '&机床流水号_check=' + machine_check + '&机床流水号=' + machine + '&组件流水号_check=' + group_check + '&组件流水号=' + group,
|
||||
@@ -204,6 +238,8 @@ export function searchHoursePurchasePart(pageCurrent, pageSize, project_check, p
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_库存盘点_车间采购外购件查询',
|
||||
param: '项目流水号_check=' + project_check + '&项目流水号=' + project + '&机床流水号_check=' + machine_check + '&机床流水号=' + machine + '&组件流水号_check=' + group_check + '&组件流水号=' + group,
|
||||
@@ -217,6 +253,8 @@ export function searchShopPurchasePartOut(teampart) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_库存盘点_车间外购件出库记录',
|
||||
param: '请购单明细流水号=' + teampart
|
||||
@@ -229,6 +267,8 @@ export function searchShopPurchasePartIn(teampart) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_库存盘点_车间外购件入库记录',
|
||||
param: '请购单明细流水号=' + teampart
|
||||
@@ -241,6 +281,8 @@ export function CheckAlter(receive, project, machinenumber, partnumber, oldnumbe
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '库存管理_库存盘点_修改数量',
|
||||
param: '收件信息ID=' + receive + '&项目流水号=' + project + '&机床流水号=' + machinenumber + '&组件流水号=' + partnumber + '&原数量=' + oldnumber + '&修改原因=' + reason + '&数量=' + number + '&人员编号=' + people + '&货位流水号=' + locate + '&采购合同明细流水号=' + contractdetail + '&工艺计划流水号=' + craftnumber + '&零件类型代码=' + materialType + '&物料与货位对照流水号=' + materiallocate + '&名称=' + name + '&规格=' + mode + '&图号=' + picture + '&型号=' + type + '&材料=' + material
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
// 查询仓库
|
||||
export function initWarehouse() {
|
||||
@@ -6,6 +8,8 @@ export function initWarehouse() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_货位仓库_仓库_查询数据'
|
||||
}
|
||||
@@ -17,6 +21,8 @@ export function addWarehouse(num0, num1, num2, num3, num4, num5) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '库存管理_货位仓库_仓库_增加数据',
|
||||
param: '仓库编号=' + num0 + '&仓库名称=' + num1 + '&仓库描述=' + num2 + '&地址=' + num3 + '&联系人=' + num4 + '&备注=' + num5
|
||||
@@ -29,6 +35,8 @@ export function alterWarehouse(num, num0, num1, num2, num3, num4, num5) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '库存管理_货位仓库_仓库_修改数据',
|
||||
param: '仓库流水号=' + num + '&仓库编号=' + num0 + '&仓库名称=' + num1 + '&仓库描述=' + num2 + '&地址=' + num3 + '&联系人=' + num4 + '&备注=' + num5
|
||||
@@ -41,6 +49,8 @@ export function deleteWarehouse(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '库存管理_货位仓库_仓库_删除数据',
|
||||
param: '仓库流水号=' + num
|
||||
@@ -53,6 +63,8 @@ export function searchLocate(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_货位主文件_查询数据',
|
||||
param: '仓库流水号=' + num
|
||||
@@ -65,6 +77,8 @@ export function addLocate(num0, num1, num2, num3, num4) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '库存管理_货位主文件_增加数据',
|
||||
param: '货位名称=' + num0 + '&工作中心=' + num1 + '&仓库流水号=' + num2 + '&永久=' + num3 + '&不可用量=' + num4
|
||||
@@ -77,6 +91,8 @@ export function alterLocate(num, num0, num1, num2, num3, num4) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '库存管理_货位主文件_修改数据',
|
||||
param: '货位流水号=' + num + '&货位名称=' + num0 + '&工作中心=' + num1 + '&仓库流水号=' + num2 + '&永久=' + num3 + '&不可用量=' + num4
|
||||
@@ -89,6 +105,8 @@ export function deleteLocate(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '库存管理_货位主文件_删除数据',
|
||||
param: '货位流水号=' + num
|
||||
@@ -101,6 +119,8 @@ export function searchPeople(role) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '菜单系统模块_项目角色员工综合_查询数据',
|
||||
param: '姓名_check=' + 0 + '&角色编号_check=' + 1 + '&角色编号=' + role + '&考核部门编号_check=' + 0
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
// 初始化人员
|
||||
export function initPickPerson() {
|
||||
@@ -6,6 +8,8 @@ export function initPickPerson() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '3',
|
||||
name: 'select 姓名,人员编号 from 人事档案管理_人员名单 where 是否离职 = 0'
|
||||
}
|
||||
@@ -17,6 +21,8 @@ export function initMachineProject() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_项目名称_查询数据'
|
||||
}
|
||||
@@ -28,6 +34,8 @@ export function searchgroup(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_组件名称_查询数据',
|
||||
param: '机床流水号=' + num
|
||||
@@ -40,6 +48,8 @@ export function searchList(pageCurrent, pageSize, listPeople_check, listPeople,
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间装配管理_领料单_查询数据',
|
||||
param: '制单人_check=' + listPeople_check + '&制单人=' + listPeople + '&时间段_check=' + check1 + '&开始时间=' + time1 + '&结束时间=' + time2 + '&是否审批=1',
|
||||
@@ -53,6 +63,8 @@ export function searchListDetail(...params) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间装配管理_领料单明细_查询数据_新',
|
||||
param: `领料单流水号=${params[0]}`
|
||||
@@ -65,6 +77,8 @@ export function searchStockNumber1(...params) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_物料出库_标准件和外购件_查询数据',
|
||||
param: `物料流水号=${params[0]}`
|
||||
@@ -77,6 +91,8 @@ export function searchStockNumber2(...params) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_物料出库_基本件_查询数据',
|
||||
param: `基本件流水号=${params[0]}`
|
||||
@@ -89,6 +105,8 @@ export function searchStockNumber3(...params) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_物料出库_车间采购件_查询数据',
|
||||
param: `请购单明细流水号=${params[0]}`
|
||||
@@ -101,6 +119,8 @@ export function submitOutStore(...params) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '库存管理_物料出库_出库记录_增加数据_循环',
|
||||
param: `领料单明细水号组=${params[0]}&基本件流水号组=${params[1]}&物料流水号组=${params[2]}&标准件和外购件流水号组=${params[3]}&请购单明细流水号组=${params[4]}&组件流水号组=${params[5]}&机床流水号组=${params[6]}&出库数量组=${params[7]}&出库人流水号=${params[8]}&领料人编号=${params[9]}&出库类别=${params[10]}&领料单流水号=${params[11]}&离线采购件流水号组=${params[12]}&领料部门=${params[13]}`
|
||||
@@ -113,6 +133,8 @@ export function errorRecord(...params) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '库存管理_物料出库_异常记录_增加数据',
|
||||
param: `异常数量=${params[0]}&异常原因=${params[1]}&物料流水号=${params[2]}&基本件流水号=${params[3]}&货位流水号=${params[4]}}`
|
||||
@@ -125,6 +147,8 @@ export function initOutType() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '3',
|
||||
name: 'select * from 库存管理_出库类别'
|
||||
}
|
||||
@@ -136,6 +160,8 @@ export function pickingSubmit(...params) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_物料出库_领料确认_修改数据',
|
||||
param: `人员编号=${params[0]}&密码=${params[1]}`
|
||||
@@ -148,6 +174,8 @@ export function updateRemark(...params) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间装配管理_领料单明细_编辑数据',
|
||||
param: `领料单明细流水号=${params[0]}&备注=${params[1]}`
|
||||
@@ -160,6 +188,8 @@ export function sendBack(...params) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '库存管理_物料出库_归还记录_增加数据',
|
||||
param: `货位流水号=${params[0]}&物料流水号=${params[1]}&入库数量=${params[2]}&入库人流水号=${params[3]}&基本件流水号=${params[4]}&标准件和外购件流水号=${params[5]}&请购单明细流水号=${params[6]}&仓库流水号=${params[7]}&领料单流水号=${params[8]}`
|
||||
@@ -171,6 +201,8 @@ export function getPickingList() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间装配管理_领料单_查询数据_提示'
|
||||
}
|
||||
@@ -181,6 +213,8 @@ export function setPickingList() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间装配管理_领料单_查询数据_修改提示'
|
||||
}
|
||||
@@ -191,6 +225,8 @@ export function selectdepartment() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '出库管理_部门查询'
|
||||
}
|
||||
@@ -201,6 +237,8 @@ export function selectleaders(department) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '出库管理_人员查询',
|
||||
param: '考核部门编号=' + department
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
// 初始化项目
|
||||
export function initProject() {
|
||||
@@ -6,6 +8,8 @@ export function initProject() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_项目名称_查询数据_按时间排序'
|
||||
}
|
||||
@@ -17,6 +21,8 @@ export function searchmachine(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_机床名称_查询数据',
|
||||
param: '项目流水号_check=1&项目流水号=' + num
|
||||
@@ -29,6 +35,8 @@ export function searchTeam(machineNumber) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_组件名称_查询数据',
|
||||
param: '机床流水号=' + machineNumber
|
||||
@@ -41,6 +49,8 @@ export function searchPart(...params) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_离线外购件_出库查询',
|
||||
param: `物料名称_check=${params[0]}&物料名称=${params[1]}&物料规格_check=${params[2]}&物料规格=${params[3]}&物料型号_check=${params[4]}&物料型号=${params[5]}`,
|
||||
@@ -54,6 +64,8 @@ export function searchPeople(data1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_人员查询_库存部门',
|
||||
param: '角色编号=' + data1
|
||||
@@ -66,6 +78,8 @@ export function outlinePartOut(data2, data3, data4, data5, data6, data7, data8,
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '库存管理_离线采购件_零件出库',
|
||||
param: '领用者=' + data2 + '&出库数量=' + data3 + '&货位流水号=' + data4 + '&备注=' + data5 + '&项目流水号=' + data6 + '&机床流水号=' + data7 + '&组件流水号=' + data8 + '&物料流水号=' + data9 + '&出库人员流水号=' + data10 + '&离线合同明细流水号=' + data11 + '&组件零件基本件流水号=' + data12 + '&领料部门=' + data13
|
||||
@@ -78,6 +92,8 @@ export function outRecord(...params) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_离线外购件出库_出库记录',
|
||||
param: '物料流水号=' + params[0],
|
||||
@@ -90,6 +106,8 @@ export function selectdepartment() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '出库管理_部门查询'
|
||||
}
|
||||
@@ -100,6 +118,8 @@ export function selectleaders(department) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '出库管理_人员查询',
|
||||
param: '考核部门编号=' + department
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
// 请购单查询
|
||||
export function searchRequestCard(pageCurrent, pageSize, card_check, card) {
|
||||
@@ -6,6 +8,8 @@ export function searchRequestCard(pageCurrent, pageSize, card_check, card) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_离线请购单_请购单查询',
|
||||
param: '请购单编号_check=' + card_check + '&请购单编号=' + card,
|
||||
@@ -19,6 +23,8 @@ export function addRequestCard(peoplenumber, housenumber) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '库存管理_离线请购单_请购单增加',
|
||||
param: '请购人编号=' + peoplenumber + '&仓库流水号=' + housenumber
|
||||
@@ -31,6 +37,8 @@ export function initWarehouse() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_货位仓库_仓库_查询数据'
|
||||
}
|
||||
@@ -42,6 +50,8 @@ export function searchInventoryNum(pageCurrent, pageSize, check1, name, check2,
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_离线物料_物料余量_查询数据',
|
||||
param: `物料名称_check=${check1}&物料名称=${name}&库存状态_check=${check2}&库存状态=${state1}`,
|
||||
@@ -55,6 +65,8 @@ export function SeeDetail(data) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_离线请购单_请购单明细查询',
|
||||
param: '离线请购单流水号=' + data
|
||||
@@ -67,6 +79,8 @@ export function addRequestCardDetail(data1, data2) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '库存管理_离线请购单_请购单明细增加',
|
||||
param: '离线请购单流水号=' + data1 + '&物料流水号组=' + data2
|
||||
@@ -79,6 +93,8 @@ export function alterNumber(data2, data3) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '库存管理_离线请购单_请购单明细修改',
|
||||
param: '离线请购单明细流水号组=' + data2 + '&数量组=' + data3
|
||||
@@ -91,6 +107,8 @@ export function deleteRequest(data1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '库存管理_离线请购单_请购单删除',
|
||||
param: '离线请购单流水号=' + data1
|
||||
@@ -103,6 +121,8 @@ export function deleteRequestDetail(data1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '库存管理_离线请购单_请购单明细删除',
|
||||
param: '离线请购单明细流水号=' + data1
|
||||
@@ -115,6 +135,8 @@ export function setSafeValue(...params) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '采购管理_离线合同_物料安全库存_修改数据',
|
||||
param: `物料流水号=${params[0]}&安全库存量=${params[1]}`
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
// 机床查询
|
||||
export function getMachines(check, num) {
|
||||
@@ -6,6 +8,8 @@ export function getMachines(check, num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_机床名称_查询数据',
|
||||
param: '项目流水号_check=' + check + '=int&项目流水号=' + num
|
||||
@@ -18,6 +22,8 @@ export function getGroups(machineNumber) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_组件名称_查询数据',
|
||||
param: '机床流水号=' + machineNumber
|
||||
@@ -30,6 +36,8 @@ export function getTable(num1, num2, num3, num4, num5, num6, pageCurrent, pageSi
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_库存管理_基本件出库记录查询',
|
||||
param: '机床流水号_check=' + num1 + '&机床流水号=' + num2 + '&组件流水号_check=' + num3 + '&组件流水号=' + num4 + '&零件图号_check=' + num5 + '&零件图号=' + num6,
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
// 领料单查询
|
||||
export function searchList(listNumber_check, listNumber, pageCurrent, pageSize, isCheck) {
|
||||
@@ -6,6 +8,8 @@ export function searchList(listNumber_check, listNumber, pageCurrent, pageSize,
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间装配管理_领料单_领料单查询',
|
||||
param: '领料单编号_check=' + listNumber_check + '&领料单编号=' + listNumber + '&是否确认=0',
|
||||
@@ -19,6 +23,8 @@ export function searchListDetail(listNumber) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间装配管理_领料单_领料单明细查询',
|
||||
param: '领料单流水号=' + listNumber
|
||||
@@ -43,6 +49,8 @@ export function ExchangeOut(listNumber) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_零件出库_交换件查询',
|
||||
param: '领料单流水号=' + listNumber
|
||||
@@ -55,6 +63,8 @@ export function backlogPart(...params) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '采购管理_滞货件出库_修改数据',
|
||||
param: `领料单明细流水号=${params[0]}&出库数量=${params[1]}&滞货物料与货位对照流水号=${params[2]}`
|
||||
@@ -67,6 +77,8 @@ export function PurchasePart(listNumber, data1, data2, data3, data4, data5, data
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '库存管理_外购件出库_修改数据',
|
||||
param: '领料单明细流水号=' + listNumber + '采购合同明细流水号=' + data1 + '&领用者=' + data2 + '&出库数量=' + data3 + '&货位流水号=' + data4 + '&物料与货位对照流水号=' + data5 + '&备注=' + data6
|
||||
@@ -79,6 +91,8 @@ export function BasicPart(listNumber, data1, data2, data3, data4, data5) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: 'MES_机加工MES_库存管理_出库模块_出库零件信息_零件出库',
|
||||
param: '领料单明细流水号=' + listNumber + '&工艺计划流水号=' + data1 + '&本次出库数量=' + data2 + '&收件信息ID=' + data3 + '&领用人编号=' + data4 + '&出库备注=' + data5
|
||||
@@ -91,6 +105,8 @@ export function WorkShopPart(listNumber, data1, data2, data3, data4, data5, data
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '库存管理_车间采购出库_修改数据',
|
||||
param: '领料单明细流水号=' + listNumber + '请购单明细流水号=' + data1 + '&领用者=' + data2 + '&出库数量=' + data3 + '&货位流水号=' + data4 + '&物料与货位对照流水号=' + data5 + '&备注=' + data6
|
||||
@@ -103,6 +119,8 @@ export function ErrorOut(data1, data2, data3, data4, data5, data6, data7, data8,
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '零件出库_零件出库_异常出库',
|
||||
param: '项目流水号=' + data1 + '&机床流水号=' + data2 + '&组件流水号=' + data3 + '&名称=' + data4 + '&人员编号=' + data5 + '&采购合同明细流水号=' + data6 + '&请购单明细流水号=' + data7 + '&工艺计划流水号=' + data8 + '&货位流水号=' + data9 + '&异常数量=' + data10 + '&异常原因=' + data11 + '&零件类型=' + data12
|
||||
@@ -115,6 +133,8 @@ export function ExchangePartOut(data0, data1, data2, data3, data4, data5) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '库存管理_交换件出库_修改数据',
|
||||
param: '交换单流水号=' + data0 + '&采购合同明细流水号=' + data1 + '&领用者=' + data2 + '&出库数量=' + data3 + '&货位流水号=' + data4 + '&备注=' + data5
|
||||
|
||||
@@ -1,10 +1,14 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
// 初始化项目
|
||||
export function initProject() {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_项目名称_查询数据_按时间排序'
|
||||
}
|
||||
@@ -16,6 +20,8 @@ export function initWarehouse() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_货位仓库_仓库_查询数据'
|
||||
}
|
||||
@@ -27,6 +33,8 @@ export function searchmachine(check, num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_机床名称_查询数据',
|
||||
param: '项目流水号_check=' + check + '=int&项目流水号=' + num
|
||||
@@ -39,6 +47,8 @@ export function searchTeam(machineNumber) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_组件名称_查询数据',
|
||||
param: '机床流水号=' + machineNumber
|
||||
@@ -52,6 +62,8 @@ export function searchAlterRecord(pageCurrent, pageSize, project_check, project,
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_库存盘点_修改记录查询',
|
||||
param: '项目流水号_check=' + project_check + '&项目流水号=' + project + '&机床流水号_check=' + machine_check + '&机床流水号=' + machine + '&组件流水号_check=' + group_check + '&组件流水号=' + group,
|
||||
@@ -65,6 +77,8 @@ export function searchErrorRecord(pageCurrent, pageSize, project_check, project,
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_零件出库_异常记录查询',
|
||||
param: '项目流水号_check=' + project_check + '&项目流水号=' + project + '&机床流水号_check=' + machine_check + '&机床流水号=' + machine + '&组件流水号_check=' + group_check + '&组件流水号=' + group,
|
||||
@@ -78,6 +92,8 @@ export function searchReplacementCard(pageCurrent, pageSize, card_check, card) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_补投单_补投单查询',
|
||||
param: '补投单编号_check=' + card_check + '&补投单编号=' + card,
|
||||
@@ -91,6 +107,8 @@ export function addReplacementCard(Number, house) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '库存管理_补投单_补投单增加',
|
||||
param: '人员编号=' + Number + '&仓库流水号=' + house
|
||||
@@ -103,6 +121,8 @@ export function deleteReplacementCard(Number) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '库存管理_补投单_补投单删除',
|
||||
param: '补投单流水号=' + Number
|
||||
@@ -115,6 +135,8 @@ export function deleteCardDetail(Number) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '库存管理_补投单_补投单明细删除',
|
||||
param: '补投单明细流水号=' + Number
|
||||
@@ -127,6 +149,8 @@ export function addCardDetail(Number, project, machine, team, name, mass, locate
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '库存管理_零件补投_批量增加补投单明细',
|
||||
param: '补投单流水号=' + Number + '&项目流水号组=' + project + '&机床流水号组=' + machine + '&组件流水号组=' + team + '&名称组=' + name + '&数量组=' + mass + '&货位流水号组=' + locate + '&零件类型组=' + parttype + '&原因组=' + reason
|
||||
@@ -140,6 +164,8 @@ export function searchCardDetail(cardNumber) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_仓库补投_补投单明细_查询',
|
||||
param: '补投单流水号=' + cardNumber
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
// 初始化项目
|
||||
export function initProject() {
|
||||
@@ -6,6 +8,8 @@ export function initProject() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_项目名称_查询数据_按时间排序'
|
||||
}
|
||||
@@ -17,6 +21,8 @@ export function searchmachine(check, num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_机床名称_查询数据',
|
||||
param: '项目流水号_check=' + check + '=int&项目流水号=' + num
|
||||
@@ -29,6 +35,8 @@ export function searchTeam(machineNumber) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_组件名称_查询数据',
|
||||
param: '机床流水号=' + machineNumber
|
||||
@@ -41,6 +49,8 @@ export function searchPurchasePart(pageCurrent, pageSize, project_check, project
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_外购件出库_零件查询',
|
||||
param: '项目流水号_check=' + project_check + '&项目流水号=' + project + '&机床流水号_check=' + machine_check + '&机床流水号=' + machine + '&组件流水号_check=' + group_check + '&组件流水号=' + group,
|
||||
@@ -54,6 +64,8 @@ export function searchBasicPart(pageCurrent, pageSize, project_check, project, m
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_基本件出库_零件查询',
|
||||
param: '项目流水号_check=' + project_check + '&项目流水号=' + project + '&机床流水号_check=' + machine_check + '&机床流水号=' + machine + '&组件流水号_check=' + group_check + '&组件流水号=' + group,
|
||||
@@ -67,6 +79,8 @@ export function searchHoursePart(pageCurrent, pageSize, project_check, project,
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_车间采购出库_零件查询',
|
||||
param: '项目流水号_check=' + project_check + '&项目流水号=' + project + '&机床流水号_check=' + machine_check + '&机床流水号=' + machine + '&组件流水号_check=' + group_check + '&组件流水号=' + group,
|
||||
@@ -80,6 +94,8 @@ export function searchList(pageCurrent, pageSize, listNumber_check, listNumber)
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间装配管理_领料单_领料单查询',
|
||||
param: '领料单编号_check=' + listNumber_check + '&领料单编号=' + listNumber,
|
||||
@@ -94,6 +110,8 @@ export function searchListDetail(listNumber) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间装配管理_领料单_领料单明细查询',
|
||||
param: '领料单流水号=' + listNumber
|
||||
@@ -106,6 +124,8 @@ export function addList(peopleNumber) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间装配管理_领料单_领料单增加',
|
||||
param: '领料人流水号=' + peopleNumber
|
||||
@@ -118,6 +138,8 @@ export function dropList(PickingListNumberx) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间装配管理_领料单_领料单删除',
|
||||
param: '领料单流水号=' + PickingListNumberx
|
||||
@@ -130,6 +152,8 @@ export function dropListDetail(DetailNumberx, isBacklog) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间装配管理_领料单_领料单明细删除',
|
||||
param: '领料单明细流水号=' + DetailNumberx + '&是否是滞货=' + isBacklog
|
||||
@@ -142,6 +166,8 @@ export function dropListDetailBasic(...params) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间装配管理_领料单_领料单明细删除_基本件',
|
||||
param: `领料单明细流水号=${params[0]}&收件信息ID=${params[1]}&返还数量=${params[2]}`
|
||||
@@ -154,6 +180,8 @@ export function addListDetail(PickingListNumberx, projectnumber, machinenumber,
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间装配管理_领料单_领料单明细增加',
|
||||
param: '领料单流水号=' + PickingListNumberx + '&项目流水号=' + projectnumber + '&机床流水号=' + machinenumber + '&组件流水号=' + teamNumber + '&出库数量=' + outNumber + '&零件类型=' + partType + '&备注\\=' + Note + '&工艺计划流水号=' + data1 + '&收件信息ID=' + data2 + '&采购合同明细流水号=' + data4 + '&请购单明细流水号=' + data5 + '&货位流水号=' + data6 + '&出库类型=' + data7 + '&物料与货位对照流水号=' + data8 + '&名称=' + data9 + '&物料规格\\=' + data10 + '&物料型号=' + data11 + '&零件图号=' + data12 + '&材料=' + data13
|
||||
@@ -166,6 +194,8 @@ export function searchBacklogPart(pageCurrent, pageSize, project_check, project,
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '采购管理_滞货件领料_查询数据',
|
||||
param: '项目流水号_check=' + project_check + '&项目流水号=' + project + '&机床流水号_check=' + machine_check + '&机床流水号=' + machine + '&组件流水号_check=' + group_check + '&组件流水号=' + group,
|
||||
@@ -179,6 +209,8 @@ export function submitAddBacklogList(...params) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '采购管理_领料单明细_滞货件_增加数据',
|
||||
param: `领料单流水号=${params[0]}&项目流水号=${params[1]}&机床流水号=${params[2]}&组件流水号=${params[3]}&出库数量=${params[4]}&备注\\=${params[5]}&货位流水号=${params[6]}&物料与货位对照流水号=${params[7]}&名称=${params[8]}&物料规格\\=${params[9]}&物料型号=${params[10]}`
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
// 初始化机床项目
|
||||
export function initMachineProject() {
|
||||
@@ -6,6 +8,8 @@ export function initMachineProject() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_项目名称_查询数据'
|
||||
}
|
||||
@@ -17,6 +21,8 @@ export function searchGroup(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_组件名称_查询数据',
|
||||
param: '机床流水号=' + num
|
||||
@@ -29,6 +35,8 @@ export function searchRecord1(check1, project, check2, machine, check3, group, c
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: `库存管理_入库记录_采购件_查询数据`,
|
||||
param: `项目流水号_check=${check1}&项目流水号=${project}&机床流水号_check=${check2}&机床流水号=${machine}&组件流水号_check=${check3}&组件流水号=${group}&名称_check=${check4}&名称=${name}&规格_check=${check5}&规格=${spec}&图号或型号_check=${check6}&图号或型号=${model}&入库时间_check=${check7}&入库开始时间=${time1}&入库结束时间=${time2}`,
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
// 初始化机床项目
|
||||
export function initMachineProject() {
|
||||
@@ -6,6 +8,8 @@ export function initMachineProject() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_项目名称_查询数据'
|
||||
}
|
||||
@@ -17,6 +21,8 @@ export function searchGroup(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_组件名称_查询数据',
|
||||
param: '机床流水号=' + num
|
||||
@@ -29,6 +35,8 @@ export function searchRecord(check1, project, check2, machine, check3, group, ch
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: `库存管理_出库记录_查询数据`,
|
||||
param: `项目流水号_check=${check1}&项目流水号=${project}&机床流水号_check=${check2}&机床流水号=${machine}&组件流水号_check=${check3}&组件流水号=${group}&名称_check=${check4}&名称=${name}&规格_check=${check5}&规格=${spec}&图号或型号_check=${check6}&图号或型号=${model}&出库时间_check=${check7}&出库开始时间=${time1}&出库结束时间=${time2}`,
|
||||
|
||||
@@ -1,10 +1,14 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
export function initProject() {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_项目名称_查询数据_按时间排序'
|
||||
}
|
||||
@@ -17,6 +21,8 @@ export function searchmachine(num, check) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_机床名称_查询数据',
|
||||
param: '项目流水号_check=' + check + '=int&项目流水号=' + num + '&机床类型代码_check=0=int&机床类型代码=1=int&机床流水号_check=0'
|
||||
@@ -29,6 +35,8 @@ export function searchgroup(num, pageCurrent, pageSize) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_组件名称_查询数据',
|
||||
param: '机床流水号=' + num
|
||||
@@ -41,6 +49,8 @@ export function searchdata(entryNameValue_check, entryNameValue, machineToolValu
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '自制件出库_查询数据',
|
||||
param: '项目流水号_check=' + entryNameValue_check + '&项目流水号=' + entryNameValue + '&机床流水号_check=' + machineToolValue_check + '&机床流水号=' + machineToolValue + '&组件流水号_check=' + groupNumberValue_check + '&组件流水号=' + groupNumberValue + '&零件图号_check=' + partNumber_check + '&零件图号=' + partNumber,
|
||||
@@ -54,6 +64,8 @@ export function warehousing(processPlanSerialNumber, outgoingQuantity, leader, r
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '自制件出库_循环执行_新',
|
||||
param: '工艺计划流水号组=' + processPlanSerialNumber + '&出库数量组=' + outgoingQuantity + '&考勤编号=' + leader + '&出库备注=' + remarks
|
||||
@@ -65,6 +77,8 @@ export function selectdepartment() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '出库管理_部门查询'
|
||||
}
|
||||
@@ -75,6 +89,8 @@ export function selectleaders(department) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '出库管理_人员查询',
|
||||
param: '考核部门编号=' + department
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
// 机床查询
|
||||
export function getMachines(check, num) {
|
||||
@@ -6,6 +8,8 @@ export function getMachines(check, num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_机床名称_查询数据',
|
||||
param: '项目流水号_check=' + check + '=int&项目流水号=' + num
|
||||
@@ -18,6 +22,8 @@ export function getGroups(machineNumber) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_组件名称_查询数据',
|
||||
param: '机床流水号=' + machineNumber
|
||||
@@ -30,6 +36,8 @@ export function getTable(num1, num2, num3, num4, num5, num6, pageCurrent, pageSi
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_库存管理_基本件库存查询',
|
||||
param: '机床流水号_check=' + num1 + '&机床流水号=' + num2 + '&组件流水号_check=' + num3 + '&组件流水号=' + num4 + '&零件图号_check=' + num5 + '&零件图号=' + num6,
|
||||
@@ -42,6 +50,8 @@ export function getTable1(num1, num2, num3, num4, num5, num6, pageCurrent, pageS
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间生产管理工艺_库存管理_基本件出库记录查询',
|
||||
param: '机床流水号_check=' + num1 + '&机床流水号=' + num2 + '&组件流水号_check=' + num3 + '&组件流水号=' + num4 + '&零件图号_check=' + num5 + '&零件图号=' + num6,
|
||||
|
||||
@@ -1,10 +1,14 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
// 替换单查询
|
||||
export function searchSubstitutedCard(data1, data2, data3, data4) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_替换件_替换单查询',
|
||||
param: '替换单编号_check=' + data1 + '&替换单编号=' + data2 + '&替换件名称_check=' + data3 + '&替换件名称=' + data4
|
||||
@@ -17,6 +21,8 @@ export function SubstitutedCome(data1, data2, data3) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '库存管理_替换件_替换件到货',
|
||||
param: '替换单流水号=' + data1 + '&物料与货位对照流水号=' + data2 + '&替换数量=' + data3
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
// 初始化项目
|
||||
export function initProject() {
|
||||
@@ -6,6 +8,8 @@ export function initProject() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_项目名称_查询数据_按时间排序'
|
||||
}
|
||||
@@ -17,6 +21,8 @@ export function searchmachine(check, num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_机床名称_查询数据',
|
||||
param: '项目流水号_check=' + check + '=int&项目流水号=' + num
|
||||
@@ -29,6 +35,8 @@ export function searchTeam(machineNumber) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: 'PDM_组件名称_查询数据',
|
||||
param: '机床流水号=' + machineNumber
|
||||
@@ -41,6 +49,8 @@ export function searchPurchasePart(pageCurrent, pageSize, project_check, project
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_外购件出库_零件查询',
|
||||
param: '项目流水号_check=' + project_check + '&项目流水号=' + project + '&机床流水号_check=' + machine_check + '&机床流水号=' + machine + '&组件流水号_check=' + group_check + '&组件流水号=' + group,
|
||||
@@ -54,6 +64,8 @@ export function searchSubstituted() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_离线外购件_出库查询'
|
||||
}
|
||||
@@ -65,6 +77,8 @@ export function searchSubstitutedCard() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '库存管理_替换件_替换单查询'
|
||||
}
|
||||
@@ -76,6 +90,8 @@ export function editSubstitutedCard(data1, data2, data3, data4) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '库存管理_替换件_替换单修改',
|
||||
param: '替换单流水号=' + data1 + '&替换单编号=' + data2 + '&替换数量=' + data3 + '&备注=' + data4
|
||||
@@ -89,6 +105,8 @@ export function deleteSubstitutedCard(data1) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '库存管理_替换件_替换单删除',
|
||||
param: '替换单流水号=' + data1
|
||||
@@ -101,6 +119,8 @@ export function addSubstitutepart(data1, data2, data3, data4, data55, data5, dat
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '库存管理_替换件_零件替换',
|
||||
param: '离线合同明细流水号=' + data1 + '&替换件采购合同明细流水号=' + data2 + '&替换单编号=' + data3 + '&替换件名称=' + data4 + '&被替换件货位流水号=' + data55 + '&被替换件名称=' + data5 + '&申请人=' + data6 + '&替换数量=' + data7 + '&备注=' + data8
|
||||
|
||||
Reference in New Issue
Block a user