From 5ea1751c903ab34d8e50fb84ffde9266fcb299e8 Mon Sep 17 00:00:00 2001 From: lijuncheng Date: Thu, 7 Nov 2024 17:03:47 +0800 Subject: [PATCH] =?UTF-8?q?YT-680=20=E4=BF=AE=E6=94=B9=E7=9B=B4=E6=8E=A5?= =?UTF-8?q?=E5=8F=91=E6=96=99=E6=8C=89=E6=89=B9=E6=AC=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mycomponents/query/fifoQuery.vue | 297 ++++++++++++++++++ src/pages/issue/record/directIssueByBatch.vue | 19 +- 2 files changed, 308 insertions(+), 8 deletions(-) create mode 100644 src/mycomponents/query/fifoQuery.vue diff --git a/src/mycomponents/query/fifoQuery.vue b/src/mycomponents/query/fifoQuery.vue new file mode 100644 index 00000000..8e19f4e5 --- /dev/null +++ b/src/mycomponents/query/fifoQuery.vue @@ -0,0 +1,297 @@ + + + + + \ No newline at end of file diff --git a/src/pages/issue/record/directIssueByBatch.vue b/src/pages/issue/record/directIssueByBatch.vue index 9457e8aa..2c8a1ab0 100644 --- a/src/pages/issue/record/directIssueByBatch.vue +++ b/src/pages/issue/record/directIssueByBatch.vue @@ -47,7 +47,8 @@ - + + @@ -62,7 +63,8 @@ import { goHome, getPackingNumberAndBatchByList, - deepCopyData + deepCopyData, + getSwitchInfoByCode } from '@/common/basic.js'; import { @@ -101,8 +103,8 @@ import recordDetailCard from '@/mycomponents/record/recordDetailCard.vue' import balanceSelect from '@/mycomponents/balance/balanceSelect.vue' import winComScanBalance from '@/mycomponents/scan/winComScanBalance.vue' - import balanceQuery from '@/mycomponents/query/balanceQuery.vue' - + import fifoQuery from '@/mycomponents/query/fifoQuery.vue' + export default { components: { @@ -116,7 +118,7 @@ recordDetailCard, balanceSelect, winComScanBalance, - balanceQuery + fifoQuery }, data() { return { @@ -139,7 +141,8 @@ positionInfo: "请选择生产线", resultData: {}, itemCode: "", - managementType: '' + managementType: '', + fifoSwitch:false }; }, onLoad(option) { @@ -148,7 +151,7 @@ }) this.clearData(); this.getBusinessType() - + this.fifoSwitch = getSwitchInfoByCode("directIssueFifoSwitch") // if (this.positionList.length == 0) { getWorkShopLineStation().then(res => { if (res.data != null && res.data.length > 0) { @@ -169,7 +172,7 @@ if (e.index === 0) { goHome(); } else if (e.index == 1) { - this.$refs.refBalanceQuery.showDrawer(); + this.$refs.refFifoQuery.showDrawer(); this.closeScanPopup(); } },