Commit f2b067aaaf877b7cb67d1ae8d1235a16ec395e35

Authored by zhangzzzz
1 parent 191fc750

优化快速报价布局;

src/components/QuickQuote/index.jsx
@@ -2567,18 +2567,18 @@ const MaterialsComponent = props => { @@ -2567,18 +2567,18 @@ const MaterialsComponent = props => {
2567 return { 2567 return {
2568 ...item, 2568 ...item,
2569 sVisColumnName: "sMaterialsName", 2569 sVisColumnName: "sMaterialsName",
2570 - iColValue: 14, 2570 + iColValue: 8,
2571 }; 2571 };
2572 } else if (sName === "dMaterialPrice") { 2572 } else if (sName === "dMaterialPrice") {
2573 return { 2573 return {
2574 ...item, 2574 ...item,
2575 - iColValue: 6, 2575 + iColValue: 8,
2576 }; 2576 };
2577 } else if (sName === "sComMaterials") { 2577 } else if (sName === "sComMaterials") {
2578 return { 2578 return {
2579 ...item, 2579 ...item,
2580 sName: "bComMaterials", 2580 sName: "bComMaterials",
2581 - iColValue: 4, 2581 + iColValue: 8,
2582 }; 2582 };
2583 } else { 2583 } else {
2584 return item; 2584 return item;
src/components/QuickQuote/index.less
@@ -100,7 +100,7 @@ @@ -100,7 +100,7 @@
100 100
101 .ant-form-item-control { 101 .ant-form-item-control {
102 flex: 1; 102 flex: 1;
103 - max-width: calc(100% - 70x); 103 + max-width: calc(100% - 70px);
104 } 104 }
105 105
106 .viewStyle { 106 .viewStyle {
@@ -386,7 +386,7 @@ @@ -386,7 +386,7 @@
386 } 386 }
387 387
388 .materialsBtns { 388 .materialsBtns {
389 - width: 80px; 389 + width: 10%;
390 display: flex; 390 display: flex;
391 align-items: center; 391 align-items: center;
392 justify-content: space-around; 392 justify-content: space-around;