From bc16d211c5a2b31f0e3127a102748806151eaecb Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期四, 14 十二月 2023 16:23:19 +0800
Subject: [PATCH] 	modified:   src/const/crud/customerOrder/customerOrderForm.js 	modified:   src/views/plan/operationtask/operationtask-form.vue 	modified:   src/views/product/workbench/operation-task-pane.vue 	modified:   src/views/product/workbench/taskinfo-pane.vue 	modified:   src/views/product/workbench/workReportCard.vue 	modified:   src/views/quality/finishedProductInspection/finishedProduct-form.vue 	modified:   src/views/quality/newReport/ReportForm.vue 	modified:   src/views/quality/processInspect/processInspect-form.vue 	modified:   src/views/quality/rawMaterial/rawMaterial-form.vue 	modified:   src/views/quality/teststandard/standard-form.vue 	modified:   src/views/technology/completeproductstructure/completeproductstructure-form.vue 	modified:   src/views/technology/document/document-form.vue 	modified:   src/views/technology/operation/operation-form.vue 	modified:   src/views/technology/routing/routing-form.vue 	modified:   src/views/warehouse/changestock/index.vue

---
 src/api/plan/customerorder.js |   15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/src/api/plan/customerorder.js b/src/api/plan/customerorder.js
index 112e721..21670b2 100644
--- a/src/api/plan/customerorder.js
+++ b/src/api/plan/customerorder.js
@@ -51,6 +51,14 @@
   })
 }
 
+export function updateCustomerOrderById(obj) {
+  return request({
+    url: '/mes/plan/customerOrder/updateById',
+    method: 'put',
+    data: obj
+  })
+}
+
 // 鍒涘缓涓荤敓浜ц鍒掗渶姹�
 export function createMpsRequirements(obj) {
   return request({
@@ -252,7 +260,7 @@
 export function downloadProcessConfigFile(filename, bucket, originalFileName) {
   return request({
     url: '/mes/plan/customerOrder/processConfig/' + bucket + '/' + filename,
-    method: 'get',
+    method: 'post',
     responseType: 'blob'
   }).then((response) => {
     // 澶勭悊杩斿洖鐨勬枃浠舵祦
@@ -383,7 +391,8 @@
 // 浣滃簾
 export function dropByContractNo(contractNo) {
   return request({
-    url: '/mes/plan/customerOrder/dropByContractNo/' + contractNo,
-    method: 'get'
+    url: '/mes/plan/customerOrder/dropByContractNo',
+    method: 'get',
+    params: contractNo
   })
 }

--
Gitblit v1.9.3