|
|
@ -273,7 +273,9 @@ import { nextTick } from 'vue'; |
|
|
|
console.log(JSON.stringify(params)) |
|
|
|
|
|
|
|
let list = [] |
|
|
|
try{ |
|
|
|
var planData = await planReceiptSubmit(params) |
|
|
|
console.log('planData',planData) |
|
|
|
if (planData.data) { |
|
|
|
|
|
|
|
planData.data.forEach(item => { |
|
|
@ -298,6 +300,17 @@ import { nextTick } from 'vue'; |
|
|
|
} else { |
|
|
|
throw new Error("提交失败") |
|
|
|
} |
|
|
|
}catch(error){ |
|
|
|
console.log('异常',error) |
|
|
|
if(error.indexOf('请返回开工阶段')>-1){ |
|
|
|
uni.hideLoading() |
|
|
|
this.showErrorMessage('计划已完成') |
|
|
|
this.clearData() |
|
|
|
this.openFg(); |
|
|
|
return |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
//装配收货记录 生成后 创建 制品上架申请 |
|
|
|
let createProductputawaySwitch = getSwitchInfoByCode( |
|
|
|