修改
This commit is contained in:
@@ -32,9 +32,17 @@ export function upload(data) {
|
||||
})
|
||||
}
|
||||
|
||||
export function upload2(data) {
|
||||
export function uploadSAP(data) {
|
||||
return request({
|
||||
url: '/api/inandoutreturn/upload2',
|
||||
url: '/api/inandoutreturn/uploadSAP',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function uploadMES(data) {
|
||||
return request({
|
||||
url: '/api/inandoutreturn/uploadSAP',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
@@ -56,4 +64,4 @@ export function getType(data) {
|
||||
})
|
||||
}
|
||||
|
||||
export default { add, edit, del, upload, upload2, disupload, getType }
|
||||
export default { add, edit, del, upload, uploadMES, uploadSAP, disupload, getType }
|
||||
|
||||
@@ -380,7 +380,7 @@ export default {
|
||||
this.fullscreenLoading = true
|
||||
const data = {}
|
||||
data.rows = res
|
||||
inandoutreturn.disupload(data).then(res => {
|
||||
inandoutreturn.uploadSAP(data).then(res => {
|
||||
this.fullscreenLoading = false
|
||||
this.crud.notify('操作成功!', CRUD.NOTIFICATION_TYPE.SUCCESS)
|
||||
this.crud.toQuery()
|
||||
@@ -397,7 +397,7 @@ export default {
|
||||
this.fullscreenLoading = true
|
||||
const data = {}
|
||||
data.rows = res
|
||||
inandoutreturn.disupload(data).then(res => {
|
||||
inandoutreturn.uploadMES(data).then(res => {
|
||||
this.fullscreenLoading = false
|
||||
this.crud.notify('操作成功!', CRUD.NOTIFICATION_TYPE.SUCCESS)
|
||||
this.crud.toQuery()
|
||||
|
||||
Reference in New Issue
Block a user