From 932e841b041e904a3a4e0631dff6536a285a547c Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Wed, 24 Dec 2025 09:25:18 +0800 Subject: [PATCH] =?UTF-8?q?2025-12-24=20pda=E5=85=B6=E4=BB=96=E5=85=A5?= =?UTF-8?q?=E5=BA=93=E6=8F=90=E4=BA=A4=E6=97=B6=E8=B0=83=E7=94=A8=E6=89=93?= =?UTF-8?q?=E5=8D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/api/other-inbound/other-inbound.js | 9 ++- .../other-inout/otherInboundDetail.vue | 67 ++++++++++++++++--- 3 files changed, 67 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index 95b70e5..32b3d35 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gaotao-fast-vue", - "version": "1.2.2", + "version": "1.2.3", "description": "gaotao-fast-vue基于vue、element-ui构建开发,实现gaotao-fast后台管理前端功能,提供一套更优的前端解决方案。", "author": "daxiong.yang ", "private": true, diff --git a/src/api/other-inbound/other-inbound.js b/src/api/other-inbound/other-inbound.js index cce7fb8..736198c 100644 --- a/src/api/other-inbound/other-inbound.js +++ b/src/api/other-inbound/other-inbound.js @@ -34,4 +34,11 @@ export const getMaterialList = data => createAPI(`otherInbound/getMaterialList`, * 获取已扫描标签列表(从ScannedRollTempTable缓存表) * @param {Object} data - 查询参数 {site, buNo, inboundNo, documentType} */ -export const getScannedLabelList = data => createAPI(`otherInbound/getScannedLabelList`, 'post', data) \ No newline at end of file +export const getScannedLabelList = data => createAPI(`otherInbound/getScannedLabelList`, 'post', data) + +/** + * 获取用户默认打印机配置 + * @param {Object} data - 查询参数 {site, labelNo} + * @returns {Object} {printerName, ipAddress, labelNo} + */ +export const getUserDefaultPrinter = data => createAPI(`otherInbound/getUserDefaultPrinter`, 'post', data) \ No newline at end of file diff --git a/src/views/modules/other-inout/otherInboundDetail.vue b/src/views/modules/other-inout/otherInboundDetail.vue index 4673b6c..00c6c9b 100644 --- a/src/views/modules/other-inout/otherInboundDetail.vue +++ b/src/views/modules/other-inout/otherInboundDetail.vue @@ -307,7 +307,7 @@