From e50fa16b6dbc4e7c50d5fbdbc04d2a556ca01c4e Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期一, 02 十二月 2024 11:26:36 +0800
Subject: [PATCH] 补片流程卡调整
---
north-glass-erp/northglass-erp/src/components/pp/PrintCustomLabelDetails.vue | 24 +++++++++++++++++++++---
1 files changed, 21 insertions(+), 3 deletions(-)
diff --git a/north-glass-erp/northglass-erp/src/components/pp/PrintCustomLabelDetails.vue b/north-glass-erp/northglass-erp/src/components/pp/PrintCustomLabelDetails.vue
index a6b25aa..3607a4c 100644
--- a/north-glass-erp/northglass-erp/src/components/pp/PrintCustomLabelDetails.vue
+++ b/north-glass-erp/northglass-erp/src/components/pp/PrintCustomLabelDetails.vue
@@ -90,13 +90,10 @@
const newValue = event.target.innerText;
const parts = newValue.split('锛�');
const result = parts[1]; // 鑾峰彇鍐掑彿鍚庣殑閮ㄥ垎
-
// 鑾峰彇鏄犲皠涓墍鏈夌殑閿�
const keys = Object.keys(propertyMapping);
-
// 鏍规嵁 index 鑾峰彇瀵瑰簲鐨勫睘鎬у悕
const propertyName = keys[index];
-
// 濡傛灉鏄犲皠涓病鏈夎 index锛岀洿鎺ヨ繑鍥�
if (!propertyName) {
console.warn('Unsupported index:', index);
@@ -129,6 +126,27 @@
if (propertyName === 'glassNumber' && glassNumber === obj.glassNumber){
obj.glassNumber = result;
}
+ if (propertyName === 'width' && glassNumber === obj.glassNumber){
+ obj.width = result;
+ }
+ if (propertyName === 'height' && glassNumber === obj.glassNumber){
+ obj.height = result;
+ }
+ if (propertyName === 'custom1' && orderId === obj.orderId){
+ obj.custom1 = result;
+ }
+ if (propertyName === 'custom2' && orderId === obj.orderId){
+ obj.custom2 = result;
+ }
+ if (propertyName === 'custom3' && orderId === obj.orderId){
+ obj.custom3 = result;
+ }
+ if (propertyName === 'custom4' && orderId === obj.orderId){
+ obj.custom4 = result;
+ }
+ if (propertyName === 'custom5' && orderId === obj.orderId){
+ obj.custom5 = result;
+ }
});
}
--
Gitblit v1.8.0