From 47cf5518f0f61dbf8066c2273b9f77c2cd7b1751 Mon Sep 17 00:00:00 2001
From: YLouie <929705085@qq.com>
Date: 星期五, 19 九月 2025 17:56:03 +0800
Subject: [PATCH] 销售订单plm同步
---
src/views/plan/manufacturingorder/productorder-form.vue | 16 +++++++---------
1 files changed, 7 insertions(+), 9 deletions(-)
diff --git a/src/views/plan/manufacturingorder/productorder-form.vue b/src/views/plan/manufacturingorder/productorder-form.vue
index ef8922c..46be539 100644
--- a/src/views/plan/manufacturingorder/productorder-form.vue
+++ b/src/views/plan/manufacturingorder/productorder-form.vue
@@ -1670,6 +1670,7 @@
} else {
this.dataForm.bomRoot = null
}
+
if (this.dataForm.id) {
putManufacturingOrder(this.dataForm)
.then((response) => {
@@ -2100,18 +2101,15 @@
},
// 淇濆瓨鎵�鏈夊弬鏁扮殑淇敼
saveAllParamChange() {
- const paramJson = { routingOperationParam: this.templateParamList }
- let num = 0
this.templateParamList.forEach(e=>{
- var regex=/^[^\(\)|^,]+$/;
- if(!regex.test(e.paramValue)){
- num+=1
+ if(e.paramValue!=null){
+ e.paramValue=e.paramValue.replace(',','锛�').replace('(','锛�').replace(')','锛�')
+ if (!isNaN(e.paramValue)) {
+ e.paramValue='='+e.paramValue
+ }
}
})
- if(num>0){
- this.$message.error("鍙傛暟鍊间笉鑳藉寘鍚嫳鏂囨嫭鍙锋垨閫楀彿,璇锋鏌�")
- return
- }
+ const paramJson = { routingOperationParam: this.templateParamList }
putRoutingTemplateParamForOrder(paramJson).then((response) => {
const data = response.data
if (data.code === 0) {
--
Gitblit v1.9.3