Browse Source

修改任务提交后跳转

wms3.0_pda
lijuncheng 12 months ago
parent
commit
1edeaff726
  1. 17
      pages/count/job/countDetail.vue
  2. 20
      pages/count/record/countRecord.vue
  3. 6
      pages/customerReturn/job/returnDetail.vue
  4. 8
      pages/deliver/job/deliverDetail.vue
  5. 16
      pages/inventoryMove/job/inventoryMoveDetail.vue
  6. 4
      pages/issue-按批次推荐/job/issueDetail.vue
  7. 9
      pages/issue/job/issueDetail.vue
  8. 2
      pages/issue/job/issueReceiptJob.vue
  9. 8
      pages/productDismantle/job/productDismantleDetail.vue
  10. 5
      pages/productPutaway/job/productPutawayDetail.vue
  11. 7
      pages/productReceipt/job/productReceiptDetail.vue
  12. 8
      pages/productionReceipt/job/productionReceiptDetail.vue
  13. 10
      pages/productionReturn/coms/comReturn.vue
  14. 6
      pages/productionReturn/job/returnDetail.vue
  15. 9
      pages/repleinsh/job/repleinshDetail.vue
  16. 16
      pages/scrap/job/scrapJobDetail.vue
  17. 16
      pages/transfer/job/issueDetail.vue
  18. 16
      pages/transfer/job/receiptDetail.vue
  19. 18
      pages/transfer/job/transferDetail.vue
  20. 16
      pages/unPlanned/job/issueJobDetail.vue
  21. 19
      pages/unPlanned/job/receiptJobDetail.vue

17
pages/count/job/countDetail.vue

@ -47,6 +47,7 @@
import { import {
goHome, goHome,
navigateBack,
getPackingNumberAndBatch getPackingNumberAndBatch
} from '@/common/basic.js'; } from '@/common/basic.js';
@ -562,15 +563,6 @@
this.scanPopupGetFocus(); this.scanPopupGetFocus();
}, },
closeCommitMessage() {
setTimeout(() => {
uni.navigateTo({
url: './receipt'
})
})
//
uni.hideLoading();
},
editItem(item) { editItem(item) {
var detail = this.detailSource.find(r => r.itemCode == item.record.itemCode); var detail = this.detailSource.find(r => r.itemCode == item.record.itemCode);
this.$refs.CountQtyEdit.openEditPopup(item.record, this.$refs.CountQtyEdit.openEditPopup(item.record,
@ -579,13 +571,8 @@
showCommitSuccessMessage(hint) { showCommitSuccessMessage(hint) {
this.$refs.comMessage.showSuccessMessage(hint, res => { this.$refs.comMessage.showSuccessMessage(hint, res => {
navigateBack(1);
})
setTimeout(() => {
uni.navigateTo({
url: './receiptJob'
}) })
}, 3000)
} }
} }

20
pages/count/record/countRecord.vue

@ -47,7 +47,8 @@
<script> <script>
import { import {
goHome, goHome,
getDataSource getDataSource,
navigateBack
} from '@/common/basic.js'; } from '@/common/basic.js';
import { import {
@ -497,25 +498,10 @@
this.scanPopupGetFocus(); this.scanPopupGetFocus();
}, },
closeCommitMessage() {
setTimeout(() => {
uni.navigateTo({
url: './receipt'
})
})
//
uni.hideLoading();
},
showCommitSuccessMessage(hint) { showCommitSuccessMessage(hint) {
this.$refs.comMessage.showSuccessMessage(hint, res => { this.$refs.comMessage.showSuccessMessage(hint, res => {
navigateBack(1)
})
setTimeout(() => {
uni.navigateTo({
url: './receiptJob'
}) })
}, 3000)
}, },
} }
} }

6
pages/customerReturn/job/returnDetail.vue

