Browse Source

工序产量核查字段拼接

liuhairui 1 year ago
parent
commit
387e1a6a8f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/view/yunyin/shengchanguanli/gongdanziliao.vue

+ 1 - 1
src/view/yunyin/shengchanguanli/gongdanziliao.vue

@@ -1672,7 +1672,7 @@ const _getOrderProcessCount = async () => {
     // 优化后的代码,使用模板字符串连接字段值并在单个数字前添加零
     const formattedYjno = item.Gy0_yjno.length === 1 ? `0${item.Gy0_yjno}` : item.Gy0_yjno;
     const formattedGxh = item.Gy0_gxh.length === 1 ? `0${item.Gy0_gxh}` : item.Gy0_gxh;
-    const concatenatedValue = `${formattedYjno}-${formattedGxh} ${item.Gy0_gxmc}`;
+    const concatenatedValue = `${formattedYjno}-${formattedGxh} ${item.Gy0_gxmc} 【${item.Add_gxmc} 】`;
     return {
       ...item,
       concatenatedData: concatenatedValue, // 使用新属性名