所有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 searchInventoryNum(pageCurrent, pageSize, check1, val1, check2, val2, check3, val3, check4, state1) {
|
||||
@@ -6,6 +8,8 @@ export function searchInventoryNum(pageCurrent, pageSize, check1, val1, check2,
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '采购管理_离线合同_物料余量_查询数据',
|
||||
param: `物料名称_check=${check1}&物料名称=${val1}&物料规格_check=${check2}&物料规格=${val2}&物料型号_check=${check3}&物料型号=${val3}&库存状态_check=${check4}&库存状态=${state1}`,
|
||||
@@ -19,6 +23,8 @@ export function submitaddpurchasingdetailsform(name, applicant) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '采购管理_仓库采购_表单_新增',
|
||||
param: `表单名称=${name}&申请人=${applicant}`
|
||||
@@ -31,6 +37,8 @@ export function searchpurchasingDetailsForm(pageCurrent, pageSize, name) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '采购管理_仓库采购_表单_查询',
|
||||
param: `表单名称=${name}`,
|
||||
@@ -44,6 +52,8 @@ export function confirmEditpurchasingDetailsForm(name, id) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '采购管理_仓库采购_表单_编辑',
|
||||
param: `表单名称=${name}&id=${id}`
|
||||
@@ -56,6 +66,8 @@ export function openDeletepurchasingDetailsForm(id) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '采购管理_仓库采购_表单_删除',
|
||||
param: `id=${id}`
|
||||
@@ -68,6 +80,8 @@ export function addmateriel(formNumber, materielGroup) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '采购管理_仓库采购_表单明细_增加数据',
|
||||
param: `表单流水号=${formNumber}&物料流水号组=${materielGroup}`
|
||||
@@ -80,6 +94,8 @@ export function searchtable2(formNumber) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '采购管理_仓库采购_表单明细_查询数据',
|
||||
param: `表单流水号=${formNumber}`
|
||||
@@ -92,6 +108,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]}`
|
||||
@@ -103,6 +121,8 @@ export function updateNumber(...params) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '采购管理_仓库采购_表单明细_编辑数据',
|
||||
param: `id=${params[0]}&数量=${params[1]}&备注=${params[2]}`
|
||||
@@ -114,6 +134,8 @@ export function getperson(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '3',
|
||||
name: 'select * from dbo.人事档案管理_人员名单 inner join dbo.菜单系统模块_人员与角色 ' +
|
||||
'on 人事档案管理_人员名单.人员编号=菜单系统模块_人员与角色.人员编号 ' +
|
||||
@@ -126,6 +148,8 @@ export function tiaozheng(formNumber, PersonValue) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '采购管理_仓库采购_表单_采购分配',
|
||||
param: `表单流水号=${formNumber}&采购员编号=${PersonValue}`
|
||||
@@ -137,6 +161,8 @@ export function deletematerial(id) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '采购管理_仓库采购_表单明细_删除',
|
||||
param: `id=${id}`
|
||||
|
||||
Reference in New Issue
Block a user