@ -50,7 +50,7 @@
} from '@/api/request2.js'; } from '@/api/request2.js';
import { import {
goHome, goHome,
getCurrDateTime, navigateBack,
getPackingNumberAndBatch, getPackingNumberAndBatch,
getInventoryStatusName, getInventoryStatusName,
getDirectoryItemArray getDirectoryItemArray
@ -478,9 +478,7 @@
showCommitSuccessMessage(hint) { showCommitSuccessMessage(hint) {
this.$refs.comMessage.showSuccessMessage(hint, res => { this.$refs.comMessage.showSuccessMessage(hint, res => {
uni.navigateTo({ navigateBack(1)
url: './returnJob'
})
}) })
}, },
} }

8
pages/deliver/job/deliverDetail.vue

@ -57,6 +57,7 @@
import { import {
goHome, goHome,
updateTitle, updateTitle,
navigateBack,
getRemoveOption, getRemoveOption,
getCurrDateTime, getCurrDateTime,
getDirectoryItemArray, getDirectoryItemArray,
@ -374,9 +375,7 @@
showCommitSuccessMessage(hint) { showCommitSuccessMessage(hint) {
this.$refs.comMessage.showSuccessMessage(hint, res => { this.$refs.comMessage.showSuccessMessage(hint, res => {
uni.navigateTo({ navigateBack(1)
url: './deliverJob'
})
}) })
}, },
@ -384,9 +383,6 @@
this.$refs.comMessage.showRescanMessage(message); this.$refs.comMessage.showRescanMessage(message);
}, },
closeCommitMessage() {
this.openScanPopup();
},
afterCloseMessage() { afterCloseMessage() {
this.scanPopupGetFocus(); this.scanPopupGetFocus();

16
pages/inventoryMove/job/inventoryMoveDetail.vue

@ -50,6 +50,7 @@
import { import {
goHome, goHome,
updateTitle, updateTitle,
navigateBack,
getCurrDateTime, getCurrDateTime,
getPackingNumberAndBatch, getPackingNumberAndBatch,
getInventoryStatusName getInventoryStatusName
@ -414,22 +415,9 @@
this.scanPopupGetFocus(); this.scanPopupGetFocus();
}, },
closeCommitMessage() {
setTimeout(() => {
uni.navigateTo({
url: './inventoryMoveJob'
})
})
//
uni.hideLoading();
},
showCommitSuccessMessage(hint) { showCommitSuccessMessage(hint) {
this.$refs.comMessage.showSuccessMessage(hint, res => { this.$refs.comMessage.showSuccessMessage(hint, res => {
uni.navigateTo({ navigateBack(1)
url: './inventoryMoveJob'
})
}) })
}, },

4
pages/issue-按批次推荐/job/issueDetail.vue

@ -628,10 +628,6 @@
this.$refs.comMessage.showRescanMessage(message); this.$refs.comMessage.showRescanMessage(message);
}, },
closeCommitMessage() {
this.openScanPopup();
},
showScanMessage(message) { showScanMessage(message) {
this.$refs.comMessage.showScanMessage(message); this.$refs.comMessage.showScanMessage(message);
}, },

9
pages/issue/job/issueDetail.vue

@ -40,6 +40,7 @@
import { import {
goHome, goHome,
updateTitle, updateTitle,
navigateBack,
getRemoveOption, getRemoveOption,
getISODateTime, getISODateTime,
getCurrDateTime, getCurrDateTime,
@ -393,9 +394,7 @@
showCommitSuccessMessage(hint) { showCommitSuccessMessage(hint) {
this.$refs.comMessage.showSuccessMessage(hint, res => { this.$refs.comMessage.showSuccessMessage(hint, res => {
uni.navigateTo({ navigateBack(1)
url: './issueJob'
})
}) })
}, },
@ -403,10 +402,6 @@
this.$refs.comMessage.showRescanMessage(message); this.$refs.comMessage.showRescanMessage(message);
}, },
closeCommitMessage() {
this.openScanPopup();
},
afterCloseMessage() { afterCloseMessage() {
this.scanPopupGetFocus(); this.scanPopupGetFocus();
}, },

2
pages/issue/job/issueReceiptJob.vue

