Commit 4d059a742d2fc64a566e81069801d87e34d39ca3

Authored by 陈鑫涛
1 parent 6a241242

默认不展示长宽

src/components/QuickQuote/index.jsx
... ... @@ -1432,9 +1432,6 @@ const BoxComponent = props => {
1432 1432 ) {
1433 1433 return false;
1434 1434 }
1435   - // if (selectedNode.sTypeKey !== "kapai" && item.sName === "sMagnification") {
1436   - // return false;
1437   - // }
1438 1435 const rateList = [
1439 1436 { id: 0, name: "不显示倍率" },
1440 1437 { id: 1, name: "每本张数" },
... ... @@ -1450,8 +1447,15 @@ const BoxComponent = props => {
1450 1447 if (item.sName === "sPaperDirection" && selectedNode.sTypeKey === "huace") {
1451 1448 return false;
1452 1449 }
  1450 + // 判断bPartsDimension 是否显示展长展宽,0不显示,1显示
  1451 +
  1452 + if (selectedNode.bPartsDimension === false && (item.sName === "dPartsLength" || item.sName === "dPartsWidth")) {
  1453 + return false;
  1454 + }
1453 1455 return item.iTag === iTag;
1454 1456 });
  1457 + console.log(selectedNode, "selectedNode");
  1458 +
1455 1459 let boxConfigList = [];
1456 1460 if (iTag === 20) {
1457 1461 let showNameKeyList = ["dZBLB", "dSBLB", "dYBLB", "dXBLB", "dZBJJ", "dYBJJ", "dSBJJ", "dXBJJ"];
... ...