You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
udiwms-vue-frame/src/api/collect/splitCreateOrder.js

13 lines
357 B
JavaScript

11 months ago
import axios from '@/utils/request'
export function printSplitLabel(query) {
return axios({
url: "/udiwms/split/label/print",
method: "post",
data: query,
headers: {'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'},
responseType: 'arraybuffer', //一定要设置响应类型否则页面会是空白pdf
});
}