|
@ -401,7 +401,7 @@ const buttonTableClick = async (val, row) => { |
|
|
await PreparetoissueMainApi.generateIssueRequest(row.number).then((res) => { |
|
|
await PreparetoissueMainApi.generateIssueRequest(row.number).then((res) => { |
|
|
console.log('返回数据',res) |
|
|
console.log('返回数据',res) |
|
|
if (res.errorCount > 0) { |
|
|
if (res.errorCount > 0) { |
|
|
message.confirm('存在物料库存不足,差u你感觉爱你失败。同时自动下载错误数据表格,一个物料显示一行').then(() => { |
|
|
message.confirm('存在物料库存不足,创建失败。').then(() => { |
|
|
window.open( |
|
|
window.open( |
|
|
getBaseUrl() + '/admin-api' + res.errorFile, |
|
|
getBaseUrl() + '/admin-api' + res.errorFile, |
|
|
'222' |
|
|
'222' |
|
|