|
|
@@ -101,5 +101,13 @@ export default {
|
|
|
return res.data.message;
|
|
|
}
|
|
|
return Promise.reject(new Error(res.data.message));
|
|
|
+ },
|
|
|
+ // 批量打印
|
|
|
+ batchBarPrint: async function (params) {
|
|
|
+ const res = await request.post('/main/print/batchBarPrint', params);
|
|
|
+ if (res.data.code == 0) {
|
|
|
+ return res.data.data;
|
|
|
+ }
|
|
|
+ return Promise.reject(new Error(res.data.message));
|
|
|
}
|
|
|
};
|