From 32477dff99d0ed1d8acee453861be96428d8befc Mon Sep 17 00:00:00 2001
From: YLouie <929705085@qq.com>
Date: 星期日, 28 九月 2025 14:03:50 +0800
Subject: [PATCH] 销售订单plm同步

---
 src/api/plan/customerorder.js |   41 ++++++++++++++++++++---------------------
 1 files changed, 20 insertions(+), 21 deletions(-)

diff --git a/src/api/plan/customerorder.js b/src/api/plan/customerorder.js
index a62f9ee..1e47bb8 100644
--- a/src/api/plan/customerorder.js
+++ b/src/api/plan/customerorder.js
@@ -11,7 +11,7 @@
 export function getCustomerMainAndOrderBycNo(contractNo) {
   return request({
     url: '/mes/plan/customerOrder/getCustomerMainAndOrderBycNo/' + contractNo,
-    method: 'get',
+    method: 'get'
   })
 }
 
@@ -264,13 +264,13 @@
   })
 }
 
-export function downloadProduct(data){
-    return request({
-        url: '/mes/plan/customerOrder/getProduct',
-        method: 'post',
-        responseType: 'blob',
-        data: data
-      })
+export function downloadProduct(data) {
+  return request({
+    url: '/mes/plan/customerOrder/getProduct',
+    method: 'post',
+    responseType: 'blob',
+    data: data
+  })
 }
 
 export function downloadProcessConfigFile(filename, bucket, originalFileName) {
@@ -414,20 +414,19 @@
 }
 
 export function downloadWordFile(data) {
-    return request({
-      url: '/mes/plan/customerOrder/package',
-      method: 'post',
-      data: data,
-      responseType: 'blob'
-    })
-  }
+  return request({
+    url: '/mes/plan/customerOrder/package',
+    method: 'post',
+    data: data,
+    responseType: 'blob'
+  })
+}
 
 // 鍚屾PLM鏁版嵁
 export function syncPlm(obj) {
-    return request({
-        url: '/mes/document/syncPlm',
-        method: 'post',
-        data: obj
-    })
+  return request({
+    url: '/mes/plan/customerOrder/syncPlm',
+    method: 'post',
+    data: obj
+  })
 }
-

--
Gitblit v1.9.3