|
@ -139,9 +139,11 @@ |
|
|
}; |
|
|
}; |
|
|
}, |
|
|
}, |
|
|
onLoad(option) { |
|
|
onLoad(option) { |
|
|
|
|
|
setTimeout(res=>{ |
|
|
uni.setNavigationBarTitle({ |
|
|
uni.setNavigationBarTitle({ |
|
|
title: option.title+'详情' |
|
|
title: option.title+'详情' |
|
|
}) |
|
|
}) |
|
|
|
|
|
},50) |
|
|
|
|
|
|
|
|
this.id = option.id; |
|
|
this.id = option.id; |
|
|
this.scanedPackingNumber = option.scaned || ''; |
|
|
this.scanedPackingNumber = option.scaned || ''; |
|
@ -419,7 +421,7 @@ |
|
|
ccProductReceiptJobsubmit(params).then(res => { |
|
|
ccProductReceiptJobsubmit(params).then(res => { |
|
|
uni.hideLoading() |
|
|
uni.hideLoading() |
|
|
if (res.data) { |
|
|
if (res.data) { |
|
|
this.showCommitSuccessMessage("提交成功<br>生成预生产收货记录<br>" + res.data, ) |
|
|
this.showCommitSuccessMessage("提交成功<br>生成装配收货记录<br>" + res.data ) |
|
|
} else { |
|
|
} else { |
|
|
this.showErrorMessage("提交失败[" + res.msg + "]") |
|
|
this.showErrorMessage("提交失败[" + res.msg + "]") |
|
|
} |
|
|
} |
|
|