廖井涛
2025-11-07 b575beb5a9263c83d69658d4d129975cc925df9e
补交
1个文件已修改
14 ■■■■ 已修改文件
north-glass-erp/northglass-erp/src/views/sd/product/CreateProduct.vue 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
north-glass-erp/northglass-erp/src/views/sd/product/CreateProduct.vue
@@ -265,10 +265,13 @@
  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)
@@ -302,10 +305,13 @@
  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)