From 825db9ee423131d068103c6484e402ca486cc6fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=97=E4=B8=89?= <940119273@qq.com> Date: Thu, 31 Aug 2023 06:59:23 +0000 Subject: [PATCH] =?UTF-8?q?!2366=20=E6=96=B0=E5=A2=9E:=E9=80=89=E5=8F=96?= =?UTF-8?q?=E6=9D=BF=E6=9D=90=E7=95=8C=E9=9D=A2=EF=BC=8C=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E6=98=AF=E5=90=A6=E6=9C=89=E7=BA=B9=E8=B7=AF=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/UI/MaterialEditor/GoodsList.tsx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/UI/MaterialEditor/GoodsList.tsx b/src/UI/MaterialEditor/GoodsList.tsx index 73ca35ff7..3a59872a4 100644 --- a/src/UI/MaterialEditor/GoodsList.tsx +++ b/src/UI/MaterialEditor/GoodsList.tsx @@ -67,6 +67,7 @@ export class GoodsList extends React.Component { 材料 + 纹路 颜色 库存 @@ -81,6 +82,13 @@ export class GoodsList extends React.Component { let thick = v.goods_param.find(p => p.name === "厚"); let matName = mat ? mat.value : ""; + + //纹路 + let waveline = "未知"; + let wavePara = v.goods_param.find(t => t.id === 7); + if (wavePara) + waveline = wavePara.value == 1 ? '有' : '无'; + let colorName = color ? color.value : ""; let goods_spec = specification ? specification.value : ""; let info = { @@ -101,6 +109,7 @@ export class GoodsList extends React.Component { {thick ? thick.value : ""} + {waveline} {v.goods_stock} ;