loulijun2021
2022-07-27 04519262eda541e49799cb5188b62603240b0d33
src/views/scgl/gd.vue
@@ -563,7 +563,7 @@
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]+$/
@@ -990,10 +990,12 @@
    // 派发打印
    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 = {