出库-添加批量出库功能
This commit is contained in:
@@ -50,6 +50,7 @@ const request = config => {
|
||||
dataType: 'json'
|
||||
}).then(response => {
|
||||
let [error, res] = response
|
||||
console.log(response);
|
||||
// console.log('token:','Bearer ' + getToAccess-Control-Allow-Originken());
|
||||
// console.log('request:',storageBaseUrl + config.url,response);
|
||||
if (error) {
|
||||
@@ -73,11 +74,11 @@ const request = config => {
|
||||
reject('无效的会话,或者会话已过期,请重新登录。')
|
||||
} else if (code === 500) {
|
||||
// toast(msg)
|
||||
showConfirm(message)
|
||||
showConfirm(msg)
|
||||
reject('500')
|
||||
} else if (code !== 200) {
|
||||
// toast(msg)
|
||||
showConfirm(message)
|
||||
showConfirm(msg)
|
||||
reject(code)
|
||||
}
|
||||
resolve(res.data)
|
||||
|
||||
Reference in New Issue
Block a user