@ -101,6 +101,12 @@ export const batchPrintingLable = async (data: any) => {
return await request.post({ url: `/wms/package/batchPrintingLable`, data })
}
// 批量打印标签多选
export const batchPrintingLables = async (data: any) => {
return await request.post({ url: `/wms/package/batchPrintingLables`, data })
// 打印标签获取包装列表
export const getLabel = async (id: number) => {
return await request.get({ url: `/wms/package/getLabel?id=` + id })
@ -359,7 +359,7 @@ const formsSuccess = async (formType,data) => {
const labelType = ref('') // 标签类别 采购还是制造等
const handlePoint = async (row) => {
console.log(row.packingNumber,445555555555555);
PackageApi.batchPrintingLable([row.number]).then(res => {
PackageApi.batchPrintingLables([row.number]).then(res => {
console.log('批量打印res',res);
if(res.zzLabel){
//制造标签