所有js页日志
This commit is contained in:
@@ -1,10 +1,14 @@
|
||||
import request from '@/utils/request'
|
||||
import state from '@/store'
|
||||
import router from '@/router'
|
||||
|
||||
export function insertInto(num2, num3, num4, num5, num6, num7, num8, num9) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间采购管理_发票结算申请单_增加数据',
|
||||
param: `发票号=${num2}&发票金额=${num3}&供应商流水号=${num4}&已付款项=${num5}&尚欠金额=${num6}&税额=${num7}&是否费用类=${num8}&备注=${num9}`
|
||||
@@ -18,6 +22,8 @@ export function searchSupplier() {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '采购管理_供应商_查询数据_根据条件'
|
||||
}
|
||||
@@ -29,6 +35,8 @@ export function searchTable1(...group) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间采购管理_发票结算申请单_查询数据',
|
||||
param: `发票号_check=${group[0]}&发票号=${group[1]}`,
|
||||
@@ -42,6 +50,8 @@ export function submitEdit(...group) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间采购管理_发票结算申请单_修改数据',
|
||||
param: `发票号=${group[0]}&发票金额=${group[1]}&已付款项=${group[2]}&尚欠金额=${group[3]}&税额=${group[4]}&是否费用类=${group[5]}&备注=${group[6]}&发票结算申请单流水号=${group[7]}`
|
||||
@@ -54,6 +64,8 @@ export function submitDelete(...group) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间采购管理_发票结算申请单_删除数据',
|
||||
param: `发票结算申请单流水号=${group[0]}`
|
||||
@@ -66,6 +78,8 @@ export function submitApply(...group) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间采购管理_发票结算申请单_提交申请',
|
||||
param: `发票结算申请单流水号=${group[0]}&申请人=${group[1]}`
|
||||
@@ -78,6 +92,8 @@ export function searchTable2(num) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间采购管理_发票结算申请单明细_查询数据',
|
||||
param: `发票结算申请单流水号=${num}`
|
||||
@@ -90,6 +106,8 @@ export function searchPurchase(data) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间采购管理_采购合同_查询数据',
|
||||
param: '供应商流水号_check=1&供应商流水号=' + data
|
||||
@@ -102,6 +120,8 @@ export function searchOffline(data) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间采购管理_离线合同_查询数据',
|
||||
param: '供应商流水号_check=1&供应商流水号=' + data
|
||||
@@ -114,6 +134,8 @@ export function searchPurchaseDetail(data) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间采购管理_采购合同明细_查询数据NEW',
|
||||
param: '采购合同流水号=' + data
|
||||
@@ -126,6 +148,8 @@ export function searchPurchaseDetail1(data) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间采购管理_采购合同明细_成组采购_查询数据',
|
||||
param: '采购合同流水号=' + data
|
||||
@@ -138,6 +162,8 @@ export function searchOfflineDetail(data) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '1',
|
||||
name: '车间采购管理_离线合同明细_查询数据',
|
||||
param: '离线合同流水号=' + data
|
||||
@@ -150,6 +176,8 @@ export function addTable2(data, group1, group2, type) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间采购管理_发票结算申请单明细_增加数据',
|
||||
param: '发票结算申请单流水号=' + data + '&合同明细流水号组=' + group1 + '&到票数量组=' + group2 + '&合同类型=' + type
|
||||
@@ -162,6 +190,8 @@ export function deleteTable2(data) {
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
UserID: state.state.user.id,
|
||||
ModularID: router.currentRoute.path,
|
||||
type: '2',
|
||||
name: '车间采购管理_发票结算申请单明细_删除数据',
|
||||
param: '发票结算申请单明细流水号=' + data
|
||||
|
||||
Reference in New Issue
Block a user