Browse Source

修改库存转移

wms3.0_pda
lijuncheng 11 months ago
parent
commit
0ce0067b37
  1. 2
      pages/inventoryMove/coms/comInventoryDetailCard.vue
  2. 2
      pages/inventoryMove/coms/comMove.vue
  3. 5
      pages/inventoryMove/coms/comMoveJob.vue
  4. 3
      pages/inventoryMove/job/inventoryMoveDetail.vue

2
pages/inventoryMove/coms/comInventoryDetailCard.vue

@ -124,7 +124,7 @@
}); });
}, },
confirm(qty) { confirm(qty) {
this.editItem.qty = qty; this.editItem.handleQty = qty;
this.$emit('updateData') this.$emit('updateData')
}, },
showLocation(item) { showLocation(item) {

2
pages/inventoryMove/coms/comMove.vue

@ -147,7 +147,7 @@
methods: { methods: {
updateTitle() { updateTitle() {
if (this.businessTypeCode == "InventoryMove") { if (this.businessTypeCode == "Move") {
this.title = "库存转移记录"; this.title = "库存转移记录";
this.toInventoryStatus = "OK" this.toInventoryStatus = "OK"
} else if (this.businessTypeCode == "HoldToOk") { } else if (this.businessTypeCode == "HoldToOk") {

5
pages/inventoryMove/coms/comMoveJob.vue

@ -80,6 +80,7 @@
status: '1,2', // status: '1,2', //
detailOptions: [], detailOptions: [],
detailGiveupOptions: [], detailGiveupOptions: [],
titleName:""
}; };
}, },
@ -125,7 +126,7 @@
} else if (this.businessTypeCode == "ScrapToHold") { } else if (this.businessTypeCode == "ScrapToHold") {
name = "报废转隔离"; name = "报废转隔离";
} }
this.titleName =name;
if (this.totalCount > 0) { if (this.totalCount > 0) {
title = name + "(" + this.totalCount + ")"; title = name + "(" + this.totalCount + ")";
} else { } else {
@ -204,7 +205,7 @@
openJobDetail(item) { openJobDetail(item) {
uni.navigateTo({ uni.navigateTo({
url: './inventoryMoveDetail?id=' + item.id + '&status=' + item.status url: './inventoryMoveDetail?id=' + item.id + '&status=' + item.status+'&titleName=' + this.titleName
}); });
}, },

3
pages/inventoryMove/job/inventoryMoveDetail.vue

@ -115,6 +115,9 @@
this.getDetail(); this.getDetail();
} }
} }
uni.setNavigationBarTitle({
title: option.titleName+"详细"
})
}, },
// //
onNavigationBarButtonTap(e) { onNavigationBarButtonTap(e) {

Loading…
Cancel
Save