Commit b21129f503a1ea1fc61a3ca2c68c64a5312e57b3

Authored by 陈鑫涛
1 parent ec1f31f1

展示svg

src/components/Common/Typesetting/typesetting.js
@@ -22,7 +22,6 @@ const Typesetting = props => { @@ -22,7 +22,6 @@ const Typesetting = props => {
22 textSize, 22 textSize,
23 isMobile, 23 isMobile,
24 } = props; 24 } = props;
25 - console.log("🚀 ~ Typesetting:", props);  
26 if (!slaveRowData) return; 25 if (!slaveRowData) return;
27 const { 26 const {
28 dSBLB, // 上边留白 27 dSBLB, // 上边留白
src/components/QuickQuote/index.jsx
@@ -1525,8 +1525,22 @@ const BoxComponent = props => { @@ -1525,8 +1525,22 @@ const BoxComponent = props => {
1525 1525
1526 // 使用 useCallback 确保回调函数的稳定性 1526 // 使用 useCallback 确保回调函数的稳定性
1527 const handleSaveState = useCallback( 1527 const handleSaveState = useCallback(
1528 - (length, width, slaveData, masterData, dSinglePQty, dMaterialsKQty, dProductQty, scale, dWlcd, dWlkd, innerWidth, innerHeight,dHorizontal,dPortrait) => {  
1529 - console.log("🚀 ~ dPortrait:",dHorizontal,dPortrait) 1528 + (
  1529 + length,
  1530 + width,
  1531 + slaveData,
  1532 + masterData,
  1533 + dSinglePQty,
  1534 + dMaterialsKQty,
  1535 + dProductQty,
  1536 + scale,
  1537 + dWlcd,
  1538 + dWlkd,
  1539 + innerWidth,
  1540 + innerHeight,
  1541 + dHorizontal,
  1542 + dPortrait
  1543 + ) => {
1530 // 查找符合条件的索引 1544 // 查找符合条件的索引
1531 const { selectedNode } = props.state; 1545 const { selectedNode } = props.state;
1532 1546
@@ -1565,10 +1579,10 @@ const BoxComponent = props => { @@ -1565,10 +1579,10 @@ const BoxComponent = props => {
1565 scale: scale, 1579 scale: scale,
1566 dPartsLength: innerWidth, 1580 dPartsLength: innerWidth,
1567 dPartsWidth: innerHeight, 1581 dPartsWidth: innerHeight,
1568 - dHorizontal:dHorizontal,  
1569 - dPortrait:dPortrait,  
1570 - dHorizontalType:dHorizontal,  
1571 - dPortraitType:dPortrait, 1582 + dHorizontal: dHorizontal,
  1583 + dPortrait: dPortrait,
  1584 + dHorizontalType: dHorizontal,
  1585 + dPortraitType: dPortrait,
1572 }; 1586 };
1573 // 更新状态 1587 // 更新状态
1574 props.setState(prevState => ({ 1588 props.setState(prevState => ({
@@ -1712,7 +1726,7 @@ const BoxComponent = props => { @@ -1712,7 +1726,7 @@ const BoxComponent = props => {
1712 dSvgBoxHeight: 300, 1726 dSvgBoxHeight: 300,
1713 showNew: 1, 1727 showNew: 1,
1714 }; 1728 };
1715 - const isShowImg = boxList.find(x=>x.sName === '盒身')?.type !== '' || false 1729 + const isShowImg = boxList.find(x => x.sName === "盒身")?.type !== "" || false;
1716 return ( 1730 return (
1717 <Tabs 1731 <Tabs
1718 key={boxModel} 1732 key={boxModel}
@@ -2266,8 +2280,8 @@ const BoxModelSelectedModal = props =&gt; { @@ -2266,8 +2280,8 @@ const BoxModelSelectedModal = props =&gt; {
2266 ]; 2280 ];
2267 slaveData.forEach(x => { 2281 slaveData.forEach(x => {
2268 boxList.push({ 2282 boxList.push({
2269 - value: x.iValue,  
2270 - sName: titleList1.find(item => item.value === x.sCode)?.name || "", 2283 + value: x.iValue || x.sDefault,
  2284 + sName: titleList1.find(item => item.value === x.sCode || item.value === x.sName)?.name || "",
2271 isEditable: true, 2285 isEditable: true,
2272 isSelect: false, 2286 isSelect: false,
2273 selectValue: null, 2287 selectValue: null,
@@ -2295,8 +2309,8 @@ const BoxModelSelectedModal = props =&gt; { @@ -2295,8 +2309,8 @@ const BoxModelSelectedModal = props =&gt; {
2295 const svgProps = { 2309 const svgProps = {
2296 ...props, 2310 ...props,
2297 boxList, 2311 boxList,
2298 - dSvgBoxWidth: 100,  
2299 - dSvgBoxHeight: 100, 2312 + dSvgBoxWidth: 250,
  2313 + dSvgBoxHeight: 250,
2300 showNew: 1, 2314 showNew: 1,
2301 }; 2315 };
2302 return svgProps; 2316 return svgProps;
@@ -2319,10 +2333,10 @@ const BoxModelSelectedModal = props =&gt; { @@ -2319,10 +2333,10 @@ const BoxModelSelectedModal = props =&gt; {
2319 // (value ? (column.dataIndex === 'sPackDetailPath' ? (boxData[index].sPackPath ? <img src={value} alt="" width={270} height={270} /> : '') : <img src={value} alt="" width={270} height={270} />) : "暂无图片"); 2333 // (value ? (column.dataIndex === 'sPackDetailPath' ? (boxData[index].sPackPath ? <img src={value} alt="" width={270} height={270} /> : '') : <img src={value} alt="" width={270} height={270} />) : "暂无图片");
2320 column.render = (value, record, index) => 2334 column.render = (value, record, index) =>
2321 column.dataIndex === "sPackDetailPathUpLoad" ? ( 2335 column.dataIndex === "sPackDetailPathUpLoad" ? (
2322 - value ? (  
2323 - <img src={value} alt="" width={270} height={270} />  
2324 - ) : ( 2336 + boxData[index].sTypes ? (
2325 <DynamicSVG {...getSvgProps(boxData[index])} /> 2337 <DynamicSVG {...getSvgProps(boxData[index])} />
  2338 + ) : (
  2339 + <img src={value} alt="" width={270} height={270} />
2326 ) 2340 )
2327 ) : value ? ( 2341 ) : value ? (
2328 <img src={value} alt="" width={270} height={270} /> 2342 <img src={value} alt="" width={270} height={270} />
src/mobile/quotation/detailNew.jsx
@@ -1430,17 +1430,25 @@ const BoxComponent = props =&gt; { @@ -1430,17 +1430,25 @@ const BoxComponent = props =&gt; {
1430 1430
1431 // 后道参数 1431 // 后道参数
1432 const { sBackProcessData } = slaveRowData || []; 1432 const { sBackProcessData } = slaveRowData || [];
1433 - const downAbleConfigsNew = downAbleConfigs.reduce((pre, cur) => {  
1434 - const childConfigs = downAbleExtraConfigs.filter(item => item.sParentName === cur.showName);  
1435 - pre.push(cur, ...childConfigs);  
1436 - return pre;  
1437 - }, []); 1433 + const [downAbleConfigsNew, setDownAbleConfigsNew] = useState([]);
  1434 + // const downAbleConfigsNew = downAbleConfigs.reduce((pre, cur) => {
  1435 + // const childConfigs = downAbleExtraConfigs.filter(item => item.sParentName === cur.showName);
  1436 + // pre.push(cur, ...childConfigs);
  1437 + // return pre;
  1438 + // }, []);
  1439 + useEffect(() => {
  1440 + setDownAbleConfigsNew(downAbleConfigs);
  1441 + }, [downAbleConfigs]);
1438 // 初始化状态,存储每个 Switch 的状态 1442 // 初始化状态,存储每个 Switch 的状态
1439 const [switchStates, setSwitchStates] = useState(null); 1443 const [switchStates, setSwitchStates] = useState(null);
1440 useEffect(() => { 1444 useEffect(() => {
1441 if (!sBackProcessData) return; 1445 if (!sBackProcessData) return;
1442 - const newSwitchStates = downAbleConfigsNew;  
1443 - console.log("🚀 ~ switchStates:", switchStates) 1446 + const newSwitchStates = downAbleConfigsNew
  1447 + .filter(item => item.sPartsName === boxModel || !item.sPartsName)
  1448 + .reduce((acc, item, index) => {
  1449 + acc[item.sName] = sBackProcessData ? sBackProcessData[index][item.sName] !== "" : false;
  1450 + return acc;
  1451 + }, {});
1444 1452
1445 setSwitchStates(newSwitchStates); 1453 setSwitchStates(newSwitchStates);
1446 }, [downAbleConfigsNew, boxModel]); // 依赖数组 1454 }, [downAbleConfigsNew, boxModel]); // 依赖数组
@@ -1458,7 +1466,7 @@ const BoxComponent = props =&gt; { @@ -1458,7 +1466,7 @@ const BoxComponent = props =&gt; {
1458 .map((item, i) => ({ 1466 .map((item, i) => ({
1459 ...item, 1467 ...item,
1460 isSelect: switchStates ? switchStates[item.sName] : false, 1468 isSelect: switchStates ? switchStates[item.sName] : false,
1461 - // sName: "sParams" + i, 1469 + sName: "sParams" + i,
1462 sProductClassifyId: item.sId, 1470 sProductClassifyId: item.sId,
1463 })); 1471 }));
1464 const downViewProps = { 1472 const downViewProps = {
@@ -1488,7 +1496,7 @@ const BoxComponent = props =&gt; { @@ -1488,7 +1496,7 @@ const BoxComponent = props =&gt; {
1488 }; 1496 };
1489 const calcMethodData = commonUtils.convertStrToObj(slaveRowData?.sColumnNameConfigExclusion, []); 1497 const calcMethodData = commonUtils.convertStrToObj(slaveRowData?.sColumnNameConfigExclusion, []);
1490 // const radioValue = null; 1498 // const radioValue = null;
1491 - const { radioValue = calcMethodData[0]?.sCode } = slaveRowData 1499 + const { radioValue = calcMethodData[0]?.sCode } = slaveRowData;
1492 const [materialLength, setMaterialLength] = useState(0); 1500 const [materialLength, setMaterialLength] = useState(0);
1493 const [materialWidth, setMaterialWidth] = useState(0); 1501 const [materialWidth, setMaterialWidth] = useState(0);
1494 // 使用 useCallback 确保回调函数的稳定性 1502 // 使用 useCallback 确保回调函数的稳定性
@@ -1774,7 +1782,6 @@ const BoxComponent = props =&gt; { @@ -1774,7 +1782,6 @@ const BoxComponent = props =&gt; {
1774 value={radioValue} 1782 value={radioValue}
1775 onChange={e => { 1783 onChange={e => {
1776 const iIndex = slaveData.findIndex(item => item.sId === slaveRowData.sId); 1784 const iIndex = slaveData.findIndex(item => item.sId === slaveRowData.sId);
1777 - console.log("🚀 ~ iIndex:", iIndex)  
1778 slaveData[iIndex].radioValue = e; 1785 slaveData[iIndex].radioValue = e;
1779 props.setState(pre => ({ 1786 props.setState(pre => ({
1780 ...pre, 1787 ...pre,
@@ -1783,7 +1790,10 @@ const BoxComponent = props =&gt; { @@ -1783,7 +1790,10 @@ const BoxComponent = props =&gt; {
1783 }} 1790 }}
1784 > 1791 >
1785 {calcMethod.map(item => ( 1792 {calcMethod.map(item => (
1786 - <Radio value={item.value} style={{marginRight:'0.5rem'}}> {item.label}</Radio> 1793 + <Radio value={item.value} style={{ marginRight: "0.5rem" }}>
  1794 + {" "}
  1795 + {item.label}
  1796 + </Radio>
1787 ))} 1797 ))}
1788 </Radio.Group> 1798 </Radio.Group>
1789 <div> 1799 <div>
src/mobile/quotation/index.json deleted
1 -{  
2 - "bQuotation": true,  
3 - "sProductName": "单层彩盒",  
4 - "sProductUnit": "PCS",  
5 - "sCustomerName": "EnglishTest",  
6 - "sProvince": "北京市",  
7 - "sCity": "市辖区",  
8 - "sArea": "东城区",  
9 - "sCurrency": "人民币",  
10 - "sConsignee": "Gordan",  
11 - "sConsigneeMobile": "15648630521",  
12 - "sContacts": "Gordan",  
13 - "sCustomerId": "17495388380001631448425800731100",  
14 - "sTaxId": "17128239240007522551135755385000",  
15 - "dTaxRate": "13.000000",  
16 - "sCustomerNo": "09260174",  
17 - "sTaxName": "销项税13%",  
18 - "handleType": "update",  
19 - "sId": "17496097010006280362665408954000",  
20 - "dLength": "100",  
21 - "dWidth": 100,  
22 - "dHeight": 100,  
23 - "dProductQty": 1000,  
24 - "cpProcessName": "",  
25 - "productProcessInfo": [],  
26 - "sProductClassifyId": "20240108210154670452968456436630",  
27 - "sProductName1": "单层彩盒",  
28 - "dProductWidth": 100,  
29 - "dProductLength": "100",  
30 - "dProductHeight": 100,  
31 - "sProductStyle": "100*100*100",  
32 - "product": {  
33 - "sProductName": "单层彩盒",  
34 - "sProductUnit": "PCS",  
35 - "sCustomerName": "EnglishTest",  
36 - "sProvince": "北京市",  
37 - "sCity": "市辖区",  
38 - "sArea": "东城区",  
39 - "sCurrency": "人民币",  
40 - "sConsignee": "Gordan",  
41 - "sConsigneeMobile": "15648630521",  
42 - "sContacts": "Gordan",  
43 - "sCustomerId": "17495388380001631448425800731100",  
44 - "sTaxId": "17128239240007522551135755385000",  
45 - "dTaxRate": "13.000000",  
46 - "sCustomerNo": "09260174",  
47 - "sTaxName": "销项税13%",  
48 - "handleType": "update",  
49 - "sId": "17496097010006280362665408954000",  
50 - "dLength": "100",  
51 - "dWidth": 100,  
52 - "dHeight": 100,  
53 - "dProductQty": 1000,  
54 - "cpProcessName": "",  
55 - "productProcessInfo": [],  
56 - "sProductClassifyId": "20240108210154670452968456436630",  
57 - "sProductName1": "单层彩盒",  
58 - "dProductWidth": 100,  
59 - "dProductLength": "100",  
60 - "dProductHeight": 100,  
61 - "sProductStyle": "100*100*100"  
62 - },  
63 - "sPartsStyle": "425*509",  
64 - "partsInfo": [  
65 - {  
66 - "sId": "17496096990009748659884949062000",  
67 - "sBoxModel": "彩盒",  
68 - "sTreeNodeName": "单层彩盒",  
69 - "sProcessId": "15965213890005652467139846160000",  
70 - "dSumPQty": 2,  
71 - "iPrintModePo": 0,  
72 - "sName": "常规飞机盒",  
73 - "dSFHS": 50,  
74 - "dHDC": 0,  
75 - "dXFHS": 50,  
76 - "dZSCW": 25,  
77 - "dZTBW": 25,  
78 - "dZXCW": 25,  
79 - "dYSCW": 30,  
80 - "dYTBW": 0,  
81 - "dYXCW": 30,  
82 - "sBrandsId": "1111111111",  
83 - "sSubsidiaryId": "1111111111",  
84 - "tCreateDate": "2025-05-07 17:26:35",  
85 - "sMakePerson": "杨恒林",  
86 - "iOrder": 1,  
87 - "bInvalid": false,  
88 - "tMakeDate": "2025-05-07 18:46:42",  
89 - "sFormId": "172129113112117427164802170",  
90 - "sBillNo": "00000001",  
91 - "sPackPath": "http://8.130.144.93:8088/xlyEntry/file/downloadLogo?sLogoName=logosPackPath飞机盒&date=1747049329258",  
92 - "sPackDetailPath": "http://8.130.144.93:8088/xlyEntry/file/downloadLogo?sLogoName=logosPackDetailPathUpLoad常规飞机盒&date=1749547586495",  
93 - "dSBLB": 5,  
94 - "dXBLB": 5,  
95 - "dZBLB": 5,  
96 - "dYBLB": 5,  
97 - "dSBJJ": 0,  
98 - "dXBJJ": 5,  
99 - "dZBJJ": 0,  
100 - "dYBJJ": 5,  
101 - "sColumnNameConfig": "[{\"sId\": \"17466145990008525730531392073000\", \"sBig5\": \"锁片长\", \"sName\": \"dSFHS\", \"iOrder\": 1, \"sTypes\": \"1001\", \"bVisible\": 1, \"sChinese\": \"锁片长\", \"sDefault\": 50, \"showName\": \"锁片长\", \"iFitWidth\": 120, \"sBrandsId\": \"1111111111\", \"sParentId\": \"17466137160001794723678306481000\", \"iIncrement\": 23726, \"sSubsidiaryId\": \"1111111111\", \"sAssignFormula\": null},{\"sId\": \"17466145990004751476954584851000\", \"sBig5\": \"盒底组件\", \"sName\": \"dHDC\", \"iOrder\": 2, \"sTypes\": \"\", \"bVisible\": 0, \"sChinese\": \"盒底组件\", \"sDefault\": 0, \"showName\": \"盒底组件\", \"iFitWidth\": 120, \"sBrandsId\": \"1111111111\", \"sParentId\": \"17466137160001794723678306481000\", \"iIncrement\": 23727, \"sSubsidiaryId\": \"1111111111\", \"sAssignFormula\": null},{\"sId\": \"17466145990001232519334177843200\", \"sBig5\": \"下方盒舌\", \"sName\": \"dXFHS\", \"iOrder\": 3, \"sTypes\": \"2001\", \"bVisible\": 0, \"sChinese\": \"下方盒舌\", \"sDefault\": 50, \"showName\": \"下方盒舌\", \"iFitWidth\": 120, \"sBrandsId\": \"1111111111\", \"sParentId\": \"17466137160001794723678306481000\", \"iIncrement\": 23728, \"sSubsidiaryId\": \"1111111111\", \"sAssignFormula\": \"dSFHS\"},{\"sId\": \"17466145990002674038813161135600\", \"sBig5\": \"盒盖深\", \"sName\": \"dZSCW\", \"iOrder\": 4, \"sTypes\": \"3002\", \"bVisible\": 1, \"sChinese\": \"盒盖深\", \"sDefault\": 25, \"showName\": \"盒盖深\", \"iFitWidth\": 120, \"sBrandsId\": \"1111111111\", \"sParentId\": \"17466137160001794723678306481000\", \"iIncrement\": 23729, \"sSubsidiaryId\": \"1111111111\", \"sAssignFormula\": null},{\"sId\": \"17466145990001065785102483988600\", \"sBig5\": \"左贴边位\", \"sName\": \"dZTBW\", \"iOrder\": 5, \"sTypes\": \"8003\", \"bVisible\": 1, \"sChinese\": \"左贴边位\", \"sDefault\": 25, \"showName\": \"左贴边位\", \"iFitWidth\": 120, \"sBrandsId\": \"1111111111\", \"sParentId\": \"17466137160001794723678306481000\", \"iIncrement\": 23730, \"sSubsidiaryId\": \"1111111111\", \"sAssignFormula\": null},{\"sId\": \"17466989590008229742571075453000\", \"sBig5\": \"左(下)插位组件\", \"sName\": \"dZXCW\", \"iOrder\": 6, \"sTypes\": \"4002\", \"bVisible\": 0, \"sChinese\": \"左(下)插位组件\", \"sDefault\": 25, \"showName\": \"左(下)插位组件\", \"iFitWidth\": 120, \"sBrandsId\": \"1111111111\", \"sParentId\": \"17466137160001794723678306481000\", \"iIncrement\": 23735, \"sSubsidiaryId\": \"1111111111\", \"sAssignFormula\": \"dZSCW\"},{\"sId\": \"17466145990005537297431946334000\", \"sBig5\": \"右(上)插位组件\", \"sName\": \"dYSCW\", \"iOrder\": 7, \"sTypes\": \"6001\", \"bVisible\": 0, \"sChinese\": \"右(上)插位组件\", \"sDefault\": 30, \"showName\": \"右(上)插位组件\", \"iFitWidth\": 120, \"sBrandsId\": \"1111111111\", \"sParentId\": \"17466137160001794723678306481000\", \"iIncrement\": 23732, \"sSubsidiaryId\": \"1111111111\", \"sAssignFormula\": \"D+4.5\"},{\"sId\": \"17466145990009079053176148972000\", \"sBig5\": \"右贴边位\", \"sName\": \"dYTBW\", \"iOrder\": 8, \"sTypes\": \"\", \"bVisible\": 0, \"sChinese\": \"右贴边位\", \"sDefault\": 0, \"showName\": \"右贴边位\", \"iFitWidth\": 120, \"sBrandsId\": \"1111111111\", \"sParentId\": \"17466137160001794723678306481000\", \"iIncrement\": 23733, \"sSubsidiaryId\": \"1111111111\", \"sAssignFormula\": null},{\"sId\": \"17466145990009545190357394842000\", \"sBig5\": \"右(下)插位组件\", \"sName\": \"dYXCW\", \"iOrder\": 9, \"sTypes\": \"7001\", \"bVisible\": 0, \"sChinese\": \"右(下)插位组件\", \"sDefault\": 30, \"showName\": \"右(下)插位组件\", \"iFitWidth\": 120, \"sBrandsId\": \"1111111111\", \"sParentId\": \"17466137160001794723678306481000\", \"iIncrement\": 23734, \"sSubsidiaryId\": \"1111111111\", \"sAssignFormula\": \"D+4.5\"}]",  
102 - "sColumnNameConfigExclusion": "[{\"sId\": \"17466148170007436954173544192000\", \"sBig5\": \"省纸拼法(竖纹)\", \"sCode\": \"001\", \"sName\": \"001\", \"iOrder\": 1, \"iFAngle\": 0, \"iSAngle\": 180, \"sChinese\": \"省纸拼法(竖纹)\", \"showName\": \"省纸拼法(竖纹)\", \"iFitWidth\": 120, \"sBrandsId\": \"1111111111\", \"sParentId\": \"17466137160001794723678306481000\", \"iIncrement\": 23566, \"sFWidthOffset\": \"0\", \"sSGroupOffset\": \"次盒\", \"sSWidthOffset\": \"-(dSFHS-dZSCW)\", \"sSubsidiaryId\": \"1111111111\", \"sFLengthOffset\": \"0\", \"sSLengthOffset\": \"0\", \"sSettingMethod\": \"从上到下\", \"sSecondorizontalOffset\": \"0\", \"sSecondLongitudinalOffset\": \"0\"},{\"sId\": \"17466156410008003570748453747000\", \"sBig5\": \"正常拼法\", \"sCode\": \"002\", \"sName\": \"002\", \"iOrder\": 2, \"iFAngle\": 0, \"iSAngle\": 0, \"sChinese\": \"正常拼法\", \"showName\": \"正常拼法\", \"iFitWidth\": 120, \"sBrandsId\": \"1111111111\", \"sParentId\": \"17466137160001794723678306481000\", \"iIncrement\": 23567, \"sFWidthOffset\": \"0\", \"sSGroupOffset\": \"次盒\", \"sSWidthOffset\": \"0\", \"sSubsidiaryId\": \"1111111111\", \"sFLengthOffset\": \"0\", \"sSLengthOffset\": \"0\", \"sSettingMethod\": \"从上到下\", \"sSecondorizontalOffset\": \"0\", \"sSecondLongitudinalOffset\": \"0\"},{\"sId\": \"17470204070009330791101353610000\", \"sBig5\": \"省纸拼法(横纹)\", \"sCode\": \"003\", \"sName\": \"003\", \"iOrder\": 3, \"iFAngle\": 90, \"iSAngle\": 270, \"sChinese\": \"省纸拼法(横纹)\", \"showName\": \"省纸拼法(横纹)\", \"iFitWidth\": 120, \"sBrandsId\": \"1111111111\", \"sParentId\": \"17466137160001794723678306481000\", \"iIncrement\": 23580, \"sFWidthOffset\": \"0\", \"sSGroupOffset\": \"次盒\", \"sSWidthOffset\": \"0\", \"sSubsidiaryId\": \"1111111111\", \"sFLengthOffset\": \"0\", \"sSLengthOffset\": \"-(dSFHS-dZSCW)\", \"sSettingMethod\": \"从左到右\", \"sSecondorizontalOffset\": \"0\", \"sSecondLongitudinalOffset\": \"0\"}]",  
103 - "sLengthFormula": "dZTBW +(W+D) *2",  
104 - "sWidthFormula": "dYSCW + D * 2 + dYXCW + L",  
105 - "sBoxType": "飞机盒",  
106 - "dBoxHeight": 25,  
107 - "dBoxLength": 150,  
108 - "dBoxWidth": 100,  
109 - "sTypes": "5",  
110 - "iRowNum": 1,  
111 - "handleType": "add",  
112 - "sMachineStyle": "875*519",  
113 - "dMachineQty": 500,  
114 - "dMaxLength": 1030,  
115 - "dMaxWidth": 720,  
116 - "materialLength": 875,  
117 - "materialWidth": 519,  
118 - "dMachineLength": 875,  
119 - "dMachineWidth": 519,  
120 - "sMaterialsStyle": "0*0",  
121 - "sMaterialRate": "NaN",  
122 - "newMaterialLength": 875,  
123 - "newMaterialWidth": 519,  
124 - "sLayoutRate": 61.24,  
125 - "dWlcd": 875,  
126 - "dWlkd": 519,  
127 - "dSinglePQty": 2,  
128 - "dMaterialsKQty": 1,  
129 - "scale": 0.30701754385964913,  
130 - "dPartsLength": 425,  
131 - "dPartsWidth": 509,  
132 - "sPrint": "胶印",  
133 - "sType": "1",  
134 - "sProcessName": "胶印",  
135 - "sProcessClassifyName": "胶印",  
136 - "sProcessClassifyId": "15735481040006848857922252708000",  
137 - "bOutside": 0,  
138 - "sWorkOrderParam": "{\"sParam3\":\"过油数\",\"sParamDefault3\":\"0\",\"sParamNotEmpty3\":true,\"sParamFieldName3\":\"dOiled\",\"sParamDropDownType3\":\"sql\",\"sParamAssignField3\":\"dOiled:dOiled\",\"sParamDropDown3\":\"select convert(num, CHAR) as dOiled,convert(num, CHAR) as sId from tools_num where num < 3\",\"sParam4\":\"工艺工位\",\"sParamDefault4\":\"\",\"sParamNotEmpty4\":true,\"sParamFieldName4\":\"dCraft\",\"sParamAssignField4\":\"dOiled+dColor\",\"sParam5\":\"损耗工位\",\"sParamDefault5\":\"\",\"sParamNotEmpty5\":true,\"sParamFieldName5\":\"dLoss\",\"sParamAssignField5\":\"dColor+(dOiled/2)\",\"sParam7\":\"过油类别\",\"sParamDefault7\":\"/\",\"sParamNotEmpty7\":true,\"sParamDropDown7\":{\"/\":\"/\",\"局部连机过油\":\"局部连机过油\",\"满版连机过油\":\"满版连机过油\",\"割胶布过油\":\"割胶布过油\"},\"sParam8\":\"难度系数\",\"sParamDefault8\":\"1\",\"sParamNotEmpty8\":true,\"sParamFieldName8\":\"dDifficulty\",\"sParam11\":\"印刷类别\",\"sParamDefault11\":\"UV印刷\",\"sParamNotEmpty11\":true,\"sParamDropDown11\":{\"\":\"\",\"UV印刷\":\"UV印刷\",\"普通印刷\":\"普通印刷\"},\"sParam13\":\"工艺说明\",\"sParamDefault13\":\"\",\"sParamAssFieldName13\":\"sProcessMemo\",\"sParam15\":\"印色数\",\"sParamDefault15\":\"\",\"sParamNotEmpty15\":true,\"sParamFieldName15\":\"dColor\",\"sParamDropDownType15\":\"sql\",\"sParamAssignField15\":\"dColor:dColor\",\"sParamDropDown15\":\"select convert(num, CHAR) as dColor,convert(num, CHAR) as sId from tools_num where num > 0\",\"sParam188\":\"油墨类型\",\"sParamDefault188\":\"UV油墨\",\"sParamNotEmpty188\":true,\"sParamDropDown188\":{\"\":\"\",\"UV油墨\":\"UV油墨\",\"普通油墨\":\"普通油墨\",\"快干快亮\":\"快干快亮\",\"单凹油墨\":\"单凹油墨\"},\"sParam190\":\"喷头数量\",\"sParamDefault190\":\"0\",\"sParamFieldName190\":\"dNozzle\",\"sParamDropDown190\":{\"1\":\"1\",\"2\":\"2\",\"3\":\"3\",\"4\":\"4\",\"5\":\"5\",\"6\":\"6\",\"\":\"\"},\"sParam202\":\"印刷难度\",\"sParamDefault202\":\"\",\"sParamNotEmpty202\":true,\"sParamDropDown202\":{\"\":\"\",\"一般\":\"一般\",\"较难\":\"较难\",\"特别难\":\"特别难\"},\"sParam204\":\"联机喷码\",\"sParamDefault204\":\"否\",\"sParamNotEmpty204\":true,\"sParamDropDown204\":{\"\":\"\",\"是\":\"是\",\"否\":\"否\"},\"sParam215\":\"油座次序\",\"sParamDefault215\":\"\",\"sParamDropDown215\":{\"第二座\":\"第二座\",\"尾座\":\"尾座\",\"第二座+倒数第二座\":\"第二座+倒数第二座\",\"第二座+尾座\":\"第二座+尾座\"}}",  
139 - "sPrintProcessId": "15965213890005652467139846160000",  
140 - "sColor": "无",  
141 - "iSReserve1": 0,  
142 - "iSReserve2": 0,  
143 - "dAuxiliaryQty": 525,  
144 - "dPartsQty": 1000,  
145 - "iPositiveColor": null,  
146 - "sPartsName": "彩盒",  
147 - "materialsInfo": [  
148 - {  
149 - "sMaterialsName": "80克双铜纸",  
150 - "sMaterialsNo": "MT10060003",  
151 - "sMaterialsId": "172129113112117482397809421",  
152 - "sAuxiliaryUnit": "张",  
153 - "sMaterialsUnit": "吨",  
154 - "dGramWeight": 80,  
155 - "sMaterialsType": "paper1",  
156 - "dWlcd": 0,  
157 - "dWlkd": 0  
158 - }  
159 - ],  
160 - "processInfo": [  
161 - {  
162 - "sId": "17089381900007880227310835019000",  
163 - "sType": "2",  
164 - "bSetQty": 0,  
165 - "bSetArea": 0,  
166 - "sSetQtyUnt": null,  
167 - "sProcessName": "击凸",  
168 - "sProductClassifyId": "15735482290006892640743970644000",  
169 - "sParams0": "击凸",  
170 - "sProcessId": "17089381900007880227310835019000"  
171 - },  
172 - {  
173 - "sId": "17024627410009815562058541627000",  
174 - "sType": "2",  
175 - "bSetQty": 1,  
176 - "bSetArea": 1,  
177 - "sSetQtyUnt": "处",  
178 - "sProcessName": "烫金",  
179 - "sProductClassifyId": "17024624750009231299092112470000",  
180 - "sParams3": "烫金",  
181 - "dManualLength": 1,  
182 - "dManualWidth": 1,  
183 - "dManualValue": 1,  
184 - "dManualQty": 1,  
185 - "sProcessId": "17024627410009815562058541627000"  
186 - }  
187 - ]  
188 - }  
189 - ]  
190 -}  
191 \ No newline at end of file 0 \ No newline at end of file