fix: 修复编辑反显
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -571,7 +571,7 @@ onBeforeMount(() => { | ... | @@ -571,7 +571,7 @@ onBeforeMount(() => { |
| 571 | baseInfoFormItems.value.forEach((item: any) => { | 571 | baseInfoFormItems.value.forEach((item: any) => { |
| 572 | item.default = detailInfo.value[item.field] == null ? '' : detailInfo.value[item.field]; | 572 | item.default = detailInfo.value[item.field] == null ? '' : detailInfo.value[item.field]; |
| 573 | if (item.field == 'damName') { | 573 | if (item.field == 'damName') { |
| 574 | item.default = item.productCode; | 574 | // item.default = detailInfo.value?.productCode; |
| 575 | if (detailInfo.value?.productCode) { | 575 | if (detailInfo.value?.productCode) { |
| 576 | let item = catalogProductList.value.find(c => c.productId == detailInfo.value?.productCode); | 576 | let item = catalogProductList.value.find(c => c.productId == detailInfo.value?.productCode); |
| 577 | !item && catalogProductList.value.push({ | 577 | !item && catalogProductList.value.push({ | ... | ... |
-
Please register or sign in to post a comment