niexiting 11 months ago
parent
commit
033ba7aef3
  1. 2
      common/detail.js
  2. 10
      pages/productionReturn/request/requestDetail.vue
  3. 1
      pages/putaway/job/putawayDetail.vue

2
common/detail.js

@ -9,7 +9,7 @@ export function getDataSource(subList) {
item.subList.push(newDetail); item.subList.push(newDetail);
items.push(item) items.push(item)
} else { } else {
item.qty += detail.qty item.qty +=Number(detail.qty)
let newDetail = createDetailInfo(detail); // let newDetail = createDetailInfo(detail); //
item.subList.push(newDetail); item.subList.push(newDetail);
} }

10
pages/productionReturn/request/requestDetail.vue

@ -27,6 +27,7 @@
import { import {
goHome, goHome,
updateTitle
} from '@/common/basic.js'; } from '@/common/basic.js';
import { import {
@ -57,7 +58,16 @@
}, },
onLoad(option) { onLoad(option) {
this.id = option.id; this.id = option.id;
var businessType = option.businessType;
var title="生产退料申请详情"
if (businessType == 'ReturnToStore') {
title = "生产合格退料申请详情"
} else if (this.businessType == 'ReturnToHold') {
title = "生产隔离退料申请详情"
}
this.getDetail(); this.getDetail();
updateTitle(title)
}, },
// //
onNavigationBarButtonTap(e) { onNavigationBarButtonTap(e) {

1
pages/putaway/job/putawayDetail.vue

@ -288,6 +288,7 @@
if (itemDetail == undefined) { if (itemDetail == undefined) {
this.showErrorMessage("箱码【" + packingNumber + "】,批次【" + batch + "】库位【" + result this.showErrorMessage("箱码【" + packingNumber + "】,批次【" + batch + "】库位【" + result
.fromLocationCode + "】不在列表中") .fromLocationCode + "】不在列表中")
} else {
if (itemDetail.scaned) { if (itemDetail.scaned) {
this.showErrorMessage("箱码【" + packingNumber + "】,批次【" + batch + "】库位【" + result this.showErrorMessage("箱码【" + packingNumber + "】,批次【" + batch + "】库位【" + result
.fromLocationCode + "】已经扫描") .fromLocationCode + "】已经扫描")

Loading…
Cancel
Save