From 04519262eda541e49799cb5188b62603240b0d33 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期三, 27 七月 2022 09:07:42 +0800
Subject: [PATCH] 1.提交

---
 src/views/scgl/gd.vue |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/views/scgl/gd.vue b/src/views/scgl/gd.vue
index 261f83d..07e2d5a 100644
--- a/src/views/scgl/gd.vue
+++ b/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') {
         // 鍙傛暟鍏蜂綋璇存槑璇峰弬鑰冨府鍔╂枃妗d腑鐨勨�淲EB鎶ヨ〃(B/S鎶ヨ〃)->WEB鎶ヨ〃瀹㈡埛绔�->鍚姩鍙傛暟璇存槑鈥濋儴鍒�
         var args = {

--
Gitblit v1.9.3