@ -9,7 +9,7 @@ export function getDataSource(subList) {
item.subList.push(newDetail);
items.push(item)
} else {
item.qty += detail.qty
item.qty +=Number(detail.qty)
let newDetail = createDetailInfo(detail); //
}
@ -27,6 +27,7 @@
import {
goHome,
updateTitle
} from '@/common/basic.js';
@ -57,7 +58,16 @@
},
onLoad(option) {
this.id = option.id;
var businessType = option.businessType;
var title="生产退料申请详情"
if (businessType == 'ReturnToStore') {
title = "生产合格退料申请详情"
} else if (this.businessType == 'ReturnToHold') {
title = "生产隔离退料申请详情"
this.getDetail();
updateTitle(title)
//返回首页
onNavigationBarButtonTap(e) {
@ -288,6 +288,7 @@
if (itemDetail == undefined) {
this.showErrorMessage("箱码【" + packingNumber + "】,批次【" + batch + "】库位【" + result
.fromLocationCode + "】不在列表中")
if (itemDetail.scaned) {
.fromLocationCode + "】已经扫描")