Browse Source

修改生产退料申请详情显示

wms3.0_pda
lijuncheng 11 months ago
parent
commit
2d70008921
  1. 2
      common/detail.js
  2. 10
      pages/productionReturn/request/requestDetail.vue

2
common/detail.js

@ -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); //
item.subList.push(newDetail);
}

10
pages/productionReturn/request/requestDetail.vue

@ -27,6 +27,7 @@
import {
goHome,
updateTitle
} from '@/common/basic.js';
import {
@ -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) {

Loading…
Cancel
Save