| | |
| | | import { PartSelect } from '@/api/zzmx' |
| | | import { handleDatetime } from '@/utils/global' |
| | | import { getCookie } from '@/utils/auth' |
| | | import { MesOrderPrintSearch1 } from '@/api/utils' |
| | | import { MesOrderPrintSearch1, PrintOrder } from '@/api/utils' |
| | | import { urlAddRandomNo, webapp_ws_ajax_run, webapp_ws_autoupdate } from '@/utils/grwebapp' |
| | | |
| | | const SER_HZ = /^[\u4e00-\u9fa5]+$/ |
| | |
| | | // 派发打印 |
| | | async sendPrint() { |
| | | const data = { |
| | | username: getCookie('admin'), |
| | | // username: getCookie('admin'), |
| | | username: getCookie('username'), |
| | | mesordercode: this.dialogForm.mesordercode |
| | | } |
| | | const res = await MesOrderPrintSearch1(data) |
| | | // const res = await MesOrderPrintSearch1(data) |
| | | const res = await PrintOrder(data) |
| | | if (res.code === '200') { |
| | | // 参数具体说明请参考帮助文档中的“WEB报表(B/S报表)->WEB报表客户端->启动参数说明”部分 |
| | | var args = { |