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 @@