dfaae3ec by lihua

fix: 修复编辑反显

1 parent bfed5276
...@@ -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({
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!