diff --git a/.env.development b/.env.development index 29124b16..28aceeda 100644 --- a/.env.development +++ b/.env.development @@ -6,7 +6,7 @@ ENV = 'development' # 开发环境 # VUE_APP_BASE_API = 'https://mudi.dsxyy.org/UDI_WMS_MC/' -VUE_APP_BASE_API = 'http://192.168.0.188:9991' +VUE_APP_BASE_API = 'http://192.168.0.66:9991' # VUE_APP_BASE_SPMS_API = 'http://192.168.0.43:9993' VUE_APP_BASE_SPMS_API = 'http://192.168.0.188:10002/directToSpms' diff --git a/src/api/inout/orderDetailResult.js b/src/api/inout/orderDetailResult.js index 29cc242f..e4ca5708 100644 --- a/src/api/inout/orderDetailResult.js +++ b/src/api/inout/orderDetailResult.js @@ -49,6 +49,37 @@ export function printOrder(data) { data: data }); } + +export function printOrderDept(data) { + return axios({ + url: "/udiwms/inout/resultDetail/filterOrderPrintDept", + method: "post", + headers: {'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'}, + responseType: 'arraybuffer', //一定要设置响应类型,否则页面会是空白pdf + data: data + }); +} + +export function printOrderDeptSup(data) { + return axios({ + url: "/udiwms/inout/resultDetail/filterOrderPrintDeptSup", + method: "post", + headers: {'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'}, + responseType: 'arraybuffer', //一定要设置响应类型,否则页面会是空白pdf + data: data + }); +} + +export function printOrderInvProducts(data) { + return axios({ + url: "/udiwms/inout/resultDetail/printOrderInvProducts", + method: "post", + headers: {'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'}, + responseType: 'arraybuffer', //一定要设置响应类型,否则页面会是空白pdf + data: data + }); +} + export function printDev(data) { return axios({ url: "/udiwms/inout/resultDetail/filterDevPrint", diff --git a/src/views/inventory/InvProducts.vue b/src/views/inventory/InvProducts.vue index 3b378edf..8e40baf9 100644 --- a/src/views/inventory/InvProducts.vue +++ b/src/views/inventory/InvProducts.vue @@ -226,11 +226,14 @@ >查询 + 选中打印 + 查询结果打印 - + +