@ -33,7 +33,7 @@
import { import {
goHome, goHome,
updateTitle updateTitle,
} from '@/common/basic.js'; } from '@/common/basic.js';
import { import {

8
pages/productDismantle/job/productDismantleDetail.vue

@ -54,6 +54,7 @@
import { import {
goHome, goHome,
getCurrDateTime, getCurrDateTime,
navigateBack,
getPackingNumberAndBatch, getPackingNumberAndBatch,
getInventoryStatusName, getInventoryStatusName,
} from '@/common/basic.js'; } from '@/common/basic.js';
@ -483,14 +484,9 @@
}, },
showCommitSuccessMessage(hint) { showCommitSuccessMessage(hint) {
setTimeout(() => {
this.$refs.comMessage.showSuccessMessage(hint, res => { this.$refs.comMessage.showSuccessMessage(hint, res => {
navigateBack(1)
})
uni.navigateTo({
url: './putawayJob'
}) })
}, 3000)
}, },
} }
} }

5
pages/productPutaway/job/productPutawayDetail.vue

@ -53,6 +53,7 @@
import { import {
goHome, goHome,
getCurrDateTime, getCurrDateTime,
navigateBack,
getPackingNumberAndBatch, getPackingNumberAndBatch,
getInventoryStatusName, getInventoryStatusName,
} from '@/common/basic.js'; } from '@/common/basic.js';
@ -469,9 +470,7 @@
showCommitSuccessMessage(hint) { showCommitSuccessMessage(hint) {
this.$refs.comMessage.showSuccessMessage(hint, res => { this.$refs.comMessage.showSuccessMessage(hint, res => {
uni.navigateTo({ navigateBack(1);
url: './putawayJob'
})
}) })
}, },
} }

7
pages/productReceipt/job/productReceiptDetail.vue

@ -14,8 +14,6 @@
</scroll-view> </scroll-view>
</view> </view>
<view class="page-footer"> <view class="page-footer">
<view class="uni-flex u-col-center space-between padding_10" <view class="uni-flex u-col-center space-between padding_10"
style="background-color:ghostwhite; width: 100%; "> style="background-color:ghostwhite; width: 100%; ">
@ -50,6 +48,7 @@
import { import {
goHome, goHome,
getCurrDateTime, getCurrDateTime,
navigateBack,
getPackingNumberAndBatch, getPackingNumberAndBatch,
} from '@/common/basic.js'; } from '@/common/basic.js';
@ -403,9 +402,7 @@
showCommitSuccessMessage(hint) { showCommitSuccessMessage(hint) {
this.$refs.comMessage.showSuccessMessage(hint, res => { this.$refs.comMessage.showSuccessMessage(hint, res => {
uni.navigateTo({ navigateBack(1)
url: './productReceiptJob'
})
}) })
}, },
} }

8
pages/productionReceipt/job/productionReceiptDetail.vue

@ -53,6 +53,7 @@
import { import {
goHome, goHome,
updateTitle, updateTitle,
navigateBack,
getCurrDateTime, getCurrDateTime,
getPackingNumberAndBatch, getPackingNumberAndBatch,
getInventoryStatusName getInventoryStatusName
@ -476,14 +477,9 @@
}, },
showCommitSuccessMessage(hint) { showCommitSuccessMessage(hint) {
setTimeout(() => {
this.$refs.comMessage.showSuccessMessage(hint, res => { this.$refs.comMessage.showSuccessMessage(hint, res => {
navigateBack(1)
})
uni.navigateTo({
url: './putawayJob'
}) })
}, 3000)
}, },
} }
} }

10
pages/productionReturn/coms/comReturn.vue

