From 81e061d08becf6cc6176745afc3eba8738ed4fc7 Mon Sep 17 00:00:00 2001 From: tao Date: Wed, 14 Jan 2026 11:45:51 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=87=E8=B4=AD=E7=9B=B4=E6=8E=A5=E5=85=A5?= =?UTF-8?q?=E5=BA=93=EF=BC=9A=E4=BF=AE=E5=A4=8D=E5=BA=93=E4=BD=8D=E5=A4=8D?= =?UTF-8?q?=E5=88=B6=E5=BC=82=E5=B8=B8=E9=97=AE=E9=A2=98=20=E7=9B=B4?= =?UTF-8?q?=E6=8E=A5=E5=85=A5=E5=BA=93=E5=8D=95=EF=BC=9A=E8=BF=87=E6=BB=A4?= =?UTF-8?q?=E6=8E=89=E4=B8=8A=E6=9E=B6=E6=95=B0=E9=87=8F=E4=B8=BA=200=20?= =?UTF-8?q?=E7=9A=84=E6=98=8E=E7=BB=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 4 +-- pages/wms/pdcIn/directRk.vue | 40 ++--------------------------- pages/wms/purchase/quickStorage.vue | 15 +++++------ pages/wms/sale/codeCk.vue | 9 ++++++- 4 files changed, 18 insertions(+), 50 deletions(-) diff --git a/manifest.json b/manifest.json index bee6638..0c32c8c 100644 --- a/manifest.json +++ b/manifest.json @@ -2,8 +2,8 @@ "name" : "MES", "appid" : "__UNI__66F7FE2", "description" : "", - "versionName" : "3.4.7", - "versionCode" : 347, + "versionName" : "3.4.9", + "versionCode" : 349, "transformPx" : false, "sassImplementationName" : "node-sass", "app-plus" : { diff --git a/pages/wms/pdcIn/directRk.vue b/pages/wms/pdcIn/directRk.vue index 275c371..5d2b8a8 100644 --- a/pages/wms/pdcIn/directRk.vue +++ b/pages/wms/pdcIn/directRk.vue @@ -8,8 +8,7 @@ v-model="workOrderCode" type="text" /> - + @@ -106,13 +105,6 @@ import { listLocation } from '@/api/basic/location'; export default { mounted() { - // 获取任务单编码列表 - listTask({ - pageNum: 1, - pageSize: 25 - }).then(res => { - this.productInTaskCodeList = res.rows.map(item => item.productInTaskCode); - }); // 获取部门列表 listDepartment().then((res) => { this.dptList = res.rows @@ -133,7 +125,6 @@ export default { show: false, materialLabel: null, workOrderCode: '', - productInTaskCodeList: [], legalLocation: true, dptList: [], empList: [], @@ -190,27 +181,10 @@ export default { methods: { // 工单改变 handleChangeWorkOrderCode() { - // 重置任务单列表 - this.productInTaskCodeList = []; // 重置任务单编码 this.formData.productInTaskCode = ''; // 重置明细 this.formData.wmsProductInDetailList = []; - - // 获取任务单列表 - this.fetchTaskList(); - }, - // 获取任务单列表 - fetchTaskList() { - if (!this.workOrderCode) return; - - listTask({ - workOrderCode: this.workOrderCode - }).then(async res => { - this.productInTaskCodeList = res.rows.map(item => item.productInTaskCode); - }).catch(err => { - console.error(`获取工单号为${this.workOrderCode}的产品入库任务单列表失败,详情:${err}`); - }); }, // 扫描工单号 scanWorkOrderCode() { @@ -337,16 +311,6 @@ export default { } }); }, - selectTypeList() { - listTask({ - pageNum: 1, - pageSize: 25 - }).then(async res => { - for (var i in res.rows) { - this.productInTaskCodeList.push(res.rows[i].productInTaskCode); - } - }); - }, // 依次获取推荐库位 async fetchLocation(taskDetail) { const promises = taskDetail.map(async (item) => { @@ -389,7 +353,7 @@ export default { // 根据任务单 id 获取任务单明细 await getTask(taskId).then(res => { - taskDetail = res.data.wmsProductInTaskDetailList + taskDetail = res.data.wmsProductInTaskDetailList.filter(item => item.notInNumber); }).catch(err => { console.error(`获取入库任务单 id 为${taskId}的任务单明细失败,详情:${err}`); }) diff --git a/pages/wms/purchase/quickStorage.vue b/pages/wms/purchase/quickStorage.vue index 28c6076..1b7259f 100644 --- a/pages/wms/purchase/quickStorage.vue +++ b/pages/wms/purchase/quickStorage.vue @@ -3,7 +3,7 @@
- + @@ -134,14 +134,11 @@ export default { }) }, /** - * 图标点击事件 + * 复制库位 */ - iconClick(value) { - const _self = this; - // const arr = - _self.form = Object.assign({}, _self.form, { - storageLocationBarcode: value || _self.form.recommend - }) + handleCopy() { + this.form.storageLocationBarcode = this.form.recommend; + this.keyBol = !this.keyBol; }, /** * 扫描收货单明细标签 diff --git a/pages/wms/sale/codeCk.vue b/pages/wms/sale/codeCk.vue index 56485eb..4441639 100644 --- a/pages/wms/sale/codeCk.vue +++ b/pages/wms/sale/codeCk.vue @@ -28,7 +28,11 @@ - + + +
物料代码:物料编码: @@ -38,7 +38,7 @@