| | |
| | | let childName = '' |
| | | try { |
| | | Object.keys(hollowBasic.value).forEach((item, index) => { |
| | | if (hollowBasic.value[item] === '' && item !== 'GlueDepth') { |
| | | if ((hollowBasic.value[item] === ''||hollowBasic.value[item]===undefined) && item !== 'GlueDepth') { |
| | | throw new Error(t('product.msg.HollowReview')) |
| | | } |
| | | childName += hollowBasic.value[item] || '' |
| | | if(hollowBasic.value[item]!==undefined){ |
| | | childName += hollowBasic.value[item] || '' |
| | | } |
| | | |
| | | }) |
| | | }catch (e){ |
| | | ElMessage.warning(e.message) |
| | |
| | | let childName = '' |
| | | try { |
| | | Object.keys(InterlayerBasic.value).forEach((item, index) => { |
| | | if (InterlayerBasic.value[item] === '' && item !== 'color') { |
| | | if ((InterlayerBasic.value[item] === ''||InterlayerBasic.value[item]===undefined) && item !== 'color') { |
| | | throw new Error(t('product.msg.InterlayerReview')) |
| | | } |
| | | childName += InterlayerBasic.value[item] |
| | | if(InterlayerBasic.value[item]!==undefined){ |
| | | childName += InterlayerBasic.value[item] |
| | | } |
| | | |
| | | }) |
| | | }catch (e){ |
| | | ElMessage.warning(e.message) |