!2366 新增:选取板材界面,增加是否有纹路字段

pull/2308/MERGE
林三 1 year ago committed by ChenX
parent 6a17bfc90c
commit 825db9ee42

@ -67,6 +67,7 @@ export class GoodsList extends React.Component<IGoodsListProps> {
</div>
</th>
<th></th>
<th></th>
<th></th>
<th></th>
</tr>
@ -81,6 +82,13 @@ export class GoodsList extends React.Component<IGoodsListProps> {
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<IGoodsListProps> {
<td><OneLineText text={goods_spec} /></td>
<td>{thick ? thick.value : ""}</td>
<td><OneLineText text={matName} /></td>
<td>{waveline}</td>
<td><OneLineText text={colorName} /></td>
<td>{v.goods_stock}</td>
</tr>;

Loading…
Cancel
Save