@ -434,16 +434,6 @@
}, },
closeCommitMessage() {
setTimeout(() => {
uni.navigateTo({
url: './receipt'
})
})
//
uni.hideLoading();
},
/** /**
* BlobUrl转blob数据 * BlobUrl转blob数据
* @param {Object} url blob URL * @param {Object} url blob URL

6
pages/productionReturn/job/returnDetail.vue

@ -45,7 +45,7 @@
} from '@/api/request2.js'; } from '@/api/request2.js';
import { import {
goHome, goHome,
getCurrDateTime, navigateBack,
getPackingNumberAndBatch getPackingNumberAndBatch
} from '@/common/basic.js'; } from '@/common/basic.js';
import { import {
@ -462,9 +462,7 @@
showCommitSuccessMessage(hint) { showCommitSuccessMessage(hint) {
this.$refs.comMessage.showSuccessMessage(hint, res => { this.$refs.comMessage.showSuccessMessage(hint, res => {
uni.navigateTo({ navigateBack(1)
url: './returnJob'
})
}) })
}, },
} }

9
pages/repleinsh/job/repleinshDetail.vue

@ -41,6 +41,7 @@
import { import {
goHome, goHome,
updateTitle, updateTitle,
navigateBack,
getRemoveOption, getRemoveOption,
getCurrDateTime, getCurrDateTime,
getDirectoryItemArray, getDirectoryItemArray,
@ -370,9 +371,7 @@
showCommitSuccessMessage(hint) { showCommitSuccessMessage(hint) {
this.$refs.comMessage.showSuccessMessage(hint, res => { this.$refs.comMessage.showSuccessMessage(hint, res => {
uni.navigateTo({ navigateBack(1)
url: './repleinshJob'
})
}) })
}, },
@ -380,10 +379,6 @@
this.$refs.comMessage.showRescanMessage(message); this.$refs.comMessage.showRescanMessage(message);
}, },
closeCommitMessage() {
this.openScanPopup();
},
afterCloseMessage() { afterCloseMessage() {
this.scanPopupGetFocus(); this.scanPopupGetFocus();
}, },

16
pages/scrap/job/scrapJobDetail.vue

@ -39,7 +39,7 @@
} from '@/api/request2.js'; } from '@/api/request2.js';
import { import {
goHome, goHome,
getCurrDateTime, navigateBack,
getPackingNumberAndBatch, getPackingNumberAndBatch,
getDirectoryItemArray, getDirectoryItemArray,
getInventoryStatusName, getInventoryStatusName,
@ -378,21 +378,9 @@
this.$refs.scanPopup.losefocus(); this.$refs.scanPopup.losefocus();
}, },
closeCommitMessage() {
setTimeout(() => {
uni.navigateTo({
url: './scrapJob'
})
})
//
uni.hideLoading();
},
showCommitSuccessMessage(hint) { showCommitSuccessMessage(hint) {
this.$refs.comMessage.showSuccessMessage(hint, res => { this.$refs.comMessage.showSuccessMessage(hint, res => {
uni.navigateTo({ navigateBack(1)
url: './scrapJob'
})
}) })
}, },
} }

16
pages/transfer/job/issueDetail.vue

@ -48,7 +48,7 @@
} from '@/api/request2.js'; } from '@/api/request2.js';
import { import {
goHome, goHome,
getCurrDateTime, navigateBack,
getPackingNumberAndBatch, getPackingNumberAndBatch,
getInventoryStatusName, getInventoryStatusName,
getDirectoryItemArray getDirectoryItemArray
@ -504,21 +504,9 @@
this.scanPopupGetFocus(); this.scanPopupGetFocus();
}, },
closeCommitMessage() {
setTimeout(() => {
uni.navigateTo({
url: './receipt'
})
})
//
uni.hideLoading();
},
showCommitSuccessMessage(hint) { showCommitSuccessMessage(hint) {
this.$refs.comMessage.showSuccessMessage(hint, res => { this.$refs.comMessage.showSuccessMessage(hint, res => {
uni.navigateTo({ navigateBack(1)
url: './issueJob'
})
}) })
}, },

16
pages/transfer/job/receiptDetail.vue

@ -45,7 +45,7 @@
} from '@/api/request2.js'; } from '@/api/request2.js';
import { import {
goHome, goHome,
getCurrDateTime, navigateBack,
getPackingNumberAndBatch, getPackingNumberAndBatch,
getInventoryStatusName, getInventoryStatusName,
getDirectoryItemArray getDirectoryItemArray
@ -480,21 +480,9 @@
this.scanPopupGetFocus(); this.scanPopupGetFocus();
}, },
closeCommitMessage() {
setTimeout(() => {
uni.navigateTo({
url: './receipt'
})
})
//
uni.hideLoading();
},
showCommitSuccessMessage(hint) { showCommitSuccessMessage(hint) {
this.$refs.comMessage.showSuccessMessage(hint, res => { this.$refs.comMessage.showSuccessMessage(hint, res => {
uni.navigateTo({ navigateBack(1)
url: './receiptJob'
})
}) })
}, },

18
pages/transfer/job/transferDetail.vue

@ -42,6 +42,7 @@
import { import {
goHome, goHome,
getCurrDateTime, getCurrDateTime,
navigateBack,
getPackingNumberAndBatch, getPackingNumberAndBatch,
getInventoryStatusName getInventoryStatusName
} from '@/common/basic.js'; } from '@/common/basic.js';
@ -523,16 +524,6 @@
this.scanPopupGetFocus(); this.scanPopupGetFocus();
}, },
closeCommitMessage() {
setTimeout(() => {
uni.navigateTo({
url: './receipt'
})
})
//
uni.hideLoading();
},
/** /**
* BlobUrl转blob数据 * BlobUrl转blob数据
* @param {Object} url blob URL * @param {Object} url blob URL
@ -553,13 +544,8 @@
showCommitSuccessMessage(hint) { showCommitSuccessMessage(hint) {
this.$refs.comMessage.showSuccessMessage(hint, res => { this.$refs.comMessage.showSuccessMessage(hint, res => {
navigateBack(1)
})
setTimeout(() => {
uni.navigateTo({
url: './receiptJob'
}) })
}, 3000)
}, },
} }

16
pages/unPlanned/job/issueJobDetail.vue

@ -44,7 +44,7 @@
} from '@/api/request2.js'; } from '@/api/request2.js';
import { import {
goHome, goHome,
getCurrDateTime, navigateBack,
getPackingNumberAndBatch, getPackingNumberAndBatch,
getDirectoryItemArray, getDirectoryItemArray,
getInventoryStatusName, getInventoryStatusName,
@ -380,21 +380,9 @@
}, },
closeCommitMessage() {
setTimeout(() => {
uni.navigateTo({
url: './issueJob'
})
})
//
uni.hideLoading();
},
showCommitSuccessMessage(hint) { showCommitSuccessMessage(hint) {
this.$refs.comMessage.showSuccessMessage(hint, res => { this.$refs.comMessage.showSuccessMessage(hint, res => {
uni.navigateTo({ navigateBack(1)
url: './issueJob'
})
}) })
}, },
} }

19
pages/unPlanned/job/receiptJobDetail.vue

@ -46,7 +46,7 @@
} from '@/api/request2.js'; } from '@/api/request2.js';
import { import {
goHome, goHome,
getCurrDateTime, navigateBack,
getPackingNumberAndBatch, getPackingNumberAndBatch,
getDirectoryItemArray getDirectoryItemArray
} from '@/common/basic.js'; } from '@/common/basic.js';
@ -379,25 +379,10 @@
this.$refs.scanPopup.losefocus(); this.$refs.scanPopup.losefocus();
}, },
closeCommitMessage() {
setTimeout(() => {
uni.navigateTo({
url: './receiptJob'
})
})
//
uni.hideLoading();
},
showCommitSuccessMessage(hint) { showCommitSuccessMessage(hint) {
this.$refs.comMessage.showSuccessMessage(hint, res => { this.$refs.comMessage.showSuccessMessage(hint, res => {
navigateBack(1)
})
setTimeout(() => {
uni.navigateTo({
url: './receiptJob'
}) })
}, 3000)
}, },
} }
} }

Loading…
Cancel
Save